Commit Graph

13 Commits

Author SHA1 Message Date
4cffb152b7 feat(db): add migration for ThumbnailSize column on Assets 2026-07-06 19:57:44 +02:00
0a9c3ba207 feat: optimize jobs API with pagination, DB persistence, and cleanup
- Split /api/jobs into three endpoints: active roots, paginated past,
  children fetched on expand — reduces response from ~1MB to ~5KB
- Persist completed jobs to PostgreSQL via JobRecord entity + migration
- Add configurable job retention cleanup (hourly timer, default 30 days)
- Fix PHashJob master not persisting (missing Complete() call)
- Add PastJobsResponse DTO to fix case-sensitive JsonElement deserialization
- Refactor JobTree/JobRow for lazy-loaded children via FetchChildren callback
- Handle 401 responses in JwtTokenRefresher with token refresh + retry
- Remove JobChildrenSummary component (replaced by inline parent summary)
2026-07-06 18:17:49 +02:00
Samuele Lorefice
f31369bea9 Added missing settings and power slider. Broken state 2025-09-05 04:56:53 +02:00
Samuele Lorefice
627239f0a3 Enabled vector extensions 2025-09-04 02:40:29 +02:00
REDCODE
28e53eb31b PHash Job implementation 2025-09-03 23:37:56 +02:00
Samuele Lorefice
d28b53e793 feat(API): Settings rework
feat(db): extended amount of settings informations stored on the database
feat(frontend): added support for updating the refreshToken after a refresh request.
feat(backend): added a defaultSettings.json file that defines how the settings are initialized.
2025-07-18 20:40:42 +02:00
Samuele Lorefice
d23f813e25 feat(db): limited strings length in Settings Table
feat(API): removed SettingsDto in favor of List<SettingDto> instead.
2025-07-17 19:34:52 +02:00
MrFastwind
c1c399c03a feat(db): Adds Migration for Settings in LactoseDbContext 2025-07-10 19:22:43 +02:00
MrFastwind
87432ad663 feat(Lactose): Adds DB Context Snapshot 2025-07-02 17:50:25 +02:00
REDCODE
32261eb92a feat(DB)!: Regenerated migrations for PostgreSQL switch 2024-12-17 22:36:34 +01:00
REDCODE
d097502a18 chore(DB): Generated migration for Folder, Settings and asset hash integration.
chore(DB): added relationships between folder and asset
2024-11-11 22:25:39 +01:00
REDCODE
d557cadc81 feat(API): integrated new metadata in asset on their respective DTOs
chore(DB): generated database migration for the updated asset schema
2024-11-11 19:18:21 +01:00
REDCODE
b2038321b2 Unfucked the database creation. 2024-10-06 21:53:37 +02:00