Files
webmail/lib/__tests__
Linus Rath 7977a6ed01 fix: stop treating partial refusals as total ones in sends and exports
Four places took a narrow refusal from the server for a complete one:

- vCard export: Stalwart answers Blob/get only in accounts the user is
  a member of, so for an address book shared with the user it came back
  `forbidden` and the export fell back to one photo download after the
  other. It checks the access to each blob by itself, whichever account
  the request names, so `getBlobsAsBase64` now asks again in the user's
  own account (checked live on 1.0 with a book shared by another user).
- Sending at a full submission quota: when making room found nothing,
  no search ran for five minutes, for any send. Scheduled mail and
  undo-send holds can go once their message is out, so a send the user
  starts now always looks again; the pause stays for automatic read
  receipts.
- Free/busy: a directory that could not be listed hid the attendees'
  free/busy behind "Free/busy isn't available on this server". Listing
  principals and looking up free/busy are separate permissions on 0.16
  and 1.0, so the line now shows only for Stalwart 1.0 with directory
  queries off or a lookup refused with `forbidden`; otherwise the
  principals the server still returns are looked up.
- Mark as read and keyword writes over several requests: a request that
  failed outright made the whole selection count as unchanged, and rows
  already written showed unread until the next refresh. The write now
  stops there and names only that batch and the ones after it.
2026-09-26 00:06:49 +02:00
..