72 Commits

Author SHA1 Message Date
pushrbx
cb043f49e8
one more tweak to the model factory 2024-06-20 18:03:59 +01:00
pushrbx
aa8d8a6def
maybe fixed tests4 2024-06-20 18:03:58 +01:00
pushrbx
7190979980
maybe fixed tests3 2024-06-20 18:03:58 +01:00
pushrbx
9342407bef fixed tests according to the recent factory changes 2024-04-11 00:01:40 +01:00
pushrbx
9de8ffc9db fixed filtering by producer/magazine on anime/manga search endpoints
- additionally improved model factories for tests
2024-04-10 18:59:30 +01:00
pushrbx
99fa9f92ee fixed the "premiered" attribute on AnimeFactory class 2024-01-30 17:46:05 +00:00
pushrbx
125b6720ff added more tests and improved existing ones 2024-01-30 17:28:03 +00:00
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
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
e48d23520f fixed buggy tests 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
5a960e3b9c fixed model factory 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
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
49b3698f45 fixed genre generation in model factories 2023-05-21 11:14:34 +01:00
pushrbx
a2efb6f773 fixed #327 2023-05-21 11:14:34 +01:00
pushrbx
f6dc3399a3 fixed media factories: incorrect "airing"/"publishing" bool value 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
950b5c6a2d added manga search endpoint integration 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
fcea126272 fixed orderBy parameter tests 2023-05-21 11:14:33 +01:00
pushrbx
716d8ea8e7 added tests for orderBy parameter 2023-05-21 11:14:33 +01:00
pushrbx
251fccb5f6 added tests for rating parameter 2023-05-21 11:14:33 +01:00
pushrbx
2d2a1c97ed added tests for invalid score searches 2023-05-21 11:14:33 +01:00
pushrbx
aca707a508 added search by status tests 2023-05-21 11:14:33 +01:00
pushrbx
0dd56f98cb added more tests around search+dates and refactored things 2023-05-21 11:14:33 +01:00
pushrbx
ca591b20a8 refactored test arrange code 2023-05-21 11:14:33 +01:00
pushrbx
fdbefd86d3 added missing type hints 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
ae5f76e757 squashed migrations 2023-05-21 11:14:33 +01:00
pushrbx
5f5dbc12f1 squashed migrations 2023-05-21 11:14:33 +01:00
pushrbx
577c43760c removed legacy model factories 2023-05-21 11:14:33 +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
8df86920ba LE 2022-12-03 02:08:19 +05:00
Irfan
76291bc9af producers: include additional details + refactor search 2022-07-27 23:15:53 +05:00
pushrbx
48ba112bab fixed migrations 2022-06-05 13:39:03 +01:00
Irfan
16017a46c0 update migrations 2022-02-24 05:24:08 +05:00
Irfan
1afc7cb763 update migrations 2022-02-24 05:16:31 +05:00
Irfan
5bff12964a fix genre duplication issue 2021-12-27 19:55:24 +05:00
Irfan
4d2a880bdf manga: add Light Novel support 2021-06-29 01:56:04 +05:00
Irfan
e75c0c7a62 improve manga query and indexing 2021-06-29 01:53:38 +05:00
Irfan
7919b49c60 improve characters query and indexing 2021-06-29 01:44:21 +05:00
Irfan
6e9b534ccf improve people query and indexing 2021-06-29 01:37:40 +05:00
Irfan
afa3b64eba improve anime query and indexing 2021-06-29 01:37:21 +05:00