0ebf06417338cf9ca72b77fa09f205576d729ba9
63
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
0ebf064173 |
Add audio transcripts, monthly AI limits, PDF sources and AI chat on phones
CI / go (Server) (push) Failing after 25m5s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 8m38s
CI / desktop (ubuntu-latest) (push) Successful in 1h41m20s
CI / mobile (push) Failing after 4m19s
CI / docker (push) Failing after 44m8s
Docs / build (push) Successful in 17m11s
Docs / deploy (push) Skipped
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
Follow-ups to Phase E (ADR-15):
- Transcription (E2): OpenAI-compatible profiles can name a speech-to-text
model; POST /files/{id}/transcribe turns an audio or video attachment
(up to 25 MB) into text and a summary with key points and action items.
The editor gets a Transcribe button on media files that inserts the
summary and the transcript in a toggle.
- Monthly token limits: ai_usage counts requests and tokens per workspace
and month. Workspace admins can cap their workspace; superadmins can cap
what each workspace uses through the server's providers, after which
the workspace's own providers keep working. The admin panel lists usage.
- PDF text for extra retrieval files (ledongthuc/pdf, pure Go).
- Phone app: an AI chat screen for the workspace or a page, with streamed
answers and sources that open the cited block.
- OpenAPI, generated clients, migration, translations and docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
78b7710090 |
Add AI chat, writing actions, workspace embeddings and an MCP server
Phase E of the AFFiNE parity plan (ADR-15): - internal/ai: OpenAI-compatible, Anthropic (official Go SDK) and Ollama drivers; BYOK profiles per workspace and for the instance, with keys encrypted by DOCWELL_SECRET_KEY, failover order, a test call and usage counters. - Embeddings: an indexer that follows PocketBase like the search index, chunks pages along their blocks and keeps vectors in a bbolt file in the data dir (no cgo); progress, ignored pages and extra files. - Chat sessions scoped to a page, space or workspace, streamed as server-sent events, with citations to pages and blocks, fork and history; retrieval only from pages the asker can read. - Writing actions (rewrite, fix, shorter, longer, summarise, translate, continue, custom) in the editor's selection toolbar. - POST /mcp: MCP over Streamable HTTP with personal API tokens; read tokens search and read pages, write tokens also create and update them. - Web app chat panel (Ctrl+J), workspace AI settings, an admin AI page, OpenAPI, generated clients, migration and translations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
05a6334f26 |
Keep the CI compose smoke test off a production stack on the same host
CI / go (Server) (push) Failing after 6m0s
CI / go (Web-App) (push) Successful in 10m45s
CI / frontend (push) Failing after 8m37s
CI / desktop (ubuntu-latest) (push) Successful in 1h51m46s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 19m41s
CI / docker (push) Successful in 49m29s
The docker job ran under the compose project "docwell", the same name a real install uses. On a runner sharing the Docker host it took over the install's db/server/web containers, and `down -v` then deleted them along with their volumes. Give the job its own project name and drop the host ports so it cannot collide with a running install. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
0640004895 |
Add database relations and rollups, full-page records, and translate the admin panel and phone app
CI / go (Server) (push) Failing after 4m38s
CI / go (Web-App) (push) Successful in 12m18s
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
CI / frontend (push) Failing after 7m49s
CI / desktop (ubuntu-latest) (push) Successful in 1h25m30s
CI / docker (push) Successful in 39m26s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 5m14s
CI / desktop (macos-latest) (push) Canceled after 0s
Databases (ADR-13 follow-ups):
- Relation properties link records to another database, on the same page
or on any page the reader can open (read live and read-only, like synced
pages). Cells list the linked titles; clicking one opens the record.
- Rollup properties work out counts, sums, averages, medians, min/max,
ranges, earliest/latest dates and checked counts over related records.
Neither is stored: views compute them before drawing (linked.ts), so they
follow both databases live, and rollups sort and filter as numbers.
- Exports (Markdown, HTML, PDF, Word) resolve them for same-page databases.
- A record opens as a full page at /p/<page>/r/<database>/<record>, with
"Open as full page" on the side panel and "Back to the page".
Edgeless mode (ADR-14 follow-ups):
- History previews show a version's canvas and count canvas changes.
- Comments can be anchored to canvas elements (anchor {element}); elements
with open threads show a badge that opens the thread.
- Workspaces choose how new pages open (workspaces.default_page_mode); the
per-device choice now defaults to following the workspace.
- Phones edit the canvas once a page is opened for editing; the page note
shows the page title.
Languages:
- The admin panel speaks English, Polish, German, French and Spanish, with
a picker sharing the web app's setting and a key parity test.
- The phone app speaks the same five, follows the phone's language (and
Android's per-app language setting), and has its own parity test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
e927653e4b |
Add edgeless mode: pages as a canvas with their text as a live note
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
CI / go (Server) (push) Failing after 8m12s
CI / go (Web-App) (push) Successful in 11m16s
CI / frontend (push) Failing after 7m33s
CI / desktop (ubuntu-latest) (push) Successful in 1h25m49s
CI / mobile (push) Failing after 5m48s
CI / docker (push) Successful in 41m19s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
Phase D of docs/AFFINE.md (ADR-14).
The canvas lives in the page's Y.Doc next to its text, in
ydoc.getMap("surface"): one Y.Map per element, each field its own entry so
concurrent edits merge. The page's text is a note on the canvas bound to
the same "default" fragment, so typing on the canvas is typing in the page.
Canvas edits have their own undo history through a Y.UndoManager.
- New package @docwell/canvas: viewport with pan, zoom and pinch;
selection, marquee, snapping, resize and rotate; notes, text, shapes
(plain or scribbled), connectors (straight, curve, elbow, with arrowheads
and labels), pen and eraser, frames, groups, pictures, embeds and link
cards, and mind maps (right, left or both sides; Tab, Enter, arrows).
A style bar over the selection; the last style per kind is the default.
- Presentation through frames, stickers and templates, PNG and SVG export.
- Page/Edgeless switch in the header, ?mode= in page and share links, a
per-page default (pages.default_mode) and a per-device default for new
pages; share links show the canvas read-only.
- Server: yrs writes the canvas into the document JSON as "surface",
adds its text to search, and writes it back on restores and templates.
- Phone: the bridge draws the canvas read-only (protocol 3) and the page
screen has a canvas button.
Strings are translated into all five languages and the user guide covers
edgeless mode.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
aede10bd1a |
Drag database records by touch and format record notes on the phone
CI / go (Server) (push) Failing after 4m16s
Docs / build (push) Canceled after 0s
CI / go (Web-App) (push) Successful in 10m49s
CI / desktop (ubuntu-latest) (push) Successful in 1h43m36s
CI / docker (push) Successful in 58m32s
Docs / deploy (push) Canceled after 0s
CI / frontend (push) Failing after 7m26s
CI / mobile (push) Failing after 3m46s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
- Touch dragging (database/touchdrag.ts): rows drag by their grip, board cards by a grip shown on touch screens, calendar entries by themselves. The handle takes the touch from its start, since Android's long press cancels a held touch; a tap still clicks and holding still is the long press. The phone's editor WebView claims touches at once. - Editor bridge: toolbar commands and state follow focus into an editor inside a panel (a record's notes) and back to the page. - Phone-App widget tests: fixtures gain the fields the API added since (journal, tags, properties, journalDate, createdBy, lastEditedBy). - Guide: how to drag records on a phone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
406779b353 |
Open record links on public pages and find records in search
- Public pages follow "#b-…" and "#r-…" links like the page view does, and their block and record links copy the public address. The retry logic is shared as followLink (Packages/editor/src/hashlinks.ts). - Search indexes each database record as its own document (from the page's content_json), returned with a "record" field and opened beside its page. Filter-only listings stay pages only; removed records and trashed pages drop out. The index mapping version is bumped, so it rebuilds once. - Phone app: search lists records and opens them through a new "follow" bridge message. - Guide updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
5e9c61460b |
Fix databases and live editing in the Android app
- Server: accept the mobile editor's https://app.docwell.docwell_mobile origin on /collab (refused since the page moved off file:). - Android: allow mixed content when signed in to an http:// server, so the ws:// collab socket is not blocked from the https page. - Databases: a touch tap on a cell edits it, since a phone has no keyboard to type into a selected cell. - Back button closes an open record, picker or menu first: the bridge reports open overlays and takes a dismiss message. - Guide: how databases work in the mobile app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
db6f2caa4a |
Add links to database records
CI / go (Server) (push) Failing after 20m11s
CI / mobile (push) Failing after 7m33s
CI / docker (push) Successful in 49m7s
Docs / build (push) Successful in 12m55s
CI / frontend (push) Failing after 8m8s
CI / desktop (ubuntu-latest) (push) Successful in 1h41m4s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / go (Web-App) (push) Canceled after 4s
Docs / deploy (push) Skipped
A record can be linked like a block: the page's address plus "#r-<database>-<record>". Opening the link loads the page, scrolls to the database and opens the record beside it; a link to a deleted record just shows the page. Records stay part of their page, so the link needs nothing beyond the page's own access. "Copy link to record" is in the record's panel header and in the row's right-click menu, which readers now get too (Open and Copy link only). The page view opens record links the way it scrolls to block links, retrying while the shared document loads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
f7b7022958 |
Rebind a database when its records are replaced
A restore, import or template replaces the page through yrs, which writes a new map for each database under the same id. An open editor kept watching and editing the old, detached map: it showed the records from before the restore, its edits went nowhere, and its records could not open their bodies. The block now follows its entry in the blocks map and rebinds (and reopens an open record) when the entry is replaced. Found by testing databases in the web app against a running server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3102a476a6 |
Add databases: table, kanban and calendar views with rows as pages
CI / go (Server) (push) Failing after 4m1s
CI / go (Web-App) (push) Successful in 10m50s
CI / frontend (push) Failing after 6m46s
CI / desktop (ubuntu-latest) (push) Successful in 1h10m39s
CI / mobile (push) Failing after 3m2s
CI / docker (push) Successful in 35m59s
Docs / build (push) Successful in 13m26s
Docs / deploy (push) Skipped
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
Phase C of docs/AFFINE.md (ADR-13).
A database is a block whose records live in the page's Y.Doc, in
ydoc.getMap("blocks") under the block's id: columns, rows (each cell its
own map entry, so concurrent edits to one row merge) and views. Order is
a fractional position per item, so moving a row keeps edits made to it at
the same time. Database edits share the page's undo history.
- Thirteen property types: title, text, number, checkbox, select,
multi-select, date, progress, link, attachment, member, created time
and created by. The column menu renames, changes type (converting the
values), sorts, filters, hides, inserts, moves, duplicates and deletes;
columns resize and drag.
- Table view: keyboard navigation, range selection, typing to edit,
copy and paste with spreadsheets (pasting adds rows as needed), row
dragging, bulk delete, grouping.
- Views in tabs, each with its own filters (all/any), sorts, grouping
and visible properties; kanban grouped by select, multi-select,
checkbox or member with cards dragged between columns; calendar by a
date property with records dragged between days.
- A record opens beside the page with its properties and a body of its
own (a Y.XmlFragment in the row, edited by a second editor).
- /database, Ctrl+G or "Group as database" turns a list into a database;
CSV export and import; a copied, pasted or duplicated database gets
its own copy of the records.
Server: yrs writes each database's records into its node as attrs.data
when it turns a document into JSON, adds them to the search text, and
writes them back on imports, restores and templates. Markdown, HTML,
PDF and Word exports show a database as a table of its first view's
columns. Notion database CSVs import as database blocks with guessed
types. Share links and history previews show databases read-only.
Strings are translated into all five languages, the user guide covers
databases, and the mobile editor bundle is rebuilt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
53dd43cc2e |
Add synced pages, editor settings and split view
Phase B items 7-9 of docs/AFFINE.md. Synced pages: "![[" or /Synced page shows another page inside this one, read-only and live. The copy follows the page over a read-only collab connection (CollabProvider readOnly: no edits, no presence) in a nested read-only editor; it folds to its title and opens the page. The node keeps the page's title, so exports (Markdown, HTML, PDF, Word) and readers without a host show it as a link to the page. Settings: Account -> Editor sets, per device, the text size, full width or a date title for new pages, showing properties and backlinks, and code line numbers. The inbox settings choose which notification types the email digest includes (users.notify_email_off, new migration). Split view: Alt+click a page link, or Open beside in the page menu, shows that page in a side pane on wide screens; it survives navigation and reloads of the tab. The page menu opens pages in a new tab on the web, and Ctrl+[ / Ctrl+] go back and forward. Strings are translated into all five languages, the user guide covers the new features, and the mobile editor bundle is rebuilt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ec11abd8b8 |
Add page properties, tags, All docs, collections and journals
Phase B (items 1-6) of docs/AFFINE.md.
Properties: workspaces define custom page properties (text, number,
checkbox, date, select, multi-select, person, link) in the new
workspace_properties collection; pages keep their values in
pages.properties, checked against each property's type. The Info panel
under the title shows tags, custom and built-in properties, following
each property's visibility; the Info side panel shows them all, with the
page's collections and the journal. Settings gains Page properties and
Tags sections.
Tags: coloured, per workspace (tags collection, pages.tags); create from
the picker, rename, recolour, merge and delete. Search filters by tag.
All docs: GET /workspaces/{id}/docs lists the pages the caller can open
with their properties, narrowed by space, tag, collection or filter
rules evaluated on the server. The view shows a list, grid or cards,
groups and orders by any property, picks the properties shown, and acts
on several pages at once (tag, move, trash, collect).
Collections (page_collections): saved rules plus pages added or taken
out by hand, private to their creator until shared with the workspace,
listed in the sidebar.
Journals: one page per person and day in a private journal space
(spaces.journal_owner) that workspace admins do not see into, made on
first use. A week strip marks days with pages, new days can start from
a template, and dates in read mode open that day's journal.
The migration and schema snapshot, OpenAPI spec and generated Go, TS and
Dart types are updated (the Dart generator learns untyped values), the
mobile editor bundle is rebuilt, the new strings are translated into all
five languages, and the user guide covers the new features.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
3dea2bb2f4 |
Add Word export, column dragging and the rest of editor parity
CI / mobile (push) Failing after 3m44s
CI / docker (push) Successful in 54m15s
Docs / build (push) Successful in 12m28s
Docs / deploy (push) Skipped
CI / frontend (push) Failing after 7m47s
CI / desktop (ubuntu-latest) (push) Successful in 1h27m22s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / go (Server) (push) Failing after 8m51s
CI / go (Web-App) (push) Successful in 11m46s
Word export: pages download as .docx from the page menu and from
GET /pages/{id}/export?format=docx. The file keeps headings, alignment,
lists, to-dos, quotes, callouts, code, tables with a repeating header
row, text formatting, colours, highlights, links and the page's images.
Word import now reads callouts, to-dos and shaded highlights, so a page
exported to Word imports back as it was. The user guide says how to move
pages to Notion, whose Import reads Word and Markdown files.
Editor:
- Columns move like rows: a grip on the column's top edge drags it, and
the table toolbar and Ctrl+Alt+Left/Right move it from the keyboard.
Row and column moving share tablemove.ts.
- Ctrl+Shift+C copies a link to the block the cursor is in.
- Headings 4 to 6 sit under "Other headings" in the slash menu; a search
still finds them directly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
d28f1e02db |
Add tables, to-dos, callouts and the rest of editor parity
The editor gains the blocks and formatting it lacked next to AFFiNE: - Tables with a header row, resizable columns, a toolbar to add, delete, merge and split, and rows that move by a drag grip, toolbar buttons or Ctrl+Alt+Up/Down. - To-do lists (also from "[] "), callouts with an emoji and colour, and headings down to level 6 (Ctrl+Shift+0-6 for text and headings). - Text colour and highlights from a fixed palette that follows the theme, and left, centre and right alignment. - Optional line numbers on code blocks, with a default hosts can set. - PDF attachments show their pages inline; pdf.js loads only then, and the mobile bundle leaves it out. - The selection toolbar adds underline, colour, align, inline math, make a linked page and copy block link. A grip beside each block drags it and opens a menu: turn into, move, duplicate, copy, copy link, delete. - The slash menu adds Today, Tomorrow, Yesterday, Now and New page. The web app translates the new words and makes linked pages as children of the open page. The mobile bridge gets underline, to-do, callout and table commands, so its protocol moves to version 2 and the bundle is rebuilt. docwell-server's converters learn the new nodes: Markdown writes task lists, GitHub alerts and tables and reads them back; HTML keeps colours and alignment and reads its own output back; PDF draws tables, to-dos, callouts and coloured text; Word import keeps tables, alignment, H4-H6 and colours; Notion import turns databases into tables and keeps callouts and to-dos. Imported tables and H4-H6 headings no longer collapse into paragraphs and H3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3c7403ddf9 |
Create the first superadmin from DOCWELL_ADMIN_EMAIL on start
When DOCWELL_ADMIN_EMAIL and DOCWELL_ADMIN_PASSWORD are set (and optionally DOCWELL_ADMIN_NAME), docwell-server creates that account as superadmin on start while the instance has no accounts. Once any account exists it changes nothing, so restarts never reset the password or a role changed in the admin panel. Without them, the first sign-up still wins. Pass the variables through every compose file, document them in the .env examples and the configuration, access and quick-start guides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
b9be8be156 |
Run docwell-db as a stock PocketBase and let the server set it up
CI / go (Server) (push) Failing after 22m50s
CI / go (Web-App) (push) Canceled after 0s
CI / desktop (ubuntu-latest) (push) Successful in 2h56m50s
CI / mobile (push) Failing after 5m33s
CI / docker (push) Successful in 1h43m8s
Docs / build (push) Successful in 16m2s
Docs / deploy (push) Skipped
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / frontend (push) Failing after 8m47s
docwell-db no longer needs a Docwell image: the stack runs tajniak81/pocketbase-docker-root as it is, and docwell-server does what the migrations and pb_hooks used to do inside PocketBase. On start, docwell-server now: - waits for PocketBase and imports Docwell's collections from an embedded snapshot (internal/pbschema). Existing collections and fields are matched by name, so their data is kept; the admin-managed users options (OAuth2 providers, magic link) are left untouched. - writes the DOCWELL_APP_NAME, DOCWELL_WEB_URL, DOCWELL_MAIL_FROM, DOCWELL_SMTP_* and DOCWELL_S3_* settings into PocketBase, as the boot hook did. It also replaces the hook's two routes: token checks use PocketBase's auth-refresh (the organization name is read as the superuser), and Docwell's own emails go out over SMTP from the server. PocketBase never returns the SMTP password, so the server keeps a copy in the superuser-only instance_settings collection; a password saved before this change has to be entered once more in the admin panel. Database/ keeps pb_migrations as the source of the schema; export-schema.sh regenerates the snapshot from them. Database/Dockerfile and pb_hooks are removed, the release no longer builds docwell-db, the AIO image runs PocketBase without migrations or hooks, and the compose files default DB_IMAGE to the stock image and pass the settings to the server instead of the database. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
24a2d275a0 |
Fix docwell-server data dir ownership on start
The server runs as docwell (uid 10001), but a host bind mount for SERVER_DATA, or a volume created by an older image, arrives owned by root, so the search index failed with "mkdir /data/search.bleve: permission denied". The image now starts as root through a small entrypoint that chowns DOCWELL_DATA_DIR to docwell when needed, then runs docwell-server as docwell via su-exec. A container already started with a non-root user: skips the fix and runs the server directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ef2c81d062 |
Move PocketBase to port 8070
CI / go (Server) (push) Successful in 23m34s
CI / go (Web-App) (push) Successful in 12m21s
CI / desktop (ubuntu-latest) (push) Successful in 1h57m19s
CI / mobile (push) Failing after 5m8s
CI / docker (push) Failing after 41m19s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / frontend (push) Failing after 10m55s
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
docwell-db's base image (tajniak81/pocketbase-docker-root) listens on 8070 by default. Use that port everywhere instead of overriding it to 8090: the Database image, every Docker compose file and .env example, the AIO start script, docwell-server's DOCWELL_PB_URL default, and the docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ad26727521 |
Add production compose variants and base docwell-db on the PocketBase image
CI / go (Server) (push) Successful in 16m33s
CI / go (Web-App) (push) Successful in 12m1s
CI / frontend (push) Failing after 6m32s
CI / desktop (ubuntu-latest) (push) Failing after 21m52s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 5m2s
CI / docker (push) Successful in 18m56s
Docs / deploy (push) Skipped
Docs / build (push) Successful in 10m45s
Docker/ and Docker-AIO/ each get docker-compose.prod.yml plus S3, SeaweedFS and SeaweedFS-split variants, with matching .env.prod*.example templates and a README. docwell-db is now built FROM tajniak81/pocketbase-docker-root, which creates the superuser and serves PocketBase on 8090; data moves to /pb/pb_data. The boot hook applies DOCWELL_S3_* settings when set. The AIO start script accepts PB_ENCRYPTION_KEY. The base image is amd64-only, so the docwell-db release builds amd64 only for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
110839004c |
Add German, French and Spanish, and page layout in the mobile reader
CI / go (Server) (push) Successful in 12m46s
CI / desktop (ubuntu-latest) (push) Failing after 5m33s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 36s
CI / docker (push) Successful in 9m13s
CI / go (Web-App) (push) Successful in 10m4s
CI / frontend (push) Failing after 6m9s
The web and desktop app now ships German, French and Spanish next to English and Polish. Account settings has a language picker kept per device like the theme; without a choice the app follows the browser's languages. The <html lang> follows the chosen language, and a test keeps every language's keys and placeholders in step with English. The mobile reader applies each page's width and font through a new setLayout bridge message, using the web reader's column widths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1ca5c2e7c0 |
Add preview launch configs for the web and admin dev servers
CI / go (Server) (push) Successful in 16m44s
CI / frontend (push) Successful in 11m50s
CI / desktop (ubuntu-latest) (push) Failing after 7m44s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Successful in 3m57s
CI / go (Web-App) (push) Successful in 13m14s
CI / docker (push) Successful in 21m32s
.claude/launch.json lets Claude Code start the web app (npm run dev:web, port 5173) and the admin panel (npm run dev:admin, port 5174) for in-app previews. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
972a022f7e |
Pin flutter-action to a release that runs on node20
CI / go (Server) (push) Successful in 13m23s
CI / go (Web-App) (push) Successful in 9m58s
CI / desktop (ubuntu-latest) (push) Successful in 34m25s
CI / mobile (push) Successful in 5m5s
CI / docker (push) Successful in 4m43s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
Release / images (., Docker-AIO/Dockerfile, docwell) (push) Successful in 1h8m29s
Release / images (., Server/Dockerfile, docwell-server) (push) Successful in 35m44s
Release / images (., Web-App/Dockerfile, docwell-web) (push) Successful in 31m31s
Release / desktop (Desktop-App/bin/*-installer.exe, windows, windows-latest, windows:package) (push) Canceled after 0s
Release / release (push) Canceled after 0s
CI / frontend (push) Successful in 11m18s
Release / images (Database, Database/Dockerfile, docwell-db) (push) Successful in 21m6s
Release / desktop (Desktop-App/bin/*.deb
Desktop-App/bin/*.rpm
Desktop-App/bin/*.AppImage
, linux, ubuntu-latest, linux:create:deb linux:create:rpm linux:create:appimage) (push) Successful in 49m14s
flutter-action 2.22 moved to actions/cache@v5, a node24 action the Gitea runners reject, so the mobile job never set up Flutter. 2.21.0 is the last release on actions/cache@v4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>v0.2.0 |
||
|
|
0aa79b7530 |
Use artifact actions that run on Gitea
CI / go (Server) (push) Successful in 12m44s
CI / go (Web-App) (push) Successful in 10m14s
CI / frontend (push) Successful in 11m15s
CI / desktop (ubuntu-latest) (push) Successful in 33m54s
CI / mobile (push) Failing after 26s
CI / docker (push) Successful in 4m0s
Docs / build (push) Successful in 10m21s
Docs / deploy (push) Skipped
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
Release / desktop (Desktop-App/bin/*-installer.exe, windows, windows-latest, windows:package) (push) Canceled after 0s
Release / release (push) Canceled after 0s
Release / images (., Docker-AIO/Dockerfile, docwell) (push) Failing after 26s
Release / images (Database, Database/Dockerfile, docwell-db) (push) Failing after 22s
Release / images (., Server/Dockerfile, docwell-server) (push) Failing after 29s
Release / images (., Web-App/Dockerfile, docwell-web) (push) Failing after 28s
Release / desktop (Desktop-App/bin/*.deb
Desktop-App/bin/*.rpm
Desktop-App/bin/*.AppImage
, linux, ubuntu-latest, linux:create:deb linux:create:rpm linux:create:appimage) (push) Successful in 27m3s
Version 4 of upload-artifact and download-artifact stops on any server other than github.com, so the release moves the desktop installers between jobs with v3, which Gitea supports. v3 downloads every artifact into its own folder, so the release step attaches dist/*/*. The docs workflow only uploads and deploys on GitHub, where Pages exists; on Gitea it checks that the site builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
75fed90b71 |
Smoke-test the compose stack over its own network in CI
CI / go (Server) (push) Successful in 13m3s
CI / go (Web-App) (push) Successful in 10m9s
CI / frontend (push) Successful in 10m57s
CI / desktop (ubuntu-latest) (push) Successful in 45m11s
CI / docker (push) Successful in 4m54s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 38s
On Gitea the job runs in a container that drives the host's Docker, so the stack's published ports are not on the job's localhost. The checks now run from a curl container on the docwell_default network, and the stack is taken down even when a check fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
6d7fc7043e |
Install the GTK 4 webview stack for desktop builds
Release / images (., Docker-AIO/Dockerfile, docwell) (push) Failing after 21s
Release / images (., Server/Dockerfile, docwell-server) (push) Failing after 32s
Release / images (., Web-App/Dockerfile, docwell-web) (push) Failing after 38s
Release / images (Database, Database/Dockerfile, docwell-db) (push) Failing after 40s
Release / desktop (Desktop-App/bin/*.deb
Desktop-App/bin/*.rpm
Desktop-App/bin/*.AppImage
, linux, ubuntu-latest, linux:create:deb linux:create:rpm linux:create:appimage) (push) Failing after 31m2s
CI / go (Server) (push) Successful in 13m49s
CI / go (Web-App) (push) Successful in 10m7s
CI / frontend (push) Successful in 11m17s
CI / desktop (ubuntu-latest) (push) Successful in 41m19s
CI / mobile (push) Failing after 28s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
Release / desktop (Desktop-App/bin/*-installer.exe, windows, windows-latest, windows:package) (push) Canceled after 0s
CI / docker (push) Failing after 3m32s
Release / release (push) Canceled after 0s
Wails 3.0 builds against GTK 4 and WebKitGTK 6.0 unless built with the gtk3 tag, and the packages already depend on that stack, so CI and the release install libgtk-4-dev and libwebkitgtk-6.0-dev in place of the GTK 3 ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
5d6eb7983b |
Format the digest email template
CI / go (Web-App) (push) Successful in 10m0s
CI / frontend (push) Successful in 11m13s
CI / desktop (ubuntu-latest) (push) Failing after 29m14s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 37s
CI / docker (push) Failing after 5m25s
CI / go (Server) (push) Successful in 13m24s
CI's Prettier check failed on it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
d01c61df20 |
Install Rust in CI before building yrs.wasm
CI / go (Web-App) (push) Successful in 10m48s
CI / frontend (push) Failing after 6m41s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 37s
CI / go (Server) (push) Successful in 13m23s
CI / desktop (ubuntu-latest) (push) Failing after 31m25s
CI / docker (push) Failing after 2m44s
The Gitea runner image has no rustup, so the Server job failed before go generate. dtolnay/rust-toolchain installs stable with the wasm32-wasip1 target. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
be13a5ab6f |
Pin workflow actions to versions that run on node20
CI / go (Web-App) (push) Canceled after 0s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 4m57s
Docs / build (push) Failing after 6m33s
Release / images (., Docker-AIO/Dockerfile, docwell) (push) Failing after 2m58s
Release / images (., Server/Dockerfile, docwell-server) (push) Failing after 28s
Release / images (Database, Database/Dockerfile, docwell-db) (push) Failing after 28s
Release / desktop (Desktop-App/bin/*.deb
Desktop-App/bin/*.rpm
Desktop-App/bin/*.AppImage
, linux, ubuntu-latest, linux:create:deb linux:create:rpm linux:create:appimage) (push) Failing after 33m49s
Release / desktop (Desktop-App/bin/*-installer.exe, windows, windows-latest, windows:package) (push) Canceled after 0s
Release / release (push) Canceled after 0s
CI / go (Server) (push) Failing after 1m25s
CI / frontend (push) Failing after 7m19s
CI / desktop (ubuntu-latest) (push) Failing after 22m58s
CI / docker (push) Failing after 18m11s
Docs / deploy (push) Skipped
Release / images (., Web-App/Dockerfile, docwell-web) (push) Failing after 24s
The Gitea runners reject actions that declare node24, so every job stopped at setup. checkout, setup-go and setup-node go back to their node20 releases (v4, v5, v4); the Node used for builds is still 24. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
154fed2a06 |
Run the release workflow on Gitea
CI / go (Server) (push) Failing after 22s
CI / desktop (ubuntu-latest) (push) Failing after 23s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 19s
CI / docker (push) Failing after 26s
Docs / build (push) Failing after 29s
Docs / deploy (push) Skipped
Release / images (., Docker-AIO/Dockerfile, docwell) (push) Failing after 20s
Release / images (., Server/Dockerfile, docwell-server) (push) Failing after 31s
Release / images (., Web-App/Dockerfile, docwell-web) (push) Failing after 28s
Release / images (Database, Database/Dockerfile, docwell-db) (push) Failing after 18s
Release / desktop (Desktop-App/bin/*.deb
Desktop-App/bin/*.rpm
Desktop-App/bin/*.AppImage
, linux, ubuntu-latest, linux:create:deb linux:create:rpm linux:create:appimage) (push) Failing after 14s
Release / desktop (Desktop-App/bin/*-installer.exe, windows, windows-latest, windows:package) (push) Canceled after 0s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 26s
Release / release (push) Canceled after 0s
- Images go to the registry of the Gitea that runs the workflow (or the REGISTRY variable), signed in with the REGISTRY_TOKEN secret. A plain http Gitea gets a plain http registry in BuildKit's config, and the credentials are written straight into the client config, since docker login refuses such registries. - The build cache is kept in the registry, not the GitHub Actions cache. - One release job creates the Gitea release through its API once every build has passed, and attaches the Windows and Linux installers. - macOS is left out: Gitea has no hosted Mac runners, so the DMG is built by hand. The docs link comes from the DOCS_URL variable instead of a github.io address. - AppImages are built without FUSE, which runner containers lack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
6b6c916825 |
Load the mobile editor page at an https address so YouTube embeds play
The page was loaded from a file: asset, which sends no Referer, and YouTube's player refuses to play without one. Both editor screens now load the same single-file page with loadHtmlString at https://app.docwell.docwell_mobile/, the https://<application id> form YouTube asks apps to use. Embedded players may navigate inside their own frames; the page itself still never navigates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
84043ba05b |
Add date mentions with reminders
- "@today", "@friday", "@2026-12-01" insert a date; "@remind friday" or the date's popover adds a reminder for the person who set it. - docwell-server keeps a reminders row per person, date and time zone in step with each page and sends a "reminder" notification at 9:00 on the day in that time zone (job notify.reminders). Dates already past when added do not notify. - Exports write dates out; the web and phone inboxes show reminders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
f20e5f96f9 |
Add search filters, space pins, find and replace and page layout
- Search can be narrowed by space, author and last change; the index records a mapping version and rebuilds when it changes. - Editors can pin up to 12 pages to a space's home. - Find and replace in the editor (Ctrl+F), with match case. - Pages can be set to full width and a serif or mono font. - Tailwind now scans the editor package, so its classes are generated. - Fix golangci-lint findings, including push device names that were saved before being trimmed and capped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1f580ca6f8 |
Add Mobile 1.0 and UnifiedPush notifications
Mobile app (Android):
- Sign-in to any server, with authenticator codes. The server address and
token are kept in secure storage; a dropped connection never signs out.
- Workspaces, recent pages, spaces and a foldable page tree; search; the
inbox with mark-read.
- Pages open read-only in the shared editor from their saved content and
join the live document to edit (with the native toolbar). Page links in
the text open in the app (new "navigate" bridge message).
- Comments: threads, replies, resolve.
- "Save to Docwell" in the Android share sheet makes a page from shared
text, with web addresses as links.
- Offline reading: every answer the app reads is kept on the phone, and
used when the server can't be reached.
- Push through UnifiedPush (ntfy, NextPush, ...). The app uses the Android
connector directly; the umbrella package pulls in a native crypto build
for Linux that breaks `dart run` and tests.
Server:
- /me/devices registers a phone's UnifiedPush endpoint and Web Push keys
(new push_devices collection). Each notification is also pushed,
encrypted with RFC 8291 aes128gcm so the distributor can't read it; the
app drops messages that don't decrypt. Endpoints answering 404/410 are
forgotten. Endpoints follow the webhook address rules.
- /collab accepts the apps' own origins ("null" for the mobile editor page,
wails:// for the desktop app). Sign-in is a token in the first message,
not a cookie, so this opens no cross-site hijacking.
Tried on an Android 15 emulator: sign-in, browsing, reading, live editing,
sharing and offline reading. Not covered: push end to end (no distributor
on the emulator), iOS, and YouTube embeds, which refuse to play from the
app's local editor page (error 153).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
40d515d15b |
Add toggles, embeds, link cards, block links, archive, version diff, space export and desktop 1.0
Editor:
- Toggles (Tiptap Details). Open state is per reader, not saved.
- Embeds for YouTube, Vimeo, Loom, Figma, CodePen, Spotify, Google Docs
and Maps, in sandboxed frames. Other addresses become link cards.
- Link cards with title, description and picture read by docwell-server
(GET /link-preview). The fetcher refuses private, loopback, link-local
and CGNAT addresses after DNS resolution, redirects included.
- Block links: a margin button gives a block a short id and copies
/p/<id>#b-<block>. Opening one jumps to the block and flashes it.
- Markdown, HTML and PDF exports handle the new blocks; HTML import reads
<details> as a toggle.
Pages and spaces:
- History gets a Changes view: block and word diff against the previous
version or the page as it is now.
- Archive: archived pages leave the tree and become read-only but stay
readable; a space's Archive lists them with Unarchive. New migration
(pages.archived_at) and page.archived / page.unarchived webhook events.
- Full space export (GET /spaces/{id}/export): a zip of Markdown or HTML
files with subpages in folders, an index, and attachments under _files/.
Links between exported pages and to attachments become relative paths.
Desktop 1.0:
- Several servers, each with its own sign-in; old settings files carry over.
- Session tokens in the system keychain (go-keyring), moved out of
localStorage on first start.
- Native menu bar (File, Edit, View, Window, Help) with a Server submenu.
- docwell:// links may point at a block.
- Release workflow builds Windows NSIS, macOS DMG and Linux deb, rpm and
AppImage installers and attaches them to the release;
build/set-version.mjs stamps the version into their metadata.
Not yet run: the release workflow, the desktop menus by eye, and macOS or
Linux builds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
135b4640b2 |
Teach the Dart model generator allOf and dotted enum values
npm run generate stopped at NewApiToken (an allOf of ApiToken and the token), so the phone app's models missed the sign-in and security schemas. allOf parts are now merged into one class, keeping the inline types of the schema they come from (NewApiToken.scope is an ApiTokenScope). Enum values with dots become camelCase names (page.created -> pageCreated) and "*" becomes all, for WebhookEvent. The regenerated models add the OAuth, TOTP, API token, audit log and webhook types. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ec2c1661b0 |
Add Word and Notion import and PDF export
Import (Import on a space's page list, or POST /spaces/{id}/import):
- Word (.docx, up to 25 MB): Title and heading styles, bulleted and
numbered lists with nesting, quotes, code styles, bold, italic,
underline, strikethrough, links (including HYPERLINK fields) and
images, which are stored as attachments of the new page. Tables come in
as one paragraph per row, as in HTML import.
- Notion export (.zip, Markdown & CSV or HTML, up to 100 MB and 2000
pages, split exports included): rebuilds the page tree, points links
between the pages (relative and notion.so ones) at the new pages, and
stores images and files as attachments. A database becomes a page that
lists its rows, with the row pages under it. The response lists the
pages made at the parent's level.
- Every file is read before any page is made, so a bad file leaves
nothing behind. Archives are capped by bytes actually unpacked, not by
the sizes they declare.
PDF export (page menu, or ?format=pdf): A4 with the Go fonts (Latin,
Polish, Greek, Cyrillic), a bookmark per heading and page numbers.
Images on the page are drawn in (JPEG as is; PNG, GIF and WebP redrawn);
images on other sites are not fetched. Diagrams become a link to their
file and Mermaid charts show their source. Emoji are left out, since the
fonts have none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
631b929433 |
Add OAuth and OIDC sign-in, two-step codes, audit log, API tokens and webhooks
Sign-in:
- Google, GitHub, Microsoft and any OpenID Connect provider, set up in the
admin panel (secrets are write-only). PocketBase talks to the provider,
and docwell-server keeps the state and PKCE verifier. Accounts a
provider creates follow the sign-up switch and the domain list; refused
ones are removed again.
- Two-step sign-in with an authenticator app (TOTP), set up under "Your
account", with ten single-use recovery codes. After any first factor
(password, email code, provider) the session is held behind a
five-minute challenge: five tries, each code works once. Turning it off
needs a code. Managers can reset it for someone who lost their phone.
Both the web app and the admin panel ask for the code.
Integrations:
- Personal API tokens ("dw_…") that act as their owner, read-only or
read-write, with optional expiry. Only a hash is stored, and the token is
shown once. Tokens cannot manage tokens or two-step sign-in. Admins see
and can revoke their organization's tokens.
- Workspace webhooks for page, comment and space events. Deliveries are
HMAC-SHA256 signed and retried (10 s, 1 min, 5 min), with a 30-day log
and a test button. Loopback and link-local addresses are refused
(DOCWELL_WEBHOOKS_ALLOW_LOCAL is for development).
Audit log: sign-ins (including failures and second steps, filed under the
account's organization) and every successful change request, by route and
path ids, never bodies. Superadmins see everything and org admins their
organization. It is searchable and exportable as CSV in the admin panel's
new Security page, and kept for DOCWELL_AUDIT_RETENTION_DAYS (365).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
63bf9ae273 |
Add templates, backlinks, table of contents, math and diagrams
Editor blocks: - Math with KaTeX, inline ($...$) and as blocks ($$...$$). Clicking a formula opens its LaTeX source. - Mermaid diagrams. The text is stored and each client draws it, with a live preview while editing. Mermaid uses strict security. - Draw.io and Excalidraw drawings, stored as SVG attachments that carry the editable scene. Draw.io opens diagrams.net in a frame (address set by DOCWELL_DRAWIO_URL). Excalidraw loads React only when opened. - A table of contents block that follows the page's headings. - "[[" page links, and following a page link inside the app (Ctrl/Cmd click while editing). Mermaid and Excalidraw are handed in by the host, so the single-file mobile bridge leaves them out. There diagrams show as their text and drawings as pictures. Pages now record which pages they link to, kept current on every save and backfilled at startup. A page lists the pages linking to it that the reader can open. Any editor can mark a page as a template, and an empty page offers the workspace's templates. Applying one copies its content as a history version, and an untitled page also takes the template's title. Markdown and HTML export keep Mermaid, math, drawings and mentions, and Markdown import turns mermaid fences back into diagrams. Attachments named .svg are typed image/svg+xml and served inline under the existing sandbox CSP, so drawings display. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
2b78c167e2 |
Add comment threads, reactions, notifications and page watching
Comments are now threads: replies hang off a thread's first comment, which alone points at text and can be resolved. Authors can edit their own comments, and anyone who can comment can react with an emoji. Resolved threads stop lighting text in the editor and fold away in the panel. Comments can @mention people. People watch the pages they create or comment on, and can watch or mute a page from its menu. Muting is remembered. The inbox collects comments on watched pages, replies in your threads, mentions (in comments and in page text), pages shared with you and resolved threads. It shows an unread badge in the sidebar, polled every minute, and links straight to the thread. Nobody hears about their own actions or about pages they cannot open, and a notification hides its text once access is lost. Unread notifications are emailed as a digest every few minutes unless the person turns that off. Read ones are pruned after 90 days. The jobs registry can now run jobs on a timer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
7968e82cc2 |
Add page-level permissions and guests
Pages can now be shared with people and groups beyond their space, and restricted so that only those grants count. A grant covers the page and everything under it. Space admins always keep access, and an editor who restricts a page keeps editor through a grant of their own. Sharing a page with someone from the organization who is outside the workspace adds them as a guest. Anyone else gets a guest invite that carries the page grant, which is made when they accept. Guests see a "limited" space holding only the pages shared with them. The page tree, breadcrumbs, search, favorites, recents, trash and import all follow the page role. Public links skip restricted subtrees. Grants are cleaned up when a member leaves or a group is deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8aeebbff12 |
Gofmt the iOS build files and escape angle brackets in Dart docs
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / desktop (ubuntu-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Canceled after 0s
CI / docker (push) Canceled after 0s
CI / go (Server) (push) Canceled after 0s
CI / desktop (macos-latest) (push) Canceled after 0s
The Wails-generated files under Desktop-App/build/ios lacked a final newline, so gofmt flagged them. The Dart model generator copied API descriptions into doc comments as-is, and "<token>" read as HTML to flutter analyze. Wrap any <...> in backticks so it renders as code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
dbe49b892f |
Add multi-arch release images and a documentation site
CI / go (Server) (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / desktop (ubuntu-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Canceled after 0s
CI / docker (push) Canceled after 0s
Docs / build (push) Canceled after 0s
Release / images (., Server/Dockerfile, docwell-server) (push) Canceled after 0s
Release / images (., Web-App/Dockerfile, docwell-web) (push) Canceled after 0s
Release / images (Database, Database/Dockerfile, docwell-db) (push) Canceled after 0s
CI / go (Web-App) (push) Canceled after 0s
CI / desktop (macos-latest) (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
Release / images (., Docker-AIO/Dockerfile, docwell) (push) Canceled after 0s
Release: pushing a v* tag builds docwell-db, docwell-server, docwell-web and the all-in-one image for linux/amd64 and linux/arm64 and pushes them to GHCR, tagged with the version and latest. The build stages run on the build machine's platform and Go cross-compiles, so arm64 needs no emulation except for the final apk step (checked by building the server image for arm64). The compose files name the released images, so `docker compose up -d` runs a release and `--build` still builds the checkout; DOCWELL_REGISTRY and DOCWELL_VERSION pick them. Docs: Docs-Site is a VitePress site with a quick start, every configuration variable, reverse-proxy setups, backups and upgrades, a user guide, people and access, the admin panel and the API. CI builds it, and the Docs workflow publishes it to GitHub Pages. It lives outside docs/, which stays local planning material. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>v0.1.0 |
||
|
|
4d48049133 |
Fit the page header and shared pages on phones
At 375 px the page header's labelled buttons squeezed the breadcrumbs to nothing and pushed the menu to the edge. Below the sm breakpoint History, Comments and Share are icon-only (their labels stay for screen readers), and the breadcrumbs keep a minimum width. Shared pages hid their subpage tree on phones; it now folds out under the title. Checked at 375 px: home, page, space, space and workspace settings, organization, trash and shared pages have no horizontal overflow, and the comments sheet, share dialog and search palette fit the screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ffc6cc4fbc |
Build out the admin panel
- Overview: users, organizations, workspaces, spaces, pages, files and storage (org admins see their organization), plus pages open right now, the search index size, and version, uptime and database health. - Users: invite people by email (with resend, revoke and a copyable link when mail fails) and send a password-reset email. - Authentication: sign-up on or off, the email-domain allow-list, and sign-in links by email. - Branding: instance name, accent colour and logo. The web app shows them on the sign-in pages and applies the accent colour everywhere. - Email and Storage: SMTP and S3 settings with test buttons. - Maintenance: create, download and delete database backups, and a view of the background jobs with their last run, duration and errors. On the server, a small jobs registry records each search-indexing pass, and "search.rebuild" replaces the separate reindex endpoint. A new instance package serves the dashboard numbers, health and backups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
92cd81fd96 |
Add the slash menu, bubble menu, mentions and inline comments
Editor: - "/" opens a filterable block menu (text, headings, lists, quote, code, divider, and image or file upload when the host can store files). - Selecting text shows a formatting toolbar (bold, italic, strike, code, link) and, for anyone who may comment, a Comment button. - "@" finds people in the page's workspace; the mention node is always in the schema so documents with mentions open in every client. - The popups are plain DOM in the design system's slash-menu style, so the framework-free mobile bridge keeps building and can use them. - Menu words come from the host; the web app passes English or Polish. Inline comments (basic): commenters cannot edit the document, so a comment's anchor is a pair of Yjs relative positions stored with the comment rather than a mark in the text. Highlights follow local edits by mapping and are re-resolved when comments change or remote edits arrive. Pages get a comments panel (side column, or a bottom sheet on narrow screens). Authors and space admins can delete comments. Server: comments collection and endpoints, and a people lookup any workspace member may use for mentions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
dac6d6da63 |
Add public share links and the share dialog
Editors can give a page a public link that anyone can read without an account, optionally with the pages under it. The link is the stored token, so editors can copy it again later; turning sharing off deletes it and the URL stops working. Reads through a link never reach trashed pages, pages outside the shared subtree, or their attachments, and are marked noindex. The page header gets a Share button: the dialog explains who can open the page through its space, lists the space's people and groups, copies the page link and manages the public link. Shared pages open at /share/<token> in a read-only view with a tree of the shared subpages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
011833fcef |
Add Markdown and HTML import and export
docwell-server converts between page documents and Markdown or HTML (a new convert package), so every client and the API get the same results. Pages export as a download from the page menu; spaces import one page per .md, .txt or .html file, taking a leading level-1 heading as the title. Import keeps only what the editor schema knows, which drops scripts, styles, event handlers and javascript: links; tables become one paragraph per row until the editor has tables. The UI package gains DwMenu, a small accessible action menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
25e7ca19a5 |
Add full-text search with Bleve and the Ctrl+K palette
docwell-server keeps a Bleve index of page titles and text in DOCWELL_DATA_DIR. Instead of hooking every write, an indexer polls PocketBase for pages whose "updated" moved (titles, saved content, trash and restore all touch it) and sweeps out purged pages every ten minutes. The index can be thrown away at any time: it rebuilds from the database, and superadmins can trigger a rebuild. Searches are limited to the spaces the caller can open, match the last word as a prefix and forgive one wrong letter. Snippets come back as plain text with match offsets, so clients never render server HTML. In the web app, Ctrl+K or the sidebar's search box opens a palette that shows recent pages until something is typed. The server containers get a /data volume for the index. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e49b1ab34f |
Add page attachments with images and file blocks
Editors upload files to a page (attach button, paste or drop); images go into the document as images and other files as download cards. Files are stored in a new attachments collection, so PocketBase's local or S3 storage applies, and docwell-server streams them after checking the reader's page access. Documents keep the file's API path. Because <img> tags cannot send the Authorization header, clients load files with a short-lived signed file token (?token=) instead of the session token. Uploads are limited by DOCWELL_MAX_UPLOAD_MB (default 50), their type is sniffed from the content, and only images, PDFs and media are served inline, so an uploaded HTML or SVG file never runs on the API's origin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |