Commit Graph

353 Commits

Author SHA1 Message Date
Timothy Warren 255895097a Remove some dead code 2017-04-03 16:53:04 -04:00
Timothy Warren 388c0a274d Fix creating missing Kitsu items 2017-04-03 15:46:16 -04:00
Timothy Warren d91665e3ae More basic tests, see #16 2017-04-03 14:46:29 -04:00
Timothy Warren 06bc655a59 Details and user page updates, resolves #27 2017-03-31 16:36:22 -04:00
Timothy Warren 82c86b7b47 Update detail pages 2017-03-31 13:37:53 -04:00
Timothy Warren 8223786bb5 Remove duplicated function 2017-03-30 16:57:58 -04:00
Timothy Warren aa901550a1 Update header comments 2017-03-30 16:49:48 -04:00
Timothy Warren f8f499520e Allow over-riding the default lists in the user config 2017-03-30 16:47:02 -04:00
Timothy Warren 67819156ed Simplify routing code a bit 2017-03-30 16:16:40 -04:00
Timothy Warren a767c75014 Make sure rating is only updated if it is numeric 2017-03-29 16:09:22 -04:00
Timothy Warren 9dfc99f49b More tests 2017-03-29 15:14:30 -04:00
Timothy Warren 88c65dd0df Add and delete manga simulaneously from kitsu and mal 2017-03-29 14:25:03 -04:00
Timothy Warren 528deae789 Allow manga +1 button to update both kitsu and mal 2017-03-29 14:00:57 -04:00
Timothy Warren 3bb4f32bdb Simultaneously update kitsu and MAL manga list item 2017-03-29 13:29:03 -04:00
Timothy Warren 08a882bbb6 Create missing manga items on kitsu and mal with sync command 2017-03-29 12:32:36 -04:00
Timothy Warren a892d875fd Update sync lists command to create Kitsu items that are missing compared to MAL 2017-03-28 16:52:27 -04:00
Timothy Warren 4f528ca2c8 Minor api model refactoring 2017-03-28 14:36:23 -04:00
Timothy Warren 754a5e7b98 Reorgnize order of Kitsu model methods 2017-03-28 14:34:33 -04:00
Timothy Warren 161c2b3bc1 Update dependencies, use ParallelAPIRequest 2017-03-28 11:01:38 -04:00
Timothy Warren 493ac3ca03 Code cleanup and fix 'On Hold' title on all section of anime list 2017-03-27 10:09:45 -04:00
Timothy Warren f59827f95f List characters on manga pages 2017-03-24 10:59:07 -04:00
Timothy Warren bc8822e725 Update all the page titles 2017-03-24 09:58:27 -04:00
Timothy Warren da336876b6 Fix title of anime pages 2017-03-24 09:10:30 -04:00
Timothy Warren f7119a5b0f Show custom 404 pages for missing anime and characters 2017-03-24 09:08:39 -04:00
Timothy Warren f3df8f1588 Remove code coverage ignore annotations 2017-03-24 08:49:39 -04:00
Timothy Warren d6b7075229 Fix 'all' view with missing sections 2017-03-22 16:53:46 -04:00
Timothy Warren 6f643454ef Update streaming link handling, and add daisuki and viewster 2017-03-22 12:29:07 -04:00
Timothy Warren 1fd2dd1146 Fix syntax error, prime manga cache too. See #19 2017-03-22 12:28:19 -04:00
Timothy Warren 535de1cf50 Add command to prime cache, see #19 2017-03-22 11:41:25 -04:00
Timothy Warren e84b837dce Fix issue with updating anime item 2017-03-22 11:15:40 -04:00
Timothy Warren a58d654d1d Remove unused mappings 2017-03-22 11:14:59 -04:00
Timothy Warren 40a899066e All anime api calls are now using paginated requests, see #23 2017-03-22 11:13:50 -04:00
Timothy Warren 185416f09d Miscellaneous code cleanup 2017-03-20 19:08:33 -04:00
Timothy Warren 0187140e8e Show characters on anime details page 2017-03-20 13:14:01 -04:00
Timothy Warren 39e083d17c Minor model refactoring 2017-03-14 14:28:08 -04:00
Timothy Warren b38d5811a4 More work on user profile page 2017-03-10 12:50:48 -05:00
Timothy Warren c895dfcfbe use readable cache keys 2017-03-10 12:50:29 -05:00
Timothy Warren 4653ce2f42 More work on profile page 2017-03-08 16:21:01 -05:00
Timothy Warren 5605384b6a Fix tests and start on profile page 2017-03-08 13:46:50 -05:00
Timothy Warren 3e68fec704 Add basic character pages 2017-03-08 12:55:49 -05:00
Timothy Warren d7c47f3c1f Update all the header comments with the correct repository url 2017-03-07 20:53:58 -05:00
Timothy Warren 34604d1b7b Fix issues with sync-lists command, add more docblocks 2017-03-07 20:49:31 -05:00
Timothy Warren b6dc104947 Fix 'All' section on Manga page 2017-03-07 18:41:51 -05:00
Timothy Warren 26d339e546 Add back 'All' menu item for anime 2017-03-07 17:51:08 -05:00
Timothy Warren 15b6d492f1 Make sure mapping is accurately named
\!
2017-03-03 11:51:53 -05:00
Timothy Warren 5c382db49c Move AnimeWatchingStatus and MangaReadingStatus enums to the same namespace 2017-03-02 11:12:19 -05:00
Timothy Warren df249fd423 Remove accidentially created Java file 2017-03-01 22:11:37 -05:00
Timothy Warren 88f6a3fc4f Rework the rest of the mappings 2017-03-01 22:07:51 -05:00
Timothy Warren 9c7ed16538 Update Manga mappings and enums 2017-03-01 21:52:30 -05:00
Timothy Warren 1f86d4460c Add new mapping class for Anime watching statuses 2017-03-01 20:51:40 -05:00
Timothy Warren d15710abfa More PHPStan fixes 2017-02-22 15:08:29 -05:00
Timothy Warren d620e44114 PHPStan fixes 2017-02-22 14:46:35 -05:00
Timothy Warren 7889849fe2 Update method references in Manga controller 2017-02-21 15:37:29 -05:00
Timothy Warren adecbe1e5c Update method references in Collection controller 2017-02-21 15:36:34 -05:00
Timothy Warren 96fce9a6d5 Use new ParallelAPIRequest class 2017-02-20 13:37:08 -05:00
Timothy Warren fdd7f91835 More code style fixes 2017-02-17 11:37:22 -05:00
Timothy Warren 9951053b4f Lots of style fixes, with more to come 2017-02-17 10:55:17 -05:00
Timothy Warren 1f58d7a419 Slightly reorganize model hierarchy 2017-02-17 08:39:27 -05:00
Timothy Warren 58549b7018 Various tweaking 2017-02-17 08:25:19 -05:00
Timothy Warren 1f6100c367 Yet more snake case to camel case 2017-02-16 14:30:06 -05:00
Timothy Warren 4def692123 Make sure header comments are actually updated for all code files 2017-02-16 11:09:37 -05:00
Timothy Warren 365da603fa And more snake case to camel case 2017-02-15 16:30:14 -05:00
Timothy Warren b902464446 Update header comments 2017-02-15 16:13:32 -05:00
Timothy Warren 8c31a3b6d6 More snake case to camel case 2017-02-15 15:56:10 -05:00
Timothy Warren 7648d31e53 More code styles fixes 2017-02-15 15:35:41 -05:00
Timothy Warren 6652ed7354 More style fixes 2017-02-15 13:07:36 -05:00
Timothy Warren a04643ea10 Fix more code style issues 2017-02-15 11:57:29 -05:00
Timothy Warren e5db6bebe8 Snake case to camel case 2017-02-15 11:30:16 -05:00
Timothy Warren 506cce02cf Remove some unused code 2017-02-15 11:18:55 -05:00
Timothy Warren 0d553b7dd4 Get sync-lists command to create missing entries on MAL 2017-02-14 15:29:13 -05:00
Timothy Warren 9c1dc50e65 Uncomment rewatching stuff 2017-02-13 13:33:01 -05:00
Timothy Warren cfa23b8066 Fix mapping from Kitsu to MAL for updating a list item 2017-02-13 12:42:05 -05:00
Timothy Warren fb1af97bae Fix config mapping for BaseCommand 2017-02-10 16:12:02 -05:00
Timothy Warren e2aa61f580 Fix update requests broken by Artax conversion 2017-02-09 20:10:13 -05:00
Timothy Warren c9f74dd863 Remove 'fix' for issue caused by php.ini setting 2017-02-09 13:45:40 -05:00
Timothy Warren 0e9c257ab7 Another ugly progress commit
- Eradicated Guzzle from main codebase
- All API requests now use Artax
- Refactor code to use function and constant imports
- And more!
2017-02-08 15:48:20 -05:00
Timothy Warren 5aafbc9cb2 Start of work to replace Guzzle with Artax 2017-02-08 00:44:57 -05:00
Timothy Warren 5f0f830aea Update headers and some whitespace 2017-02-07 13:27:41 -05:00
Timothy Warren 20540963ff Create Request Builder wrapper around Artax 2017-02-07 13:11:42 -05:00
Timothy Warren 5c5b1cd318 Only translate fields that are passed in 2017-02-07 09:12:44 -05:00
Timothy Warren a48c3e5f8e Actually update MAL if enabled 2017-02-04 15:18:34 -05:00
Timothy Warren 47bfe810fc Able to create list items on MAL 2017-02-01 09:53:02 -05:00
Timothy Warren c38b4b7f45 Misc updates 2017-01-31 12:52:43 -05:00
Timothy Warren ad4b71ac03 More test coverage, attempt to get Gitlab to see test coverage 2017-01-27 15:41:52 -05:00
Timothy Warren ef6d0f82fd Ugly progress commit 2017-01-27 12:35:28 -05:00
Timothy Warren 3f90e93af1 Get xml parsing working predictably 2017-01-27 09:43:42 -05:00
Timothy Warren 192618b890 Make sure to pass the correct arguments to the cache hash method 2017-01-26 13:06:35 -05:00
Timothy Warren 04e8a9e514 Refactor KitsuModel, add more docblocks 2017-01-26 13:03:38 -05:00
Timothy Warren b8f75e14ec Fix display of streaming links in cover and list views 2017-01-25 13:37:39 -05:00
Timothy Warren 1818bf105d Fix issue with selected list highlighting, fixes #20 2017-01-25 12:13:37 -05:00
Timothy Warren 5f6c1f9f48 Fix cache clear command 2017-01-19 12:49:18 -05:00
Timothy Warren 94bfdebf46 Update commands 2017-01-17 12:47:02 -05:00
Timothy Warren 95f768aed3 Cache manga list 2017-01-16 14:14:45 -05:00
Timothy Warren 07c4682711 Update views for collection, remove old json import 2017-01-16 14:03:30 -05:00
Timothy Warren 3dac007390 Fix anime collection 2017-01-16 13:49:51 -05:00
Timothy Warren a266c68f9b Restore cache clearing functionality 2017-01-16 11:26:19 -05:00
Timothy Warren d79370deb9 Streaming links, caching, and more MAL integration 2017-01-13 16:53:56 -05:00
Timothy Warren 68bee55f6a Cache API errors at the dispatcher level, so a more appropriate error page can be displayed 2017-01-13 16:52:12 -05:00
Timothy Warren 270f9ab167 Really ugly progress commit 2017-01-12 15:41:20 -05:00
Timothy Warren 951187783b Third time's a charm for updating the header comment? 2017-01-11 19:37:14 -05:00
Timothy Warren e6e9c9424b Start of integration with My Anime List 2017-01-11 19:35:51 -05:00
Timothy Warren 3f34ecee28 Update header comments, with proper newlines 2017-01-11 10:34:24 -05:00
Timothy Warren 036396a382 Update header comments 2017-01-11 10:31:17 -05:00
Timothy Warren 8d559dc664 Fix unit tests 2017-01-10 21:13:44 -05:00
Timothy Warren a5dd9f0650 All basic API functionality:
* Anime List Item:
	* Creation
	* Updating
	* Retreiving
	* Deletion

