Commit Graph

13 Commits

Author SHA1 Message Date
PC-Admin
1598d73599 dont promote rdlist bot user to server admin, there's no point yet. add matrix messaging for incident reports via matrix-nio. hard code rdlist bot password. 2023-07-29 23:46:32 +08:00
PC-Admin
dbb9821a5c add function to return list of all or just local members of a room. silence a lot of functions terminal output. adjust incident reports module to handle sending 1 email per homeserver with all offending users, rooms and tag details combined. allow automatic generation of reports for all users when blocking rdlist tags. just block unknown rooms instead of block+purge. collect list of all local users present in rdlist rooms for batch reporting/deactivation. add statistics about rdlist blocking. divide room states/details into both dms and larger rooms. add save_to_file boolean to state export module to avoid writing it to file, also pass variable to customise file location. 2023-07-25 21:52:08 +08:00
PC-Admin
b2bbacc46d add incident report function for automatically alerting other homeserver administrators, move lookup_homeserver_admin_email() function to report_commands.py 2023-07-24 06:02:27 +08:00
PC-Admin
6454a2e9f1 add email settings to hardcoded_variables.py 2023-07-24 03:30:55 +08:00
PC-Admin
3ad8469b5f move ipinfo functions to seperate file, add rudimentary user reporting function 2023-07-23 04:21:50 +08:00
PC-Admin
9c935821be move recommended rdlist tags back to the hardcoded variables file for easier adjustment 2023-07-21 00:58:43 +08:00
PC-Admin
58ed3defee add ipinfo function for determining an accounts country of origin, add multiple whois and query account functions 2023-07-14 23:18:31 +08:00
PC-Admin
da1322dc8d re-add vars file (whoops) 2023-07-10 04:59:30 +08:00
PC-Admin
f1a2e58dd7 untrack file 2023-07-10 02:50:25 +08:00
PC-Admin
3fc1b8271a move recommended tags list out of variables file 2023-07-10 02:48:44 +08:00
PC-Admin
1b1564b423 add blank hardcoded_variables.py file 2023-07-08 18:08:43 +08:00
PC-Admin
715d36d267 add .gitignore file to prevent accidental leaking of token 2023-07-08 18:07:33 +08:00
PC-Admin
03d2722856 seperate functions out into multiple files 2023-07-08 17:55:48 +08:00