Add columns, suggesting mode, verified pages, scanned PDF search and server translations
CI / go (Media) (push) Successful in 13m40s
CI / go (Server) (push) Failing after 23m20s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 10m35s
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
CI / desktop (ubuntu-latest) (push) Failing after 3h4m42s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 9m19s
CI / docker (push) Successful in 2h2m57s

- Columns: /columns puts 2 to 4 columns side by side, with widths dragged
  between them; they stack on phones. HTML export and import keep them
  (also Notion column lists and Confluence page layouts).
- Suggesting mode: edits become suggested insertions and deletions that
  editors accept or reject one by one or all at once. Text only.
- Verified pages: editors verify a page for a while or without end; the
  verifier is notified when it runs out (migration 1764700000).
- Scanned PDFs attached to pages are read by AI for search where a
  workspace turns it on.
- The server writes error messages, emails, digests and phone
  notifications in English, Polish, German, French and Spanish; the apps
  send their language with each request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tajniak81andClaude Opus 5.5 committed 2026-11-17 08:38:08 +01:00
1 parent 1696f2e77e
commit c98b127f1e
94 files changed
+5042 -112

No files matched your search

@@ -0,0 +1,62 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
/// <reference path="../pb_data/types.d.ts" />
// Verified pages: an editor vouches that a page is correct, for a while.
//
// - pages.verified_by and verified_at: who verified the page and when; empty
// when nobody has.
// - pages.verified_until: when the verification runs out; empty for one that
// does not expire.
// - pages.verify_notified_at: when the verifier was told it ran out, so they
// hear once; verifying again clears it.
// - notifications gain the verify_expired type.
migrate(
(app) => {
const users = app.findCollectionByNameOrId("users");
const pages = app.findCollectionByNameOrId("pages");
pages.fields.add(new RelationField({ name: "verified_by", collectionId: users.id, maxSelect: 1, cascadeDelete: false }));
pages.fields.add(new DateField({ name: "verified_at" }));
pages.fields.add(new DateField({ name: "verified_until" }));
pages.fields.add(new DateField({ name: "verify_notified_at" }));
pages.indexes.push("CREATE INDEX idx_pages_verified_until ON pages (verified_until)");
app.save(pages);
const notifications = app.findCollectionByNameOrId("notifications");
notifications.fields.getByName("type").values = [
"comment",
"reply",
"mention",
"share",
"resolved",
"reminder",
"join_request",
"join_approved",
"join_declined",
"verify_expired",
];
app.save(notifications);
},
(app) => {
const pages = app.findCollectionByNameOrId("pages");
for (const name of ["verified_by", "verified_at", "verified_until", "verify_notified_at"]) {
pages.fields.removeByName(name);
}
pages.indexes = pages.indexes.filter((i) => !i.includes("idx_pages_verified_until"));
app.save(pages);
const notifications = app.findCollectionByNameOrId("notifications");
notifications.fields.getByName("type").values = [
"comment",
"reply",
"mention",
"share",
"resolved",
"reminder",
"join_request",
"join_approved",
"join_declined",
];
app.save(notifications);
},
);