Marcel Hellwig
96b84d45db
Adding some more new lints ( #393 )
...
Enable `UP` and `TRY` lint
2026-02-01 18:04:15 +01:00
Marcel Hellwig
311e625eee
two hotfixes ( #392 )
...
this prevents the app from running correctly
2026-02-01 17:42:15 +01:00
Maximilian Dorninger
a39e0d204a
Ruff enable type annotations rule ( #362 )
...
This PR enables the ruff rule for return type annotations (ANN), and
adds the ty package for type checking.
2026-01-06 17:07:19 +01:00
Marcel Hellwig
75406cbc64
ruff: add RET lint
...
lints about assign and immediatly returning a variable
2026-01-05 19:30:42 +01:00
Marcel Hellwig
acd883df21
ruff: enable PIE lint
...
this just removes needless pass or ...
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
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
ff013ac76e
ruff: enable I lint
2026-01-05 19:30:42 +01:00
maxid
40130c6a37
refactor: rename AllEncompassingConfig to MediaManagerConfig
2025-12-29 23:38:17 +01:00
maxid
1f60db20f3
fix bug where extra slash is appended to the frontend_url, causing oauth to not work
2025-12-07 00:29:17 +01:00
maxDorninger
bb5c61ac79
remove /web prefix from the frontend_url variable
2025-11-29 15:54:01 +01:00
maxDorninger
b89320f25d
prevent circular imports
2025-11-02 14:19:01 +01:00
maxDorninger
8053867db3
update how oauth is handled in the backend, in order for the api docs to always include the oauth endpoints
2025-10-29 14:23:25 +01:00
maxDorninger
bebd55a211
remove changes dict from logging message
2025-09-13 22:00:04 +02:00
maxDorninger
ed6271ab35
update default email to admin@example.com
2025-09-13 21:57:04 +02:00
maxDorninger
ec2897b134
fix get_openid_router function by switching to the correct get_user_manager function
2025-09-13 20:33: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
1f544e55e8
add support for multiple oauth providers
2025-09-04 20:05:45 +02:00
maxDorninger
c773bf41b6
keep users who change their email verified status
2025-07-29 16:20:11 +02:00
maxDorninger
0df004df6f
fix and move create default user function to auth.users
2025-07-18 13:45:51 +02:00
wjbeckett
0158ac1040
fix: Add default values to config classes to resolve test validation errors
...
- Add default instances to all nested config classes (TorrentConfig, NotificationConfig, IndexerConfig, MetadataProviderConfig, AuthConfig)
- Add default values to AllEncompassingConfig fields to prevent validation errors during testing
- Update GitHub workflow to copy config.example.toml before running tests
- Ensures tests can run without requiring complete configuration files while maintaining production functionality
Fixes test collection errors where pydantic validation failed due to missing required config sections.
2025-07-18 16:56:19 +10: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
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
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
7fce31772f
increase max refresh token length to 4096
2025-07-06 10:57:25 +02:00
maxDorninger
5364c73377
increase max access token length to 4096
2025-07-06 10:52:58 +02:00
maxDorninger
efc3846860
format files
2025-07-01 16:03:17 +02:00
maxDorninger
179dec0a7a
add notificaton service providers (email, ntfy.sh, gotify and pushover)
2025-07-01 15:09:03 +02:00
maxDorninger
61705511b5
format files
2025-06-29 17:31:22 +02:00
maxDorninger
d2756bcafa
updating docs regarding trailing slashes in urls in env vars
2025-06-29 16:31:16 +02:00
maxDorninger
83521a36ff
add feature: password resets via email
2025-06-29 16:26:01 +02:00
maxDorninger
cc5e9837ec
add default values to config and fix import in tv/service
2025-06-07 15:49:41 +02:00
maxDorninger
231c36efe0
run linter and formatter
2025-06-07 13:29:48 +02:00
maxDorninger
31874aeb31
update admin email configuration to support multiple addresses and update documentation
2025-06-01 19:30:56 +02:00
maxDorninger
3ec45c5f0a
format code
2025-05-31 14:40:33 +02:00
maxDorninger
910b4e6448
fix: modifying fastapi-users to always request openid, profile and email scopes
2025-05-30 19:54:28 +02:00
maxDorninger
e6a58d07a0
fix: trying to add the required scopes
2025-05-30 19:12:08 +02:00
maxDorninger
09beb16a1a
refactor: rename OAuth2 variables to OpenID for clarity
2025-05-30 18:50:50 +02:00
maxDorninger
d2034d605e
refactor: switch OAuth2 to OpenID and update related configurations
2025-05-30 18:41:06 +02:00
maxDorninger
464e1eb8c7
fix: add base scopes for OAuth2 configuration
2025-05-30 18:07:31 +02:00
maxDorninger
6150080ac7
refactor: update API URL handling for client and server environments
2025-05-30 12:14:24 +02:00
maxDorninger
88c72e3303
switch to uv and remove old logo.svg
2025-05-29 22:33:13 +02:00
maxDorninger
206df8b150
refactor: change folder structure
2025-05-29 15:36:35 +02:00