53 Commits

Author SHA1 Message Date
pushrbx
970ff8aad4
removed redundant imports 2024-11-04 21:09:02 +00:00
pushrbx
8bdcf97d4e
fixed test issues 2024-10-15 18:58:19 +01:00
Irfan
bef1992c2d fix: object being passed to the parser instead of value 2024-09-22 13:29:38 +05:00
Irfan (Nekomata)
1b46890d80
Merge pull request #543 from jikan-me/bugfix/pack1
 Fixed broadcast adapter func and random anime/manga endpoint
2024-06-27 20:26:09 +05:00
pushrbx
c628007729
fixed sfw and unapproved filters for random anime and manga endpoint 2024-06-23 21:29:05 +01:00
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
pushrbx
bd8efbec93
fixed issue with /v4/manga/{id}/characters endpoint 2023-12-18 16:05:50 +00:00
Irfan
e758f001dc Update QueryUpcomingAnimeSeasonHandler.php 2023-11-04 04:17:34 +05:00
Irfan (Nekomata)
d20be14d04
Merge branch 'master' into bugfix/seasonal-102123 2023-10-28 15:34:44 +05:00
pushrbx
6d02052155 fixed page param for user anime/manga lists 2023-10-26 22:56:04 +01:00
Irfan
dc22e6b280 review: fix 2023-10-24 09:29:24 +05: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
Irfan
8170772f54 fixes #435 2023-08-20 19:46:36 +05:00
Irfan
1fed924344 Top Anime/Manga: updates default sorting for filters 2023-07-21 22:23:34 +05:00
pushrbx
3fc1eea801 added validation against new line and weird characters in q parameter of the search endpoint 2023-07-15 15:26:48 +01:00
pushrbx
1d3aa7b794 various hot fixes and improvements
- improved searching with low letter count
- removed the ability to order anime by type and rating
- fixed schedules endpoint's filter parameter yet again
- improved configuration
- fixed filtering anime by producers
- fixed filtering manga by magazines
- fixed search analytics in case of short search terms
2023-07-15 14:44:42 +01:00
pushrbx
34231ef1af changed default behavior when searching
- instead of ordering by mal_id or popularity, weighted relevancy search happens based on the model's config
2023-07-09 10:52:01 +01:00
pushrbx
2b486461e9 minor refactor 2023-06-30 13:25:09 +01:00
pushrbx
d614a663f3
Merge pull request #408 from pushrbx/hotfixes-1
Various hot fixes
2023-06-27 12:31:53 +01:00
pushrbx
36d94360c7 fixed #387 2023-06-26 19:23:50 +01:00
pushrbx
279cd352c5 fixed a runtime error 2023-06-25 14:00:44 +01:00
Irfan
3a87f4c456 fixes #391 2023-06-12 04:06:02 +05: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
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
6732de1188 refactoring and code cleanup 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
12322b6e9a update random anime/manga, adds unapproved, minor refactor 2023-05-21 11:18:35 +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
88c3201874 update logging config [adds .env values] 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
pushrbx
d171f29bc9 fixed bugs introduced by the new system 2023-05-21 11:18:02 +01:00
pushrbx
fbc3b8277d wip - more fixes
- added user animelist/mangalist endpoints back
- fixed issues with the container image
- improved club model factory
- fixed ordering while searching when search engine is disabled (mongodb based search)
2023-05-21 11:18:02 +01:00
pushrbx
baa5e9c557 refactored tests and fixed test runner issues
- additionally fixed some bugs with schedule endpoint
2023-05-21 11:18:02 +01:00
pushrbx
a530e9f5d6 multiple changes
- wip -> http tests should use model factories
- test runner bootstrap: jikan models are cached in a temporary file
- fixed various bugs
- improved test execution time with typesense
- added new dev dependency: ClassFinder
- updated composer scripts to include coverage generation
- added coverage reports in phpunit
- improved roadrunner integration
- updated docker image
  - added xdebug in disabled state
2023-05-21 11:18:02 +01:00
pushrbx
0211fc4128 multiple fixes
- updated api docs
- fixed top reviews endpoint
- fixed reviews parsing
- added "contextual" boolean query string parameters, so params without value can be interpreted as "boolean". E.g. ?sfw or ?kid in the url would add "true" value to their corresponding field in the DTO
- fixed typesense issues
2023-05-21 11:18:02 +01:00
pushrbx
118fc4f84b fixed minor issues 2023-05-21 11:14:35 +01:00
pushrbx
9b5b5aad1e fixed more problems 2023-05-21 11:14:35 +01:00
pushrbx
1e302fb62c wip - refactor finished 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
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
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