Commit Graph

611 Commits

Author SHA1 Message Date
be74cfaceb Fix a bunch more phpstan errors 2021-02-12 13:09:57 -05:00
eb03679579 Solve more PHPStan issues 2021-02-12 11:14:45 -05:00
d60b1dd776 Fix code warnings for 'src/AnimeClient/AnimeClient.php' 2021-02-12 10:53:07 -05:00
c100105fbc Yet more PHPStan fixes 2021-02-11 19:54:22 -05:00
103f95c07b A few more PHPStan fixes 2021-02-10 17:31:20 -05:00
9224751d2d Add a bumch of soundness checks suggested by PHPStan 2021-02-10 17:17:51 -05:00
ebd7f811ee Code style fixes 2021-02-10 13:59:37 -05:00
b7a2eafc0d Add tests for title uniqueness check 2021-02-10 10:59:15 -05:00
cb7a4c28e5 Handle null values better in title uniqueness check 2021-02-08 17:03:04 -05:00
d15544a182 Fix tests? 2021-02-04 12:27:52 -05:00
f7bf4c8eb9 Update PHP version in header comments 2021-02-04 11:57:01 -05:00
6b6c37f015 Move to PHP 8 2021-02-03 09:46:36 -05:00
461914a929 Cleanup some path related things 2021-02-03 09:45:18 -05:00
20c734b8ef Update header year code 2021-01-13 01:58:28 -05:00
6ca193934b Increase test coverage 2020-12-11 15:37:55 -05:00
dee4a2dad5 Fix tests for PHP8...? 2020-12-11 14:26:54 -05:00
2a8e6aa3ed Fix anime collection error 2020-12-11 10:15:24 -05:00
191ec11258 Bump version in header comments 2020-12-10 17:06:50 -05:00
71ee0a324c A little more test coverage 2020-12-10 17:04:45 -05:00
292d9bbaaf Refactor, increase test coverage 2020-12-10 15:59:37 -05:00
0029dd2fb8 Update Kitsu GraphQL schema file 2020-12-02 12:43:04 -05:00
2b01871e5b Add random anime and random manga pages 2020-12-02 12:42:47 -05:00
f003905c0b Revert status mapping change 2020-10-21 21:23:35 -04:00
f0e3aa6fd7 Remove some more dead code 2020-10-21 18:52:12 -04:00
fd6624862f More cleanup, update changelog 2020-10-21 18:12:22 -04:00
d2a3b8ad37 More Kitsu GraphQL API cleanup, resolves #33 2020-10-21 17:59:43 -04:00
7fc58f1605 Use GraphQL to update thumbnails, refactor GraphQL pagination, merge Anime and Manga traits back into the Kitsu model 2020-10-21 17:06:50 -04:00
23d9fd0b40 Use GraphQL search endpoints, see #33 2020-10-21 15:45:30 -04:00
b28e1f13ee Remove old transformer classes 2020-10-21 15:02:25 -04:00
0868fb43bc Add missing GraphQL query 2020-10-21 14:56:33 -04:00
5340c39466 More GraphQL conversion, test updates, see #33 2020-10-21 14:51:17 -04:00
1e3bfa7a0a Sync Kitsu and Anilist both via GraphQL, see #33 2020-10-16 16:18:56 -04:00
22de5776a7 Fetch Manga List via GraphQL, see #33 2020-10-16 13:28:35 -04:00
dddef5add6 Fix Manga List Incrementing, start of GraphQL conversion 2020-10-12 14:06:49 -04:00
30db156df7 Pull anime lists from GraphQL, see #33 2020-10-09 16:18:45 -04:00
238a423806 Fix updating anime status when certain fields are empty 2020-10-07 15:30:42 -04:00
ecce90abd5 Fix hiding anime on completion 2020-10-05 12:32:12 -04:00
913f9082ef Update GraphQL queries to match API changes 2020-09-15 08:08:39 -04:00
7584d0a935 Map more external sites 2020-09-10 15:36:34 -04:00
aca0f66db2 Update streaming logs, remove genres from anime list view 2020-09-09 13:25:27 -04:00
3b754ce634 Update GraphQL schema for Kitsu 2020-09-09 10:24:12 -04:00
44e1039067 Add limit to all relationships 2020-09-09 10:23:17 -04:00
ed9a3227ac Sort voice acting roles by character name 2020-08-27 15:39:23 -04:00
e2f29c6731 Get Person detail pages via GraphQL, resolves #27 2020-08-27 15:01:00 -04:00
1b74df5269 More components, resolve #31 2020-08-26 17:26:42 -04:00
9c01f3fbd0 Misc tweaks 2020-08-26 15:25:31 -04:00
3714a93dcf Extract common methods for Anime and Manga models into a trait 2020-08-26 15:24:49 -04:00
aace368b24 Move Kitsu class out of API namespace 2020-08-26 15:22:14 -04:00
69991a126a Misc fixes and tweaks 2020-08-25 15:11:08 -04:00
980e2726c5 Start of pulling library from GraphQL 2020-08-25 13:22:38 -04:00
3f8c0432d2 Update History to use GraphQL, resolves #29,#30 2020-08-24 19:17:41 -04:00
ba276cc86e Update profile page to use GraphQL, see #27 2020-08-24 15:20:07 -04:00
26a1c464a1 Some syncing cleanup 2020-08-24 13:10:43 -04:00
40a340c67c Update some GraphQL queries 2020-08-24 13:09:43 -04:00
7d6af5ad00 Get library entry via GraphQL, see #28 2020-08-24 13:07:47 -04:00
a4cde0b28d Fix setup of console commands 2020-08-21 19:26:54 -04:00
386938c75f Create component system to help cut down on view duplication, see #31 2020-08-21 12:30:01 -04:00
2f2260e0b4 Drastically reduce the amount of junk logging, and remove old logic from Character transformer 2020-08-18 16:59:08 -04:00
1da68d8ec4 Use constants for the API names instead of literals 2020-08-17 21:08:53 -04:00
e06cc16890 Fix sync command 2020-08-17 18:08:58 -04:00
09734515ca Full character page pulled from GraphQL API, see #27 2020-08-17 16:36:55 -04:00
1725a106fa Get character details page from GraphQL, still need to do castings section, see #27 2020-08-17 14:01:55 -04:00
4d4b7126e2 Fix manga description page 2020-08-17 11:36:01 -04:00
e2e845b9c0 Add streaming links back to anime description pages, see #27 2020-08-17 10:45:17 -04:00
24def28cda Update Kitsu GraphQL schema reference 2020-08-17 10:25:36 -04:00
f3b7e58ee1 Update Kitsu GraphQL Mutations 2020-08-17 10:24:17 -04:00
e7e70a1541 Improve error logging 2020-08-17 10:23:32 -04:00
65a8da755a Remove some naming redundancies 2020-08-06 09:39:12 -04:00
ca8a0edad0 Add missing change from previous commit 2020-08-05 21:52:36 -04:00
9a6d0052d7 Add background check for session validity
This checks when the app is made visible -- like the tab is switched to,
if the current session is still valid. If the session is not still
valid, the page is reloaded so that the session expiration is apparent.

