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

+46 -15
View File
@@ -503,15 +503,16 @@ func (e NotificationSettingsEmail) Valid() bool {
// Defines values for NotificationType.
const (
NotificationTypeComment NotificationType = "comment"
NotificationTypeJoinApproved NotificationType = "join_approved"
NotificationTypeJoinDeclined NotificationType = "join_declined"
NotificationTypeJoinRequest NotificationType = "join_request"
NotificationTypeMention NotificationType = "mention"
NotificationTypeReminder NotificationType = "reminder"
NotificationTypeReply NotificationType = "reply"
NotificationTypeResolved NotificationType = "resolved"
NotificationTypeShare NotificationType = "share"
NotificationTypeComment NotificationType = "comment"
NotificationTypeJoinApproved NotificationType = "join_approved"
NotificationTypeJoinDeclined NotificationType = "join_declined"
NotificationTypeJoinRequest NotificationType = "join_request"
NotificationTypeMention NotificationType = "mention"
NotificationTypeReminder NotificationType = "reminder"
NotificationTypeReply NotificationType = "reply"
NotificationTypeResolved NotificationType = "resolved"
NotificationTypeShare NotificationType = "share"
NotificationTypeVerifyExpired NotificationType = "verify_expired"
)
// Valid indicates whether the value is a known member of the NotificationType enum.
@@ -535,6 +536,8 @@ func (e NotificationType) Valid() bool {
return true
case NotificationTypeShare:
return true
case NotificationTypeVerifyExpired:
return true
default:
return false
}
@@ -1339,6 +1342,9 @@ type AiSettings struct {
// MonthlyTokenLimit Tokens the workspace may use per month; 0 is no cap
MonthlyTokenLimit int `json:"monthlyTokenLimit"`
// ReadScans Have a document-reading model write out scanned PDFs attached to pages
ReadScans bool `json:"readScans"`
// UseInstanceProfiles After its own profiles
UseInstanceProfiles bool `json:"useInstanceProfiles"`
}
@@ -2060,7 +2066,7 @@ type Notification struct {
Page *PageRef `json:"page"`
Read bool `json:"read"`
// Type The join_* types are about a workspace and have no page
// Type The join_* types are about a workspace and have no page; verify_expired tells the person who verified a page that it ran out
Type NotificationType `json:"type"`
Workspace string `json:"workspace"`
}
@@ -2083,7 +2089,7 @@ type NotificationSettings struct {
// NotificationSettingsEmail Unread notifications by email every few minutes
type NotificationSettingsEmail string
// NotificationType The join_* types are about a workspace and have no page
// NotificationType The join_* types are about a workspace and have no page; verify_expired tells the person who verified a page that it ran out
type NotificationType string
// OAuthProviderSettings defines model for OAuthProviderSettings.
@@ -2207,10 +2213,13 @@ type Page struct {
Space string `json:"space"`
// Tags Tag ids
Tags []string `json:"tags"`
Title string `json:"title"`
Updated string `json:"updated"`
Workspace string `json:"workspace"`
Tags []string `json:"tags"`
Title string `json:"title"`
Updated string `json:"updated"`
// Verification Whether someone vouched for the page; at is empty when nobody has
Verification PageVerification `json:"verification"`
Workspace string `json:"workspace"`
}
// PageAccess defines model for PageAccess.
@@ -2349,6 +2358,19 @@ type PageUser struct {
Name string `json:"name"`
}
// PageVerification Whether someone vouched for the page; at is empty when nobody has
type PageVerification struct {
// At When the page was verified; empty if it is not
At string `json:"at"`
By PageUser `json:"by"`
// Expired The verification ran out (until has passed)
Expired bool `json:"expired"`
// Until When the verification runs out; empty when it does not
Until string `json:"until"`
}
// PageVersion defines model for PageVersion.
type PageVersion struct {
// Author Name (or email) of the last person who edited before it was taken
@@ -2852,6 +2874,12 @@ type UserList struct {
TotalItems int `json:"totalItems"`
}
// VerifyPage defines model for VerifyPage.
type VerifyPage struct {
// Days How many days the verification lasts; 0 for one that does not run out
Days int `json:"days"`
}
// Version defines model for Version.
type Version struct {
Name string `json:"name"`
@@ -3627,6 +3655,9 @@ type MovePageJSONRequestBody MovePageJSONBody
// SetShareLinkJSONRequestBody defines body for SetShareLink for application/json ContentType.
type SetShareLinkJSONRequestBody SetShareLinkJSONBody
// VerifyPageJSONRequestBody defines body for VerifyPage for application/json ContentType.
type VerifyPageJSONRequestBody = VerifyPage
// SetPageWatchJSONRequestBody defines body for SetPageWatch for application/json ContentType.
type SetPageWatchJSONRequestBody = WatchState