29 Commits
Author SHA1 Message Date
Mateusz PstruchaandClaude Opus 5.5 d225294ba8 Bump to 0.8.5
CI / build (push) Successful in 16s
Release / release (push) Successful in 12s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.8.5
2026-11-24 19:50:32 +01:00
Mateusz PstruchaandClaude Opus 5.5 be8d97aa76 Ignore local Claude files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 19:50:22 +01:00
mtps b8dccdd82f Merge pull request 'Publish straight to the bucket' (#1) from claude/static-publish into master
CI / build (push) Successful in 15s
2026-11-09 13:07:40 +01:00
Mateusz PstruchaandClaude Opus 5.5 9533392c81 🚀 publish straight to the bucket
CI / build (pull_request) Successful in 25s
The release builds and uploads with ygg/actions/static-publish, instead of
deploying static-server through kara.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:13:05 +01:00
Mateusz PstruchaandClaude Opus 5.5 29af920dfb Edit accounts from the Accounts screen
CI / build (push) Successful in 11s
Each account gets an Edit button opening the add form pre-filled with
its settings; the password field is optional ("unchanged") and only a
new value replaces the stored one. Editing no longer rewrites the hosts
or login from the address, so a working setup isn't silently changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 14:11:10 +02:00
Mateusz PstruchaandClaude Opus 5.5 f763777477 Bump to 0.8.4
CI / build (push) Successful in 32s
Release / release (push) Successful in 17s
Release / deploy (push) Successful in 14s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.8.4
2026-10-04 13:53:51 +02:00
Mateusz PstruchaandClaude Opus 5.5 50d8059d8b Add an Accounts screen
CI / build (push) Successful in 11s
Lists the mail accounts Tern syncs with their live sync status (polled
while open), message counts and the last error when one fails; adds an
account with the same address-derived defaults as the Android app; and
removes one after saying plainly that its synced mail goes with it.
With no account yet, the mail list points there and the form opens on
its own — until now the webapp had no way to connect a mailbox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:48:57 +02:00
Mateusz PstruchaandClaude Opus 5.5 4affa135cd Bump to 0.8.3
CI / build (push) Successful in 20s
Release / release (push) Successful in 18s
Release / deploy (push) Successful in 15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.8.3
2026-10-04 13:12:31 +02:00
Mateusz PstruchaandClaude Opus 5.5 f2a9e1762f Deploy tern-web on its own, calling the API on its own origin
CI / build (push) Successful in 12s
The webapp now deploys from its own release as a static-server Swarm
stack (deploy/static.yml, tern.mtps.pl on 11902) instead of driving the
server's deployment. It's built with VITE_TERN_API — the
TERN_API_URL repository variable, defaulting to
https://tern-api.mtps.pl — and sends REST calls and the live-update
socket there. Empty (development), it stays same-origin behind Vite's
proxy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 12:44:22 +02:00
Mateusz PstruchaandClaude Opus 5.5 c1a80cc7c7 Bump to 0.8.2
CI / build (push) Successful in 23s
Release / release (push) Successful in 14s
Release / deploy (push) Failing after 21s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.8.2
2026-10-02 21:24:03 +02:00
Mateusz PstruchaandClaude Opus 5.5 77f15ed7c3 Check workflow files parse in CI
CI / build (push) Successful in 16s
Gitea rejects an unparsable workflow without running anything, which
for release.yml only surfaces when a tag is pushed. Parsing them all in
CI catches it on master first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 21:08:35 +02:00
Mateusz PstruchaandClaude Opus 5.5 0f0e809940 Bump to 0.8.1
CI / build (push) Successful in 24s
Release / release (push) Successful in 19s
Release / deploy (push) Canceled after 2m0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.8.1
2026-10-02 20:58:27 +02:00
Mateusz PstruchaandClaude Opus 5.5 e6ce5e26c7 Deploy each release to tern.mtps.pl
CI / build (push) Successful in 21s
After the release is published, a deploy job checks out the deployment
definition from tern-server at the same tag, confirms the server image
for that version exists, and runs it through ygg/actions/deploy. It
runs here because tags go out server-first and the single runner works
through them in order, so both artifacts exist by now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 20:47:33 +02:00
Mateusz PstruchaandClaude Opus 5.5 fee4a2eb13 Bump to 0.8.0
CI / build (push) Successful in 26s
Release / release (push) Successful in 12s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.8.0
2026-09-23 21:20:13 +02:00
Mateusz PstruchaandClaude Opus 5.5 55d7ac8039 Bump to 0.7.0
CI / build (push) Successful in 22s
Release / release (push) Successful in 15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.7.0
2026-09-23 18:55:43 +02:00
Mateusz PstruchaandClaude Opus 5.5 fa78fe7ccf Add live updates, new-mail alerts and notify rule actions
The shell now follows the server's event stream over a WebSocket,
falling back to polling the same log (every 30 s) while it reconnects
with backoff, and reloading everything when the server says the cursor
can't be replayed. Lists, the outbox, sidebar and rules refresh on
their own events; the open conversation only reloads when its message
count changes, so flag and tag changes don't collapse it.

Mail the server marks as notifying shows an in-page notice while the
tab is in view, and otherwise counts in the tab title and — if the
reader opted in — raises an OS notification. The rule editor gains
Don't notify and Notify anyway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:55:43 +02:00
Mateusz PstruchaandClaude Opus 5.5 450f142193 Bump to 0.6.0
CI / build (push) Successful in 12s
Release / release (push) Successful in 9s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.6.0
2026-09-23 15:37:30 +02:00
Mateusz PstruchaandClaude Opus 5.5 789b550301 Add Junk, spam actions and infinite scroll
CI / build (push) Successful in 17s
Junk joins the system views; Report spam / Not spam come from the
toolbar, menu and `!`; messages show their spam score as a badge. Rules
gains an Add spam filter preset — score over 5 → Junk, placed first and
stopping later rules — and the editor offers only numeric comparisons
for spam score.

Conversation lists now load older pages. The list previously only ever
showed the newest 50 conversations, leaving older mail unreachable even
though the API returned a cursor. Pages load as the end scrolls into
view, when j walks past the end, or via a Load older button that also
covers keyboard use. Refreshing after an action re-reads as many rows as
were loaded, so a deep scroll doesn't collapse back to one page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 15:32:35 +02:00
Mateusz PstruchaandClaude Opus 5.5 e46ba09826 Bump to 0.5.0
CI / build (push) Successful in 11s
Release / release (push) Successful in 9s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.5.0
2026-09-23 12:01:43 +02:00
Mateusz PstruchaandClaude Opus 5.5 9550c6ac73 Add rule stop option, run now, and trash purge dates
CI / build (push) Successful in 13s
The rule editor gets a stop-after-match checkbox in place of the stop
action, and each rule a Run now button that confirms what it will do and
reports how many messages matched. Disabled rules dim their description
only, since Run now still works on them. Trash rows show when they'll be
deleted permanently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 12:00:04 +02:00
Mateusz PstruchaandClaude Opus 5.5 ab854593a3 Add folders, tags, conversation actions and rules
CI / build (push) Successful in 16s
The sidebar gains views (Inbox, All mail, Sent, Trash), folders and
tags; list rows show tag chips. Conversation actions — archive,
delete/restore, read/unread, move, tag — come from a toolbar, a
right-click context menu on the native Popover API, or the keyboard
(e, #, Shift+I/U, v/l). With nothing open, keyboard actions apply to
the row under the cursor, so mail can be triaged from the list. After
an action the view returns to the list rather than auto-opening the
next conversation, since opening one marks it read.

The rules editor works on the same structured JSON the server stores,
so anything the API accepts can be shown and edited. Server validation
errors, such as a bad regex, appear inline without clearing the form.
The editor snapshots the rule it opens and is keyed per rule, so
opening another remounts it instead of reusing stale form state.

Menus close through our own code path rather than waiting on the
popover's toggle event, for the same reason as the compose dialog:
browsers can defer it while the tab is hidden.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 11:26:04 +02:00
Mateusz PstruchaandClaude Opus 5.5 b5a49b851a Bump to 0.4.0
CI / build (push) Successful in 12s
Release / release (push) Successful in 8s
The lockfile had been left at 0.1.0 by the earlier bump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.4.0
2026-09-23 11:05:57 +02:00
Mateusz PstruchaandClaude Opus 5.5 f538853a0c Add compose, reply and outbox
CI / build (push) Successful in 18s
Compose/reply/reply-all in a native <dialog> with drafts; an outbox view
for drafts, queued and failed messages with retry timing, last error and
Retry/Delete; mark-read on open; c, r/a and Shift+R shortcuts (r moves
from refresh to reply, matching Gmail). Replying to your own sent
message addresses the people you wrote to rather than yourself.

The dialog now notifies its parent directly when it closes itself,
instead of relying on the <dialog> close event. Browsers may defer that
event — Chrome doesn't deliver it at all while the tab is hidden — and
when it didn't arrive, compose state never reset: the next reply
wouldn't open and a stale draft id was carried over. The event still
covers Escape, with a guard against notifying twice.

After sending, the UI watches that one message leave the queue and then
refreshes its thread; watching the whole queue meant an unrelated
message stuck retrying held up feedback for the one just sent. The
thread header now counts loaded messages rather than the summary taken
when the thread opened, which went stale after a reply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 10:59:38 +02:00
Mateusz PstruchaandClaude Opus 5 f0b42baa50 Add read-only mail view
CI / build (push) Successful in 14s
Thread-grouped list, thread view with older messages collapsed, and
keyboard navigation (j/k, Enter/o, u/Esc, g/G, r, ?). Mutating shortcuts
are deliberately absent until the endpoints behind them exist.

Untrusted mail renders in an iframe sandboxed without allow-scripts or
allow-same-origin, with a CSP inside the frame doing the actual blocking
of remote loads. CSP rather than rewriting <img src> because rewriting
misses srcset, <picture>, CSS background-image and @font-face; img-src
covers every image load however it was requested. Remote images stay
blocked per message until the reader opts in.

Verified against mail carrying a tracking pixel, remote hero image, CSS
background image and inline <script>: the script neither ran nor reached
the parent, the frame was not same-origin accessible, and no request was
made even for a resolvable, actively-served image URL.

Note the quotes in img-src 'none' are load-bearing — unquoted, CSP reads
'none' as a hostname and would allow https://none/pixel.gif.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 22:53:24 +02:00
Mateusz PstruchaandClaude Opus 5 74243bf3d3 Bump to 0.2.0
CI / build (push) Successful in 18s
Release / release (push) Successful in 14s
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
v0.2.0
2026-09-22 22:13:40 +02:00
Mateusz PstruchaandClaude Opus 5 2b99c295ee Cancel superseded CI runs
CI / build (push) Successful in 11s
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 20:33:52 +02:00
Mateusz PstruchaandClaude Opus 5 db567c5772 Target the rocky-10 runner and its proven action conventions
CI / build (push) Successful in 41s
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 20:12:29 +02:00
Mateusz PstruchaandClaude Opus 5 a20b0aa91d Add CI and release workflows
CI / build (push) Canceled after 0s
CI runs svelte-check and a production build on every push. Tagged
releases package the contents of dist/ as a .tgz that untars directly
into a web root, with a checksum alongside.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 19:55:18 +02:00
Mateusz PstruchaandClaude Opus 5 1145e31af6 Initial webapp scaffold
Vite + Svelte 5 + TypeScript with no other runtime dependencies, per the
client spec's speed-and-simplicity priority. Wires up the decided palette
with light/dark/system switching, a two-pane desktop shell, and a thin
API client against the sync server.

Deliberately no PWA/service worker, matching the spec's scope cut.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 19:01:07 +02:00