33 Commits

Author SHA1 Message Date
Dome 1669bbd766 fixed deprocated config parameter comment 2026-04-11 23:56:59 +02:00
Dome edd3eee178 feat: native matrix URI pills for {user}/{room} + major rendering & codebase refactor
This change introduces native `matrix:` URI-based rendering for `{user}` and `{room}` placeholders,
replacing previous plaintext and matrix.to-based links. Users and rooms are now rendered as clickable
pills in supporting clients, with a clean display using display names and room names (no @/# prefixes).

Reporting, moderation, and auto-redaction messages have been updated to use the same rendering logic.
Inspect and event links now also use native `matrix:` URIs for direct in-client navigation.

Internally, URI generation and rendering logic have been unified via central helper functions,
ensuring consistent handling of user IDs, room IDs, aliases, and event IDs.

This commit also includes a broader refactor of the codebase:
- decomposed complex flows (e.g. join handling) into smaller helpers
- moved mutable class-level state to instance-level
- reduced duplicate API calls and redundant logic
- improved overall structure and maintainability

Test coverage has been extended for URI helpers and rendering logic to prevent regressions.

No breaking changes to existing template parameters like `{user_link}` or `{room_link}`.
2026-04-11 20:21:33 +02:00
Dome 933865d80c Update base-config.yaml 2026-04-11 00:55:47 +02:00
Dome b2541c4054 feat: add configurable matrix permalink base, unify user placeholders, and refactor notification rendering
feat: add configurable matrix permalink base, unify user placeholders, and refactor notification rendering
2026-04-10 23:55:17 +02:00
Dome bc490bd084 Merge pull request #1 from ReK42/main
Add `use_community_slug` option to support disabling the slug suffix
2026-04-10 20:58:18 +02:00
Dome 79e073ba2e Update base-config.yaml 2026-04-09 23:58:01 +02:00
Dome 1fcdbe6c7c Update base-config.yaml 2026-04-09 23:10:42 +02:00
Dome 5396e7d785 Update base-config.yaml 2026-04-09 20:28:15 +02:00
ReK42 1e653c60e3 Add use_community_slug option to support disabling the slug suffix 2026-02-18 18:34:07 -08:00
William Kray 87e02b7ea6 more refactoring 2025-09-09 14:49:45 -07:00
William Kray e48f2e3344 make some stuff work 2025-08-18 14:32:29 -07:00
William Kray 07c8a77686 first pass at slug logic to prevent community collision 2025-06-29 11:59:01 -07:00
William Kray 2430baf4cd commands to initialize a community from scratch, with sane default base-config to allow this action 2025-06-17 14:24:15 -07:00
William Kray 74bb860ef7 comment about room vs space for parent_room value 2025-04-24 07:11:35 -07:00
William Kray dc83711efc more cleanup of messages, and customizability for verification message! 2025-04-10 09:45:35 -07:00
William Kray 78e604c542 debug logging, better comments, notification of failed verification, etc. 2025-04-09 13:12:57 -07:00
William Kray 5b973920ec initial verification check dm logic 2025-04-06 21:07:01 -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 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 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 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 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 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 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 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
William Kray 55d012b458 initial commit, old activity tracker and create-room plugin merged into one with some fun fixes 2024-08-14 14:21:22 -07:00