Commit Graph

1124 Commits

Author SHA1 Message Date
maxDorninger
606109d629 stop saving of docker build cache when run by PRs from forks and build x86 and arm64 image in parallel 2025-11-29 16:57:23 +01:00
Maximilian Dorninger
cc9fecc09a Merge pull request #211 from colinmarc/basepath
improve ergonomics of `BASE_PATH`
2025-11-29 16:26:51 +01:00
Maximilian Dorninger
a85cf9f8af Clarify frontend_url trailing slash requirement
Update documentation to specify that the frontend URL must not include a trailing slash.
2025-11-29 16:26:24 +01:00
Maximilian Dorninger
85738a13e6 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-29 16:09:53 +01:00
maxDorninger
bb5c61ac79 remove /web prefix from the frontend_url variable 2025-11-29 15:54:01 +01:00
maxDorninger
9b0fac3a8b improve format of documentation 2025-11-29 15:52:29 +01:00
Maximilian Dorninger
af13c0eb59 Revert changes to redirect URLs in main.py
The BASE_PATH is already configured when the FastAPI object is created.
2025-11-29 15:32:08 +01:00
Colin Marc
e62f6d4511 docs: clarify usage of frontend_url and BASE_PATH
I initially thought that `frontend_url` would control the prefix. The
docs on `BASE_PATH` weren't enough to get started, either.
2025-11-17 15:11:18 +01:00
Colin Marc
31a23dd781 fix: redirect correctly when using a base path
FastAPI doesn't automatically do this for you.
2025-11-17 14:53:20 +01:00
Maximilian Dorninger
4ea70a4f2e Merge pull request #199 from maxdorninger/rework-metadata-relay
remove valkey caching functionality from metadata relay
v1.9.1
2025-11-02 21:53:51 +01:00
maxDorninger
252f8c2f65 remove valkey caching functionality from metadata relay in favour of caching by a cdn like cloudflare 2025-11-02 21:24:41 +01:00
Maximilian Dorninger
f9bceffa18 Merge pull request #198 from maxdorninger/fix-faulty-gh-workflow
fix the gh container build workflows
2025-11-02 20:55:52 +01:00
Maximilian Dorninger
5871400986 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-02 20:53:50 +01:00
Maximilian Dorninger
a741baded5 Add step to set repository name to lowercase 2025-11-02 20:53:20 +01:00
maxDorninger
c38995579c fix the gh container build workflows 2025-11-02 20:44:19 +01:00
Maximilian Dorninger
ecdfc38470 Merge pull request #197 from maxdorninger/improve-file-logging
update logfile config and add env var to configure logfile location
2025-11-02 20:37:12 +01:00
maxDorninger
e8563b25e2 extend .gitignore; update logfile config and add env var to configure the location of the log file; add accompanying docs 2025-11-02 20:31:12 +01:00
Maximilian Dorninger
70ac88b2c2 Merge pull request #195 from maxdorninger/improve-container-startup-behaviour
Improve container startup behaviour and DB handling
2025-11-02 15:16:33 +01:00
Maximilian Dorninger
ea8c72ed8e Merge branch 'master' into improve-container-startup-behaviour 2025-11-02 14:29:57 +01:00
maxDorninger
780edf1aff update startup script to properly create a development mode variable 2025-11-02 14:19:26 +01:00
maxDorninger
b89320f25d prevent circular imports 2025-11-02 14:19:01 +01:00
Maximilian Dorninger
bc59eac490 remove log related to the removed init_db call in media_manager/main.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-02 13:41:17 +01:00
Maximilian Dorninger
92fdac1f7f Merge pull request #194 from JasperJuergensen/193-build-database-url
Build database URL using sqlalchemy URL create instead of string concatination
2025-11-02 13:23:35 +01:00
maxDorninger
a5c55cc591 remove database initialization function which conflicts with alembic 2025-11-02 13:22:07 +01:00
Jasper Jürgensen
45fc771c16 Build database URL using sqlalchemy URL create
String concatination can cause issues with special characters and can be
a risk for URL parameter injection.

fixes https://github.com/maxdorninger/MediaManager/issues/193
2025-11-02 12:20:35 +01:00
maxDorninger
faee405c8d improve startup script error handling 2025-11-02 11:56:24 +01:00
maxDorninger
2f35cebce3 add health check dependency for database service in docker-compose files 2025-11-02 11:49:22 +01:00
maxDorninger
8e9947652d add new sponsors 2025-11-01 20:42:02 +01:00
Maximilian Dorninger
9932331123 Merge pull request #184 from tylersatre/master
Improve local development experience
2025-11-01 19:16:33 +01:00
Maximilian Dorninger
910b49a66d Merge pull request #187 from maxdorninger/improve-github-workflows
Improve GitHub workflows
2025-11-01 19:16:16 +01:00
Maximilian Dorninger
c68462396b Remove unneeded docker image tags
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-01 19:15:06 +01:00
Maximilian Dorninger
568eaa88fe wrap version variable to prevent script injection
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-01 18:58:53 +01:00
maxDorninger
e2f3cfd173 only tag docker images as latest when they are created as part of a release; replace the hash value in the dev tag with the current date and the workflow run number; fix bug which would cause the build-and-push step to run even though the lint-backend-step failed 2025-11-01 18:41:31 +01:00
maxDorninger
221a4c3506 only push docker images and docs when a pr does not come from a fork 2025-11-01 16:29:05 +01:00
maxDorninger
8a04a7aa41 reformat docs for consistency 2025-11-01 13:28:20 +01:00
Tyler Satre
c71ba85c1c Merge branch 'master' of github.com:maxdorninger/MediaManager 2025-10-31 12:20:24 -04:00
Tyler Satre
106190d7ac Improve local dev experience 2025-10-31 12:19:23 -04:00
Maximilian Dorninger
32aae83875 Remove roadmap section from README
Removed the roadmap section detailing planned features and improvements.
2025-10-31 11:35:55 +01:00
Maximilian Dorninger
7c7c1b90ea Merge pull request #173 from maxdorninger/multithread-indexer-module
Speedup torrent searching and disable useless logs
v1.9.0
2025-10-30 19:00:35 +01:00
maxDorninger
8346ed9fa5 add config option to accept/reject torrents from prowlarr with a possibly broken url 2025-10-30 18:20:57 +01:00
maxDorninger
571dcd1cf8 rework follow_redirects_to_final_torrent_url(); prevent infinite, or at least very long, loops by setting a max redirect count of 10 2025-10-30 18:05:52 +01:00
maxDorninger
d460bc10c8 improve prowlarr logging 2025-10-30 18:04:47 +01:00
maxDorninger
68bb500fe7 increase max connections of requests.Session() from 10 to 100 2025-10-30 17:48:43 +01:00
maxDorninger
724d358107 deactivate transmission logs 2025-10-30 17:47:58 +01:00
Maximilian Dorninger
aabfe24063 Merge pull request #171 from maxdorninger/rework-torrent-handling
Add ability to manually mark torrent as imported and speed up eslint
2025-10-30 16:36:38 +01:00
Maximilian Dorninger
855385b097 Apply suggestion from @Copilot
raise exception rather than return it and fix var name switch up

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 16:25:44 +01:00
maxDorninger
bbebbe92d9 format schemas.py 2025-10-30 16:20:20 +01:00
maxDorninger
790eca9858 speed up torrent searching by multithreading it and using the same requests session everywhere 2025-10-30 16:20:06 +01:00
maxDorninger
6f4423e501 disable useless logs 2025-10-30 16:17:49 +01:00
maxDorninger
079ac1b130 enable concurrency of eslint linting 2025-10-29 17:30:15 +01:00