Commit Graph

155 Commits

Author SHA1 Message Date
Timothy Warren d3732d1a54 Update GraphQL schemas 2021-02-22 15:38:29 -05:00
Timothy Warren 836b1d17e6 Use str_contains over strpos 2021-02-17 20:02:51 -05:00
Timothy Warren b393c695a5 Resolve remaining PHPStan issues 2021-02-16 14:43:51 -05:00
Timothy Warren 73ee1a41e1 Fix more PHPStan issues 2021-02-12 19:17:39 -05:00
Timothy Warren 44a7d36174 Increase warning level of PHPStan 2021-02-12 17:52:58 -05:00
Timothy Warren 8d742e62ed Fix a bunch more phpstan errors 2021-02-12 13:09:57 -05:00
Timothy Warren 2cd9f99011 Solve more PHPStan issues 2021-02-12 11:14:45 -05:00
Timothy Warren c39bc23061 Add a bumch of soundness checks suggested by PHPStan 2021-02-10 17:17:51 -05:00
Timothy Warren 9ba1bd4c90 Code style fixes 2021-02-10 13:59:37 -05:00
Timothy Warren 8c3b583f92 Update PHP version in header comments 2021-02-04 11:57:01 -05:00
Timothy Warren 3039f412aa Move to PHP 8 2021-02-03 09:46:36 -05:00
Timothy Warren 37ab6034ba Cleanup some path related things 2021-02-03 09:45:18 -05:00
Kevin Colwell fe1250732c Update header year code 2021-01-13 01:58:28 -05:00
Timothy Warren 3c47570cce Bump version in header comments 2020-12-10 17:06:50 -05:00
Timothy Warren 1ea5750a76 Refactor, increase test coverage 2020-12-10 15:59:37 -05:00
Timothy Warren 36b396be71 Update Kitsu GraphQL schema file 2020-12-02 12:43:04 -05:00
Timothy Warren bf4f86a010 Add random anime and random manga pages 2020-12-02 12:42:47 -05:00
Timothy Warren f37ec8022e Revert status mapping change 2020-10-21 21:23:35 -04:00
Timothy Warren ad0dcb5750 Remove some more dead code 2020-10-21 18:52:12 -04:00
Timothy Warren 608251452f More cleanup, update changelog 2020-10-21 18:12:22 -04:00
Timothy Warren 8c5547d69d More Kitsu GraphQL API cleanup, resolves #33 2020-10-21 17:59:43 -04:00
Timothy Warren 898dfebbde 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
Timothy Warren 2d5ae3b1c6 Use GraphQL search endpoints, see #33 2020-10-21 15:45:30 -04:00
Timothy Warren 8256815032 Remove old transformer classes 2020-10-21 15:02:25 -04:00
Timothy Warren fe6f737815 Add missing GraphQL query 2020-10-21 14:56:33 -04:00
Timothy Warren 87d15024bb More GraphQL conversion, test updates, see #33 2020-10-21 14:51:17 -04:00
Timothy Warren 470d25f269 Sync Kitsu and Anilist both via GraphQL, see #33 2020-10-16 16:18:56 -04:00
Timothy Warren 70a33e36c0 Fetch Manga List via GraphQL, see #33 2020-10-16 13:28:35 -04:00
Timothy Warren 94d227b08e Fix Manga List Incrementing, start of GraphQL conversion 2020-10-12 14:06:49 -04:00
Timothy Warren ecb913322f Pull anime lists from GraphQL, see #33 2020-10-09 16:18:45 -04:00
Timothy Warren 1fbf0283ba Fix updating anime status when certain fields are empty 2020-10-07 15:30:42 -04:00
Timothy Warren 9009da4b86 Fix hiding anime on completion 2020-10-05 12:32:12 -04:00
Timothy Warren 47a4be2cf9 Update GraphQL queries to match API changes 2020-09-15 08:08:39 -04:00
Timothy Warren 810731dfbd Update streaming logs, remove genres from anime list view 2020-09-09 13:25:27 -04:00
Timothy Warren ce3e3427dc Update GraphQL schema for Kitsu 2020-09-09 10:24:12 -04:00
Timothy Warren 7211aa0de7 Add limit to all relationships 2020-09-09 10:23:17 -04:00
Timothy Warren a15496e4a5 Sort voice acting roles by character name 2020-08-27 15:39:23 -04:00
Timothy Warren a14ac3a122 Get Person detail pages via GraphQL, resolves #27 2020-08-27 15:01:00 -04:00
Timothy Warren 0c936b3fa7 Misc tweaks 2020-08-26 15:25:31 -04:00
Timothy Warren 18e8d47167 Move Kitsu class out of API namespace 2020-08-26 15:22:14 -04:00
Timothy Warren eb56ab4c4f Misc fixes and tweaks 2020-08-25 15:11:08 -04:00
Timothy Warren 29a79577d9 Start of pulling library from GraphQL 2020-08-25 13:22:38 -04:00
Timothy Warren e890f978db Update History to use GraphQL, resolves #29,#30 2020-08-24 19:17:41 -04:00
Timothy Warren e944ddc75c Update profile page to use GraphQL, see #27 2020-08-24 15:20:07 -04:00
Timothy Warren e912c83079 Update some GraphQL queries 2020-08-24 13:09:43 -04:00
Timothy Warren 78b9146249 Get library entry via GraphQL, see #28 2020-08-24 13:07:47 -04:00
Timothy Warren 9749c59549 Drastically reduce the amount of junk logging, and remove old logic from Character transformer 2020-08-18 16:59:08 -04:00
Timothy Warren c749c7c923 Fix sync command 2020-08-17 18:08:58 -04:00
Timothy Warren 9b4c9ad76f Full character page pulled from GraphQL API, see #27 2020-08-17 16:36:55 -04:00
Timothy Warren 681a70fd92 Get character details page from GraphQL, still need to do castings section, see #27 2020-08-17 14:01:55 -04:00
Timothy Warren 67d3b7c1dc Fix manga description page 2020-08-17 11:36:01 -04:00
Timothy Warren 79aee53524 Add streaming links back to anime description pages, see #27 2020-08-17 10:45:17 -04:00
Timothy Warren 56f7d5142d Update Kitsu GraphQL schema reference 2020-08-17 10:25:36 -04:00
Timothy Warren 5f7f4b6bdd Update Kitsu GraphQL Mutations 2020-08-17 10:24:17 -04:00
Timothy Warren 0c3ff2ef11 Improve error logging 2020-08-17 10:23:32 -04:00
Timothy Warren 5997ce8a0f Remove some naming redundancies 2020-08-06 09:39:12 -04:00
Timothy Warren 9dc6643b78 slugs in person urls, refactor AnilistTrait to match KitsuTrait 2020-08-05 20:57:01 -04:00
Timothy Warren c7beb76404 Create and delete media items via GraphQL, see #28 2020-08-05 13:30:24 -04:00
Timothy Warren c132766486 Move GraphQL queries up a level 2020-08-04 14:25:18 -04:00
Timothy Warren 9a112dc413 Bump version 2020-08-04 09:30:21 -04:00
Timothy Warren 1c3216e26a Get manga updates working correctly with GraphQL, see #28 2020-08-04 09:20:28 -04:00
Timothy Warren 78b195f966 Add some previously missing GraphQL fields 2020-08-03 14:36:14 -04:00
Timothy Warren 93faf7d88c Fix json loading overlay for anime updates 2020-07-31 19:32:13 -04:00
Timothy Warren a0e7ebd2a0 Increment chapter/episode counts via GraphQL 2020-07-31 19:03:27 -04:00
Timothy Warren 2b54ab5497 Add GraphQL schema reference for Kitsu 2020-07-31 18:59:16 -04:00
Timothy Warren 7bfdd74f22 Add GraphQL schema reference for Anilist 2020-07-31 18:58:49 -04:00
Timothy Warren b0c75d989f Groundwork for some upcoming API updates 2020-07-30 15:16:24 -04:00
Timothy Warren a3bae9255b Actually fix the character API call, previous commit added authentication to GraphQL calls 2020-07-30 10:02:44 -04:00
Timothy Warren 3ab34a64d0 Fix issue retrieving some characters 2020-07-30 09:58:36 -04:00
Timothy Warren 7dae2dd6eb Small fixes for anime detail pages 2020-07-29 20:06:59 -04:00
Timothy Warren 7c0ea492e1 Get Manga details from GraphQL, See #27 2020-07-29 17:51:58 -04:00
Timothy Warren 9135598649 Fetch anime details by id for the collection 2020-07-29 16:25:57 -04:00
Timothy Warren 0b0e06af00 Anime detail page cleanup 2020-07-29 15:49:16 -04:00
Timothy Warren 1ae99d2189 get anime staff from GraphQL, see #27 2020-07-29 14:04:03 -04:00
Timothy Warren 7275d81468 Re-add characters to anime details page, see #27 2020-07-29 11:00:54 -04:00
Timothy Warren 9eec7123a3 Use GraphQL request for anime detail pages, see #27 2020-07-28 17:46:18 -04:00
Timothy Warren 710d18a43b Prepare for Kitsu GraphQL 2020-07-28 16:11:13 -04:00
Timothy Warren 8d87d2fb2b Remove extra titles from cover/list views 2020-05-18 13:52:27 -04:00
Timothy Warren 61fcffdcbe Make sure reAuthenticate method has optional parameter 2020-05-18 13:47:41 -04:00
Timothy Warren 057216a21c Make sure re-authenticate gets arguments 2020-05-18 13:32:02 -04:00
Timothy Warren 891d8af469 Remove extra titles from list/cover display 2020-05-18 12:52:32 -04:00
Timothy Warren c701999af1 Bug fixes 2020-05-11 09:17:11 -04:00
Timothy Warren af0b392e78 Only the command line should be able to get credentials from the cache 2020-05-08 21:34:36 -04:00
Timothy Warren 2cc85049f3 Refactor KitsuTrait 2020-05-08 19:18:10 -04:00
Timothy Warren e724f885c8 Simplify caching 2020-05-08 19:15:21 -04:00
Timothy Warren 43f07dac6c Set up Event-based handling for a few things 2020-05-06 13:16:40 -04:00
Timothy Warren 7bcff79d6e Fix failing test 2020-05-06 10:12:49 -04:00
Timothy Warren f9f868be9d Show more alternate titles on anime detail pages 2020-05-06 09:08:27 -04:00
Timothy Warren b6c0db7636 Refactor list sync to be easier to follow 2020-05-04 17:13:03 -04:00
Timothy Warren 75bd011a2c Various code tweaks 2020-05-01 19:38:45 -04:00
Timothy Warren a7e6b3f198 Make authentication more reliable for list syncing 2020-05-01 17:08:20 -04:00
Timothy Warren 44d2c0e29d Move unusued graphQL queries 2020-04-28 12:03:14 -04:00
Timothy Warren 42ffef32fe Don't show episode/chapter 0 in history 2020-04-24 14:18:35 -04:00
Timothy Warren 1cc5703cd7 Fix some bugs with history view 2020-04-24 14:14:52 -04:00
Timothy Warren 62be0beae6 Fix history and collection bug 2020-04-23 20:03:55 -04:00
Timothy Warren 8094ff5927 More refactoring of History transformers 2020-04-22 17:53:25 -04:00
Timothy Warren e17846f4a4 Refactor history transformers 2020-04-22 12:38:59 -04:00
Timothy Warren 59f2d21a7f Add menu items for history, add manga reading history 2020-04-22 11:39:44 -04:00
Timothy Warren 0a83184db6 Convert Type constructors to static methods 2020-04-22 07:53:52 -04:00
Timothy Warren e3e32b4408 Fix off-by-one errors 2020-04-21 20:37:42 -04:00