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