Commit Graph
122 Commits
Author SHA1 Message Date
Linus Rath 0731d24f65 feat: show a small picture of what each accessibility preset changes 2026-10-29 23:47:14 +01:00
Linus Rath b25e738a3e fix: give calendar default alerts account-wide unique ids #1435 2026-10-29 20:06:16 +01:00
Linus Rath 6a54fcc5af test: give the phone settings test the media query helper 2026-10-29 19:38:46 +01:00
Linus Rath 12676f247e fix: let the spam game's inbox flash at most three times a second 2026-10-29 19:38:46 +01:00
Linus Rath e57e922950 feat: make buttons, menu items, rows and switches 44px when large targets is on 2026-10-29 19:38:45 +01:00
Linus Rath 1111dd6709 fix: show the focus outline on menu items, grid cells and other roving-focus controls 2026-10-29 19:38:44 +01:00
Linus Rath 4aa8d09198 fix: keep glossary buttons out of heading names 2026-10-29 18:10:29 +01:00
Linus Rath 5e188998a7 feat: explain technical terms next to their labels in Settings and the admin area 2026-10-29 18:10:29 +01:00
Linus Rath af3019ea2b feat: read a message aloud with the browser's voice, highlighting what it reads 2026-10-29 17:53:58 +01:00
Linus Rath 14519269cf feat: reorder tags, filter rules, apps, accounts and Pro tabs without dragging 2026-10-29 17:53:37 +01:00
Linus Rath 8008393e59 feat: add an Accessibility page to Settings
Settings get a page of their own for accessibility, with presets on top
(screen reader, low vision, dyslexia, focus, keyboard and motor, motion
and seizure safe, deaf and hard of hearing) that change several options
at once and can be undone, then the options by topic, and a reset.

Text size used to be a fixed 14/16/18px on the root, which threw away
the size people set in their browser. It is now a percentage of the
browser's size, from 87.5% to 200%. Motion, contrast and transparency
follow the system by default and can be overridden either way; the
old Animations switch becomes Reduce motion. The visual options are
applied before the first paint, so the page no longer flashes at the
wrong size.

- `lib/accessibility-settings.ts`: the new settings, their allowed
  values, and the code that writes them onto `<html>`
- `app/accessibility.css`: bundled fonts (Atkinson Hyperlegible Next,
  Lexend, OpenDyslexic), text spacing, a focus outline that survives
  Windows contrast themes, more-contrast colours on any theme, reduced
  transparency, a large pointer
- admins can preset every new option but lock only shortcuts, send
  confirmation and the notification duration; a lock on text size or
  another reading aid works as a default
- always-light mail and toolbar labels now sync, and imports drop
  values the page doesn't know
- font size and animations move off Appearance, the plain text font
  off Reading; everyday settings such as conversation view and undo
  send show on both their own page and Accessibility
2026-10-29 17:53:32 +01:00
Linus Rath 5eb6deb26c fix: show password and two-factor settings after a password and TOTP sign-in #1432 2026-10-29 15:50:56 +01:00
Linus Rath 6b41692d81 fix: show themes the admin installed in the theme picker without opening mail first 2026-10-29 00:55:41 +01:00
Linus Rath 9aa132c02f feat: flash the settings section a jump-row button scrolls to 2026-10-28 20:05:13 +01:00
Linus Rath 785c19fe8c fix: show the version footer in the settings sidebar only with advanced settings on 2026-10-28 19:57:01 +01:00
Linus Rath 96797597c5 Merge branch 'main' into feat/org-features 2026-10-28 15:14:34 +01:00
Linus Rath 6724b04701 fix: put address book actions in settings behind a ⋮ menu on the phone, like calendars 2026-10-28 13:02:19 +01:00
Linus Rath f441f3e6d1 fix: show calendar, subscription and account addresses in settings left to right in arabic 2026-10-28 12:58:10 +01:00
Linus Rath b957bbcd8a fix: fit settings > calendar to touch screens and hide import and subscribe in the demo 2026-10-28 12:56:51 +01:00
Linus Rath 5be162d604 fix: name the calendar, contacts and files settings pages apart from the apps in the command palette 2026-10-28 12:54:34 +01:00
Linus Rath 9bb94ebf62 fix: offer "go to <page>" for every settings page in the command palette, found by the settings search words 2026-10-28 10:51:01 +01:00
Linus Rath 5abc4a5334 fix: make the tag and address book row buttons and New tag full-size buttons with a touch hit area, and name each tag button after its tag 2026-10-28 10:44:18 +01:00
Linus Rath 8b2b77c349 fix: put the calendar row actions behind a ⋮ menu on the phone so names and the default badge fit, and make the row icons full-size named buttons 2026-10-28 10:41:08 +01:00
Linus Rath 161c9d1de3 fix: ask "delete address book?" with a question mark, like the other delete prompts 2026-10-28 10:23:16 +01:00
Linus Rath 41b0afff4b test: expect the organisation lock note on a theme mode the admin locked 2026-10-28 10:20:15 +01:00
Linus Rath 5d90a850bd Merge branch 'feat/org-recovery' into feat/org-features
# Conflicts:
#	components/email/email-list.tsx
2026-10-28 09:17:56 +01:00
Linus Rath 4d846cfc91 fix: read the whole deleted items archive newest first and only for the account shown #1319
Stalwart's x:ArchivedItem/query without calculateTotal scans ids
ascending, stops at 5000 and only then reverses them, so the newest
items of a large archive never showed, and admin accounts got every
account's items. The review of the branch also found gaps around
account switches, restores and focus.

