Commit Graph

222 Commits

Author SHA1 Message Date
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
Maximilian Dorninger
96dbcf564c Update media_manager/indexer/indexers/jackett.py
add default values to global values

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-17 12:31:46 +02:00
maxDorninger
a230fcaa43 fix logic of evaluate_indexer_query_results 2025-07-17 12:31:12 +02:00
maxDorninger
b6f5f8b253 format files 2025-07-17 11:37:58 +02:00
maxDorninger
dcf3d1907a add proper logging to the Indexer query result evaluation functions 2025-07-17 11:37:35 +02:00
maxDorninger
acfa3d3b75 add support for indexer flags when using jackett 2025-07-17 11:36:44 +02:00
maxDorninger
9254a5ab10 update sorting algorithm of IndexerQueryResult 2025-07-17 00:36:49 +02:00
maxDorninger
c4db283c63 add evaluate_indexer_query_results function to process query results based on scoring rules and use this function in tv and movie modules 2025-07-17 00:29:30 +02:00
maxDorninger
387e5e1095 add scoring rulesets to config 2025-07-17 00:02:29 +02:00
maxDorninger
83a09ebb94 add score field to db table and add alembic migration for the field 2025-07-16 23:27:54 +02:00
maxDorninger
d01e5f5ee2 add scoring rules to config and add evaluate indexer query result function 2025-07-16 23:23:15 +02:00
maxDorninger
9264d74d51 add score field to indexer query result 2025-07-16 23:06:45 +02:00
maxDorninger
4d0443b337 improve regex to determine the quality of a Indexer query result 2025-07-16 23:06:28 +02:00
maxDorninger
b18b11c682 change string value for default/no library from empty string to "Default" 2025-07-16 14:24:42 +02:00
maxDorninger
26d0ca567f add proper error handling if no usenet/torrent download client is available when getting all torrents 2025-07-16 13:23:26 +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
d5c092e08d add backend code for setting/getting the libraries for movies 2025-07-16 11:00:48 +02:00
maxDorninger
49b95df59d add backend code to get/set tv library 2025-07-16 02:00:20 +02:00
maxDorninger
4ca910ec98 add library to config and to models and schemas 2025-07-16 01:19:07 +02:00
maxDorninger
831f9dc1ac format files 2025-07-15 20:05:37 +02:00
maxDorninger
b3c762040d add support for transmission 2025-07-15 19:56:46 +02:00
maxDorninger
42d42920a5 correct sorting of torrents in tv service 2025-07-15 18:49:09 +02:00
maxDorninger
d9ea02fdc5 fix show pages not loading if download client is not reachable 2025-07-15 18:35:54 +02:00
maxDorninger
c8425d7949 apply the same changes to the redirecting cookie transport 2025-07-13 17:23:05 +02:00
maxDorninger
e2704b6b1f fix session cookie not being transmitted when using http instead of https 2025-07-13 17:21:24 +02:00
maxDorninger
4b09471988 fix bug which causes Sabnzbd to put downloads into folders with wrong names 2025-07-13 15:48:17 +02:00
maxDorninger
be1dc0d03b fix qbittorrent client initialisation failing 2025-07-13 00:58:42 +02:00
maxDorninger
dc981b7d21 hotfix: make delimiter 2 underscores instead of one for env variables 2025-07-11 18:58:58 +02:00
maxDorninger
661e31eb50 update tests 2025-07-11 13:35:38 +02:00
maxDorninger
4cae93abeb refine toml.config and add back default value for host 2025-07-11 11:19:59 +02:00
maxDorninger
8f7c1035c0 remove instantiation calls from settings models 2025-07-11 00:56:04 +02:00
maxDorninger
9db9c85fc6 make all var names lower case and fix circular imports 2025-07-11 00:47:29 +02:00
maxDorninger
9173c3ad83 format files 2025-07-10 23:54:24 +02:00
maxDorninger
d986f91e5e modify notification module config 2025-07-10 23:48:29 +02:00
maxDorninger
8a89a24f25 remove unused usenet_directory var and fix types of the configs 2025-07-10 22:33:44 +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
ce44a26aa6 fix formatting 2025-07-10 18:14:07 +02:00
maxDorninger
2b92ff1c13 fix sabnzbd 2025-07-10 18:11:28 +02:00
Maximilian Dorninger
8e5e069263 Merge branch 'master' into add-usenet-support 2025-07-10 01:44:12 +02:00
maxDorninger
ee9575bb2b format files 2025-07-10 01:31:48 +02:00
maxDorninger
5935fbb584 fix switch up of True and False 2025-07-10 01:15:20 +02:00