Commit Graph
7 Commits
Author SHA1 Message Date
Linus Rath f5aa338556 refactor: give every settings page section an anchor for the jump row and links 2026-10-19 18:19:28 +02:00
Linus Rath dd2104cdda feat: mute notifications for single folders or whole accounts #1169 2026-10-15 21:50:08 +02:00
Linus Rath 7533fc516b fix: renew push for every connected account, not only the active one #1054
The background resync only touched the active client, so accounts
turned on from the all-accounts panel lapsed when the server's push
subscription expired after seven days. The resync now walks every
connected login in turn, active one first, and runs again once the
background logins finish connecting. Single-account behaviour is
unchanged.

The panel also lists which accounts failed to enable and why, instead
of only a count.
2026-10-10 19:24:43 +02:00
lucamzanon de6ae922d9 fix(push): use logical spacing in the all-accounts panel
pl-6 and mr-2 stayed on the left in right-to-left languages; ps-6 and
me-2 follow the reading direction.
2026-10-09 10:48:15 +02:00
lucamzanon 405c0e656e fix(push): show each login's real push state in the all-accounts panel
Push state is stored under the JMAP account id the server assigned
(enableWebPush keys it on client.getAccountId()), but the all-accounts
panel looked it up under the login's own id, so every account read
"notifications off" even right after enabling them. Read it back
under the JMAP account id.
2026-10-01 07:36:44 +02:00
lucamzanon f2d49f4060 fix: carry the inbox-only choice into bulk push and use the shared icons
Upstream now requires inboxOnly when enabling push and replaced lucide-react
with the shared icon module; the bulk path had neither.
2026-09-30 08:44:38 +02:00
lucamzanon e468b08fb7 feat: enable push notifications for several accounts at once
The notification panel only ever addresses the account on screen, so
arming a browser for five accounts meant switching account five times
and answering the same permission prompt on each pass.

The browser holds a single push subscription: enabling an account
registers it against that one subscription rather than creating another.
A section in the notification settings now lists every connected account
with its current state and turns push on or off for the ones selected,
walking them against the same subscription.

A refusal at the browser level - unsupported, or permission denied -
applies to every account, so it stops the walk instead of failing each
account in turn and prompting repeatedly.
2026-09-19 05:44:45 +02:00