Commit Graph

611 Commits

Author SHA1 Message Date
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
4131a019ca Remove APCu as a cache option...it doesn't work with CLI authentication 2020-05-08 19:17:11 -04:00
e4018c269f Simplify caching 2020-05-08 19:15:21 -04:00
05c50387f6 Set up Event-based handling for a few things 2020-05-06 13:16:40 -04:00
dc20d8de7c Fix failing test 2020-05-06 10:12:49 -04:00
b806519b22 Show more alternate titles on anime detail pages 2020-05-06 09:08:27 -04:00
9045eb6b8f Comment cleanup of sync command 2020-05-04 17:15:50 -04:00
77ee6ae50e Refactor list sync to be easier to follow 2020-05-04 17:13:03 -04:00
2d44435c59 Various code tweaks 2020-05-01 19:38:45 -04:00
ee18d407a2 Make authentication more reliable for list syncing 2020-05-01 17:08:20 -04:00
a80284a4ee Collection updates for 'all' tab 2020-04-30 15:33:16 -04:00
625a57c191 Type *Type classes a bit more strictly 2020-04-28 12:24:12 -04:00
0ad4d56663 Tweak error handling of anime collection db calls 2020-04-28 12:13:35 -04:00
93d87336b1 Move unusued graphQL queries 2020-04-28 12:03:14 -04:00
b2c86adcf5 Don't show episode/chapter 0 in history 2020-04-24 14:18:35 -04:00
badf941265 Fix some bugs with history view 2020-04-24 14:14:52 -04:00
ae276a536f Fix history and collection bug 2020-04-23 20:03:55 -04:00
52b562f455 Improve anime collection with multiple media selections 2020-04-23 18:57:22 -04:00
212b34ac4c More refactoring of History transformers 2020-04-22 17:53:25 -04:00
52e5b10512 Refactor history transformers 2020-04-22 12:38:59 -04:00
4d6c15b030 Add menu items for history, add manga reading history 2020-04-22 11:39:44 -04:00
f2991cd416 Convert Type constructors to static methods 2020-04-22 07:53:52 -04:00
12be7b8a1e Fix off-by-one errors 2020-04-21 20:37:42 -04:00
3f2c23ab96 Fix aggregation of anime watch history items 2020-04-21 20:10:01 -04:00
da15c45fd9 Fix tests 2020-04-21 20:09:37 -04:00
da570d5167 Big Work in progress commit 2020-04-21 19:22:56 -04:00
17fb2b4db4 Update outdated interface reference 2020-04-17 13:34:36 -04:00
461d074d41 Type all the class attributes 2020-04-10 20:01:46 -04:00
2584047289 Bump version and PHP requirement in headers 2020-04-10 15:39:39 -04:00
4f6a92cd45 Update dependencies to latest versions 2020-04-10 15:38:32 -04:00
9ecd5df6c7 Lazy load images 2020-04-07 21:53:53 -04:00
82d77d0f35 Update test snapshots 2020-03-16 15:47:33 -04:00
9259c85586 Fix some style issues 2020-03-16 15:06:55 -04:00
39f672b35f Cleanup some build/quality check stuff 2020-03-13 09:53:31 -04:00
c60b821bca More test coverage of FormGenerator 2020-03-12 12:47:02 -04:00
39f23c2c35 Test FormGenerator 2020-03-12 12:32:32 -04:00
bcbb24c0f5 Increase code coverage 2020-03-12 12:04:20 -04:00
4fd03d309c Update header comments again 2020-03-12 11:45:11 -04:00
daaa560fbd Remove XML codec 2020-03-12 11:44:19 -04:00
4308418414 Fix test suite 2020-03-12 09:52:45 -04:00
8ea1cbc52f Put Ion Namespace back in the codebase directly 2020-03-11 23:04:01 -04:00
9924793a49 Move source code to sub folder so we can re-integrate ion 2020-03-11 22:11:00 -04:00
33d46a27eb Update all the header files again 2020-03-11 16:31:52 -04:00
1a4a65ceaf Move to Amp/HttpClient from Amp/Artax 2020-03-11 16:26:17 -04:00
a7931052b0 Update all the header comments 2020-03-11 15:15:05 -04:00
14613e6395 Fix a method of Anilist Model 2020-03-11 15:12:10 -04:00
87ecc0dce4 More error checking 2020-01-15 15:22:38 -05:00
580dbb5993 Better id mapping error handling for Anilist 2020-01-15 12:35:37 -05:00
7a4cda5bf0 Bump copyright year 2020-01-08 15:39:49 -05:00
e4b8e6ce51 More refactoring/cleanup 2019-12-09 16:17:25 -05:00
698025146f Automatically fix some docblocks 2019-12-09 14:41:04 -05:00
acd3b84b55 Update all the docblocks 2019-12-09 14:34:23 -05:00
75aa7e3aae Annotate property types for Types classes 2019-12-09 13:40:54 -05:00
efede08401 Various code style tweaks 2019-12-09 13:13:31 -05:00
951f4362db Various code cleanup 2019-12-06 15:46:56 -05:00
3bb9734e1d Update header comments 2019-12-06 09:16:35 -05:00
6fd2b22d72 Tweak tests for new version of PHPUnit 2019-12-06 09:15:49 -05:00
47b9d7ba7a Update dependencies 2019-12-05 16:59:24 -05:00
b0682ae1b2 Bump PHP version requirement 2019-12-03 15:17:25 -05:00
59ba0f49c7 Update clear thumbnails script to work with lots of files 2019-12-02 15:29:24 -05:00
fec671e3cd Catch errors when mapping MAL ids on sync 2019-10-08 19:59:47 -04:00
848f667626 Misc bugfixes, especially for Anime without a MAL id. 2019-10-07 20:10:27 -04:00
c6b74e2775 Minor code cleanup, add newer php version for travis tests 2019-08-16 10:31:31 -04:00
f3b42ae056 Update base request builder to use the correct user agent 2019-08-10 10:42:02 -04:00
9140ebaa19 Add first GraphQL files for Kitsu for future implementation 2019-08-10 10:10:09 -04:00
27160bda9a Improve 404 checks for detail pages 2019-08-10 10:09:07 -04:00
1f2accf4ec Add 'automatic' dark theme, based on browser 'prefers-color-scheme: dark' media query 2019-07-12 15:56:24 -04:00
73488d8244 Clean up commands a little bit 2019-07-11 19:03:35 -04:00
c93629dea2 Show fewer sync errors by filtering common data disparity issues 2019-07-11 16:38:21 -04:00
5bf8277376 Fix syncing manga to anilist when you have to create a new list item 2019-07-11 15:24:34 -04:00
51bf392d1b Make Anilist missing username error more reliable, allow editing anilist username in settings panel 2019-07-11 10:28:09 -04:00
dd6e99877a Collection "All Tab", and filtering. Resolves #6, #7 2019-07-10 13:32:05 -04:00
4de92a3591 No more genre-related database errors, and other collection improvements 2019-07-10 10:20:37 -04:00
76b23c7646 Fix thumbnail generation command 2019-05-08 13:19:03 -04:00
92243189ee Fix some edge cases 2019-04-01 16:17:40 -04:00
f3f2879c54 Remove XML codec class 2019-03-12 09:43:17 -04:00
b70ba1da6f Consistent spacing around auth checks 2019-01-29 16:01:31 -05:00
28146ad909 Add a per-controller-method check for authorization for private routes 2019-01-29 15:12:31 -05:00
0348d0db00 Cleanup redundant methods in Collection model 2019-01-28 14:31:48 -05:00
84ca0a9481 Fix error on attempt to insert a duplicate series 2019-01-22 10:21:58 -05:00
aec9a2f2b8 Hide missing table error on noninitialized collection, see #20 2019-01-08 15:52:53 -05:00
1c3b478d49 Cleanup database logic a bit 2019-01-07 14:29:15 -05:00
5d752f6ee3 Small code cleanup 2019-01-07 09:08:00 -05:00
0503cad15f Simplify/clean up some base classes 2018-12-21 15:52:34 -05:00
59403b9cb5 Make syncing slightly more robust 2018-12-12 15:31:59 -05:00
4d26acea5b Use the same API client instance across the codebase 2018-12-07 10:24:42 -05:00
a38c9712e6 Don't show media tabs with no media on character page, make stats on user page more resiliant 2018-12-07 10:22:16 -05:00
b871a4fac2 Remove default API client timeouts, fix time on anime calculation 2018-12-06 16:21:02 -05:00
826cb0c1cb Add dark theme with setting toggle 2018-12-06 13:04:54 -05:00
94e61e35a8 Update misspelled method, somehow resolves #19 2018-11-29 11:46:06 -05:00
f09716b040 Some API client cleanup 2018-11-29 11:00:50 -05:00
921febaeb4 Fix error in list sync 2018-11-27 15:37:16 -05:00
f3c85da8cc Misc code cleanup 2018-11-09 10:38:35 -05:00
9ad74ed887 Remove data transformation from media detail pages, and into the proper transformers 2018-11-08 12:15:30 -05:00
27977a0c8a Move data transformation out of controllers, and into transformers 2018-11-08 11:36:42 -05:00
11475187fc Fix generic user page route, minor code cleanup 2018-11-07 14:29:21 -05:00
b9e8ddfc9a Fix collection query 2018-11-05 13:25:18 -05:00
38cd9c74d9 Sort streaming links by service 2018-11-05 10:40:29 -05:00
6770c133fb Update picture helper, move anilist oauth calls to the settings controller 2018-11-02 12:58:19 -04:00
cd2dcf2873 Various refactoring, better webp image handling 2018-11-01 22:15:20 -04:00
c2d51b2b7e Make Controllers more specialized 2018-11-01 22:12:41 -04:00