ab73a7d0d7ffd767ec368fb3ee2ce8365e67bd4f
10
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
cad42fbe89 |
Prepare the 0.3.0 release
CI / desktop (ubuntu-latest) (push) Successful in 2h34m54s
CI / mobile (push) Failing after 4m52s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / docker (push) Successful in 53m34s
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
CI / go (Media) (push) Successful in 13m0s
CI / go (Server) (push) Successful in 24m4s
CI / go (Web-App) (push) Successful in 12m35s
CI / frontend (push) Failing after 11m51s
CHANGELOG.md gets the 0.3.0 notes: everything since 0.2.0 by area, and the steps for upgrading a 0.2.0 install (new compose files with a stock PocketBase on 8070, pb_data at /pb/pb_data, the media service, and the SMTP password to enter once more). The release workflow now uses the tag's CHANGELOG section as the Gitea release text. A v0.2.0 compose stack with data was upgraded in place to this commit and kept its data. Also fixes what CI would have failed on: - Server lint (golangci-lint v2.14): errors.Is/As for sentinel errors, the bbolt/errors package instead of the deprecated bolt error, one needless conversion, and commented nolints for gosec false positives. - SPDX headers on Database/export-schema.sh and Server/entrypoint.sh. - Prettier on two files; the generated pbschema/schema.json is ignored. - The editor-bridge dist page rebuilt to match the phone app's copy. PLAN.md and the upgrade guide point to the release notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8c39b0aacb |
Run ffmpeg in its own docwell-media service
CI / go (Media) (push) Successful in 11m59s
CI / go (Server) (push) Failing after 18m26s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 8m35s
CI / desktop (ubuntu-latest) (push) Successful in 1h10m6s
CI / mobile (push) Failing after 3m43s
CI / docker (push) Successful in 1h2m44s
Docs / build (push) Successful in 11m58s
Docs / deploy (push) Skipped
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
ffmpeg parses untrusted uploads, so it moves out of the server image into a container of its own (ADR-15): - Media/: docwell-media, a small Go wrapper around ffmpeg. POST /v1/split takes a recording and returns the 16 kHz mono MP3 pieces as multipart/mixed. ffmpeg may only open local files and common audio/video demuxers (no playlists); optional shared token, a job limit, a timeout and a 1 GB cap. - Server: DOCWELL_MEDIA_URL and DOCWELL_MEDIA_TOKEN send recordings over 25 MB to the service. When it is blank or unreachable, the server uses a local ffmpeg if it has one, else cuts MP3 and WAV in Go. The server image no longer installs ffmpeg; the all-in-one image keeps it to stay one container. - Compose: a media service in every stack, read-only, no capabilities, on an internal network only docwell-server joins. - CI tests the new module and checks that only the server reaches media; the release workflow publishes docwell-media. - Docs, ADR-15 and the .env examples. 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 / frontend (push) Failing after 8m47s
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
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> |
||
|
|
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 / build (push) Successful in 10m45s
Docs / deploy (push) Skipped
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> |
||
|
|
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 (., Server/Dockerfile, docwell-server) (push) Failing after 29s
Release / images (., Web-App/Dockerfile, docwell-web) (push) Failing after 28s
Release / images (Database, Database/Dockerfile, docwell-db) (push) Failing after 22s
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> |
||
|
|
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 / docker (push) Failing after 3m32s
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
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> |
||
|
|
be13a5ab6f |
Pin workflow actions to versions that run on node20
CI / go (Server) (push) Failing after 1m25s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 7m19s
CI / desktop (ubuntu-latest) (push) Failing after 22m58s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 4m57s
CI / docker (push) Failing after 18m11s
Docs / build (push) Failing after 6m33s
Docs / deploy (push) Skipped
Release / images (., Docker-AIO/Dockerfile, docwell) (push) Failing after 2m58s
Release / images (., Server/Dockerfile, docwell-server) (push) Failing after 28s
Release / images (., Web-App/Dockerfile, docwell-web) (push) Failing after 24s
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
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 / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 26s
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
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> |
||
|
|
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>
|
||
|
|
dbe49b892f |
Add multi-arch release images and a documentation site
CI / go (Server) (push) Canceled after 0s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / desktop (macos-latest) (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
Docs / deploy (push) Canceled after 0s
Release / images (., Docker-AIO/Dockerfile, docwell) (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
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> |