Commit graph

22 commits

Author SHA1 Message Date
3664d06d17
chore: Handle failed banning properly
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-16 11:57:55 +00:00
f3561b5efd
chore: Update README.md
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-16 11:47:54 +00:00
f68ce0c5bd
feat: Checks only new users configuration
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-16 14:47:00 +03:00
9b533e7ea3
fix: Respect telegram.ban_alert configuration
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-16 11:30:32 +00:00
5344d742f6
chore: Update README.md
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-15 10:40:12 +00:00
6070ca035c
feat: Notification when users are banned
When `ban_alert` is set to true, the Telegram bot will send a
notification after banning users

Signed-off-by: Awiteb <a@4rs.nl>
2024-11-15 13:33:35 +03:00
3e6c4dece8
chore: Add ban_notify message
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-15 10:29:03 +00:00
c3972b3566
feat: Dry run mode
The bot can run in dry-run mode, i.e. log that it has blocked users but
will not actually block them

Signed-off-by: Awiteb <a@4rs.nl>
2024-11-15 12:27:13 +03:00
880330576d
fix: Split the haystack lines
Match each line separately

Signed-off-by: Awiteb <a@4rs.nl>
2024-11-15 09:20:18 +00:00
ff7994686d
chore: Update README.md
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 17:23:25 +03:00
8dc8c0d231
feat: Add Russian language
Helped-by: LasterAlex <sasha.ishukshin@gmail.com>
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 17:07:00 +03:00
5bb6114aa7
feat: Send sus alert via telegram
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 12:28:09 +00:00
598e5a53b1
docs: Text wrapping
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 12:27:34 +00:00
68cd88e96a
feat: Add telegram bot to the config
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 12:26:06 +00:00
cf706d1717
chore: Update the toolchain
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 12:25:27 +00:00
b4dabac947
chore: Add teloxide and rust_i18n
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 12:25:09 +00:00
d12c45ed63
feat: Initialize forgejo-guardian
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 11:19:45 +03:00
28c828f06d
chore: Add taplo configurations
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 19:13:44 +00:00
45965d9e57
chore: Add cliff configurations
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 19:13:26 +00:00
138a9a21c4
chore: Add sumi configurations
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 19:13:10 +00:00
d08281b3ef
chore: Add the license
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 19:12:22 +00:00
665be86869
chore: Add the Developer Certificate of Origin
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-14 19:12:06 +00:00