summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeLines
* backend/plugins: Have anchira scraper use parse_dict from scraper utilsWolfgang Müller4 days-11/+2
| | | | | | This cuts down on code duplication and also fixes B023 [1]. [1] https://docs.astral.sh/ruff/rules/function-uses-loop-variable/#function-uses-loop-variable-b023
* backend/lint: Ignore B007Wolfgang Müller4 days-1/+1
| | | | | | | | B007 is "unused-loop-control-variable", which is only enabled by default because an unused variable in a loop statement "can confuse readers". The only couple of places that happens in this codebase is when unpacking os.walk, which really shouldn't be a problem.
* backend/lint: Stop using mutable objects as function argument defaultsWolfgang Müller4 days-3/+12
| | | | See https://docs.astral.sh/ruff/rules/mutable-argument-default/
* backend/lint: Implement pyupgrade suggestionsWolfgang Müller4 days-1/+1
|
* backend/lint: Implement flake8-simplify suggestionsWolfgang Müller4 days-32/+29
|
* backend/lint: Ignore SIM102 and SIM108Wolfgang Müller4 days-0/+2
| | | | | | | | | | | SIM102 is "collapsible-if", which we always follow except a few specific cases where we believe nested ifs are easier to read. Since we'd have to manually ignore all those instances, disable the whole rule instead. SIM108 is "if-else-block-instead-of-if-exp" which suggests the use of the ternary operator instead of an if/else block. We generally dislike how the ternary operator is less readable than a simple if/else block, so we disable this rule.
* backend/scraper: Bind loop variables correctlyWolfgang Müller4 days-2/+2
| | | | | This was uncovered by bugbear, but did not seem to have tripped our test. Fix it anyway.
* backend/lint: Add some more useful lintersWolfgang Müller4 days-2/+12
| | | | These should come in handy in the general case, especially bugbear.
* backend/lint: Fix import formattingWolfgang Müller4 days-17/+37
|
* build/deps: Update ruff to 0.7.3Wolfgang Müller4 days-21/+21
|
* build/deps: Update pillow to 11.0.0Wolfgang Müller4 days-85/+80
|
* build/deps: Update python dependenciesWolfgang Müller4 days-711/+784
|
* build/deps: Lock dependencies at latest versionsWolfgang Müller4 days-42/+42
| | | | | This does not include the update to Svelte 5 which will be made separately in the future.
* build/deps: Update selve-toast to 0.9.6Wolfgang Müller4 days-2/+2
|
* build/deps: Update prettier-plugin-tailwindcss to 0.6.8Wolfgang Müller4 days-5/+9
|
* build/deps: Update date-fns to 4.1.0Wolfgang Müller4 days-5/+5
|
* build/deps: Update npm-check-updates to 17.1.11Wolfgang Müller4 days-3440/+23
|
* build/deps: Update eslintWolfgang Müller4 days-266/+362
|
* build/deps: Update JS dependenciesWolfgang Müller4 days-1480/+1102
|
* release: Version 0.2.00.2.0Wolfgang Müller2024-07-22-6/+20
|
* docs: Use sphinx_issues to link to commitsWolfgang Müller2024-07-22-3/+26
|
* frontend/reader: Allow switching to first or last pageWolfgang Müller2024-07-22-1/+7
|
* frontend/reader: Add simple page indicatorWolfgang Müller2024-07-22-0/+13
|
* build/deps: Update JS dependenciesWolfgang Müller2024-07-22-300/+306
|
* build/deps: Update Python dependenciesWolfgang Müller2024-07-22-49/+49
|
* frontend/reader: Preload the next set of imagesWolfgang Müller2024-07-22-0/+22
|
* frontend/reader: Show loading indicatorsWolfgang Müller2024-07-22-5/+35
| | | | | | Sometimes images may not load fast enough, resulting in the app being seemingly stuck displaying the same sets of images. Use a timeout to detect when images take too long to load and show a spinner instead.
* build/deps: Update Svelecte to 4.2.2Wolfgang Müller2024-07-22-49/+40
| | | | | | | | | | This includes changes to CSS in order to bring the look & feel in line with the previous version as much as possible. We can now remove the warning about TypeScript types (Svelecte 4 now includes them) and retire the clunky handling of pending options. Additionally, the focus issue has been fixed, allowing users to tab through controls without getting stuck.
* build/deps: Update vitest to 2.0.2Wolfgang Müller2024-07-12-286/+107
|
* build/deps: Update JS dependenciesWolfgang Müller2024-07-12-1516/+2090
|
* build/deps: Update strawberry-graphql to 0.235.2Wolfgang Müller2024-07-12-5/+5
|
* build/deps: Update uvicorn to 0.30.1Wolfgang Müller2024-07-12-5/+5
|
* build/deps: Update ruff to 0.5.1Wolfgang Müller2024-07-12-20/+21
|
* build/deps: Update Python dependenciesWolfgang Müller2024-07-12-324/+334
|
* build/deps: Update @iconify/tailwind to 1.0.1Wolfgang Müller2024-05-03-5/+5
|
* build/deps: Update JS dependenciesWolfgang Müller2024-05-03-643/+501
|
* build/deps: Update ruff to 0.4.2Wolfgang Müller2024-05-03-20/+20
|
* build/deps: Update strawberry-graphql to 0.227.3Wolfgang Müller2024-05-03-6/+6
|
* build/deps: Update Python dependenciesWolfgang Müller2024-05-03-204/+206
|
* release: Version 0.1.10.1.1Wolfgang Müller2024-03-31-6/+13
|
* frontend: Have optionsPlaceholder use actual value passedWolfgang Müller2024-03-31-2/+2
| | | | | | A simple oversight that happened to still work. optionsPlaceholder was using 'value' from global scope which can lead to type errors because the check for undefined or null does not limit its type.
* frontend: Simplify types in Select.svelteWolfgang Müller2024-03-31-1/+2
| | | | Use an intermediary Item type that we can put in a union.
* frontend: Use @ts-expect error instead of @ts-ignoreWolfgang Müller2024-03-31-2/+1
|
* build/deps: Update JS dependenciesWolfgang Müller2024-03-31-207/+270
|
* build/deps: Update strawberry-graphql to 0.224.1Wolfgang Müller2024-03-31-6/+6
|
* build/deps: Update pytest-cov to 5.0.0Wolfgang Müller2024-03-31-7/+7
|
* build/deps: Update Python dependenciesWolfgang Müller2024-03-31-72/+72
|
* backend: Report Archive size as floatWolfgang Müller2024-03-25-3/+3
| | | | | | | | | GraphQL integers are 32-bit as per spec [1] [2]. Implementations may therefore error on large numbers. Since an archive's size can reasonably exceed this value, make sure to report it as a float instead. [1] https://graphql.org/learn/schema/ [2] https://github.com/graphql/graphql-js/issues/292#issuecomment-186702763
* build/deps: Update JS dependenciesWolfgang Müller2024-03-21-565/+502
|
* build/deps: Update Python dependenciesWolfgang Müller2024-03-21-117/+130
| | | | | | | Update all Python dependencies to their latest compatible versions. Additionally, update strawberry-graphql to 0.220.0 and uvicorn to 0.29.0.