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
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:
1 parent
1696f2e77e
commit
c98b127f1e
94 files changed
+5042
-112
No files matched your search
+60
-4
@@ -1723,6 +1723,42 @@ paths:
|
||||
schema: { $ref: "#/components/schemas/Page" }
|
||||
"403": { $ref: "#/components/responses/Error" }
|
||||
"404": { $ref: "#/components/responses/Error" }
|
||||
/api/v1/pages/{id}/verify:
|
||||
parameters:
|
||||
- { name: id, in: path, required: true, schema: { type: string } }
|
||||
put:
|
||||
operationId: verifyPage
|
||||
tags: [pages]
|
||||
summary: Verify the page as the caller, for some days or without end (editor)
|
||||
description: Verifying again replaces the earlier verification. When it runs out, the caller gets a verify_expired notification.
|
||||
security: [{ bearer: [] }]
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema: { $ref: "#/components/schemas/VerifyPage" }
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema: { $ref: "#/components/schemas/Page" }
|
||||
"400": { $ref: "#/components/responses/Error" }
|
||||
"403": { $ref: "#/components/responses/Error" }
|
||||
"404": { $ref: "#/components/responses/Error" }
|
||||
delete:
|
||||
operationId: unverifyPage
|
||||
tags: [pages]
|
||||
summary: Take the page's verification off (editor)
|
||||
security: [{ bearer: [] }]
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema: { $ref: "#/components/schemas/Page" }
|
||||
"403": { $ref: "#/components/responses/Error" }
|
||||
"404": { $ref: "#/components/responses/Error" }
|
||||
/api/v1/pages/{id}/visit:
|
||||
parameters:
|
||||
- { name: id, in: path, required: true, schema: { type: string } }
|
||||
@@ -4446,7 +4482,7 @@ components:
|
||||
Page:
|
||||
type: object
|
||||
required:
|
||||
[id, workspace, space, parent, title, icon, created, updated, deletedAt, inTrash, archivedAt, archived, ancestors, role, restricted, isTemplate, favorite, pinnedAt, fullWidth, font, defaultMode, tags, properties, journalDate, createdBy, lastEditedBy]
|
||||
[id, workspace, space, parent, title, icon, created, updated, deletedAt, inTrash, archivedAt, archived, ancestors, role, restricted, isTemplate, favorite, pinnedAt, fullWidth, font, defaultMode, tags, properties, journalDate, createdBy, lastEditedBy, verification]
|
||||
properties:
|
||||
id: { type: string }
|
||||
workspace: { type: string }
|
||||
@@ -4477,6 +4513,25 @@ components:
|
||||
journalDate: { type: string, description: The day (YYYY-MM-DD) of a journal page; empty otherwise }
|
||||
createdBy: { $ref: "#/components/schemas/PageUser" }
|
||||
lastEditedBy: { $ref: "#/components/schemas/PageUser" }
|
||||
verification: { $ref: "#/components/schemas/PageVerification" }
|
||||
PageVerification:
|
||||
type: object
|
||||
description: Whether someone vouched for the page; at is empty when nobody has
|
||||
required: [by, at, until, expired]
|
||||
properties:
|
||||
by: { $ref: "#/components/schemas/PageUser" }
|
||||
at: { type: string, description: When the page was verified; empty if it is not }
|
||||
until: { type: string, description: When the verification runs out; empty when it does not }
|
||||
expired: { type: boolean, description: The verification ran out (until has passed) }
|
||||
VerifyPage:
|
||||
type: object
|
||||
required: [days]
|
||||
properties:
|
||||
days:
|
||||
type: integer
|
||||
minimum: 0
|
||||
maximum: 3660
|
||||
description: How many days the verification lasts; 0 for one that does not run out
|
||||
PageMode:
|
||||
type: string
|
||||
enum: [page, edgeless]
|
||||
@@ -5187,8 +5242,8 @@ components:
|
||||
watching: { type: boolean }
|
||||
NotificationType:
|
||||
type: string
|
||||
enum: [comment, reply, mention, share, resolved, reminder, join_request, join_approved, join_declined]
|
||||
description: The join_* types are about a workspace and have no page
|
||||
enum: [comment, reply, mention, share, resolved, reminder, join_request, join_approved, join_declined, verify_expired]
|
||||
description: The join_* types are about a workspace and have no page; verify_expired tells the person who verified a page that it ran out
|
||||
Notification:
|
||||
type: object
|
||||
required: [id, type, workspace, page, comment, actor, excerpt, created, read]
|
||||
@@ -5533,13 +5588,14 @@ components:
|
||||
canManage: { type: boolean, description: The caller may change the workspace's AI settings }
|
||||
AiSettings:
|
||||
type: object
|
||||
required: [enabled, useInstanceProfiles, index, ignored, monthlyTokenLimit]
|
||||
required: [enabled, useInstanceProfiles, index, ignored, monthlyTokenLimit, readScans]
|
||||
properties:
|
||||
enabled: { type: boolean }
|
||||
useInstanceProfiles: { type: boolean, description: After its own profiles, the workspace uses the instance's }
|
||||
index: { type: boolean, description: Embed pages for retrieval (sends every page to the embedding provider) }
|
||||
ignored: { type: array, items: { type: string }, description: Pages (with their subpages) that are neither indexed nor retrieved }
|
||||
monthlyTokenLimit: { type: integer, minimum: 0, description: Tokens the workspace may use per month; 0 is no cap }
|
||||
readScans: { type: boolean, description: Have a document-reading model write out scanned PDFs attached to pages, once each, so search finds their text (uses tokens) }
|
||||
AiProviderKind:
|
||||
type: string
|
||||
enum: [openai, anthropic, ollama]
|
||||
|
||||
Reference in new issue
Block a user