Commit Graph

65 Commits

Author SHA1 Message Date
Tyler Satre
106190d7ac Improve local dev experience 2025-10-31 12:19:23 -04:00
maxDorninger
6f4423e501 disable useless logs 2025-10-30 16:17:49 +01:00
maxDorninger
b6ff4e917f fix oauth being enabled regardless of the config 2025-09-18 12:01:48 +02:00
Maximilian Dorninger
3a553d32e6 Remove unneeded methods from allowed CORS methods
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-13 21:06:00 +02:00
maxDorninger
8f5cc9329c update how oauth is handled 2025-09-13 18:42:34 +02:00
maxDorninger
6203ec5ce0 format files 2025-09-12 20:09:44 +02:00
maxDorninger
786b14527c update cors middleware 2025-09-04 21:36:52 +02:00
maxDorninger
1f544e55e8 add support for multiple oauth providers 2025-09-04 20:05:45 +02:00
maxDorninger
1fca7b083a fix duplicate apscheduler jobs and add postgres to docker image 2025-07-23 00:02:23 +02:00
maxDorninger
b9dfb07cf7 make API return HTTP Conflict 409 on Unique Violation/Integrity Error in DB 2025-07-22 22:49:49 +02:00
maxDorninger
a2982e12c0 remove outdated comment 2025-07-22 17:54:44 +02:00
maxDorninger
6a273da054 fix http always being used as protocol for the callback url when using oauth 2025-07-22 16:53:13 +02:00
maxDorninger
f38c825105 add auto_download_movie_requests to scheduler 2025-07-19 17:13:01 +02:00
maxDorninger
f1a01b4d43 automatically create all directories 2025-07-18 14:33:12 +02:00
maxDorninger
0df004df6f fix and move create default user function to auth.users 2025-07-18 13:45:51 +02:00
Backslash
56d5faaec5 Route redirects
Redirect routes to /web for front end.

Co-authored-by: Maximilian Dorninger <97409287+maxdorninger@users.noreply.github.com>
2025-07-18 21:01:04 +10:00
wjbeckett
a4d31d9ac9 fix: linting. 2025-07-18 16:32:33 +10:00
wjbeckett
4177409b59 feat: Add default admin user creation and root route redirects
- Auto-create admin user on first startup (admin@example.com/admin)
- Add redirects from /, /dashboard, /login to /web/ for better UX
- Enhanced startup logging with login credentials
- Improved config documentation for admin_emails

Fixes initial setup UX issues with web UI access and authentication.
2025-07-18 16:04:01 +10:00
wjbeckett
df7d00ad99 feat: improve container setup and fix deployment issues
- Move images directory from /data/images to /app/images to separate app data from user media
- Implement config folder approach instead of direct file mounting
- Add automatic config initialization with example config on first boot
- Remove hardcoded media directory environment variables from Dockerfile
- Update startup script to handle config folder setup and validation
- Only create application-managed directories, not user media directories
- Update docker-compose.yaml to use config folder volume mapping

Fixes container startup failures when config.toml doesn't exist and improves
separation between application data and user media directories.
2025-07-18 12:54:08 +10:00
maxDorninger
d5f09736f8 format files 2025-07-17 21:09:48 +02:00
maxDorninger
fe525a9397 fix HTTP error 404 exception handler 2025-07-17 21:07:36 +02:00
maxDorninger
cb73c9e14f fix images not working 2025-07-17 20:46:03 +02:00
maxDorninger
a232d5e935 format files 2025-07-17 17:20:49 +02:00
maxDorninger
c2b7440bdd adjust config options of backend 2025-07-17 16:38:25 +02:00
maxDorninger
81c8381a90 adjust backend to serve static frontend files 2025-07-17 16:04:57 +02:00
maxDorninger
c186df94b8 add error handling to automatic imports of torrents and add proper db session handling to scheduled tasks 2025-07-16 12:03:46 +02:00
maxDorninger
9db9c85fc6 make all var names lower case and fix circular imports 2025-07-11 00:47:29 +02:00
maxDorninger
7ce6de7f85 replace all the other config usages with allencompassing config 2025-07-10 22:25:05 +02:00
maxDorninger
1b784c35c1 add allencompassing config, replace basic config usage with allencompassing config usage 2025-07-10 21:47:37 +02:00
maxDorninger
82ddadf8f7 format code and change schedule on which certain tasks are executed 2025-07-01 21:20:08 +02:00
maxDorninger
89b4fbb056 add notificaton module 2025-07-01 14:15:13 +02:00
maxDorninger
40a1bbf904 format files and remove unused import 2025-06-30 20:55:36 +02:00
maxDorninger
a7c582ee5c break up scheduled tasks 2025-06-30 20:48:39 +02:00
maxDorninger
4d67db6545 fix the docker files and startup scripts, also fix a bug in the hello world route of the backend 2025-06-30 17:17:21 +02:00
maxDorninger
be3e7f8cd8 format files 2025-06-30 14:14:20 +02:00
maxDorninger
f837a75c73 add version to api, add hello world route to api and optimize the backend's dockerfile 2025-06-30 14:12:24 +02:00
maxDorninger
b6af87ea88 fix weekly tasks being triggered every hour 2025-06-30 14:00:56 +02:00
maxDorninger
61705511b5 format files 2025-06-29 17:31:22 +02:00
maxDorninger
63c9c560b4 store scheduled tasks in db, so the scheduler's timer won't restart on app restart 2025-06-29 17:25:54 +02:00
maxDorninger
a1c7b9b941 format files 2025-06-28 22:46:38 +02:00
maxDorninger
2d33ea122e add movies carousel to dashboard and fixing movies routes in the backend, making the components more generic and reusable 2025-06-26 18:22:05 +02:00
maxDorninger
02807af6e9 format files 2025-06-24 19:32:21 +02:00
maxDorninger
bdc3a4aea0 add movie tasks to scheduled tasks 2025-06-24 19:25:30 +02:00
maxDorninger
8b4da3ba3d fixing code related to exception handling 2025-06-24 18:44:49 +02:00
maxDorninger
d0c26f3e6e fix code for importing movies 2025-06-24 17:37:58 +02:00
maxDorninger
9360b88842 format code with ruff 2025-06-22 17:41:50 +02:00
maxDorninger
66e5c6a2f9 fall back to copying file if hardlinks do not work 2025-06-22 17:24:48 +02:00
maxDorninger
4144ccb98a add checks at startup to determine if hardlinks work 2025-06-22 17:02:14 +02:00
maxDorninger
611d5a2b03 auto update show metadata weekly 2025-06-09 22:20:08 +02:00
maxDorninger
e9a7845eb8 update cors urls and corresponding documentation and fix documentation 2025-06-08 23:34:32 +02:00