* Manga List Item:
	* Creation
	* Updating
	* Retreiving
	* Deletion

* Anime detail page
* Manga detail page
2017-01-10 12:35:46 -05:00
Timothy Warren 08b4227b34 Anime and Manga editing, incrementing, and deletion 2017-01-09 20:36:48 -05:00
Timothy Warren 187812576c Update header comments 2017-01-06 23:34:56 -05:00
Timothy Warren 8412588940 Episode incrementing and update work for anime 2017-01-06 21:39:01 -05:00
Timothy Warren 4c75701c0d Better handling of alternate titles, Airing Status and genres for anime list views 2017-01-05 22:24:45 -05:00
Timothy Warren 9eda005399 Authentication, show edit forms for Anime 2017-01-05 13:41:32 -05:00
Timothy Warren 609ba57078 Manga lists and detail pages 2017-01-04 13:16:58 -05:00
Timothy Warren 772aeae20f Start of changes for Manga list 2017-01-03 21:06:49 -05:00
Timothy Warren 9bd5d62ca7 Remove some old code to better make way for kitsu/MAL api integration 2017-01-03 20:29:43 -05:00
Timothy Warren a92acd203d Another ugly progress commit
Sort of working:
* Get anime list by status
* Get anime description pages
2016-12-22 21:36:23 -05:00
Timothy Warren 0c910bff1a Pull stuff from the Kitsu API 2016-12-21 12:46:20 -05:00
Timothy Warren a41acb28f6 Ugly progress commit 2016-12-20 12:58:37 -05:00
Timothy Warren 14181c9c51 Start of API integration 2016-12-20 12:55:43 -05:00
Timothy Warren 276c492355 Remove Hummingbird stuff 2016-12-16 21:52:59 -05:00
Timothy Warren 27f66cfea3 Update headers and namespaces 2016-10-20 22:32:17 -04:00
Timothy Warren 5e2a68dc84 Update EVERYTHING 2016-10-20 22:09:36 -04:00
Timothy Warren afbde14116 Code style fixes to satisfy phpcs 2016-08-30 10:57:41 -04:00
Timothy Warren 52b1959338 Update header comments 2016-08-30 10:01:18 -04:00
Timothy Warren bf01e41e32 Move src files to root of src/ 2016-08-29 16:36:13 -04:00
Timothy Warren d6f9ceb5c7 Fix tests broken due to changes in container 2016-08-29 15:36:36 -04:00
Timothy Warren 3335093e87 Move Ion namespace into composer dependency 2016-08-09 11:08:45 -04:00
Timothy Warren 7f1bcc841a Refactor cache to remove dependency on container 2016-08-01 13:02:26 -04:00
Timothy Warren ba6ada32f9 Move cache class to IOn namespace, use safer json for serialization in cache drivers 2016-07-28 10:44:13 -04:00
Timothy Warren 3d66fa9c11 Finish moving get_cached_image method to Util class 2016-07-27 14:32:37 -04:00
Timothy Warren 1b93adefa3 Refactor out some Interdependency between Ion and AnimeClient namespaces 2016-07-27 13:18:52 -04:00
Timothy Warren 5a69da4466 Update Redis tests to work with gitlab ci 2016-07-22 17:48:13 -04:00
Timothy Warren 4772c6df95 Update Redis cache driver to use PHP-only library, removing the dependence on an extension: 2016-07-22 17:22:00 -04:00
Timothy Warren 1afb45522d Remove redundant cache loading 2016-04-22 10:52:42 -04:00
Timothy Warren 675ccac14d Add button to clear api cache 2016-04-21 11:14:21 -04:00
Timothy Warren 47b8a83d86 Update changelog and add additional tests 2016-04-19 14:51:58 -04:00
Timothy Warren 1844f89e63 Small miscellaneous cleanup 2016-04-19 13:23:49 -04:00
Timothy Warren 741d9d0805 Add batch image thumbnail creation, see #6, #14 2016-04-19 13:02:50 -04:00
Timothy Warren 05391eceab Resolves #10, adds ability to delete from anime collection 2016-04-14 19:10:03 -04:00
Timothy Warren 3710f42505 Add detail view to anime list 2016-04-14 17:51:00 -04:00
Timothy Warren 01d25f2817 Add ability to delete items from manga list. See #10 2016-04-14 17:00:34 -04:00
Timothy Warren d17549c0fb Add ability to delete items from anime list. References #10 2016-04-14 15:16:13 -04:00
Timothy Warren 79f71eee09 Re-add cache to manga controller so cache can be invalidated on update 2016-04-14 11:05:16 -04:00
Timothy Warren aa2e6a5418 Add missing update to base API Model 2016-04-12 13:41:50 -04:00
Timothy Warren 29041a4667 Update manga model to cache the one api response. 2016-04-12 13:41:03 -04:00
Timothy Warren a7063e9a49 Add NullDriver for cache layer, for the sake of testing, or config without a cache 2016-04-12 12:05:42 -04:00
Timothy Warren 35b42d5234 Miscellaneous cleanup 2016-04-08 18:05:52 -04:00
Timothy Warren ea1b63265b Add Redis Cache driver 2016-04-08 14:25:45 -04:00
Timothy Warren c7b4ddf71e Add caching to Manga views 2016-04-07 13:11:45 -04:00
Timothy Warren 3d19f93001 Add tests for SQL based api cache 2016-04-07 12:34:57 -04:00
Timothy Warren 5db1d8b494 Remove json 'cache' files from anime model 2016-04-07 12:32:32 -04:00
Timothy Warren 181af86899 Fix tests 2016-04-06 14:58:19 -04:00