Commit Graph

74 Commits

Author SHA1 Message Date
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
PC-Admin
94740aceb0 add functions to collect account data, list account pushers, set account rate limiting and check if an account exists 2023-07-21 03:15: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
a2fcbf6ec9 update readme 2023-07-19 06:06:54 +08:00
PC-Admin
b4931e43bb update readme 2023-07-19 06:05:24 +08:00
PC-Admin
0fac83af5b update readme 2023-07-19 06:04:04 +08:00
PC-Admin
d3e8b5adc8 update readme 2023-07-19 06:02:46 +08:00
PC-Admin
c48fe4f715 update roadmap and make the menu prettier 2023-07-19 06:01:40 +08:00
PC-Admin
e4cdebc161 cleanup main script file 2023-07-15 04:55:59 +08:00
PC-Admin
93315971c9 update readme 2023-07-15 04:47:51 +08:00
PC-Admin
3d38d88488 update server functions to use request instead of curl 2023-07-15 04:45:27 +08:00
PC-Admin
664c8611d4 finish re-write of rooms functions 2023-07-15 04:36:40 +08:00
PC-Admin
07ec96334b re-write half the room functions to use requests module 2023-07-15 03:34:10 +08:00
PC-Admin
6e2e8a28d6 update readme, stop state events export function from recursing 2023-07-15 01:49:08 +08:00
PC-Admin
1aea8c7f93 replace 4 spaces with tabs, i <3 tabs! 2023-07-15 00:04:59 +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
96c1d5b94e change user commands function list to use requests module instead of curl (safer) 2023-07-10 04:48:14 +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
5bcc2da4e3 README.md update 2023-07-08 18:11:05 +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
PC-Admin
3062080912 cleanup readme 2023-07-08 06:22:43 +08:00
PC-Admin
3c887b8ca3 cleanup readme 2023-07-08 06:19:10 +08:00
PC-Admin
93b17b5213 update default tags for rdlist and cleanup readme 2023-07-08 06:18:44 +08:00
PC-Admin
1f697a279d finish recommended tags functions. modularise reset_password() and set_user_server_admin(). distinguish whois API lookup from user account API lookup. make rdlist pulls more seamless 2023-07-08 06:08:35 +08:00
PC-Admin
ce6f2aa6ea add recommended tags functions 2023-07-08 01:09:59 +08:00
Michael
578c2eb622
Update README.md 2023-07-07 23:24:11 +08:00
Michael
33c37bc31f
Update README.md with new contact details for rdlist 2023-07-04 21:44:03 +08:00
Michael
4bfe3c6320
Update README.md 2023-07-02 16:11:04 +08:00
PC-Admin
c4fdffeae6 Add rdlist functionality for automatically loading and blocking/purging rooms from the rdlist repository. Change license to MIT. Fix whitespacing in script. Stop the script from overwriting state event export files by including a timestamp in their name. 2023-07-02 03:23:16 +08:00