Commit Graph

646 Commits

Author SHA1 Message Date
5f494aa9bd Fix tests for PHP8...? 2020-12-11 14:26:54 -05:00
31ed9d11ab Fix anime collection error 2020-12-11 10:15:24 -05:00
3c47570cce Bump version in header comments 2020-12-10 17:06:50 -05:00
b4d9e9f21f A little more test coverage 2020-12-10 17:04:45 -05:00
1ea5750a76 Refactor, increase test coverage 2020-12-10 15:59:37 -05:00
36b396be71 Update Kitsu GraphQL schema file 2020-12-02 12:43:04 -05:00
bf4f86a010 Add random anime and random manga pages 2020-12-02 12:42:47 -05:00
f37ec8022e Revert status mapping change 2020-10-21 21:23:35 -04:00
ad0dcb5750 Remove some more dead code 2020-10-21 18:52:12 -04:00
608251452f More cleanup, update changelog 2020-10-21 18:12:22 -04:00
8c5547d69d More Kitsu GraphQL API cleanup, resolves #33 2020-10-21 17:59:43 -04:00
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
2d5ae3b1c6 Use GraphQL search endpoints, see #33 2020-10-21 15:45:30 -04:00
8256815032 Remove old transformer classes 2020-10-21 15:02:25 -04:00
fe6f737815 Add missing GraphQL query 2020-10-21 14:56:33 -04:00
87d15024bb More GraphQL conversion, test updates, see #33 2020-10-21 14:51:17 -04:00
470d25f269 Sync Kitsu and Anilist both via GraphQL, see #33 2020-10-16 16:18:56 -04:00
70a33e36c0 Fetch Manga List via GraphQL, see #33 2020-10-16 13:28:35 -04:00
94d227b08e Fix Manga List Incrementing, start of GraphQL conversion 2020-10-12 14:06:49 -04:00
ecb913322f Pull anime lists from GraphQL, see #33 2020-10-09 16:18:45 -04:00
1fbf0283ba Fix updating anime status when certain fields are empty 2020-10-07 15:30:42 -04:00
9009da4b86 Fix hiding anime on completion 2020-10-05 12:32:12 -04:00
47a4be2cf9 Update GraphQL queries to match API changes 2020-09-15 08:08:39 -04:00
52aabc2b12 Map more external sites 2020-09-10 15:36:34 -04:00
810731dfbd Update streaming logs, remove genres from anime list view 2020-09-09 13:25:27 -04:00
ce3e3427dc Update GraphQL schema for Kitsu 2020-09-09 10:24:12 -04:00
7211aa0de7 Add limit to all relationships 2020-09-09 10:23:17 -04:00
a15496e4a5 Sort voice acting roles by character name 2020-08-27 15:39:23 -04:00
a14ac3a122 Get Person detail pages via GraphQL, resolves #27 2020-08-27 15:01:00 -04:00
1a3f1e9654 More components, resolve #31 2020-08-26 17:26:42 -04:00
0c936b3fa7 Misc tweaks 2020-08-26 15:25:31 -04:00
ccb9c9d331 Extract common methods for Anime and Manga models into a trait 2020-08-26 15:24:49 -04:00
18e8d47167 Move Kitsu class out of API namespace 2020-08-26 15:22:14 -04:00
eb56ab4c4f Misc fixes and tweaks 2020-08-25 15:11:08 -04:00
29a79577d9 Start of pulling library from GraphQL 2020-08-25 13:22:38 -04:00
e890f978db Update History to use GraphQL, resolves #29,#30 2020-08-24 19:17:41 -04:00
e944ddc75c Update profile page to use GraphQL, see #27 2020-08-24 15:20:07 -04:00
778cda6efc Some syncing cleanup 2020-08-24 13:10:43 -04:00
e912c83079 Update some GraphQL queries 2020-08-24 13:09:43 -04:00
78b9146249 Get library entry via GraphQL, see #28 2020-08-24 13:07:47 -04:00
e40a1d028f Fix setup of console commands 2020-08-21 19:26:54 -04:00
7aeb74874b Create component system to help cut down on view duplication, see #31 2020-08-21 12:30:01 -04:00
9749c59549 Drastically reduce the amount of junk logging, and remove old logic from Character transformer 2020-08-18 16:59:08 -04:00
5da0ba87a7 Use constants for the API names instead of literals 2020-08-17 21:08:53 -04:00
c749c7c923 Fix sync command 2020-08-17 18:08:58 -04:00
9b4c9ad76f Full character page pulled from GraphQL API, see #27 2020-08-17 16:36:55 -04:00
681a70fd92 Get character details page from GraphQL, still need to do castings section, see #27 2020-08-17 14:01:55 -04:00
67d3b7c1dc Fix manga description page 2020-08-17 11:36:01 -04:00
79aee53524 Add streaming links back to anime description pages, see #27 2020-08-17 10:45:17 -04:00
56f7d5142d Update Kitsu GraphQL schema reference 2020-08-17 10:25:36 -04:00
5f7f4b6bdd Update Kitsu GraphQL Mutations 2020-08-17 10:24:17 -04:00
0c3ff2ef11 Improve error logging 2020-08-17 10:23:32 -04:00
5997ce8a0f Remove some naming redundancies 2020-08-06 09:39:12 -04:00
687831efd5 Add missing change from previous commit 2020-08-05 21:52:36 -04:00
5a65c7b645 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
9dc6643b78 slugs in person urls, refactor AnilistTrait to match KitsuTrait 2020-08-05 20:57:01 -04:00
c7beb76404 Create and delete media items via GraphQL, see #28 2020-08-05 13:30:24 -04:00
c132766486 Move GraphQL queries up a level 2020-08-04 14:25:18 -04:00
9a112dc413 Bump version 2020-08-04 09:30:21 -04:00
1c3216e26a Get manga updates working correctly with GraphQL, see #28 2020-08-04 09:20:28 -04:00
78b195f966 Add some previously missing GraphQL fields 2020-08-03 14:36:14 -04:00
93faf7d88c Fix json loading overlay for anime updates 2020-07-31 19:32:13 -04:00
a0e7ebd2a0 Increment chapter/episode counts via GraphQL 2020-07-31 19:03:27 -04:00
2b54ab5497 Add GraphQL schema reference for Kitsu 2020-07-31 18:59:16 -04:00
7bfdd74f22 Add GraphQL schema reference for Anilist 2020-07-31 18:58:49 -04:00
4582e2e917 Refactor/streamline View layer 2020-07-31 16:22:32 -04:00
b0c75d989f Groundwork for some upcoming API updates 2020-07-30 15:16:24 -04:00
a3bae9255b Actually fix the character API call, previous commit added authentication to GraphQL calls 2020-07-30 10:02:44 -04:00
3ab34a64d0 Fix issue retrieving some characters 2020-07-30 09:58:36 -04:00
7dae2dd6eb Small fixes for anime detail pages 2020-07-29 20:06:59 -04:00
7c0ea492e1 Get Manga details from GraphQL, See #27 2020-07-29 17:51:58 -04:00
9135598649 Fetch anime details by id for the collection 2020-07-29 16:25:57 -04:00
0b0e06af00 Anime detail page cleanup 2020-07-29 15:49:16 -04:00
1ae99d2189 get anime staff from GraphQL, see #27 2020-07-29 14:04:03 -04:00
7275d81468 Re-add characters to anime details page, see #27 2020-07-29 11:00:54 -04:00
9eec7123a3 Use GraphQL request for anime detail pages, see #27 2020-07-28 17:46:18 -04:00
710d18a43b Prepare for Kitsu GraphQL 2020-07-28 16:11:13 -04:00
8d87d2fb2b Remove extra titles from cover/list views 2020-05-18 13:52:27 -04:00
61fcffdcbe Make sure reAuthenticate method has optional parameter 2020-05-18 13:47:41 -04:00
057216a21c Make sure re-authenticate gets arguments 2020-05-18 13:32:02 -04:00
abb17844fd Add aria attributes to selected menu items 2020-05-18 12:53:00 -04:00
891d8af469 Remove extra titles from list/cover display 2020-05-18 12:52:32 -04:00
c701999af1 Bug fixes 2020-05-11 09:17:11 -04:00
af0b392e78 Only the command line should be able to get credentials from the cache 2020-05-08 21:34:36 -04:00
2cc85049f3 Refactor KitsuTrait 2020-05-08 19:18:10 -04:00
21a98dc48e Remove APCu as a cache option...it doesn't work with CLI authentication 2020-05-08 19:17:11 -04:00
e724f885c8 Simplify caching 2020-05-08 19:15:21 -04:00
43f07dac6c Set up Event-based handling for a few things 2020-05-06 13:16:40 -04:00
7bcff79d6e Fix failing test 2020-05-06 10:12:49 -04:00
f9f868be9d Show more alternate titles on anime detail pages 2020-05-06 09:08:27 -04:00
d8167ed075 Comment cleanup of sync command 2020-05-04 17:15:50 -04:00
b6c0db7636 Refactor list sync to be easier to follow 2020-05-04 17:13:03 -04:00
75bd011a2c Various code tweaks 2020-05-01 19:38:45 -04:00
a7e6b3f198 Make authentication more reliable for list syncing 2020-05-01 17:08:20 -04:00
f810e2573e Collection updates for 'all' tab 2020-04-30 15:33:16 -04:00
754cf80c0b Type *Type classes a bit more strictly 2020-04-28 12:24:12 -04:00
ce0935333b Tweak error handling of anime collection db calls 2020-04-28 12:13:35 -04:00
44d2c0e29d Move unusued graphQL queries 2020-04-28 12:03:14 -04:00
42ffef32fe Don't show episode/chapter 0 in history 2020-04-24 14:18:35 -04:00
1cc5703cd7 Fix some bugs with history view 2020-04-24 14:14:52 -04:00
62be0beae6 Fix history and collection bug 2020-04-23 20:03:55 -04:00
541b59bb28 Improve anime collection with multiple media selections 2020-04-23 18:57:22 -04:00
8094ff5927 More refactoring of History transformers 2020-04-22 17:53:25 -04:00
e17846f4a4 Refactor history transformers 2020-04-22 12:38:59 -04:00
59f2d21a7f Add menu items for history, add manga reading history 2020-04-22 11:39:44 -04:00
0a83184db6 Convert Type constructors to static methods 2020-04-22 07:53:52 -04:00
e3e32b4408 Fix off-by-one errors 2020-04-21 20:37:42 -04:00
2325c8f4ec Fix aggregation of anime watch history items 2020-04-21 20:10:01 -04:00
5a3d9547ae Fix tests 2020-04-21 20:09:37 -04:00
bc529e57e8 Big Work in progress commit 2020-04-21 19:22:56 -04:00
f71a1ee1ae Update outdated interface reference 2020-04-17 13:34:36 -04:00
570c18a069 Type all the class attributes 2020-04-10 20:01:46 -04:00
6d55d4136e Bump version and PHP requirement in headers 2020-04-10 15:39:39 -04:00
546789ce40 Update dependencies to latest versions 2020-04-10 15:38:32 -04:00
7fd881c8e9 Lazy load images 2020-04-07 21:53:53 -04:00
1a6a30ef5d Update test snapshots 2020-03-16 15:47:33 -04:00
a4fe28f7b5 Fix some style issues 2020-03-16 15:06:55 -04:00
7c796b3d7b Cleanup some build/quality check stuff 2020-03-13 09:53:31 -04:00
06529d7c92 More test coverage of FormGenerator 2020-03-12 12:47:02 -04:00
42948017a4 Test FormGenerator 2020-03-12 12:32:32 -04:00
055ec80236 Increase code coverage 2020-03-12 12:04:20 -04:00
986ff6de0b Update header comments again 2020-03-12 11:45:11 -04:00
e6a216704c Remove XML codec 2020-03-12 11:44:19 -04:00
00ef5c3706 Fix test suite 2020-03-12 09:52:45 -04:00
e5ef054f5b Put Ion Namespace back in the codebase directly 2020-03-11 23:04:01 -04:00
ef7c1da5f2 Move source code to sub folder so we can re-integrate ion 2020-03-11 22:11:00 -04:00
5216b60789 Update all the header files again 2020-03-11 16:31:52 -04:00
37c3d6ecf0 Move to Amp/HttpClient from Amp/Artax 2020-03-11 16:26:17 -04:00
8aa94f7c14 Update all the header comments 2020-03-11 15:15:05 -04:00
6047444077 Fix a method of Anilist Model 2020-03-11 15:12:10 -04:00
fafd75b791 More error checking 2020-01-15 15:22:38 -05:00
70eb4f11b3 Better id mapping error handling for Anilist 2020-01-15 12:35:37 -05:00
ae70eab9ea Bump copyright year 2020-01-08 15:39:49 -05:00
926179a72d More refactoring/cleanup 2019-12-09 16:17:25 -05:00
143229bea4 Automatically fix some docblocks 2019-12-09 14:41:04 -05:00
3978c4d5cb Update all the docblocks 2019-12-09 14:34:23 -05:00
705d48abad Annotate property types for Types classes 2019-12-09 13:40:54 -05:00
6044a676a6 Various code style tweaks 2019-12-09 13:13:31 -05:00
245e1b4344 Various code cleanup 2019-12-06 15:46:56 -05:00
8b677ab7a7 Update header comments 2019-12-06 09:16:35 -05:00
b4b5c63d65 Tweak tests for new version of PHPUnit 2019-12-06 09:15:49 -05:00
347674f9e5 Update dependencies 2019-12-05 16:59:24 -05:00
fde9b05bdf Bump PHP version requirement 2019-12-03 15:17:25 -05:00
995690a341 Update clear thumbnails script to work with lots of files 2019-12-02 15:29:24 -05:00
cd835055ec Catch errors when mapping MAL ids on sync 2019-10-08 19:59:47 -04:00
117427ced0 Misc bugfixes, especially for Anime without a MAL id. 2019-10-07 20:10:27 -04:00
0e893f06ba Minor code cleanup, add newer php version for travis tests 2019-08-16 10:31:31 -04:00
58bb1ab0ba Update base request builder to use the correct user agent 2019-08-10 10:42:02 -04:00
46041ccfc6 Add first GraphQL files for Kitsu for future implementation 2019-08-10 10:10:09 -04:00
625edf5d0c Improve 404 checks for detail pages 2019-08-10 10:09:07 -04:00