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
..
2026-10-16 20:48:28 +02:00
2026-10-16 20:48:28 +02:00
2026-10-25 12:48:49 +01:00
2026-10-26 15:15:58 +01:00
2026-10-17 19:17:53 +02:00
2026-10-14 03:44:33 +02:00
2026-10-14 03:44:33 +02:00
2026-10-14 03:44:33 +02:00
2026-10-14 03:44:33 +02:00
2026-10-19 16:33:27 +02:00
2026-10-26 12:26:57 +01:00
2026-10-26 12:26:57 +01:00
2026-10-28 05:09:03 +01:00
2026-10-14 03:44:33 +02:00
2026-10-15 23:54:39 +02:00
2026-10-15 14:43:07 +02:00
2026-10-14 23:49:34 +02:00
2026-10-14 03:45:12 +02:00
2026-10-18 14:39:07 +02:00
2026-10-24 22:13:19 +02:00
2026-10-19 00:38:01 +02:00
2026-10-14 03:44:33 +02:00
2026-10-14 03:44:33 +02:00
2026-10-28 04:25:25 +01:00
2026-10-14 03:44:33 +02:00
2026-10-14 11:35:00 +02:00
2026-10-14 04:05:43 +02:00
2026-10-14 03:44:33 +02:00
2026-10-20 21:25:18 +02:00
2026-10-17 19:18:23 +02:00
2026-10-17 19:17:52 +02:00
2026-10-14 03:44:33 +02:00
2026-10-26 12:26:57 +01:00
2026-10-14 03:44:33 +02:00
2026-10-17 19:17:53 +02:00
2026-10-14 03:44:33 +02:00
2026-10-14 03:44:33 +02:00
2026-10-16 01:41:48 +02:00
2026-10-28 01:08:56 +01:00
2026-10-14 03:44:33 +02:00
2026-10-14 03:44:33 +02:00
2026-10-28 04:06:05 +01:00
2026-10-17 19:17:53 +02:00
2026-10-14 03:44:33 +02:00
2026-10-27 23:27:51 +01:00
2026-10-14 03:44:33 +02:00
2026-10-15 14:56:14 +02:00
2026-06-15 15:06:35 +02:00
2026-10-11 20:07:46 +02:00
2026-10-02 23:04:28 +02:00
2026-10-12 01:45:35 +02:00
2026-10-17 19:18:25 +02:00
2026-10-15 14:50:31 +08:00
2026-10-12 01:01:09 +02:00
2026-10-11 20:07:05 +02:00
2026-10-13 15:02:21 +02:00
2026-10-26 16:11:52 +01:00
2026-10-26 16:11:52 +01:00
2026-10-17 21:01:34 +02:00
2026-10-28 09:08:44 +01:00
2026-10-25 13:13:46 +01:00
2026-10-14 03:44:33 +02:00
2026-10-28 04:18:11 +01:00
2026-10-28 05:11:24 +01:00
2026-10-28 05:09:35 +01:00
2026-10-14 19:44:54 +02:00
2026-09-07 16:58:54 +08:00
2026-10-15 00:41:07 +02:00
2026-08-29 17:29:03 +02:00
2026-10-13 14:48:58 +02:00
2026-10-13 14:35:12 +02:00
2026-10-12 01:16:15 +02:00
2026-10-13 15:16:05 +02:00
2026-10-18 14:39:58 +02:00
2026-10-13 13:57:30 +02:00
2026-10-27 14:51:38 +02:00
2026-10-27 23:03:41 +01:00
2026-09-30 20:00:01 +02:00
2026-10-14 06:26:10 +02:00
2026-10-25 15:22:38 +01:00
2026-10-11 20:26:43 +02:00
2026-10-19 01:15:39 +02:00
2026-10-26 19:30:18 +01:00
2026-10-20 17:21:13 +02:00
2026-10-20 17:21:12 +02:00
2026-09-24 23:07:15 -03:00
2026-10-14 03:44:33 +02:00
2026-10-14 03:44:33 +02:00
2026-10-19 00:47:05 +02:00
2026-10-14 03:44:33 +02:00
2026-10-21 16:54:29 +02:00
2026-10-28 05:38:39 +01:00
2026-10-18 14:39:59 +02:00
2026-10-13 16:58:19 +02:00
2026-10-25 12:27:13 +01:00
2026-10-25 12:27:13 +01:00
2026-09-30 13:52:41 +02:00
2026-07-04 15:00:15 +02:00
2026-10-17 19:17:54 +02:00
2026-09-09 19:37:43 +02:00
2026-10-04 20:54:32 +02:00
2026-10-26 11:22:10 +01:00
2026-10-17 19:17:56 +02:00
2026-10-26 11:22:10 +01:00
2026-10-17 19:18:01 +02:00
2026-10-18 17:37:21 +02:00
2026-10-18 16:01:43 +02:00
2026-10-26 16:11:52 +01:00
2026-10-15 02:59:20 +02:00
2026-10-26 16:11:52 +01:00
2026-10-15 02:29:24 +02:00
2026-10-28 09:08:44 +01:00
2026-09-26 14:41:14 +02:00
2026-09-25 21:57:11 +02:00
2026-10-18 13:46:48 +02:00
2026-10-15 00:58:45 +02:00
2026-10-14 03:00:46 +02:00
2026-10-14 05:44:35 +02:00
2026-10-26 11:22:10 +01:00
2026-10-28 05:23:25 +01:00
2026-10-14 03:39:13 +02:00
2026-10-28 04:06:05 +01:00
2026-10-15 06:21:25 +02:00
2026-10-20 19:12:20 +02:00