8 Commits

Author SHA1 Message Date
pushrbx
4a122b9a2f
fixed a bug around season endpoints
- added a new parameter: "continuing"
- continuing items from previous seasons are now excluded by default
- should fix #521
2024-06-20 18:03:46 +01:00
Irfan
657510bf9f review: changes 2023-10-24 09:27:35 +05:00
Irfan
8d67c115d7 bugfix: only allow results that are within specified season/year and nulls 2023-10-21 09:45:51 +05:00
pushrbx
6eff2af172 various fixes and refactorings
- genre filtering
- added unapproved filtering
- fixed sfw filtering
- fixed kids filtering
- fixed deprecation warnings as of php 8.1
  - DateTime ctor can't take `null` anymore as first param
  - preg_replace doesn't accept `null` values as `$subject`
- fixed failed items indexer (the --failed option of indexers) -- it didn't load the correct file making it impossible to retry the indexing
- changed the document schema for search indexed anime/manga
  - added `approved` field to them
  - staging will require a reimport into TypeSense
- the central filtering system will now process `sfw` and `unapproved` filters, so they will be applied implicitly through the `filter` model scope method.
2023-05-21 11:18:35 +01:00
pushrbx
6732de1188 refactoring and code cleanup 2023-05-21 11:18:35 +01:00
pushrbx
9b5b5aad1e fixed more problems 2023-05-21 11:14:35 +01:00
pushrbx
525ac030f3 refactored anime season endpoint handlers 2023-05-21 11:14:35 +01:00
pushrbx
37c273fbab wip - anime season controller refactor, central limit parameter validation
- fixed cache validation
2023-05-21 11:14:35 +01:00