1313 Commits

Author SHA1 Message Date
pushrbx
e6a969402d improved CORS support 2023-05-21 16:10:21 +01:00
pushrbx
8917cda52c updated container usage documentation 2023-05-21 11:18:35 +01:00
pushrbx
4378679154 updated container usage documentation 2023-05-21 11:18:35 +01:00
pushrbx
3c67fd326b updated container usage documentation 2023-05-21 11:18:35 +01:00
pushrbx
dc9b234f19 improved full-text search
- added support for typesense 0.24.1
- fixed issue where empty `filter_by` field being sent to typesense which resulted in an error
- added infix indexing for title fields in case of Anime/Manga
- added more env vars for customising typesense search
- upgraded typesense driver
2023-05-21 11:18:35 +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
61af2e0420 fixed the load of failed entries in indexers 2023-05-21 11:18:35 +01:00
pushrbx
6732de1188 refactoring and code cleanup 2023-05-21 11:18:35 +01:00
Irfan
a637e697e1 Update SerializerFactory.php 2023-05-21 11:18:35 +01:00
Irfan
ec5f091687 move open api docs params to respective DTO files 2023-05-21 11:18:35 +01:00
Irfan
55229901ab fixes order_by not working when a query is passed via typesense 2023-05-21 11:18:35 +01:00
Irfan
2b67dc0d26 update docs 2023-05-21 11:18:35 +01:00
Irfan
ab1e496c0f fix docs 2023-05-21 11:18:35 +01:00
Irfan
12322b6e9a update random anime/manga, adds unapproved, minor refactor 2023-05-21 11:18:35 +01:00
Irfan
615a1613c6 update exceptItemsWithAdultRating 2023-05-21 11:18:34 +01:00
Irfan
1c74e29c04 getRouteName: fixes crash when there's no route 2023-05-21 11:18:34 +01:00
Irfan
d5f3b0904d adds unapproved, kids, sfw to remaining seasons, schedules endpoints 2023-05-21 11:18:34 +01:00
Irfan
6d5930fbc0 adds unapproved filter #369 2023-05-21 11:18:34 +01:00
Irfan
1b69c3fe96 fixes sfw, makes kids reusable ands adds it to seasonal 2023-05-21 11:18:34 +01:00
Irfan
3be6ed7bd7 fixes sfw parameter for getCurrentlyAiring 2023-05-21 11:18:34 +01:00
Irfan
d8ec3e2990 deletes empty userlistquerybuilder file 2023-05-21 11:18:34 +01:00
Irfan
88c3201874 update logging config [adds .env values] 2023-05-21 11:18:34 +01:00
Irfan
c3f1556d25 Update DefaultMangaRepository.php 2023-05-21 11:18:34 +01:00
Irfan
de6bd8e440 updates sfw policy for anime/manga #218 2023-05-21 11:18:34 +01:00
Irfan
b179201b92 misc. updates 2023-05-21 11:18:34 +01:00
Irfan
b5f76c0ec8 update jikan parser 2023-05-21 11:18:34 +01:00
Irfan
be53d2ea7f fixes default order_by (i.e mal_id) of searchable resources 2023-05-21 11:18:34 +01:00
Irfan
fe2b5869db fixes random person API call 2023-05-21 11:18:34 +01:00
Irfan
9df3ae0d05 user search: fixes passing gender resulting in error 2023-05-21 11:18:34 +01:00
Irfan
3dc25a35c0 add Producers to scout flush 2023-05-21 11:18:34 +01:00
pushrbx
ce33a523dc updated test docs 2023-05-21 11:18:34 +01:00
pushrbx
91c0421ee2 added tests for "type" parameter of search endpoints 2023-05-21 11:18:34 +01:00
pushrbx
d432db77a9 added missing parameters for search endpoint 2023-05-21 11:18:34 +01:00
pushrbx
b9a6aa2731 fixed a bug with handling empty q query string parameter in case of searches 2023-05-21 11:18:34 +01:00
pushrbx
cfdc99fe2d improved search results in typesense for anime,manga 2023-05-21 11:18:34 +01:00
pushrbx
1cd58fb964 added type checks when retrieving the year attribute of anime items 2023-05-21 11:18:34 +01:00
pushrbx
431a2fb8f1 fixed scheduler issues when running anime/manga cleanups 2023-05-21 11:18:34 +01:00
pushrbx
9bc2e14d44 fixed an issue with the PSR-7 context
- the search filters were not emptied between requests resulting in wrong search results when searching anime/manga
2023-05-21 11:18:34 +01:00
pushrbx
21958f15b6 reduced container image size 4gb -> 1gb 2023-05-21 11:18:34 +01:00
pushrbx
a8f56d6d70 changed container image to only use php8.1 2023-05-21 11:18:31 +01:00
pushrbx
9cc0878bbe Update container-base-image-release.yml 2023-05-21 11:18:03 +01:00
pushrbx
5e55dd7887 added more tests and improved api docs 2023-05-21 11:18:03 +01:00
pushrbx
9932f69cd2 fixed an issue with broadcast value in anime model 2023-05-21 11:18:03 +01:00
pushrbx
331d5e821b added more unit tests and configured test coverage discovery 2023-05-21 11:18:03 +01:00
pushrbx
75e04c72da pinned pushrbx/lumen-roadrunner version 2023-05-21 11:18:03 +01:00
pushrbx
2872cecf7e fixed namespaces in tests 2023-05-21 11:18:02 +01:00
pushrbx
b35f37a0a9 changed inserting method into the database
- this should be changed back later on once we finalised the fillable/guard fields on model classes.
2023-05-21 11:18:02 +01:00
pushrbx
35ffd32e27 fixed an issue in lumen-roadrunner package which prevented route resolution 2023-05-21 11:18:02 +01:00
pushrbx
75421ab5f5 improved debugging experience in roadrunner 2023-05-21 11:18:02 +01:00
pushrbx
d171f29bc9 fixed bugs introduced by the new system 2023-05-21 11:18:02 +01:00