Commit Graph

12 Commits

Author SHA1 Message Date
Michael Manganiello
d216bad78b misc: Add MetadataHandler's is_enabled method
Convert `MetadataHandler` to an abstract base class and add an
`is_enabled` class method that allows every metadata handler to
independently report whether it is enabled based on its configuration.

This avoids the need for global variables in the config module, allowing
us to change the enabled state of a metadata handler at runtime if
needed.
2025-09-03 22:13:28 -03:00
Georges-Antoine Assi
1955da78f2 finish all the handlers 2025-07-24 17:05:39 -04:00
Georges-Antoine Assi
8a76528815 finish translating keys 2025-07-24 16:09:49 -04:00
Georges-Antoine Assi
b431aa4d7e manual fixes 2025-07-24 15:43:03 -04:00
Georges-Antoine Assi
39e6fd3579 use ups keys for all lists 2025-07-24 15:30:03 -04:00
Georges-Antoine Assi
595c52bcab Unify singular slugs 2025-07-23 21:52:52 -04:00
Georges-Antoine Assi
2b7f80d9bc always load tsgdb id 2025-07-13 15:05:31 -04:00
Georges-Antoine Assi
60bbfc9b93 return if disabled 2025-06-17 19:01:18 -04:00
Georges-Antoine Assi
0206bf5b53 remove fetching platforms 2025-06-17 18:55:10 -04:00
Georges-Antoine Assi
1a6654e436 add env var 2025-06-17 18:47:30 -04:00
Georges-Antoine Assi
822c7cc659 populate platform data 2025-06-17 18:31:08 -04:00
Georges-Antoine Assi
be5678da08 setup platforms for tgdb 2025-06-17 17:04:14 -04:00