ytptube/app/routes/api
Copilot b9c5b0b7ad
Decouple queue from config endpoint; load via paginated API with correct ordering (#2)
* Initial plan

* Refactor: remove queue from /api/system/configuration, use existing paginated /api/history endpoint for queue data

Co-authored-by: jbatesy <51190172+jbatesy@users.noreply.github.com>

* Remove accidentally committed package-lock.json and add to gitignore

Co-authored-by: jbatesy <51190172+jbatesy@users.noreply.github.com>

* Simplify loadMoreQueue to use loadNextPage for reduced duplication

Co-authored-by: jbatesy <51190172+jbatesy@users.noreply.github.com>

* Order in-progress downloads oldest-to-newest (order of processing)

Co-authored-by: jbatesy <51190172+jbatesy@users.noreply.github.com>

* Fix queue ordering: remove client-side timestamp sort, rely on backend created_at ASC

Co-authored-by: jbatesy <51190172+jbatesy@users.noreply.github.com>

* Revert "Fix queue ordering: remove client-side timestamp sort, rely on backend created_at ASC"

This reverts commit 9b53112e0050a45e4db95c85064577d22ed47a50. Changes not needed

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbatesy <51190172+jbatesy@users.noreply.github.com>
Co-authored-by: Jesse Bate <noreply@idump.me>
2026-03-09 15:05:22 +10:30
..
_static.py Refactor: re-design the settings page. 2026-01-03 17:39:22 +03:00
browser.py feat: improve the file browser with pagination. 2026-02-13 21:46:01 +03:00
conditions.py refactor: conditions feature to db model 2026-01-18 22:17:07 +03:00
dev.py Fix upgrading and installing pip packages 2025-07-24 17:22:05 +03:00
dl_fields.py refactor: migrated dl_fields to db model. 2026-01-19 18:31:16 +03:00
docs.py refactor: isolate yt_dlp related code into submodule 2026-01-27 19:36:13 +03:00
download.py Refactor: drop aiohttp serve_static in favor of our own to have more control 2025-11-19 18:46:55 +03:00
history.py feat: add NFO generation endpoint and UI integration for downloads 2026-02-13 20:38:33 +03:00
images.py refactor: isolate yt_dlp related code into submodule 2026-01-27 19:36:13 +03:00
logs.py Refactor: move log related inside the logs module 2026-01-28 16:22:44 +03:00
notifications.py refactor: migrate notifications to the new db model 2026-01-21 18:29:16 +03:00
ping.py Refactor: download module into testable chunks 2026-01-13 20:05:01 +03:00
player.py refactor: move streaming logic to a feature submodule 2026-01-27 17:42:12 +03:00
presets.py refactor: move presets to db model 2026-01-25 19:17:54 +03:00
system.py Decouple queue from config endpoint; load via paginated API with correct ordering (#2) 2026-03-09 15:05:22 +10:30
task_definitions.py refactor: migrate task definitions to db model 2026-01-23 23:38:59 +03:00
tasks.py refactor: migrate tasks to db model 2026-01-24 23:09:20 +03:00
yt_dlp.py refactor: move archiver to be under yt_dlp submodule 2026-01-27 20:04:54 +03:00