Commit Graph

51 Commits

Author SHA1 Message Date
William Kray a9bf6be4a6 add some state cleanup logic when someone leaves a room with verification enabled 2025-04-09 15:30:20 -07:00
William Kray 78e604c542 debug logging, better comments, notification of failed verification, etc. 2025-04-09 13:12:57 -07:00
William Kray b467a58655 update room-ids in config on replacement, better banlist error handling 2025-04-08 10:29:48 -07:00
William Kray e108e9c1c5 fix overwriting other permissions 2025-04-06 22:49:45 -07:00
William Kray 5b973920ec initial verification check dm logic 2025-04-06 21:07:01 -07:00
William Kray 49ae7bd66d update readme with an upgrade note 2025-04-04 16:43:33 -07:00
William Kray 264ecfda52 big update, please read carefully!
permission modeling has been moved from statically defined in your bot
config to a cascading model, as set by your parent room or space.

when upgrading:
- ensure your bot is an admin of your space or parent room
- run the `!community sync` command to migrate your admins and
  moderators to your parent space, and clear out these fields in your
  config
- optionally run `!community setpower` to ensure power levels are set in
  all space rooms according to your parent space

if you have legacy rooms with incorrect permissions, you can now upgrade
them easily with the `!community replaceroom` command. see the readme
for more information.
2025-04-04 14:40:25 -07:00
William Kray f0e1030534 more cleanup 2025-04-04 13:42:06 -07:00
William Kray 2cd234a7ee cleanup 2025-04-04 13:31:14 -07:00
William Kray 84a1b3157b improve room creation logic 2025-04-04 12:52:43 -07:00
William Kray 5e757df650 Merge branch 'feature/smart-pl-syncing' into develop 2025-04-04 10:31:30 -07:00
William Kray 6d0b178840 better powerlevel handling, first pass 2025-04-04 10:24:43 -07:00
William Kray 3ed2c1c4c0 new feature: archive or replace existing rooms
good for shutting off temporary rooms and keeping your space tidy, and
migrating to new rooms that the bot has appropriate permissions for.
probably doesn't solve every problem but should make it a little easier
to fix permission issues and such.
2025-04-02 15:37:08 -07:00
William Kray d894c36a4c update readme with new redact features 2025-03-31 16:00:43 -07:00
William Kray 034446f28c Include redaction logic:
- redact command to remove messages from a user in a room
- option to redact messages from a user in all space rooms when banned
2025-03-31 15:25:00 -07:00
William Kray 6001f5bf1a update readme to point to base-config comments which are a better source of documentation of features 2024-10-19 16:53:23 -07:00
William Kray 9631172334 add configurable welcome sleep timer 2024-10-19 16:48:37 -07:00
William Kray 10b37350d4 dont track activity in non-space rooms, and include configurable sleep time to avoid ratelimiting 2024-10-19 16:35:18 -07:00
William Kray b47189550a oops forgot to include a parameter 2024-10-19 09:07:18 -07:00
William Kray 6c85e50b1c only proactively ban in rooms with a join event to reduce unnecessary noise and room complexity 2024-10-19 08:57:17 -07:00
William Kray b49fbb534c oops fix spacing around file censorship logic 2024-10-18 07:32:43 -07:00
William Kray 0e0ae9c63b avoid proactive bans if they are blob patterns 2024-10-16 12:24:48 -07:00
William Kray 000f3efb29 add insta-ban wordlist, use with caution 2024-10-12 11:14:22 -07:00
William Kray ed59f1dd91 redact videos when censoring, and include uncensor powerlevel config 2024-10-10 13:57:24 -07:00
William Kray bc5fb7048c oops, forgot some things 2024-10-10 09:43:50 -07:00
William Kray d692b18dc1 version bump 2024-10-10 09:33:57 -07:00
William Kray 00a09e6d91 actively track new ban events in banlist rooms 2024-10-10 09:07:58 -07:00
William Kray ea1e8462e2 expand most permissions to moderators, not just admins 2024-10-10 08:13:06 -07:00
William Kray 8a9f1044fe double-check banlist before greeting 2024-10-10 07:42:41 -07:00
William Kray 87d14ceca6 improve report output formatting a tiny bit 2024-10-09 10:07:33 -07:00
William Kray 854a458519 add a why section 2024-10-07 13:50:44 -07:00
William Kray c91f301e8e update readme 2024-10-07 13:25:06 -07:00
William Kray cdd957cca5 subscribe to public ban lists! 2024-10-07 13:13:07 -07:00
William Kray ce830e29e8 ability to disable tracking altogether, small comment changes 2024-10-04 09:26:38 -07:00
William Kray 914a0f4fd4 basic wordlist message redaction
add file and image redaction

update readme, version bump
2024-08-30 09:42:31 -07:00
William Kray 6573f0edf1 fix a bug in activity reporting because of bad logic 2024-08-28 14:10:20 -07:00
William Kray 129e9410a2 add link to a matrix room for chat 2024-08-27 11:43:52 -07:00
William Kray b8a5253e4f update some of the help strings and readme for encryption flag 2024-08-26 16:15:32 -07:00
William Kray cdc8bf9e56 version bump 2024-08-26 13:38:27 -07:00
William Kray 1d938512e2 include ignored users in report command 2024-08-26 11:58:17 -07:00
William Kray 038927e292 new flag for createroom:
include ability to use `--encrypt` or variants to encrypt a room at
creation time, regardless of configuration setting
2024-08-19 13:42:16 -07:00
William Kray e4ff8edd0d power level management
apply admin and mod power levels across all rooms managed by the bot

readme updates for readability
2024-08-17 15:06:56 -07:00
William Kray fffc5b3893 update readme 2024-08-16 06:39:03 -07:00
William Kray af16bd9884 add ability to not send a welcome message in a room by using the "none" label, but still get notified that someone joined 2024-08-16 06:20:44 -07:00
William Kray b6120caebf bump version 2024-08-15 21:30:58 -07:00
William Kray 7190b1febb fix error on user space join 2024-08-15 21:09:44 -07:00
William Kray 72277818f1 add roomid command and fix workflow file 2024-08-15 20:23:55 -07:00
William Kray 9d61733ac8 first pass at adding github build action 2024-08-15 14:37:03 -07:00
William Kray 2509556073 version bump, update readme 2024-08-14 15:44:50 -07:00
William Kray ea6d7cdaa4 include welcome module with multi-room message-mapping support 2024-08-14 15:30:49 -07:00