Commit graph

36 commits

Author SHA1 Message Date
forgejo-actions
6b0931c2ca Update changelog for v0.2.0 2024-12-09 23:04:29 +00:00
forgejo-actions
65a333446d chore(changelog): Update changelog 2024-12-09 22:52:04 +00:00
af11f8aa14
chore: Bump the version to v0.2.0
All checks were successful
Write changelog / write-changelog (push) Successful in 7s
CD / build-assets (aarch64-unknown-linux-gnu) (push) Successful in 7m2s
Rust CI / Rust CI (push) Successful in 7m31s
CD / build-assets (aarch64-unknown-linux-musl) (push) Successful in 7m20s
CD / build-assets (x86_64-unknown-linux-gnu) (push) Successful in 4m21s
CD / build-assets (x86_64-unknown-linux-musl) (push) Successful in 4m32s
CD / release (push) Successful in 22s
Signed-off-by: Awiteb <a@4rs.nl>
2024-12-09 22:51:25 +00:00
forgejo-actions
dd360c73aa chore(changelog): Update changelog 2024-12-09 22:31:33 +00:00
3d6b49c01a
fix: Matching users multiline description correctly
All checks were successful
Write changelog / write-changelog (push) Successful in 6s
Rust CI / Rust CI (push) Successful in 3m39s
Reported-by: Awiteb <a@4rs.nl>
Fixes: #2
Signed-off-by: Awiteb <a@4rs.nl>
2024-12-10 01:31:04 +03:00
forgejo-actions
7a0f3fab27 chore(changelog): Update changelog 2024-11-17 18:01:02 +00:00
d59b4e6d3f
chore: Update README.md
All checks were successful
Write changelog / write-changelog (push) Successful in 25s
Rust CI / Rust CI (push) Successful in 4m3s
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-17 21:00:26 +03:00
cc2f8a791b
feat: Possibility to put an array of expressions and they must all matches
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-17 21:00:25 +03:00
c96b859931
feat: Reason for banned and suspicious
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-17 21:00:25 +03:00
62ca71a140
chore: Toml formatting
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-17 21:00:25 +03:00
b3397f6316
feat: Add the email to user details message
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-17 21:00:25 +03:00
forgejo-actions
642d8994de Update changelog for v0.1.0 2024-11-16 13:25:59 +00:00
8a80e58e54
chore: Add CI/CD
All checks were successful
Write changelog / write-changelog (push) Successful in 4s
Rust CI / Rust CI (push) Successful in 7m0s
CD / build-assets (aarch64-unknown-linux-gnu) (push) Successful in 7m7s
CD / build-assets (aarch64-unknown-linux-musl) (push) Successful in 7m8s
CD / build-assets (x86_64-unknown-linux-gnu) (push) Successful in 4m11s
CD / build-assets (x86_64-unknown-linux-musl) (push) Successful in 4m14s
CD / release (push) Successful in 12s
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-16 13:12:59 +00:00
365a0ae602
chore: Add changelog
Signed-off-by: Awiteb <a@4rs.nl>
2024-11-16 13:02:43 +00:00
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