bvandeusen
6432210a36
refactor: extract shared DB helpers to tasks/db.py
...
Extract identical get_async_session() and cleanup_engine() functions
from downloads.py and maintenance.py into a shared db.py module.
This eliminates code duplication and improves maintainability.
db.py imports only from app.config and SQLAlchemy to avoid circular
dependencies with the task modules that import from it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-18 23:36:42 -04:00
bvandeusen
0f2901ef58
feat: mark prior failures as superseded on successful download
2026-03-18 23:32:51 -04:00
bvandeusen
c9ac163a4b
fix: capture started_at before clearing in orphaned job reset message
2026-03-18 23:27:23 -04:00
bvandeusen
6036c34680
fix: pass download_id in process_download to prevent retry skip
2026-03-18 23:27:15 -04:00
bvandeusen
2190a9c16b
correcting pixiv connection functionality
2026-02-04 12:45:31 -05:00
Bryan Van Deusen
097ab16c50
more UI polish and schedule safe guards and optimization
2026-01-30 00:01:45 -05:00
Bryan Van Deusen
fcccfb24ee
changes to task scheduling and readability change on downloads view
2026-01-29 19:33:04 -05:00
Bryan Van Deusen
575e20f58c
ongoing polish in queue handling
2026-01-28 09:32:47 -05:00
Bryan Van Deusen
c7a259a63b
correcting worker db connection issue
2026-01-27 18:05:54 -05:00
Bryan Van Deusen
13b4da5ca0
better lifecycle visibility implementation.
2026-01-27 17:33:25 -05:00
Bryan Van Deusen
d2e4d6c588
corrected time record type, mismatch caused issues and kept credential verification from occuring
2026-01-26 22:51:03 -05:00
Bryan Van Deusen
2a0e37a73d
improve ux, moved functionality for better ui experience on app and extension.
2026-01-26 11:38:51 -05:00
Bryan Van Deusen
dc6755a0c2
move job scheduling to DB
2026-01-24 23:50:09 -05:00
Bryan Van Deusen
058901cd05
added discord functionality to extension and polished some of downloader process.
2026-01-24 23:15:03 -05:00
Bryan Van Deusen
b9b8048a2d
rapid interations of server side app and firefox extension
2026-01-24 22:52:51 -05:00