Commit Graph

1124 Commits

Author SHA1 Message Date
Marcel Hellwig
acd883df21 ruff: enable PIE lint
this just removes needless pass or ...
2026-01-05 19:30:42 +01:00
Marcel Hellwig
f2141ca8b8 ruff: enable PERF lint
this complains a lot about using manual append where a list
comprehension would be more suitable
2026-01-05 19:30:42 +01:00
Marcel Hellwig
7182344036 create list from range directly instead of using append 2026-01-05 19:30:42 +01:00
Marcel Hellwig
a34b0f11a6 use single s since we're ignoring cases anyway 2026-01-05 19:30:42 +01:00
Marcel Hellwig
40812c6040 omit return_type in computed field
it's calculated from the functions return type, so there's no need to
specifify it
2026-01-05 19:30:42 +01:00
Marcel Hellwig
29476e2008 ruff: enable INT and N lint
this renames some files to use snake_case and add Error suffix to custom
exceptions
2026-01-05 19:30:42 +01:00
Marcel Hellwig
29a0d8fe5d ruff: add INP lint
this checks for missing __init__.py files, there was one :)
2026-01-05 19:30:42 +01:00
Marcel Hellwig
55b2dd63d8 ruff: add ARG linter
this mostly either removes unused parameters, prefixes them with an
underscore or uses the @override decorator to tell the linter, that that
method comes from a superclass and can't be changed
2026-01-05 19:30:42 +01:00
Marcel Hellwig
6e46b482cb ruff: enable A lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
7824828bea ruff: enable T20 lint
and remove a print hello world :)
2026-01-05 19:30:42 +01:00
Marcel Hellwig
5368cad77a ruff: add S linter
this mostly adds a timeout=60 to all requests

this does mainly wants a timeout to all requests functions, since when
left out they hang infinitly.
I added a timeout of 60s, which is probably way too high, but since
before this there was none, I guess it's an improvement?
2026-01-05 19:30:42 +01:00
Marcel Hellwig
1857cf501c ruff: enable RUF lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
a7bb5e1e04 Make proper use of function overloading
In preparation of the RUFF lint, I rewrote the function to use
typing.overload.
This is the proper way to accept either two arguments or one argument
2026-01-05 19:30:42 +01:00
Marcel Hellwig
ff013ac76e ruff: enable I lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
42502c93fc ruff: enable ISC lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
eac58d2843 ruff: enable FAST lint
this mostly is replacing the response_model attribute with a return type
of that function since that's the more idiomatic way to do
2026-01-05 19:30:42 +01:00
Marcel Hellwig
97cb3b5c1e ruff: enable EM lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
7ef4e52c81 ruff: enable C4 lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
2c36adfd75 ruff: Enable B lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
0f272052b3 ruff: enable lints that do not complain right now 2026-01-05 19:30:42 +01:00
Marcel Hellwig
0b4b84a4aa add ruff as dev-dependency
since it is mentioned in the development doc, it makes sense to install
it as such
2026-01-05 19:30:34 +01:00
Marcel Hellwig
9ff2dc4b92 rewrite downlaod_post_image function
this now uses the proper functions instead of handling with strings
2026-01-05 19:30:00 +01:00
Marcel Hellwig
593e1828cc remove pillow-avif package
it is possible since 11.3 to use avif in the main pillow package,
therefore the avif package is no longer needed

https://github.com/python-pillow/Pillow/pull/5201#issuecomment-3023668716
2026-01-05 19:29:52 +01:00
Maximilian Dorninger
1b2d99922c Switch to quay and add docker image documentation (#356)
This PR changes all mentions of GHCR to Quay, adds docs about the
registries MM is available on, adds docs about the available docker
image tags, and adds the GHCR permission issue to the troubleshooting
page.
2026-01-05 17:14:32 +01:00
Maximilian Dorninger
e647c99722 Add Contributor Covenant Code of Conduct (#355)
This document outlines the standards of behavior expected from community
members and the consequences for violations.
2026-01-05 13:00:42 +01:00
Maximilian Dorninger
3cd750b882 fix build workflows (#354)
this PR fixes the build workflows, so the QUAY_ORG environment variable
is populated even when run by a PR from a fork
2026-01-05 11:18:51 +01:00
Maximilian Dorninger
87f10e2508 remove old docs (#353)
removes settings which were removed with the v1.12.0 release
v1.12.1
2026-01-04 23:44:25 +01:00
Maximilian Dorninger
fc691f95bb fix bugs in MovieService
fix some small bugs in MovieService that were caused by the refactor
2026-01-04 23:37:33 +01:00
Maximilian Dorninger
7e334ffbb1 push docker images to quay.io as well (#346)
This PR adjusts the GH Workflows to also push the container images to
quay.io
2026-01-04 22:31:58 +01:00
Maximilian Dorninger
1f12a7cc3b add sponsor @seferino-fernandez (#343)
add sponsor @seferino-fernandez
v1.12.0
2026-01-04 14:47:42 +01:00
Maximilian Dorninger
3ffc28b723 Merge pull request #342 from maxdorninger/maxdorninger-patch-1
Include show year in season search query
2026-01-04 14:35:05 +01:00
Maximilian Dorninger
21495653d2 Include show year in season search query 2026-01-04 14:20:38 +01:00
Maximilian Dorninger
2674d8e018 Merge pull request #339 from maxdorninger/deduplicate-frontend-code
deduplicate code in the download movie/season dialogs
2026-01-03 16:30:20 +01:00
maxid
30ccd0e128 fix torrents title text overflowing 2026-01-03 16:04:38 +01:00
maxid
e6daba279c fix torrents table sorting by always returning a new array 2026-01-03 16:04:21 +01:00
maxid
76d9d47a44 deduplicate code in download movie/season dialogs 2026-01-03 14:54:48 +01:00
Maximilian Dorninger
5caf9169bf Merge pull request #338 from maxdorninger/deduplicate-frontend-code
Organize frontend components into folders
2026-01-03 13:30:01 +01:00
maxid
54b99a67e5 fix import paths 2026-01-03 13:24:25 +01:00
maxid
be3f66c817 move file path suffix components to download dialogs folder 2026-01-03 12:13:42 +01:00
maxid
93711ed1d9 delete unused components 2026-01-03 12:13:13 +01:00
maxid
bd7e9090b2 create torrent components folder 2026-01-03 12:10:24 +01:00
maxid
fc79563be3 create request dialog components folder 2026-01-03 12:08:52 +01:00
maxid
4de6ab9acb create auth components folder 2026-01-03 12:03:33 +01:00
maxid
d9d6f944e8 create nav components folder 2026-01-03 11:56:01 +01:00
maxid
ea30abf1a1 create download dialogs folder 2026-01-03 11:53:29 +01:00
Maximilian Dorninger
6f8e73c90e Merge pull request #334 from hellow554/sort_by_score
allow sorting of torrent search results in web ui
2026-01-02 21:23:11 +01:00
maxid
063072f25c fix: keep column width when no sort is applied 2026-01-02 21:12:45 +01:00
maxid
4ea4275440 change sort indicators to lucid-svelte icons and clean up code 2026-01-02 20:57:40 +01:00
Maximilian Dorninger
d420a2714c Merge pull request #333 from strangeglyph/master
Allow frontend files to be followed through symlinks
2026-01-02 18:00:18 +01:00
maxid
e785b871df add docs 2026-01-02 17:56:05 +01:00