ytptube/app/tests
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
..
test_ag_utils.py fix linter issues 2025-09-11 21:49:39 +03:00
test_backgroundworker.py improve logic for codec selection 2025-09-14 01:30:34 +03:00
test_cache.py feat: implement cache cleanup 2026-01-16 20:42:51 +03:00
test_cf_solver_handler.py Refactor: integrate cf solver for both yt-dlp and httpx 2026-01-02 18:44:52 +03:00
test_datastore.py refactor: use sqlalchemy as base for sqlite 2026-01-17 23:32:39 +03:00
test_datastore_pagination.py refactor: use sqlalchemy as base for sqlite 2026-01-17 23:32:39 +03:00
test_download.py fix: update import path for fetch_info in HandleTask class. Closes #561 2026-02-11 18:44:32 +03:00
test_download_utils.py Refactor: download module into testable chunks 2026-01-13 20:05:01 +03:00
test_encoder.py Refactor: improve linting and formatting 2025-12-30 20:42:50 +03:00
test_events.py refactor: remove socket.io dependency 2026-01-21 22:07:12 +03:00
test_httpx_client.py Refactor: integrate cf solver for both yt-dlp and httpx 2026-01-02 18:44:52 +03:00
test_itemdto.py refactor: isolate yt_dlp related code into submodule 2026-01-27 19:36:13 +03:00
test_nfo_maker.py feat: add NFO generation endpoint and UI integration for downloads 2026-02-13 20:38:33 +03:00
test_operations.py Refactor: improve linting and formatting 2025-12-30 20:42:50 +03:00
test_package_installer.py Refactor: integrate cf solver for both yt-dlp and httpx 2026-01-02 18:44:52 +03:00
test_router.py extends tests 2025-09-13 18:35:41 +03:00
test_scheduler.py chore: update tests assertion messages 2026-01-09 18:57:51 +03:00
test_services.py refactor: migrate task definitions to db model 2026-01-23 23:38:59 +03:00
test_singleton.py Refactor: improve linting and formatting 2025-12-30 20:42:50 +03:00
test_sqlite_store.py refactor: use sqlalchemy as base for sqlite 2026-01-17 23:32:39 +03:00
test_system_routes.py Decouple queue from config endpoint; load via paginated API with correct ordering (#2) 2026-03-09 15:05:22 +10:30
test_update_checker.py chore: update external packages 2026-01-30 16:31:20 +03:00
test_utils.py feat: improve the file browser with pagination. 2026-02-13 21:46:01 +03:00