summaryrefslogtreecommitdiffstatshomepage
path: root/tests/api (follow)
Commit message (Collapse)AuthorAgeLines
* Add filter for association countsWolfgang Müller3 days-23/+76
| | | | | | | | | | | | | | | This will replace the old 'empty' filter on comic associations and introduce a generic way of matching against association counts, along with support for different operators like 'greater than' or 'lower than'. Models that did not previously have a way of matching against their associates (like filtering for Artists that have N comics associated with them) now gain that functionality. For now the frontend keeps the simpler approach of allowing the user to only filter for empty associations, but we nonetheless need to adjust the 'empty' field to instead be linked to the new 'count' field.
* backend: Add basic statistics query endpointWolfgang Müller2025-01-19-0/+106
| | | | | | For now we simply collect totals for all scrapers, models, and comic associations. These should be sufficient to compile some basic but still interesting statistics.
* backend/lint: Do not shadow certain builtinsWolfgang Müller2024-11-15-8/+8
| | | | | | | | | | | | This commit enables ruff's flake8-builtin linter that emits warnings when builtin functions are shadowed. This is useful for builtins like "dict", "list", or "str" which we use often. Given the nature of this program we historically rely a lot on the usage of "id", "hash", and "filter" as variable names which also shadow Python builtins. For now let's ignore those, we have not used any of them in our code and the impact to the codebase would be considerable. This might be revisited in the future.
* backend/lint: Format overlong lineWolfgang Müller2024-11-14-1/+3
|
* backend/lint: Implement flake8-simplify suggestionsWolfgang Müller2024-11-14-1/+1
|
* backend/lint: Fix import formattingWolfgang Müller2024-11-14-12/+27
|
* Initial commit0.1.0Wolfgang Müller2024-03-05-0/+5371