Commit Graph

108 Commits

Author SHA1 Message Date
PC-Admin
6b7b5bf261 fix conditional error with deactivate all 2023-08-27 02:36:11 +08:00
PC-Admin
7475e38388 add example of remote media purging, create new function for sending server notices (untested). 2023-08-23 18:36:40 +08:00
PC-Admin
d986fb424e attempt to straighten text ui out 2023-08-20 19:33:52 +08:00
PC-Admin
d3e858a3ed update README.md 2023-08-20 19:29:06 +08:00
PC-Admin
7c19dfbf94 added event report functions and updated docs/ui 2023-08-20 19:10:54 +08:00
PC-Admin
adc32b2b27 add debug line 2023-08-18 21:31:53 +08:00
PC-Admin
56373d68db docs update 2023-08-18 20:48:46 +08:00
PC-Admin
1be96637ee update formatting 2023-08-18 20:04:16 +08:00
PC-Admin
827ea1d2e9 update formatting 2023-08-18 20:01:05 +08:00
PC-Admin
7b1f79cf7f update docs 2023-08-18 19:57:14 +08:00
PC-Admin
72cae1f88b update README.md 2023-08-18 18:53:14 +08:00
PC-Admin
612f67dd70 move one touch reporting section back to README.md 2023-08-18 18:46:48 +08:00
PC-Admin
c8e96bf82d add jank docs file chatgpt wrote 2023-08-18 18:44:05 +08:00
PC-Admin
f3ed15068e add basic docs files, needs expanding 2023-08-18 18:17:19 +08:00
PC-Admin
771d1b78e4 parse usernames in new rate limiting functions 2023-08-18 17:27:56 +08:00
PC-Admin
811c6d2b35 pass blank preset, fixes #4 2023-08-18 17:11:32 +08:00
PC-Admin
401206c8c5 you say defect, i say feature. script won't interactively take variables anymore. fixes #3 2023-08-18 17:02:50 +08:00
PC-Admin
e8c9f7f9a1 derp 2023-08-18 16:28:31 +08:00
PC-Admin
7afa95e888 add enviroment and better prompting 2023-08-18 16:27:28 +08:00
PC-Admin
34c3dc503a move example variable file to saner location 2023-08-18 16:12:54 +08:00
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
020289cd4d default testing mode to False, add testing mode warning for user report section 2023-08-03 20:53:16 +08:00
PC-Admin
f2f529942b neaten up incident reporting output 2023-08-03 18:30:53 +08:00
PC-Admin
82586a45bf fix for returning homeserver contact emails and whois emails 2023-08-03 16:04:30 +08:00
PC-Admin
fcf344a921 avoid incident report prompt if no remote users found. 2023-08-02 18:00:04 +08:00
PC-Admin
f5fd56860d fix bug where a single whois email is returned as an array of letters. 2023-08-02 17:09:31 +08:00
PC-Admin
df4d2ca3ab cleanup README.md 2023-08-02 01:11:29 +08:00
Michael
4e92aeff87
Update README.md with incident report pic 2023-08-02 00:30:28 +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
a48c587c84 update report details prompt. add forgotten rooms to automatically generated user reports. 2023-08-01 21:29:38 +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
65f297f594 fix example hardcoded_variables file 2023-07-31 09:26:47 +08:00
PC-Admin
dd6d0abd15 default to not erasing user data on deactivation 2023-07-30 01:11:40 +08:00
PC-Admin
fee582cef0 update README.md 2023-07-30 00:10:47 +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
b0b812f3af update README.md 2023-07-25 22:32:57 +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
a61a4e88af whoops wrong numbers 2023-07-24 07:01:41 +08:00
PC-Admin
5082482159 move lookup admin email function to report commands 2023-07-24 06:57:58 +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
492b384a92 add generic email send function for automated reporting, hardcode matrix.org abuse email because... well I wanna stay in their good books lol 2023-07-24 02:59:49 +08:00
PC-Admin
63dc5bd6d8 add function to automatically lookup a homeserver admins email address, either the easy way (MSC1929) or the hard way (Your domain registrars whois email) 2023-07-24 01:44:41 +08:00
PC-Admin
3ad8469b5f move ipinfo functions to seperate file, add rudimentary user reporting function 2023-07-23 04:21:50 +08:00