836 Commits

Author SHA1 Message Date
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
c054c20fe7 updated github error reporting with the new issue form 2023-05-21 11:17:58 +01:00
pushrbx
ff5068bf27 fixed road runner integration 2023-05-21 11:14:35 +01:00
pushrbx
c78d8cd333 wip - cached scraper service unit tests 2023-05-21 11:14:35 +01:00
pushrbx
25378c263b fixed people search 2023-05-21 11:14:35 +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
5e922f7cd9 fixed tests part1 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
79b7a0f657 added comments to custom data pipe class 2023-05-21 11:14:35 +01:00
pushrbx
e4ece66acc added comments to custom data pipe class 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
c564de979d wip - mediator refactor 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
pushrbx
4aa3c4c617 fixed #332
- added logic to forward `order_by` parameter to the search engine
- modified mongodb query when no search engine is present to use "textMatchScore" name instead of "score" for text match scores -- the text score projection was shadowing the "score" attribute
2023-05-21 11:14:34 +01:00
pushrbx
651ae88616 fixed genre filtering #299 2023-05-21 11:14:34 +01:00
pushrbx
638f3c4fe2 fixed #323 2023-05-21 11:14:34 +01:00
pushrbx
a2efb6f773 fixed #327 2023-05-21 11:14:34 +01:00
pushrbx
65d009df35 minor tweaks 2023-05-21 11:14:34 +01:00
pushrbx
39ab02e969 fixed test service provider contextual binding 2023-05-21 11:14:34 +01:00
pushrbx
e79f3acc00 fixed #298 2023-05-21 11:14:34 +01:00
pushrbx
046a05c088 added anime controller basic tests 2023-05-21 11:14:34 +01:00
pushrbx
cefdbb1a1d added letter parameter tests and updated episode model 2023-05-21 11:14:34 +01:00
pushrbx
ca591b20a8 refactored test arrange code 2023-05-21 11:14:33 +01:00
pushrbx
91da61a154 rollback a change 2023-05-21 11:14:33 +01:00
pushrbx
fcbd78c890 wip - more tests 2023-05-21 11:14:33 +01:00
pushrbx
2156c6bfe1 added serialization to model factories 2023-05-21 11:14:33 +01:00
pushrbx
628f3e2294 fixed things and applied code review recommends 2023-05-21 11:14:33 +01:00
pushrbx
f4e5986514 rollback 2023-05-21 11:14:33 +01:00
pushrbx
865747a20b improved test performance
- squashed database migrations
- added a hack to run migrations once
2023-05-21 11:14:33 +01:00
pushrbx
ce3e7e5e49 added $searchIndexModelCleanupList variable 2023-05-21 11:14:33 +01:00
pushrbx
4e7d2fd5ed moved MakesHttpRequestsEx trait 2023-05-21 11:14:32 +01:00
pushrbx
eeb825940a fixed "runScoutFlush" function for tests 2023-05-21 11:14:32 +01:00
pushrbx
72b6bb9442 fixed several issues
- search indexes should be different for testing
- added ability to flush the search index between tests
- fixed missing attributes in model factories
2023-05-21 11:14:32 +01:00
pushrbx
8f102d2b56 added the foundations for fixture based tests 2023-05-21 11:14:32 +01:00
Irfan
2f1a7e25ed
Merge branch 'master' into irfan-dahir-patch-1 2023-01-02 11:13:50 +05:00
Irfan
dc6de70eff Merge branch 'qol/maintenance-3-12-22' of https://github.com/jikan-me/jikan-rest into qol/maintenance-3-12-22 2023-01-02 11:12:47 +05:00
Irfan
405f2be00d resolve php8.1 warning 2023-01-02 11:12:27 +05:00
Irfan
451f38abba
Merge branch 'master' into qol/maintenance-3-12-22 2022-12-25 10:43:08 +05:00
pushrbx
e7dad2dfe6
Merge pull request #328 from jikan-me/hotfix/query-builder-param-ingestion1
Fixed comparisons for score parameter ingestion
2022-12-21 19:55:17 +00:00
pushrbx
29c524a792
fixed fetching mal ids which is broken with php8.1 2022-12-21 11:19:31 +00:00
pushrbx
cb3c46b6f9
fixed comparisons for score parameter ingestion 2022-12-19 12:10:02 +00:00
Irfan
937f72ac16
adds daily anime & manga sweeper to the schedule 2022-12-13 11:24:11 +05:00
Irfan
20678667ac caching: allow for different drivers 2022-12-03 03:21:02 +05:00