Commit Graph
142 Commits
Author SHA1 Message Date
Linus Rath 9f8d134e85 fix: keep pictures in messages and the Files image preview from being saved under No downloads, and say the mobile app's notifications aren't covered yet 2026-11-01 09:47:28 +01:00
Linus Rath e80f5ade81 feat: let admins turn off downloads, export, printing and the install prompt, and add a watermark
Organisation > Devices now sets policy.json `organisation.devices`, each
switch off by default and scoped per domain or group:

- No downloads: attachments and files only preview (reader, conversation
  view, Pro tab, list chips, .eml previews, the Files app). Download,
  Download all, Open in new tab, Save to Files, drag-out, the browser's
  PDF viewer (pdf.js instead) and media download controls go away.
- No export: no .eml export, View source, message drag-out, or folder and
  account export; a running export stops and its file is deleted when
  the switch turns on. Import stays.
- No printing: no Print buttons in mail, calendar and contacts; Ctrl+P
  prints a note; the reader frame prints blank.
- No install prompt: no card, and the browser's own banner is held back.
- Watermark: the user's address and the date over the reader,
  previews and every printout (mail, calendar, contacts, plugins).

A message follows its own account's policy; what isn't about one message
follows the strictest signed-in account. Every user path hides its
button, and the anchor and new-tab helpers refuse as a backstop
(lib/download-guard.ts), never the blob readers. The plugin APIs
`ui.downloadFile` and `ui.print` refuse too, and the office editor frame
loses `allow-downloads`.

Two assertions in components/mail/__tests__/blob-routing.test.tsx now
expect `{ kind: 'export' }` as the fifth argument of downloadBlob for an
.eml export: the export says what it is, so the backstop checks "No
export" rather than "No downloads" for it.
2026-11-01 08:52:34 +01:00
Linus Rath 1bb2a85de4 fix: translate the turned-off link note and tidy the label and phishing texts
The VS-NfD warning test now expects "BSI-approved products", the corrected wording.
2026-11-01 07:14:10 +01:00
Linus Rath 13c57414a2 fix: report phishing per account from every view and keep a reported message's links off everywhere
- Pro tabs stamp a message of another login or a shared account with
  where it came from, so the report and the move use its account.
- A selection across accounts names every address its reports go to,
  and Undo says how many messages came back.
- A message the list doesn't hold runs the plugins' spam hooks too, and
  every open view shows a reported message as reported at once.
- A reported message hides its unsubscribe banner, and links are off in
  its attachment previews.
- Search results and All mail don't offer reporting the user's own sent
  mail; the Mountain View selection bar offers it.
- The focus goes back to the button that opened the menu.
- ARF names the delivered-to address (or leaves it out), says binary for
  bare line breaks and long lines, and refuses a message bigger than the
  server's upload limit before downloading it.

