wiz0u
81831ff255
Create delwarn.js - alias for warn
2024-09-18 23:35:25 +02:00
wiz0u
58bd894484
Create delban.js - alias for ban
2024-09-18 23:31:43 +02:00
Martin Rys
ac6ef1775c
Fix /report description
2023-10-23 12:58:10 +02:00
Martin
972090d00c
Add optional /report reason and show it to admins ( #171 )
2023-10-23 11:55:49 +02:00
Muthu Kumar
efcd382f1c
feat: noReportChatDeletion
2023-10-02 15:56:02 +05:30
Muthu Kumar
5bedd0dce5
feat: forward reported msg to report chat
2023-09-20 00:36:58 +05:30
Muthu Kumar
d6d40ac9fb
fix: ban/warn delegate deleteMsg to ctx.{ban|warn}
2023-09-19 23:59:20 +05:30
Martin
93271117ec
Deps bump ( #167 )
...
Bump version to 1.5.0
Bump minimum node to latest supported LTS (12->18)
Bump all possible deps, notably Telegraf to 4.13
string-replace-async and nedb-promise still need to be dealt with later
2023-09-18 14:43:59 +02:00
Pouria Ezzati
d8d4b8b797
fix: ignore forwards checks if the mesasge is automatically forwarded from channel to its linked discussion group
2022-09-10 11:49:28 +04:30
Martin
f91f6ef4f5
Change deprecated .tg Telegraf alias for .telegram ( #152 )
...
* Swap deprecated .tg for .telegram
2022-05-31 17:17:45 +02:00
Martin Rys
5fdfab82ac
Add room name where warn/ban happened
2022-03-29 13:38:22 +02:00
Martin Rys
5456585380
Fix variable case typo in permits
2022-03-29 13:38:04 +02:00
Martin Rys
1092e56c43
Remove node-fetch and replace with latest undici
...
Also bump nodejs req to latest minor/patch release
2022-03-29 12:41:04 +02:00
Martin Rys
61e3f50a3d
Cleaner way to log ID
2021-07-02 09:17:22 +02:00
Martin Rys
d5eaf76c9c
Log ID in logpresence, add myself to contributors
2021-07-01 23:23:20 +02:00
Martin
0e3a475d46
Merge branch 'thedevs-network:develop' into develop
2021-06-01 21:00:25 +02:00
Martin Rys
07e078aae5
Fix logPresence for Telegraf 4
2021-06-01 21:00:00 +02:00
Pouria Ezzati
c7810c73d0
Merge pull request #136 from thedevs-network/feature/verify-captcha
...
Add verify captcha function
2021-05-15 17:14:28 +04:30
Martin Rys
f522ecd923
Format timestamps to have UTC in them, as they are UTC.
2021-05-12 16:30:11 +02:00
Martin Rys
9ab18ada0c
fix addcommand in a dupe case
2021-05-10 09:14:03 +02:00
Martin Rys
19508ba346
Migrate /help to Telegraf 4 syntax
2021-05-09 21:03:24 +02:00
Martin Rys
96e6a3c761
Upgrade to Telegraf 4.3
2021-05-07 22:46:11 +02:00
Pouria Ezzati
cc0c1e6bb4
refactor: undefiend check
...
Co-authored-by: Wojciech Pawlik <woj.pawlik@gmail.com>
2021-04-23 19:49:06 +04:30
pouria
01ff76ec6a
fix: make sure is not undefined
2021-04-23 19:39:47 +04:30
Martin Rys
92828f4324
Whitelist setlanguage links
2021-03-12 09:45:21 +01:00
Martin Rys
5bd57355b3
satisfy linter
2021-02-05 18:17:58 +01:00
Martin Rys
53fd31bf07
Whitelist linking telegram themes
2021-02-05 16:29:17 +01:00
trgwii
3aadf69297
Merge pull request #133 from C0rn3j/develop
...
Delete messages if report is missing a reply too
2021-02-05 15:16:07 +01:00
Martin Rys
0d10c7cbb7
also delete messages from mangled reports
2021-02-05 12:43:56 +01:00
trgwii
f8189c7846
Merge pull request #127 from C0rn3j/develop
...
Reporting fixes
2021-02-05 12:28:44 +01:00
Martin Rys
04a0995e02
ignore monospaced reports
2021-02-05 12:06:44 +01:00
Thomas Rory Gummerson
ea8e6d3654
Bugfix: Double-check that we got an array from jspack, return null if we didn't
2021-01-31 00:44:03 +01:00
Martin Rys
182a469660
Always delete all report messages
...
Co-authored-by: Thomas Rory Gummerson <thomas@gummerson.no>
2020-10-09 10:56:24 +02:00
Martin Rys
b710a47209
handle all variations of /!@report|admins
...
Co-authored-by: Thomas Rory Gummerson <thomas@gummerson.no>
2020-10-09 10:42:43 +02:00
Martin Rys
33ed853712
Anonymize reporter
2020-09-18 12:54:33 +02:00
Martin Rys
e586cc8177
Show ID of reported user in reports
2020-09-18 12:49:16 +02:00
poeti8
c33192a443
Improve join log message by linking user
2020-07-15 18:48:24 +04:30
poeti8
62ec65ddb6
Fix checking if is private chat when ban
2020-07-15 18:47:44 +04:30
Wojciech Pawlik
8fcfea6bb9
Add /permit, closes #72
2020-06-29 15:07:12 +02:00
Wojciech Pawlik
e54719ad11
Misc
2020-06-29 15:05:04 +02:00
Wojciech Pawlik
3d751b7704
Remove middlewares/antiflood
2020-06-26 22:31:53 +02:00
Wojciech Pawlik
e6dcc967eb
Don't antiflood forwards and media groups
2020-06-22 22:04:39 +02:00
Wojciech Pawlik
1872c665e2
Avoid relying on timer in antiflood
2020-06-15 15:38:03 +02:00
Wojciech Pawlik
78c8347c71
Fix invlite link checking
2020-06-15 15:05:43 +02:00
Wojciech Pawlik
db5e0f22f7
Add lrm
2020-06-15 14:45:55 +02:00
trgwii
c1edb7bc27
Fix format string for joinchat struct
2020-06-11 13:26:17 +02:00
Wojciech Pawlik
a11e35d3a7
Add middlewares/antiflood
2020-06-06 10:51:46 +02:00
Wojciech Pawlik
433854e154
Refactor utils/cmd/parse to TS
2020-06-06 09:20:15 +02:00
Wojciech Pawlik
137f49e9e6
Centralize tmeDomains
2020-06-05 22:17:16 +02:00
Wojciech Pawlik
25215151a2
Refactor checkLinks to TS
2020-06-05 22:01:20 +02:00