nextcloud/apps/user_status/lib
Anna Larch fbc7fb1ba0 fix(user_status): exclude backups from cleanup queries and filter from list methods
The background cleanup job operated on all rows including backups:
- clearOlderThanClearAt() deleted backup rows with expired clear_at,
  destroying saved statuses before they could be restored
- clearStatusesOlderThan() overwrote backup statuses to OFFLINE,
  corrupting saved DND/away states

Additionally, findAll() leaked backup rows into user-facing lists,
and findAllRecent() filtered backups via slow LIKE pattern instead
of the is_backup column.

Add is_backup=false filter to all four methods.

AI-Assisted-By: Claude Opus 4.6
Signed-off-by: Anna Larch <anna@nextcloud.com>
2026-06-10 14:48:58 +02:00
..
AppInfo chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
BackgroundJob chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Connector chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ContactsMenu chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Controller chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Dashboard chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Db fix(user_status): exclude backups from cleanup queries and filter from list methods 2026-06-10 14:48:58 +02:00
Exception chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Listener chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Migration chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Service chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Capabilities.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ResponseDefinitions.php fix(user_status): Remove non-existent "visible" field from UserStatusPredefined 2024-12-18 10:52:42 +01:00