1336 Commits

Author SHA1 Message Date
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
d614a663f3
Merge pull request #408 from pushrbx/hotfixes-1
Various hot fixes
2023-06-27 12:31:53 +01:00
pushrbx
f5afef06c1
Merge pull request #410 from pushrbx/hotfix/387
Fixed #387
2023-06-27 12:30:40 +01:00
pushrbx
36d94360c7 fixed #387 2023-06-26 19:23:50 +01:00
pushrbx
496b9e6671 added missing filter method to Manga model 2023-06-25 14:37:39 +01:00
pushrbx
d620557015 fixed typo 2023-06-25 14:37:21 +01:00
pushrbx
279cd352c5 fixed a runtime error 2023-06-25 14:00:44 +01:00
pushrbx
119fc6cd04 fixed #388 2023-06-25 13:46:49 +01:00
pushrbx
4f0241f397 fixed #406 2023-06-25 13:45:50 +01:00
Irfan
58491e2150 fixes #397 2023-06-15 05:08:05 +05:00
Irfan
463fb0e2cc
Merge pull request #398 from Chris-Peterson444/jikanpy-update
Update README.MD
2023-06-14 05:44:43 +05:00
Chris Peterson
3853bd3ef0
Update README.MD
Make it clear JikanPy supports Jikan v4
2023-06-13 16:10:41 -07:00
Irfan
7e84d47d55 Merge branch 'master' of https://github.com/jikan-me/jikan-rest 2023-06-12 04:06:05 +05:00
Irfan
3a87f4c456 fixes #391 2023-06-12 04:06:02 +05:00
Irfan
d65377b823
Merge pull request #390 from pushrbx/hotfix/sfw-filter1
Hotfix: SFW Filter
2023-06-12 02:53:29 +05:00
pushrbx
723e8efdd9 fixed sfw filter 2023-06-11 13:36:14 +01:00
Irfan
8772fb4ed8 seasons: fixes listing based on aired date (adds UTC timezone to datetime) 2023-06-11 06:58:24 +05:00
Irfan
1720d7aabb specific season: fixes an issue where an empty list is returned for future anime 2023-06-11 05:57:47 +05:00
pushrbx
5231362543
Merge pull request #346 from pushrbx/nightly-major
v4.0.0-rc.7
v4.0.0-rc.7
2023-06-02 22:15:47 +01:00
pushrbx
4a62c51bf2 chore: refactor CorsMiddleware.php 2023-05-23 20:36:45 +01:00
pushrbx
6c82c3e953 improved CORS support once again 2023-05-23 20:30:30 +01:00
pushrbx
9262d0b32a fixed logic error 2023-05-21 20:45:29 +01:00
pushrbx
3d48517fd4 fixed typing issue in cors middleware 2023-05-21 20:05:30 +01:00
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