240 Commits

Author SHA1 Message Date
9a42442f47 removed downloaded and total mb 2025-11-20 19:34:01 +01:00
72a0455d59 download status floating point fix 2025-11-20 19:24:30 +01:00
029abb9be2 fix: progress part 1. percentage is working 2025-11-20 19:21:01 +01:00
34019b7e65 better shutdown 2025-11-20 19:11:05 +01:00
1ca105f330 shut down download thread 2025-11-20 19:03:20 +01:00
57da1f1272 fix: download status 2025-11-20 19:02:04 +01:00
cf503c8d77 fixed empty queu 2025-11-20 18:53:22 +01:00
b1f4d41b27 fix tests 2025-11-19 21:20:22 +01:00
17c7a2e295 fixed tests 2025-11-19 20:46:08 +01:00
7b07e0cfae fixed : tests 2025-11-15 17:55:27 +01:00
fac0cecf90 fixed some tests 2025-11-15 16:56:12 +01:00
f49598d82b fix tests 2025-11-15 12:35:51 +01:00
f91875f6fc fix tests 2025-11-15 09:11:02 +01:00
8ae8b0cdfb fix: test 2025-11-14 10:52:23 +01:00
4c7657ce75 fixed: removed js 2025-11-14 09:51:57 +01:00
1e357181b6 fix: add and download issue 2025-11-14 09:33:36 +01:00
2441730862 fix progress events 2025-11-07 18:40:36 +01:00
5c4bd3d7e8 fix add issue 2025-11-02 15:42:51 +01:00
5c88572ac7 fix missing list 2025-11-02 15:29:16 +01:00
a80bfba873 removed useless stuff 2025-11-02 15:25:07 +01:00
64e78bb9b8 chore: removed locks 2025-11-02 15:18:30 +01:00
ec987eff80 chore: make sure that there is only one app 2025-11-02 15:14:34 +01:00
e414a1a358 refactored callback 2025-11-02 10:34:49 +01:00
8a49db2a10 rework of SeriesApp.py 2025-11-02 10:20:10 +01:00
2de3317aee refactoring backup 2025-11-02 09:52:43 +01:00
ca4bf72fde fix progress issues 2025-11-02 08:33:44 +01:00
d5f7b1598f use of websockets 2025-11-01 19:23:32 +01:00
57c30a0156 call back logs 2025-11-01 19:03:30 +01:00
9fce617949 fix percentage 2025-11-01 18:46:53 +01:00
0b5faeffc9 fix adding issues 2025-11-01 18:22:48 +01:00
18faf3fe91 added remove all item from queue 2025-11-01 18:09:23 +01:00
4dba4db344 fix: wrong folder was created 2025-11-01 17:51:30 +01:00
b76ffbf656 fixed percentage and mb/s view 2025-11-01 16:49:12 +01:00
f0b9d50f85 fix not downloading 2025-11-01 16:43:05 +01:00
6cdb2eb1e1 added logging 2025-11-01 16:29:07 +01:00
33aeac0141 download the queue 2025-11-01 16:13:28 +01:00
eaf6bb9957 fix queue issues 2025-11-01 16:07:31 +01:00
3c6d82907d queue fix 2025-11-01 15:43:15 +01:00
3be175522f download re implemented 2025-10-30 22:06:41 +01:00
6ebc2ed2ea download instrction 2025-10-30 21:37:00 +01:00
fadd4973da cleanup unused methods 2025-10-30 21:22:43 +01:00
727486795c fix download 2025-10-30 21:13:08 +01:00
dbb5701660 fix: add to download 2025-10-30 20:44:34 +01:00
55781a8448 remove part 3 2025-10-30 20:20:52 +01:00
fd76be02fd remove part 2 2025-10-30 20:11:38 +01:00
4649cf562d remove part 1 2025-10-30 20:06:45 +01:00
627f8b0cc4 fix download 2025-10-30 19:56:22 +01:00
adfbdf56d0 fix: Implement /api/anime/add endpoint correctly
- Fixed 501 Not Implemented error by replacing non-existent AddSeries method
- Added Serie import from src.core.entities.series
- Implemented proper series creation using Serie class following CLI pattern
- Added input validation for empty link and name fields
- Series are now correctly added to series_app.List using add() method
- Call refresh_series_list() to update cache after adding

Tests:
- Added test for unauthorized access (401)
- Added test for successful addition with authentication (200)
- Added test for empty name validation (400)
- Added test for empty link validation (400)
- Updated FakeSeriesApp mock to support add() and refresh_series_list()

All tests passing.
2025-10-28 19:36:16 +01:00
02764f7e6f fix: resolve 422 error and undefined error in anime search endpoint
- Split search endpoint into separate GET and POST handlers
- Add SearchAnimeRequest Pydantic model for POST body validation
- Add 'link' field to AnimeSummary model for frontend compatibility
- Update frontend to handle both array and wrapped response formats
- Extract search logic into shared _perform_search() function

Fixes issue where POST requests with JSON body were failing with 422
Unprocessable Content error because the endpoint expected query params
instead of request body.

Also fixes frontend 'undefined' error by handling direct array responses
in addition to legacy wrapped format.
2025-10-28 19:28:50 +01:00
95b7059576 Fix API tests: update field names and function naming 2025-10-28 19:09:14 +01:00