67 Commits

Author SHA1 Message Date
eleksir
5bb7dccde4 Use go v1.21 as default minimum required compiler version 2023-09-02 10:13:08 -07:00
eleksir
9c793d4b6e Use PGO to compile output binary 2023-09-02 10:11:36 -07:00
eleksir
a0a403b272 Update README.md 2023-08-20 11:37:22 -07:00
eleksir
ae7d0365e1 Handle empty string in JidRe and NickRe as noop 2023-08-20 11:15:55 -07:00
eleksir
39ac09f82a Implement ban by nick regexp (in MUCs)
* Move ban action to separate function
* Implement ban by nick regexp
2023-08-20 10:55:18 -07:00
eleksir
939ceaebfb Move some functions to go-xmpp, update deps, more lining 2023-08-20 09:33:56 -07:00
eleksir
9235329b37 Add comment about given rotation period in sample config, fix json format 2023-08-18 09:44:39 -07:00
eleksir
fb5e203bc9 Add status rotation and ban reason description to Design.txt 2023-08-17 11:04:35 -07:00
eleksir
75e7a22c95 Implement optional reason in room' banlist 2023-08-17 11:02:53 -07:00
eleksir
257f489172 Fix typo in config parser 2023-08-17 10:15:09 -07:00
eleksir
6b91648666 Implement random phrase before ban action 2023-08-17 10:08:04 -07:00
eleksir
8a67a91ffb Implement random startup/runtime status, cosmetic fixes
* Implement random startup status from array in config
* Implement random runtime status from array in config
* Implement runtime status rotation
* Remove noecho option from config and from code
* Use separate goroutine to set statuses
2023-08-17 09:48:57 -07:00
eleksir
ce9561b488 Fix comments and typos in black and white lists 2023-08-13 10:20:18 -07:00
eleksir
84f7f21217 More lint fixes
* Correctly wrap errors
* Fix comments
* Add blank strings before continue, where it missing
* Reduce allocations
2023-08-13 08:40:50 -07:00
eleksir
267dd841a4 Do not os.Exit() on "wire" and xmpp-proto errors, re-run main routine and helper goroutines 2023-08-05 20:02:10 -07:00
Sergei
e8f8b3cb49 Massive cleanup - coding style, tiny bugs, typos and other errors 2023-07-29 23:12:38 -07:00
eleksir
0f1177bd91 Initial commit 2023-07-24 02:41:19 -07:00