Commit Graph

17 Commits

Author SHA1 Message Date
PC-Admin
a38e042b33 add new find_account_with_threepid function. fix new dynamic rdlist location sections i missed. 2023-08-07 20:16:55 +08:00
PC-Admin
2f186dffc9 variable for dynamic rdlist location. make block recommended tags output prettier. minor bug fixes. 2023-08-07 19:26:58 +08:00
PC-Admin
fcf344a921 avoid incident report prompt if no remote users found. 2023-08-02 18:00:04 +08:00
PC-Admin
0a583d7918 seperate collection of user reports and sending of incident reports for rdlist users into seperate functions. 2023-08-02 00:27:12 +08:00
PC-Admin
21b9653aad avoid encrypting ZIP files as pubkey encryption would be better 2023-08-01 13:20:36 +08:00
PC-Admin
c1bfa32e2d fix busted recommended tags module. generate primitive report summaries. use incident_dict like disctionary for all_local_users and all_remote_users. 2023-07-31 21:36:44 +08:00
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
81739a456d add shadow ban function. ask if admin wants to shadow ban users before mass rdlist shutdowns. move example room/user lists into seperate folder. 2023-07-28 10:36:58 +08:00
PC-Admin
115caceaf7 add export function for multiple rooms. avoid printing total_list_kicked_users twice. expand menu numbering to allow for a lot more new functions. 2023-07-28 05:15:46 +08:00
PC-Admin
acf4bffc1a add functions to examine if room is alrady blocked and to block/unblock rooms. dramatic speedup for applying rdlist by skipping already blocked rooms and just blocking unknown rooms instead of performing a full shutdown. add report_details section to user reporting to collect information from the admin about why the report was generated. add rdlist tag descriptions to allow for automated report_details generation 2023-07-27 10:00:40 +08:00
PC-Admin
ad87420546 add function to return rdlist tags associated with a room 2023-07-25 23:14:53 +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
99fa8940a6 warn hs admin about which tags are about to be automatically blocked/purged 2023-07-21 01:24:34 +08:00
PC-Admin
2be8f69ab0 whoops 2023-07-21 01:02:30 +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
3fc1b8271a move recommended tags list out of variables file 2023-07-10 02:48:44 +08:00
PC-Admin
03d2722856 seperate functions out into multiple files 2023-07-08 17:55:48 +08:00