- Read the archive in pages of 500 with calculateTotal, newest first,
  stop at a whole page older than the days limit, and offer
  "Show older" after 2000 items; detection asks for one item.
- Send the accountId filter and fall back without it on
  unsupportedFilter; keep only items of the account, never one without
  an account id.
- Ask nothing until config and policy are loaded and the policy is the
  current account's; the later check after a refusal is forced.
- Show the Trash link only when the archive holds a message inside the
  days limit; the Settings page shows whenever the server has the
  feature and says that archiving must be on in Stalwart.
- Restore: notFound leaves the list with a note, forbidden hides the
  page, results for another account are dropped, the button keeps focus.
- Forget what servers said at a full sign-out.
2026-10-28 09:08:44 +01:00
Linus Rath 33ca8efb0f fix: keep shared tags safe when members edit at once or the server fails
The first version wrote the whole tag list on every change, guessed a
group when the server wouldn't say, and treated a failed read like a
server without metadata. Now:

- Definitions are a map by tag id under `tags`, and each change patches
  one tag (`metadata/org.bulwarkmail.tags/tags/<id>`), so two members
  adding tags at once both keep theirs. Fields and colors this version
  doesn't know survive. The `{ list }` and bare-array shapes are still
  read and converted by the first save.
- Shared tags appear only for confirmed group principals. A failed
  principal lookup keeps the user's own tags and asks again later.
- "No metadata advertised" (0.16) and "the read failed" are separate.
  A failed read keeps the last good tags; a failed save keeps the change,
  says so, and sends it with the next good read after the client's
  pause.
- Push reloads wait for 5 s of quiet and skip the echo of our own save;
  a returning tab reloads definitions only, and the scan for unnamed tags
  runs once per sign-in and then at most every 30 minutes.
- The editor names its buttons after the tag, shows the delete warning
  and 44 px buttons on phones, returns focus to the edit button, and
  asks for Inbox rights only for confirmed groups.
2026-10-28 08:58:11 +01:00
Linus Rath 7f06ed7637 Merge branch 'feat/org-features' into feat/org-tags
# Conflicts:
#	lib/admin/restriction-keys.ts
2026-10-28 08:14:39 +01:00
Linus Rath ba6e6af014 feat: recover deleted items from Stalwart's archive #1319 2026-10-28 07:27:47 +01:00
Linus Rath b049b6f470 feat: share tag names and colours in group mailboxes #1310 2026-10-28 06:43:46 +01:00
Linus Rath 82918fc7d7 Merge branch 'feat/org-features' into feat/org-delegates
# Conflicts:
#	lib/admin/restriction-keys.ts
2026-10-28 06:30:09 +01:00
Linus Rath f0539a33f6 feat: let admins limit every share dialog to read access with sharingRights 2026-10-28 06:27:49 +01:00
Linus Rath d61511bdc1 Merge branch 'main' into ux/settings-admin
# Conflicts:
#	components/settings/address-book-management-settings.tsx
2026-10-28 06:02:59 +01:00
Linus Rath b0eb9fcfe1 fix: say the organisation blocks remote content instead of offering to load it with no third-party traffic #903 2026-10-28 05:38:39 +01:00
Linus Rath f5f536f7c9 fix: one kind of button in the Files selection bar, a closable details panel on tablets, and a share dialog that takes the focus 2026-10-28 05:29:23 +01:00
Linus Rath 50620c2bdc fix: use sentence case and one verb per action in Settings: New for creating, Save for saving 2026-10-28 05:18:32 +01:00
Linus Rath 7cb7aaff52 fix: give settings switches, jump chips, selects and search results a 44px touch target on the phone 2026-10-28 04:58:07 +01:00
Linus Rath d0134c3f46 fix: name every icon button and switch in Settings for what it does 2026-10-28 04:50:27 +01:00
Linus Rath ab3addefc3 fix: show the focus ring on the About card in the settings sidebar and name it by what it shows 2026-10-28 04:42:36 +01:00
Linus Rath b45c914cf2 fix: give each settings page an h1 with its name on the desktop 2026-10-28 04:40:48 +01:00
Linus Rath 867ee3e828 fix: drop the Learn more button next to sub-addressing that opened the identity manager 2026-10-28 04:37:55 +01:00
Linus Rath c833e24471 fix: cancel editing a tag with Escape 2026-10-28 04:35:41 +01:00
Linus Rath b54d57065c fix: name the settings jump chips after their section without gluing on the Advanced badge 2026-10-28 04:33:42 +01:00
Linus Rath 3e1024957f fix: let every settings search result land on its row, match every word of a query, and turn on Advanced only for advanced rows 2026-10-28 04:31:53 +01:00
Linus Rath a9c89ae7a2 fix: fail closed while the third-party switch is unknown or set as a string #903 2026-10-28 04:30:32 +01:00
Linus Rath 286c1bd7c9 fix: show the tag, calendar and address book row actions on touch screens and on keyboard focus 2026-10-28 04:13:01 +01:00
Linus Rath c6f902dc32 feat: delete address books and contact categories from Settings 2026-10-28 04:11:23 +01:00
Linus Rath f4cade224c fix: ask in the app's own dialogs instead of browser confirm boxes in the admin panel 2026-10-28 03:54:36 +01:00
Linus Rath 714d2b84da fix: confirm resetting settings in a dialog and report backup results in toasts instead of alerts 2026-10-28 03:44:47 +01:00