continuwuity/docs
ember33 939f7e3d72 fix(spaces): address third review - event loops, PL guards, namespace, concurrency
Critical fixes:
- handle_space_child_change now reads the actual m.space.child state event
  and checks if via is empty; removes child from index on removal instead
  of unconditionally adding
- Server user is exempted from PL rejection guard so sync_power_levels
  can function without being blocked by its own protection
- PL rejection now also checks that space-managed users aren't omitted
  from proposed power level events

Important fixes:
- room_to_space changed from 1:1 to 1:many (HashMap<RoomId, HashSet<RoomId>>)
  so a room can belong to multiple parent spaces; get_parent_space renamed
  to get_parent_spaces; join gating checks all parents (qualify in any)
- All custom event types renamed from m.space.* to com.continuwuity.space.*
  to avoid squatting on the Matrix namespace
- Cache cleanup on child removal from space
- Added tokio Semaphore (capacity 4) to limit concurrent enforcement tasks
- Server user membership checked before enforcement in auto_join, kick,
  and sync_power_levels to avoid noisy errors

Suggestions:
- Replaced expect() calls with proper error propagation via map_err/?
- Fixed indentation in timeline/mod.rs line 116
- handle_space_child_change now directly joins users to the specific new
  child room instead of scanning all children via auto_join_qualifying_rooms

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 10:33:18 +01:00
..
advanced fix: Nuke all remaining references to MSC3575 in docs and code 2026-03-09 17:11:19 +00:00
calls feat(api): implement MSC4143 RTC transports discovery endpoint 2026-02-23 23:01:15 +00:00
community feat(docs): Move community pages into subdir, add partnered homeservers page 2026-01-26 21:32:05 -05:00
deploying docs: Update docker documentation to add /sbin/conduwuit to examples 2026-03-15 00:21:37 +00:00
development docs(docker): Restructure deployment guide and add env var reference 2026-03-07 18:28:47 +00:00
plans fix(spaces): address third review - event loops, PL guards, namespace, concurrency 2026-03-18 10:33:18 +01:00
public fix: Nuke all remaining references to MSC3575 in docs and code 2026-03-09 17:11:19 +00:00
reference docs(docker): Restructure deployment guide and add env var reference 2026-03-07 18:28:47 +00:00
_meta.json docs(docker): Restructure deployment guide and add env var reference 2026-03-07 18:28:47 +00:00
_nav.json docs: Add Delegation page (#1414) 2026-03-04 15:10:00 +00:00
appservices.mdx docs: New site 🎉 2025-11-22 20:35:09 +00:00
calls.mdx docs: Update & apply feedback 2026-02-16 02:55:26 +00:00
configuration.mdx docs(config): merge backwards compatibility descriptions 2026-03-04 14:57:27 +00:00
contributing.mdx docs: New site 🎉 2025-11-22 20:35:09 +00:00
deploying.mdx docs: New site 🎉 2025-11-22 20:35:09 +00:00
index.mdx docs: Add links to matrix guides 2026-02-14 19:29:07 +00:00
introduction.mdx docs: Add information about partnered homeservers to the introduction page & update README.md 2026-02-21 18:51:56 -08:00
maintenance.mdx docs: New site 🎉 2025-11-22 20:35:09 +00:00
security.mdx docs: New site 🎉 2025-11-22 20:35:09 +00:00
troubleshooting.mdx docs: small refactor of the troubleshooting page 2026-03-06 16:35:11 +00:00