160 Commits

Author SHA1 Message Date
1fe8482349 Task 4: Added missing API endpoints for JavaScript compatibility - Added /api/add_series and /api/download endpoints to FastAPI app to match JavaScript expectations 2025-10-06 08:30:33 +02:00
8121031969 Task 1: Converted form and file upload handling in config.py to FastAPI - Updated upload endpoint to use UploadFile instead of Flask request.files 2025-10-06 08:27:31 +02:00
23c4e16ee2 Current state before processing web_todo tasks 2025-10-06 08:24:59 +02:00
e3b752a2a7 Add /api/auth/status endpoint for JavaScript compatibility 2025-10-05 23:42:59 +02:00
2c8c9a788c Update HTML templates and JavaScript for FastAPI compatibility
- Replace Flask url_for() with direct /static/ paths in all HTML templates
- Update CSS and JavaScript file references to use FastAPI static mount
- Convert Flask-specific template patterns to FastAPI-compatible syntax
- Update JavaScript API endpoints to match new FastAPI route structure:
  * /api/series -> /api/v1/anime
  * /api/search -> /api/v1/anime/search
  * /api/rescan -> /api/v1/anime/rescan
- Add web interface routes for serving HTML templates
- Add template response endpoints for /app, /login, /setup, /queue
- Mark HTML template and JavaScript migration tasks as completed
- Maintain Jinja2 template compatibility with FastAPI
2025-10-05 23:14:31 +02:00
6e136e832b Add comprehensive Pydantic models and configure templates/static files
- Create detailed Pydantic models for anime requests and responses
- Add AnimeCreateRequest, AnimeUpdateRequest, PaginatedAnimeResponse, etc.
- Update route signatures to use proper response models
- Convert return values to use Pydantic models instead of raw dicts
- Configure Jinja2Templates in FastAPI application
- Mount StaticFiles for CSS, JS, images at /static endpoint
- Update anime search and list endpoints to use typed responses
- Mark completed Pydantic models and template configuration tasks in web_todo.md
2025-10-05 23:10:11 +02:00
e15c0a21e0 Convert Flask routes to FastAPI in anime controller
- Convert Flask Blueprint to FastAPI router
- Replace @app.route() with FastAPI route decorators (@router.get, @router.post)
- Update route parameter syntax from <int:id> to {id: int} format
- Convert Flask request object usage to FastAPI Query/Depends parameters
- Update response handling to return dicts instead of Flask jsonify()
- Integrate SeriesApp as business logic layer for anime operations
- Add anime list, search, and rescan endpoints using SeriesApp
- Include anime router in main FastAPI application
- Mark route conversion tasks as completed in web_todo.md
2025-10-05 23:05:37 +02:00
555c39d668 Mark 'Convert Flask blueprints to FastAPI routers' as completed in migration TODO 2025-10-05 22:45:41 +02:00
be5a0c0aab Mark completed FastAPI setup tasks in web migration TODO 2025-10-05 22:39:34 +02:00
969533f1de logfile 2025-10-05 22:29:22 +02:00
85f2d2c6f7 cleanup 2 2025-10-05 22:22:04 +02:00
fe2df1514c cleanup 2025-10-05 21:56:33 +02:00
d30aa7cfea latest api use 2025-10-05 21:42:08 +02:00
64434ccd44 cleanup contollers 2025-10-05 11:39:33 +02:00
94e6b77456 backup 2025-10-04 20:24:00 +02:00
e477780ed6 refactoring 2025-09-29 21:18:42 +02:00
1719a36f57 emoved empty folder and files 2025-09-29 16:14:52 +02:00
253b509707 fixed some unicode issues 2025-09-29 15:59:48 +02:00
083eefe697 some routing fixes 2025-09-29 15:53:18 +02:00
54ca564db8 fix routing issue 2025-09-29 15:14:06 +02:00
9497633e78 backup 2025-09-29 14:53:25 +02:00
3ab4467423 fix duplication run 2025-09-29 14:19:29 +02:00
423b77033c moved routing 2025-09-29 14:13:15 +02:00
b73210a3c9 fix some import issues 2025-09-29 12:14:42 +02:00
b2d77a099b backup 2025-09-29 11:51:58 +02:00
f9102d7bcd fix loading icon 2025-09-29 11:08:49 +02:00
7cc0d7c7a5 fixed search and add 2025-09-29 10:34:09 +02:00
7286b9b3e8 added some tests 2025-09-29 10:20:20 +02:00
6b300dc2f5 better format 2025-09-29 09:36:37 +02:00
78fc6068fb new folder structure 2025-09-29 09:17:13 +02:00
38117ab875 backup 2025-09-28 20:32:16 +02:00
fa994f7398 second server version 2025-09-28 19:24:14 +02:00
e2a08d7ab3 first webserver app 2025-09-28 08:52:11 +02:00
a482b79f6a added: ai instructions 2025-09-27 21:42:40 +02:00
00f8565869 fix: output was not correct 2025-09-27 21:42:24 +02:00
73404e62c9 better printing 2025-09-27 21:00:58 +02:00
18bba118ec cleanup 2025-09-27 20:22:11 +02:00
60ac14e151 added better progressbar 2025-09-27 20:21:05 +02:00
19bd44b3dc added: better progressbars 2025-09-15 10:28:32 +02:00
c3f9e4aa84 better output 2025-08-28 20:21:47 +02:00
03bbb224ad added no certificate check 2025-08-26 21:19:23 +02:00
119ef675df merge from github 2025-08-26 21:19:07 +02:00
862de2f9d2 fix: wrong folder in data 2025-07-11 22:14:53 +02:00
12ce6d4e22 fixed: duplication bug
added: save to temp and copy to dest folder
2025-07-07 18:34:04 +02:00
ad61784744 full rework 2025-06-22 19:59:48 +02:00
3faa6f9a40 added console app 2025-06-07 21:14:45 +02:00
aeed2df7d0 backup 2025-05-31 20:46:30 +02:00
fadf973e8f added github repo 2025-05-31 19:22:53 +02:00
384466c5e0 backup 2025-05-31 19:20:54 +02:00
22ee445b7e backup 2025-05-30 17:30:32 +02:00