Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | backend/lint: Ignore B027 in api/inputs.py | Wolfgang Müller | 4 days | -1/+1 |
| | | | | | | | Even though our base class here is abstract, this method is not, so we can ignore B027 [1]. [1] https://docs.astral.sh/ruff/rules/empty-method-without-abstract-decorator/ | |||
* | backend/lint: Properly chain exceptions | Wolfgang Müller | 4 days | -6/+6 |
| | | | | | | This fixes flake8-bugbear's B904 [1]. [1] https://docs.astral.sh/ruff/rules/raise-without-from-inside-except/ | |||
* | backend/plugins: Have anchira scraper use parse_dict from scraper utils | Wolfgang Müller | 4 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 B007 | Wolfgang Müller | 4 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 defaults | Wolfgang Müller | 4 days | -3/+12 |
| | | | | See https://docs.astral.sh/ruff/rules/mutable-argument-default/ | |||
* | backend/lint: Implement pyupgrade suggestions | Wolfgang Müller | 4 days | -1/+1 |
| | ||||
* | backend/lint: Implement flake8-simplify suggestions | Wolfgang Müller | 4 days | -32/+29 |
| | ||||
* | backend/lint: Ignore SIM102 and SIM108 | Wolfgang Müller | 4 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 correctly | Wolfgang Müller | 4 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 linters | Wolfgang Müller | 4 days | -2/+12 |
| | | | | These should come in handy in the general case, especially bugbear. | |||
* | backend/lint: Fix import formatting | Wolfgang Müller | 4 days | -17/+37 |
| | ||||
* | build/deps: Update ruff to 0.7.3 | Wolfgang Müller | 4 days | -21/+21 |
| | ||||
* | build/deps: Update pillow to 11.0.0 | Wolfgang Müller | 4 days | -85/+80 |
| | ||||
* | build/deps: Update python dependencies | Wolfgang Müller | 4 days | -711/+784 |
| | ||||
* | build/deps: Lock dependencies at latest versions | Wolfgang Müller | 4 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.6 | Wolfgang Müller | 4 days | -2/+2 |
| | ||||
* | build/deps: Update prettier-plugin-tailwindcss to 0.6.8 | Wolfgang Müller | 4 days | -5/+9 |
| | ||||
* | build/deps: Update date-fns to 4.1.0 | Wolfgang Müller | 4 days | -5/+5 |
| | ||||
* | build/deps: Update npm-check-updates to 17.1.11 | Wolfgang Müller | 4 days | -3440/+23 |
| | ||||
* | build/deps: Update eslint | Wolfgang Müller | 4 days | -266/+362 |
| | ||||
* | build/deps: Update JS dependencies | Wolfgang Müller | 4 days | -1480/+1102 |
| | ||||
* | release: Version 0.2.00.2.0 | Wolfgang Müller | 2024-07-22 | -6/+20 |
| | ||||
* | docs: Use sphinx_issues to link to commits | Wolfgang Müller | 2024-07-22 | -3/+26 |
| | ||||
* | frontend/reader: Allow switching to first or last page | Wolfgang Müller | 2024-07-22 | -1/+7 |
| | ||||
* | frontend/reader: Add simple page indicator | Wolfgang Müller | 2024-07-22 | -0/+13 |
| | ||||
* | build/deps: Update JS dependencies | Wolfgang Müller | 2024-07-22 | -300/+306 |
| | ||||
* | build/deps: Update Python dependencies | Wolfgang Müller | 2024-07-22 | -49/+49 |
| | ||||
* | frontend/reader: Preload the next set of images | Wolfgang Müller | 2024-07-22 | -0/+22 |
| | ||||
* | frontend/reader: Show loading indicators | Wolfgang Müller | 2024-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.2 | Wolfgang Müller | 2024-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.2 | Wolfgang Müller | 2024-07-12 | -286/+107 |
| | ||||
* | build/deps: Update JS dependencies | Wolfgang Müller | 2024-07-12 | -1516/+2090 |
| | ||||
* | build/deps: Update strawberry-graphql to 0.235.2 | Wolfgang Müller | 2024-07-12 | -5/+5 |
| | ||||
* | build/deps: Update uvicorn to 0.30.1 | Wolfgang Müller | 2024-07-12 | -5/+5 |
| | ||||
* | build/deps: Update ruff to 0.5.1 | Wolfgang Müller | 2024-07-12 | -20/+21 |
| | ||||
* | build/deps: Update Python dependencies | Wolfgang Müller | 2024-07-12 | -324/+334 |
| | ||||
* | build/deps: Update @iconify/tailwind to 1.0.1 | Wolfgang Müller | 2024-05-03 | -5/+5 |
| | ||||
* | build/deps: Update JS dependencies | Wolfgang Müller | 2024-05-03 | -643/+501 |
| | ||||
* | build/deps: Update ruff to 0.4.2 | Wolfgang Müller | 2024-05-03 | -20/+20 |
| | ||||
* | build/deps: Update strawberry-graphql to 0.227.3 | Wolfgang Müller | 2024-05-03 | -6/+6 |
| | ||||
* | build/deps: Update Python dependencies | Wolfgang Müller | 2024-05-03 | -204/+206 |
| | ||||
* | release: Version 0.1.10.1.1 | Wolfgang Müller | 2024-03-31 | -6/+13 |
| | ||||
* | frontend: Have optionsPlaceholder use actual value passed | Wolfgang Müller | 2024-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.svelte | Wolfgang Müller | 2024-03-31 | -1/+2 |
| | | | | Use an intermediary Item type that we can put in a union. | |||
* | frontend: Use @ts-expect error instead of @ts-ignore | Wolfgang Müller | 2024-03-31 | -2/+1 |
| | ||||
* | build/deps: Update JS dependencies | Wolfgang Müller | 2024-03-31 | -207/+270 |
| | ||||
* | build/deps: Update strawberry-graphql to 0.224.1 | Wolfgang Müller | 2024-03-31 | -6/+6 |
| | ||||
* | build/deps: Update pytest-cov to 5.0.0 | Wolfgang Müller | 2024-03-31 | -7/+7 |
| | ||||
* | build/deps: Update Python dependencies | Wolfgang Müller | 2024-03-31 | -72/+72 |
| | ||||
* | backend: Report Archive size as float | Wolfgang Müller | 2024-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 |