9 Commits

Author SHA1 Message Date
pushrbx
10d25cc022 refactorings 2023-06-28 16:43:11 +01:00
pushrbx
dd624d6872 added improvements for search
- better typesense 0.24.1 support
- exhaustive search disabled by default
- central place for the MAX_RESULTS_PER_PAGE option
- added class for getting searchable attributes of models in typesense
2023-06-27 14:45:38 +01: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
5e922f7cd9 fixed tests part1 2023-05-21 11:14:35 +01:00
pushrbx
4a25c30d7d refactored user endpoints and cache ttl config 2023-05-21 11:14:35 +01:00
pushrbx
413df48fdc fixed issues and added route params mapper 2023-05-21 11:14:35 +01:00
pushrbx
49ebc8f581 wip - mediator refactor
- anime schedules - validation and corrections
- refactorings around "augmentResponse" - macro usage instead
2023-05-21 11:14:34 +01:00
pushrbx
69d66378be added scraper service and rewritten anime controller 2023-05-21 11:14:34 +01:00
pushrbx
a145f18bbd wip - major refactor
- AppServiceProvider is needs more work to wire in new services
- todo: more dtos
- todo: add unit tests
- todo: add more integration tests
2023-05-21 11:14:34 +01:00