The phishing tests that compared one address now compare the list of
addresses, and the ARF builder test passes the encoding, not a flag.
2026-11-01 07:07:30 +01:00
Linus Rath 128f61646e fix: hold remote content per account and until scoped locks are known, also in previews and drafts 2026-11-01 06:42:46 +01:00
Linus Rath 905d841be4 chore: drop the outdated Stalwart/RocksDB warning from files 2026-11-01 00:41:41 +01:00
Linus Rath 35be105a73 fix: size small text in rem so it follows the browser and app text size 2026-10-29 19:38:45 +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 f43eb9f41a fix: give chip remove buttons, tree expanders, task circles and month events a 24px target 2026-10-29 19:38:45 +01:00
Linus Rath 9f6c7b99c9 fix: raise text contrast to 4.5:1 in every built-in theme, light and dark 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 4e2affe406 fix: name the remaining search boxes, filter fields and settings inputs that only had a placeholder 2026-10-29 18:03:00 +01:00
Linus Rath 9c913d4d79 fix: hold and return the focus in file previews, the document editor and other full-screen overlays 2026-10-29 18:02:59 +01:00
Linus Rath 8b68b549c3 fix: keep the arrow keys moving through the files list 2026-10-29 17:53:53 +01:00
Linus Rath b0a51aae93 fix: list the files sidebar folders as lists and mark the open one, instead of a tree the arrow keys can't move in 2026-10-29 17:53:53 +01:00
Linus Rath a876064ec8 fix: move real focus through the files list and show its select boxes on keyboard focus and touch 2026-10-29 17:53:51 +01:00
Linus Rath 8e55184e1f fix: name pane resize handles, expose their width and keep their arrow keys from the mail shortcuts 2026-10-29 17:53:51 +01:00
Linus Rath 43c865e3e0 test: type the files sidebar fixture with the store's resource type 2026-10-29 17:53:36 +01:00
Linus Rath 7c282f1f40 fix: say which folder is open and how many are unread in the folder lists 2026-10-29 17:53:36 +01:00
Linus Rath dcc504fcfa feat: add landmarks, an h1 per app, skip links and F6 between panes 2026-10-29 17:53:35 +01:00
Linus Rath 13d697ddfb feat: turn off every single-key shortcut when the setting is off 2026-10-29 17:53:34 +01:00
Linus Rath 368acca121 fix: stop app shortcuts from acting behind open dialogs and menus 2026-10-29 17:53:33 +01:00
Linus Rath f12a13e1fd feat: create documents in the formats the document editor can edit from New file #1393 2026-10-29 00:01:13 +01:00
Linus Rath 8b35962efb fix: show section labels in sentence case instead of all caps 2026-10-28 22:26:39 +01:00
Linus Rath 39eb38a0fa fix: give the mail, calendar, contacts, files and settings headers one search field and one button style 2026-10-28 22:16:48 +01:00
Linus Rath 8c38d44448 Merge branch 'main' of https://github.com/bulwarkmail/webmail 2026-10-28 18:06:09 +01:00
Linus Rath 17c3bdb22c Merge pull request #1395 from lucamzanon/fix/eml-preview-nested-attachments 2026-10-28 17:04:55 +01:00
Linus Rath 4421c3ce7e fix: spin refresh icons the way their arrows point 2026-10-28 17:00:50 +01:00
Linus Rath 96797597c5 Merge branch 'main' into feat/org-features 2026-10-28 15:14:34 +01:00
Linus Rath e654eadd37 Merge branch 'main' into ux/mail3 2026-10-28 11:10:56 +01:00
Linus Rath c60cc702f7 fix: open Save to Files with My files selected so Save here works right away 2026-10-28 10:45:12 +01:00
Linus Rath d1e0fddfdc fix: keep file sizes as number then unit in right-to-left languages and write Files dates in the app's language 2026-10-28 10:24:55 +01:00
Linus Rath 4b2aba430c fix: let Back close overlays the same way in calendar, contacts and files 2026-10-28 07:32:05 +01:00
lucamzanon a3fc1e682a fix(files): preview the attachments of a previewed .eml
An attachment inside a previewed .eml could only be downloaded. A
certified-mail (PEC) message carries the actual mail as postacert.eml,
and a forwarded PEC carries the original PEC inside that, so the message
the user wanted to read never opened. A previewable attachment now opens
in a preview stacked on the first one, with download beside it; Escape
and Back close the inner preview first.
2026-10-28 06:32:37 +01:00
Linus Rath 7f9a8bc5e7 fix: show images and other files in one preview frame, with ←/→ to the next file of the folder 2026-10-28 05:39:10 +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 15446aa0b6 fix: say when duplicating a contact fails, and why a folder rename failed 2026-10-28 05:22:46 +01:00
Linus Rath b540b68706 fix: tell an empty address book from an empty account, offer Import there, and use one empty state in Contacts and Files 2026-10-28 05:09:04 +01:00
Linus Rath 083bb1f6bc fix: put New group, Import and Refresh in the phone header menu of Contacts and Files 2026-10-28 05:04:13 +01:00
Linus Rath 4b243dbdbe Merge branch 'main' into ux/contacts-files
# Conflicts:
#	components/contacts/contact-list.tsx
2026-10-28 05:01:48 +01:00
Linus Rath 26aef32786 fix: show the same actions in the same order in every menu of a contact, group or folder 2026-10-28 04:57:25 +01:00
Linus Rath c04f850b16 fix: use theme colours for folder icons, stars and contact form errors instead of fixed blue, amber and pink 2026-10-28 04:45:59 +01:00
Linus Rath d24b917c22 fix: use the app's selection colour in Files and the vertical More icon in Contacts and Files 2026-10-28 04:43:56 +01:00
Linus Rath cdd7c0f0b5 fix: give the Contacts and Files buttons and rows a 44px touch target on phones 2026-10-28 04:42:21 +01:00
Linus Rath 1748b5329b fix: name every icon button in Contacts and the file preview for screen readers 2026-10-28 04:34:08 +01:00
Linus Rath 46eb9cf42d fix: mirror the Contacts drawer, search fields and Files chevrons correctly in right-to-left languages 2026-10-28 04:21:47 +01:00
Linus Rath e53578454a feat: list the Contacts and Files keys under ? and add their commands to the command palette 2026-10-28 04:20:48 +01:00
Linus Rath c87baa8408 feat: sync the Files settings with the other settings, with export, reset and a one-time move from this device 2026-10-28 03:51:27 +01:00
Linus Rath e12aa1f5b9 feat: download a folder as a zip built in the browser, with progress and cancel 2026-10-28 03:44:34 +01:00