Commit Graph

  • 0d4b3744f1
    new username master Michael 2023-09-06 12:24:35 +0800
  • 6b7b5bf261 fix conditional error with deactivate all PC-Admin 2023-08-27 02:36:11 +0800
  • 7475e38388 add example of remote media purging, create new function for sending server notices (untested). PC-Admin 2023-08-23 18:36:40 +0800
  • d986fb424e attempt to straighten text ui out v2.0.0 PC-Admin 2023-08-20 19:33:52 +0800
  • d3e858a3ed update README.md PC-Admin 2023-08-20 19:29:06 +0800
  • 7c19dfbf94 added event report functions and updated docs/ui PC-Admin 2023-08-20 19:10:54 +0800
  • adc32b2b27 add debug line PC-Admin 2023-08-18 21:31:53 +0800
  • 56373d68db docs update PC-Admin 2023-08-18 20:48:46 +0800
  • 1be96637ee update formatting PC-Admin 2023-08-18 20:04:16 +0800
  • 827ea1d2e9 update formatting PC-Admin 2023-08-18 20:01:05 +0800
  • 7b1f79cf7f update docs PC-Admin 2023-08-18 19:57:14 +0800
  • 72cae1f88b update README.md PC-Admin 2023-08-18 18:53:14 +0800
  • 612f67dd70 move one touch reporting section back to README.md PC-Admin 2023-08-18 18:46:48 +0800
  • c8e96bf82d add jank docs file chatgpt wrote PC-Admin 2023-08-18 18:44:05 +0800
  • f3ed15068e add basic docs files, needs expanding PC-Admin 2023-08-18 18:17:19 +0800
  • 771d1b78e4 parse usernames in new rate limiting functions PC-Admin 2023-08-18 17:27:56 +0800
  • 811c6d2b35 pass blank preset, fixes #4 PC-Admin 2023-08-18 17:11:32 +0800
  • 401206c8c5 you say defect, i say feature. script won't interactively take variables anymore. fixes #3 PC-Admin 2023-08-18 17:01:24 +0800
  • e8c9f7f9a1 derp PC-Admin 2023-08-18 16:28:31 +0800
  • 7afa95e888 add enviroment and better prompting PC-Admin 2023-08-18 16:27:28 +0800
  • 34c3dc503a move example variable file to saner location PC-Admin 2023-08-18 16:12:54 +0800
  • a38e042b33 add new find_account_with_threepid function. fix new dynamic rdlist location sections i missed. PC-Admin 2023-08-07 20:16:55 +0800
  • 2f186dffc9 variable for dynamic rdlist location. make block recommended tags output prettier. minor bug fixes. PC-Admin 2023-08-07 19:26:58 +0800
  • 020289cd4d default testing mode to False, add testing mode warning for user report section PC-Admin 2023-08-03 20:53:16 +0800
  • f2f529942b neaten up incident reporting output PC-Admin 2023-08-03 18:30:53 +0800
  • 82586a45bf fix for returning homeserver contact emails and whois emails PC-Admin 2023-08-03 16:04:30 +0800
  • fcf344a921 avoid incident report prompt if no remote users found. PC-Admin 2023-08-02 18:00:04 +0800
  • f5fd56860d fix bug where a single whois email is returned as an array of letters. PC-Admin 2023-08-02 17:09:31 +0800
  • df4d2ca3ab cleanup README.md PC-Admin 2023-08-02 01:11:29 +0800
  • 4e92aeff87
    Update README.md with incident report pic Michael 2023-08-02 00:30:28 +0800
  • 0a583d7918 seperate collection of user reports and sending of incident reports for rdlist users into seperate functions. PC-Admin 2023-08-02 00:27:12 +0800
  • a48c587c84 update report details prompt. add forgotten rooms to automatically generated user reports. PC-Admin 2023-08-01 21:29:38 +0800
  • 21b9653aad avoid encrypting ZIP files as pubkey encryption would be better PC-Admin 2023-08-01 13:20:36 +0800
  • c1bfa32e2d fix busted recommended tags module. generate primitive report summaries. use incident_dict like disctionary for all_local_users and all_remote_users. PC-Admin 2023-07-31 21:36:44 +0800
  • 65f297f594 fix example hardcoded_variables file PC-Admin 2023-07-31 09:26:47 +0800
  • dd6d0abd15 default to not erasing user data on deactivation PC-Admin 2023-07-30 01:11:40 +0800
  • fee582cef0 update README.md PC-Admin 2023-07-30 00:10:47 +0800
  • 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. PC-Admin 2023-07-29 23:46:32 +0800
  • 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. PC-Admin 2023-07-28 10:36:58 +0800
  • 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. PC-Admin 2023-07-28 05:15:46 +0800
  • 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 PC-Admin 2023-07-27 03:39:48 +0800
  • ad87420546 add function to return rdlist tags associated with a room PC-Admin 2023-07-25 23:14:53 +0800
  • b0b812f3af update README.md PC-Admin 2023-07-25 22:32:57 +0800
  • 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. PC-Admin 2023-07-25 21:52:08 +0800
  • a61a4e88af whoops wrong numbers PC-Admin 2023-07-24 07:01:41 +0800
  • 5082482159 move lookup admin email function to report commands PC-Admin 2023-07-24 06:57:58 +0800
  • b2bbacc46d add incident report function for automatically alerting other homeserver administrators, move lookup_homeserver_admin_email() function to report_commands.py PC-Admin 2023-07-24 06:02:27 +0800
  • 6454a2e9f1 add email settings to hardcoded_variables.py PC-Admin 2023-07-24 03:30:55 +0800
  • 492b384a92 add generic email send function for automated reporting, hardcode matrix.org abuse email because... well I wanna stay in their good books lol PC-Admin 2023-07-24 02:59:49 +0800
  • 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) PC-Admin 2023-07-24 01:44:41 +0800
  • 3ad8469b5f move ipinfo functions to seperate file, add rudimentary user reporting function PC-Admin 2023-07-23 04:21:50 +0800
  • 94740aceb0 add functions to collect account data, list account pushers, set account rate limiting and check if an account exists PC-Admin 2023-07-21 03:15:08 +0800
  • 99fa8940a6 warn hs admin about which tags are about to be automatically blocked/purged PC-Admin 2023-07-21 01:24:34 +0800
  • 2be8f69ab0 whoops PC-Admin 2023-07-21 01:02:30 +0800
  • 9c935821be move recommended rdlist tags back to the hardcoded variables file for easier adjustment PC-Admin 2023-07-21 00:58:43 +0800
  • a2fcbf6ec9 update readme PC-Admin 2023-07-19 06:06:54 +0800
  • b4931e43bb update readme PC-Admin 2023-07-19 06:05:24 +0800
  • 0fac83af5b update readme PC-Admin 2023-07-19 06:04:04 +0800
  • d3e8b5adc8 update readme PC-Admin 2023-07-19 06:02:46 +0800
  • c48fe4f715 update roadmap and make the menu prettier PC-Admin 2023-07-19 06:01:40 +0800
  • e4cdebc161 cleanup main script file PC-Admin 2023-07-15 04:55:59 +0800
  • 93315971c9 update readme PC-Admin 2023-07-15 04:47:51 +0800
  • 3d38d88488 update server functions to use request instead of curl PC-Admin 2023-07-15 04:45:27 +0800
  • 664c8611d4 finish re-write of rooms functions PC-Admin 2023-07-15 04:36:40 +0800
  • 07ec96334b re-write half the room functions to use requests module PC-Admin 2023-07-15 03:34:10 +0800
  • 6e2e8a28d6 update readme, stop state events export function from recursing PC-Admin 2023-07-15 01:49:08 +0800
  • 1aea8c7f93 replace 4 spaces with tabs, i <3 tabs! PC-Admin 2023-07-15 00:04:59 +0800
  • 58ed3defee add ipinfo function for determining an accounts country of origin, add multiple whois and query account functions PC-Admin 2023-07-14 23:18:31 +0800
  • da1322dc8d re-add vars file (whoops) PC-Admin 2023-07-10 04:59:30 +0800
  • 96c1d5b94e change user commands function list to use requests module instead of curl (safer) PC-Admin 2023-07-10 04:48:14 +0800
  • f1a2e58dd7 untrack file PC-Admin 2023-07-10 02:50:25 +0800
  • 3fc1b8271a move recommended tags list out of variables file PC-Admin 2023-07-10 02:48:44 +0800
  • 5bcc2da4e3 README.md update PC-Admin 2023-07-08 18:11:05 +0800
  • 1b1564b423 add blank hardcoded_variables.py file PC-Admin 2023-07-08 18:08:43 +0800
  • 715d36d267 add .gitignore file to prevent accidental leaking of token PC-Admin 2023-07-08 18:07:33 +0800
  • 03d2722856 seperate functions out into multiple files PC-Admin 2023-07-08 17:55:48 +0800
  • 3062080912 cleanup readme PC-Admin 2023-07-08 06:22:43 +0800
  • 3c887b8ca3 cleanup readme PC-Admin 2023-07-08 06:19:10 +0800
  • 93b17b5213 update default tags for rdlist and cleanup readme PC-Admin 2023-07-08 06:18:44 +0800
  • 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 PC-Admin 2023-07-08 06:08:35 +0800
  • ce6f2aa6ea add recommended tags functions PC-Admin 2023-07-08 01:09:59 +0800
  • 578c2eb622
    Update README.md v1.0 Michael 2023-07-07 23:24:11 +0800
  • 33c37bc31f
    Update README.md with new contact details for rdlist Michael 2023-07-04 21:44:03 +0800
  • 4bfe3c6320
    Update README.md Michael 2023-07-02 16:11:04 +0800
  • 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. PC-Admin 2023-07-02 03:23:16 +0800
  • 26920f7325 scan multiple files at once to simplify deletion of multiple rooms, deduplicate the final list of rooms that is generated PC-Admin 2023-05-15 23:26:23 +0800
  • fdb1b7ed8f allow shutting down all the rooms in a single list as well as many list files in a specific directory PC-Admin 2023-05-15 22:17:53 +0800
  • 0b781813a6 add state event export section, ensure a state export always occurs before shutting down a room PC-Admin 2023-04-06 11:52:01 +0800
  • 9b7857755f Cleanup draft section Michael 2023-01-17 15:14:00 +0800
  • 0cf13c6fd8 Add comprehensive tools for dealing with abusive remote thumbnails. Which allow you to delete an event containing an abusive image as well as allowing you to locate every copy of the file that's propagated to your server, then zero it (delete it) and make it immutable. The immutability makes it impossible for the abusive image to sync back to your server after you purge your remote media repo. Michael 2023-01-17 15:08:35 +0800
  • e2b351972c fixes for last feature PC-Admin 2022-08-21 16:49:21 +0800
  • f775279e47 add purge room/rooms history to specific timestamp feature PC-Admin 2022-08-21 16:26:03 +0800
  • 588f5b0614 distinguish shutdown vs simply deleting a room. add delete room and delete multiple rooms function. PC-Admin 2022-07-17 15:16:48 +0800
  • 5ecfdcb662 replace deprecated purge_room API, with the new delete_room API GoMatrixHosting 2022-03-06 20:15:51 +0800
  • b24bebe88f change input question requests_method Michael-GMH 2021-06-28 08:06:16 +0800
  • 0b6c8a0845 initial requests module mods Michael-GMH 2021-05-31 11:38:43 +0800
  • 5839e73de9 Add list room details section. Michael 2021-02-18 17:48:34 +0800
  • da2f350286 deactivate user uses v1 API it seems Michael 2021-02-06 15:24:23 +0800
  • 4ed161fa62 Updated deactivate and password reset commands to new API. Added Query/Deactivate multiple user accounts. Added Remove multiple rooms from public directory. Added Download/Purge multiple rooms. Added Prepare database for copying events of multiple rooms (Only works with Spantaleev script). chatoasis 2020-12-29 01:25:45 +0800
  • 1a9c01b4d4 Added purge remote media option, made menu prettier. PC-Admin 2020-10-10 18:32:58 +0800