Resolves #25
2020-08-05 21:46:14 -04:00
6a82944473 slugs in person urls, refactor AnilistTrait to match KitsuTrait 2020-08-05 20:57:01 -04:00
f328420869 Create and delete media items via GraphQL, see #28 2020-08-05 13:30:24 -04:00
3965f137e1 Move GraphQL queries up a level 2020-08-04 14:25:18 -04:00
ff6fcffca8 Bump version 2020-08-04 09:30:21 -04:00
4c1c78577e Get manga updates working correctly with GraphQL, see #28 2020-08-04 09:20:28 -04:00
d66b589a75 Add some previously missing GraphQL fields 2020-08-03 14:36:14 -04:00
56032728eb Fix json loading overlay for anime updates 2020-07-31 19:32:13 -04:00
722518579f Increment chapter/episode counts via GraphQL 2020-07-31 19:03:27 -04:00
eab8a1cd4b Add GraphQL schema reference for Kitsu 2020-07-31 18:59:16 -04:00
2fa83b5f1d Add GraphQL schema reference for Anilist 2020-07-31 18:58:49 -04:00
48b031e190 Refactor/streamline View layer 2020-07-31 16:22:32 -04:00
a8110d4a90 Groundwork for some upcoming API updates 2020-07-30 15:16:24 -04:00
455b551683 Actually fix the character API call, previous commit added authentication to GraphQL calls 2020-07-30 10:02:44 -04:00
de6faf2224 Fix issue retrieving some characters 2020-07-30 09:58:36 -04:00
8fe2114816 Small fixes for anime detail pages 2020-07-29 20:06:59 -04:00
83de995951 Get Manga details from GraphQL, See #27 2020-07-29 17:51:58 -04:00
766e3cd71c Fetch anime details by id for the collection 2020-07-29 16:25:57 -04:00
375b8f9bcb Anime detail page cleanup 2020-07-29 15:49:16 -04:00
dcd138cba6 get anime staff from GraphQL, see #27 2020-07-29 14:04:03 -04:00
50f3c394c5 Re-add characters to anime details page, see #27 2020-07-29 11:00:54 -04:00
bb878d905f Use GraphQL request for anime detail pages, see #27 2020-07-28 17:46:18 -04:00
3bb3d2a5cf Prepare for Kitsu GraphQL 2020-07-28 16:11:13 -04:00
9e8b3f4663 Remove extra titles from cover/list views 2020-05-18 13:52:27 -04:00
Timothy Warren
5e157e4a4e Make sure reAuthenticate method has optional parameter 2020-05-18 13:47:41 -04:00
035e142c98 Make sure re-authenticate gets arguments 2020-05-18 13:32:02 -04:00
ebe8626ba7 Add aria attributes to selected menu items 2020-05-18 12:53:00 -04:00
493f849aeb Remove extra titles from list/cover display 2020-05-18 12:52:32 -04:00
332ff72360 Bug fixes 2020-05-11 09:17:11 -04:00
cacf19781d Only the command line should be able to get credentials from the cache 2020-05-08 21:34:36 -04:00
545c495869 Refactor KitsuTrait 2020-05-08 19:18:10 -04:00