Skip to content

refactor: keep page trees within their space - #2681

Merged
Philipinho merged 8 commits into
mainfrom
refactor/page-tree-space
Nov 11, 2026
Merged

Philipinho merged 8 commits into
mainfrom
refactor/page-tree-space

Conversation

@Philipinho

Copy link
Copy Markdown
Member

No description provided.

- copy the nearest inherited restriction onto pages detached on restore and move
- duplicates copy page restrictions and make the duplicator a writer
- copies to another space keep the inherited restriction and drop non-members
- remove the parent alignment migration
…pace

- trashed pages below the moved ones go to the new space with their parents and restrictions
- their comments, history, verifications, notifications, attachments and watchers follow
- pages left behind are no longer detached or given a copy of the restriction
- copy restrictions with one INSERT ... SELECT instead of reading them into the app
- large restriction lists no longer hit the query parameter limit
- every source list is read from the same snapshot
- restore copies the restriction above a page before detaching it from a trashed or other-space parent
- page descendants, space trees and inherited shares only follow pages in the same space
- moving a page to another space takes its trashed sub-pages and their restrictions along
@Philipinho
Philipinho merged commit 60047d6 into main Nov 11, 2026
6 checks passed
kurerere added a commit to kurerere/docmost that referenced this pull request Nov 16, 2026
…tream

* perf(search): rebuild tsvectors only when the indexed text changes (docmost#2684)

* refactor: keep page trees within their space (docmost#2681)

* feat(ee): announcements (docmost#2683)

* New Crowdin updates (docmost#2668)

* fix(collab): skip database migrations on the collab server (docmost#2685)

* feat(ee): disable export (docmost#2653)

* fix: update packages (docmost#2688)

* New Crowdin updates (docmost#2687)

* test(editor): leave tab strip drop cursor cleanup to the plugin (docmost#2691)

* chore(client): disable node web storage in vitest (docmost#2690)

* perf(editor-ext): faster array diff for page history compare (docmost#2689)

* feat(history): highlight formatting-only changes  (docmost#2692)

* fix: skip unchanged history versions (docmost#2693)

* feat(ee): API key scopes (docmost#2694)

* feat(history): configurable page history interval (docmost#2696)

* fix(history): record versions for pages with no content (docmost#2697)

- skip mention and internal link extraction when page content is null
- fixes submit for approval and verify on never-edited pages

* fix(history): let wide tables scroll in the history modal (docmost#2699)

* fix: base cursor precision (docmost#2701)

* refactor: list shares through the share service (docmost#2703)

* feat(ee): base csv import (docmost#2700)

* fix(ee): cap API key expiration at 3 years (docmost#2704)

* refactor(mail): adjust account email links (docmost#2705)

* feat: status filter for space, announcement and member lists (docmost#2706)

* fix: reload member lists after a member's status changes (docmost#2707)

* fix: editor performance (docmost#2702)

* fix: editor followup (docmost#2708)

* fix(editor): resync collaboration after restoring editor state
* fix(editor): release destroyed collaboration views
* perf(editor): skip attribute scans without custom views

---------

Co-authored-by: Philip Okugbe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant