72 Commits

Author SHA1 Message Date
pushrbx
df854f65a6 fixed tests 2023-06-29 21:01:24 +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
75e04c72da pinned pushrbx/lumen-roadrunner version 2023-05-21 11:18:03 +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
bcb87084c5 pinned doctrine/annotation package version to keep swagger-lume working 2023-05-21 11:18:02 +01:00
pushrbx
e21139d206 updated packages 2023-05-21 11:14:35 +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
d76e81ff3c upgraded phpunit and tests to lumen 9
- added namespaces
- used values from https://github.com/laravel/lumen
- updated phpunit config
- moved database migrations in phpunit test listener
2023-05-21 11:14:33 +01:00
pushrbx
1dfb482974 upgraded phpunit to 9.5.26 2023-05-21 11:14:33 +01:00
pushrbx
8f102d2b56 added the foundations for fixture based tests 2023-05-21 11:14:32 +01:00
Irfan
8df86920ba LE 2022-12-03 02:08:19 +05:00
Irfan
2336b7c610
Merge branch 'master' into feature/new-reviews 2022-10-26 14:38:17 +05:00
Irfan
4daf91f806 update dep parser: jikan-me/jikan ^4 2022-10-23 18:23:52 +05:00
pushrbx
49faaf0a2f added docker entrypoint and healthchecks, fixed psr worker warmup 2022-10-23 12:09:11 +01:00
pushrbx
e47ad20f04 added roadrunner support and dockerfile 2022-10-23 11:35:25 +01:00
pushrbx
81b00d28ca added elasticsearch driver 2022-06-08 17:02:05 +01:00
pushrbx
18166cb552 merged master in and updated dependencies 2022-05-30 18:56:12 +01:00
pushrbx
84b540f44b Merge branch 'master' into feature/scout-typesense
# Conflicts:
#	composer.json
#	composer.lock
2022-05-30 18:47:45 +01:00
pushrbx
49c27eb900 initial attempt to use typesense as search engine
- currently only anime entries.
2022-05-30 18:37:28 +01:00
Irfan
161a84c88b update deps 2022-05-25 01:28:10 +05:00
Irfan
0761f50eb1 update deps 2022-05-20 22:51:37 +05:00
Irfan
df006baf80 upgrade to lumen ^9, update deps 2022-05-20 19:47:22 +05:00
Irfan
57ac77eb3a php8: fix deps 2021-12-28 01:37:00 +05:00
Irfan
bf4079aa68 add php8.0 support & update deps 2021-12-28 00:36:12 +05:00
Irfan
ec55bb2515 server:run remove script (alias of artisan serve) 2021-11-03 17:33:22 +05:00
Irfan
938312c332 remove: patreon api not reliable 2021-11-03 17:29:48 +05:00
Irfan
8c2e3c682f add Sentry 2021-09-11 19:36:27 +05:00
Irfan
b23ac399bf Upgrade to Lumen 8 2021-07-17 23:05:59 +05:00
Irfan
384babe8c0 change patreon dep 2021-06-15 09:48:40 +05:00
Irfan
ae01b9f355 add patreon api dep + config 2021-06-15 09:20:29 +05:00
Irfan
2e119957f2 bug fixes + dep update 2020-11-24 18:24:41 +05:00
Irfan
6bd07cb265 bc misc. fixes 2020-09-13 01:59:14 +05:00
Irfan
f7342eea93 user profile bug fixes 2020-09-08 23:06:50 +05:00
Irfan
6205f35cb8 add Character endpoints (/anime, /manga, /seiyuu) 2020-09-08 22:14:00 +05:00
Irfan
4ecd642f2d finalize Anime/Manga Reviews, User Reviews, Top Reviews Schema 2020-08-01 13:02:44 +05:00
Irfan
8e65634227 update deps 2020-07-23 03:37:05 +05:00
Irfan
493d0ebb07 update deps 2020-07-23 03:00:03 +05:00
Irfan
174a89fdfe update deps 2020-07-23 02:28:46 +05:00
Irfan
66ecebe247 update deps 2020-07-22 19:26:43 +05:00
Irfan
8232efdecb season in lowercase 2020-07-14 17:15:45 +05:00
Irfan
249a090451 add initial indexing command for producers, maagazines, genres 2020-07-13 23:43:08 +05:00
Irfan
0f156a6386 add v4 Recent Reviews & Recommendations 2020-07-12 21:43:14 +05:00
Irfan
4e12aeb817 add v4 User Recommendations 2020-07-12 14:05:25 +05:00
Irfan
efb6d341a7 update deps 2020-07-12 13:38:23 +05:00
Irfan
1070405950 add v4 User Reviews 2020-07-12 13:34:29 +05:00
Irfan
359070af5e add v4 User endpoint 2020-07-11 13:10:40 +05:00
Irfan
7bb1c99b44 update dep 2020-07-10 20:43:08 +05:00
Irfan
fe6d77aca8 add Magazines Advanced Search
Pagination, Limit
Order By + Sort
Query
Letter
2020-07-10 20:09:26 +05:00
Irfan
ad532cb27a update to latest dep 2020-07-10 17:07:34 +05:00
Irfan
77d3b78705 add internal search 2020-06-08 02:35:30 +05:00