category subspaces #113

Open
mschae wants to merge 9 commits from mschae/out-of-your-element:category-subspaces into main
Contributor
  • Discord's category channels are bridged as subspaces
  • to avoid an annoyingly useless subspace in small guilds, ooye will check for the default configuration (one category for text channels + one category for voice channels) and not create any category spaces in that case
  • in self-service mode, ooye tries not to interfere with the spaces rooms are in (except for forum threads, as before)
  • adds a new column to channel_room: parent_space_id
  • when channels are moved between categories, all of the relevant m.space.child and m.space.parent state events are updated
  • when a category is unbridged, its children rooms are moved to the category space's parent
  • I also added a script to call syncSpaceFully, because it's the easiest way to quickly convert a whole space to use category subspaces after upgrading
  • and a new section in the web UI for /guild, where categories can be manually linked for bridged guilds that already have subspaces
  • depends on #109 (with non-trivial logic changes in the merge)

note to myself so I don't forget: ping @courge_musque:matrix.libre.tw if there's anything that requires manual changes when upgrading to main later

- Discord's category channels are bridged as subspaces - to avoid an annoyingly useless subspace in small guilds, ooye will check for the default configuration (one category for text channels + one category for voice channels) and not create any category spaces in that case - in self-service mode, ooye tries not to interfere with the spaces rooms are in (except for forum threads, as before) - adds a new column to `channel_room`: `parent_space_id` - when channels are moved between categories, all of the relevant `m.space.child` and `m.space.parent` state events are updated - when a category is unbridged, its children rooms are moved to the category space's parent - I also added a script to call `syncSpaceFully`, because it's the easiest way to quickly convert a whole space to use category subspaces after upgrading - and a new section in the web UI for `/guild`, where categories can be manually linked for bridged guilds that already have subspaces - depends on #109 (with non-trivial logic changes in the merge) note to myself so I don't forget: ping `@courge_musque:matrix.libre.tw` if there's anything that requires manual changes when upgrading to main later
mschae changed title from WIP: category subspaces to category subspaces 2026-11-22 14:15:13 +00:00
mschae force-pushed category-subspaces from 016fc4373b to a7632181f9 2026-11-22 22:46:56 +00:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u category-subspaces:mschae-category-subspaces
git switch mschae-category-subspaces

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff mschae-category-subspaces
git switch mschae-category-subspaces
git rebase main
git switch main
git merge --ff-only mschae-category-subspaces
git switch mschae-category-subspaces
git rebase main
git switch main
git merge --no-ff mschae-category-subspaces
git switch main
git merge --squash mschae-category-subspaces
git switch main
git merge --ff-only mschae-category-subspaces
git switch main
git merge mschae-category-subspaces
git push origin main
Sign in to join this conversation.
No description provided.