Commit Graph

353 Commits

Author SHA1 Message Date
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
Timothy Warren 352ebb4105 Add some naive cache invalidation to update methods 2016-04-06 12:11:07 -04:00
Timothy Warren 3127e06a47 Start of caching implementation 2016-04-05 13:19:35 -04:00
Timothy Warren 44e4aaa732 Fix search methods to work with new Request library 2016-04-05 12:06:07 -04:00
Timothy Warren 5aa8a70b0b Start of interface for caching backend 2016-04-01 17:35:53 -04:00
Timothy Warren 510211cfd0 Fix broken tests 2016-03-29 11:40:27 -04:00
Timothy Warren 26c6df74e4 Fix issue with cover not being hidden on last episode 2016-03-29 11:30:51 -04:00
Timothy Warren d8c89c9deb Update url generation to use new router 2016-03-07 14:37:49 -05:00
Timothy Warren dbaadc4c2a Fix most of the broken tests 2016-03-03 16:53:17 -05:00
Timothy Warren 2da5935d1f Further refactor handling of request variables, routing works again 2016-02-17 11:36:37 -05:00
Timothy Warren 9d00fc140c Get HTML output working again, still refactoring router 2016-02-17 10:29:05 -05:00
Timothy Warren 28adcaf95a Start integration of PSR 7 Request/Response 2016-02-16 16:28:44 -05:00
Timothy Warren b6307eb88b Start of migration from php to toml config, see #11 2016-02-10 17:30:45 -05:00
Timothy Warren b346bdf337 Update tests relating to issue #9 2016-02-09 21:03:26 -05:00
Timothy Warren 825e0c1a90 Fixes issue #9 2016-02-09 20:20:54 -05:00
Timothy Warren db69b13d87 Partially fix #9 -- API calls fail on 'Plan to Watch' section 2016-02-09 20:12:39 -05:00
Timothy Warren f3a44e6f33 Minor spacing fixes 2016-02-02 21:38:38 -05:00
Timothy Warren 6555aac2fb Minor code quality fixes for Scrutinizer 2016-02-02 21:28:32 -05:00
Timothy Warren d746de34ea Add form for manga 2016-02-02 11:34:03 -05:00
Timothy Warren 49bd468aa4 Ugly progress commit 2016-02-01 09:49:18 -05:00
Timothy Warren daf4b71bbb Add proper table sorting and add some security headers 2016-01-20 13:01:41 -05:00
Timothy Warren 6ff4ee2746 Change logger methods to be inline with interface, fix Manga Model tests 2016-01-11 15:31:53 -05:00
Timothy Warren 816a309f18 Remove errorhandler, and replace with logger 2016-01-11 14:39:53 -05:00
Timothy Warren b85ddb9464 Update collection to use flash messages and more intelligent redirects 2016-01-11 13:33:56 -05:00
Timothy Warren 3918ce4eb7 Add more test coverage, and update build.xml 2016-01-11 10:42:34 -05:00
Timothy Warren 3bd5c7d218 Further refine Dispatcher 2016-01-08 16:39:18 -05:00
Timothy Warren 9c73ab928c Refactor Dispatcher 2016-01-08 15:54:21 -05:00
Timothy Warren 016e0988e9 Fix line endings in view classes 2016-01-08 15:53:50 -05:00
Timothy Warren 27ac7e8063 Fix http verb for update route, add correct http codes for http errors 2016-01-07 20:48:18 -05:00
Timothy Warren 275b0eea40 Update codebase to use new Json class 2016-01-07 13:45:43 -05:00
Timothy Warren fa4940f22d Add missing classes 2016-01-06 17:08:44 -05:00
Timothy Warren bfe46fbbd1 Fix PHP 5.5 build 2016-01-06 17:06:30 -05:00
Timothy Warren 38faaebb5f Remove unnamespaced constants, and improve some tests 2016-01-06 15:44:40 -05:00
Timothy Warren 3c124456d0 Simplify routing 2016-01-06 11:08:56 -05:00
Scrutinizer Auto-Fixer dd0e15137a Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-01-05 14:55:08 +00:00
Timothy Warren 205c7ac76d Update header comments, add start of manga editing functionality 2016-01-04 16:58:33 -05:00
Scrutinizer Auto-Fixer 7cdd79a116 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-01-04 16:15:25 +00:00
Timothy Warren 6e4e8edd9d Add full edit form to anime list 2016-01-04 10:53:03 -05:00
Timothy Warren 1b8ed53afb Start of delete functionality for anime collection 2015-12-15 15:55:30 -05:00
Timothy Warren 3c41682d73 Some more minor code-style fixes 2015-12-09 14:54:11 -05:00
Timothy Warren 77709c068a Some code style fixes 2015-12-08 16:39:49 -05:00
Timothy Warren f386766841 Fix collection functionality 2015-12-08 14:52:59 -05:00
Timothy Warren c23c63cb15 Fix some minor formating issues 2015-11-18 10:54:06 -05:00
Timothy Warren fff46421bf Update minor documention issues 2015-11-18 10:48:05 -05:00
Timothy Warren 253f191113 More test coverage 2015-11-18 10:31:42 -05:00
Timothy Warren 6622014bd1 Improve some test coverage 2015-11-17 16:45:41 -05:00
Timothy Warren bd6b5e2b54 Remove loose functions file 2015-11-16 19:30:04 -05:00
Timothy Warren 4ed6200d9f Fix manga list updating 2015-11-16 15:57:37 -05:00
Timothy Warren c009a96a15 Merge pull request #9 from timw4mail/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2015-11-16 11:40:26 -05:00
Timothy Warren ae88282b13 Update header comments 2015-11-16 11:40:01 -05:00
Scrutinizer Auto-Fixer 38b2f34527 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-11-16 15:33:30 +00:00
Timothy Warren afced2339a Poor style progress update commit 2015-11-13 16:31:01 -05:00
Timothy Warren 3c4ba096c6 Make updating of anime list work 2015-11-13 11:33:27 -05:00
Timothy Warren aee2fa7120 Fix various code style nuances 2015-11-11 15:28:51 -05:00
Timothy Warren c55f91a79f Fix some sonarqube issues 2015-11-11 14:53:09 -05:00
Scrutinizer Auto-Fixer db33f46547 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-11-09 20:08:08 +00:00
Timothy Warren ff28b40c9e Fix ArrayType class 2015-11-09 11:49:51 -05:00
Timothy Warren e6b4fe59a3 More quality fixes 2015-11-09 11:10:15 -05:00
Timothy Warren d3541da789 Fix some more code style issues 2015-11-05 11:26:03 -05:00
Timothy Warren cdb4406e14 Some more style fixes 2015-11-05 10:41:46 -05:00
Timothy Warren 6ef8caca00 Some code style fixes 2015-11-04 16:53:22 -05:00
Timothy Warren beb127c06c Some minor refactoring 2015-11-04 16:36:54 -05:00
Scrutinizer Auto-Fixer d63d33d245 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-11-04 21:31:03 +00:00
Timothy Warren fdd0da8d93 Fix tests broken by missing fix to Anime Collection Model 2015-10-21 15:46:50 -04:00
Timothy Warren 4ad6178bf0 More test coverage 2015-10-21 15:43:51 -04:00
Timothy Warren 32d20a9234 Fix issue where cache file doesn't exist, add tests for Menu Helper 2015-10-21 11:57:58 -04:00
Timothy Warren def424da72 Fix default redirect and tests 2015-10-20 16:41:51 -04:00
Timothy Warren c99d4ee53d Fix the rest of the menu urls 2015-10-20 15:59:51 -04:00
Timothy Warren 935076cc63 Remove another vistigal controller method 2015-10-19 15:19:02 -04:00
Timothy Warren 672b781425 Remove some vestigal methods from base controller 2015-10-19 13:58:59 -04:00
Timothy Warren 95ecc9e9b8 Fix spacing style 2015-10-19 13:26:50 -04:00
Timothy Warren 944a0c9c2a More test coverage 2015-10-19 12:50:46 -04:00
Timothy Warren f22015635e Scrutinizer fixes 2015-10-16 12:53:55 -04:00
Timothy Warren 23122964d2 Better testing for ArrayType and Config classes 2015-10-15 22:00:09 -04:00
Timothy Warren 67080a098f Add partial test for config delete 2015-10-15 10:23:00 -04:00
Timothy Warren e2e27c2311 More test coverage 2015-10-15 09:25:30 -04:00
Timothy Warren 3cf753a707 Update lots of docblocks 2015-10-14 09:20:52 -04:00
Timothy Warren 9ed18ce131 Fix documentation issues 2015-10-12 14:27:20 -04:00
Timothy Warren 6b1f39525d Remove some dead code 2015-10-12 14:11:00 -04:00
Scrutinizer Auto-Fixer 2b6b8bff43 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-10-10 02:35:39 +00:00
Timothy Warren f49e4fe3d8 Rearrange some namespaces and add more docblocks 2015-10-09 22:29:59 -04:00
Scrutinizer Auto-Fixer 25981afeef Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-10-09 18:55:15 +00:00
Timothy Warren 3de32f52af Basic Menu generation 2015-10-09 14:34:55 -04:00
Timothy Warren 15707167f1 More scrutinizer fixes 2015-10-06 13:38:59 -04:00
Scrutinizer Auto-Fixer edd393793a Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-10-06 17:35:42 +00:00
Timothy Warren f9b3d64eca Fix more scrutinizer issues 2015-10-06 12:15:19 -04:00
Timothy Warren d53524ed86 Code style improvements 2015-10-06 11:38:20 -04:00
Timothy Warren aedabd6eda Scrutinizer fixes 2015-10-06 10:44:33 -04:00
Scrutinizer Auto-Fixer 7c5a73e73b Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-10-06 14:24:48 +00:00
Timothy Warren 5e5434d057 Miscellaneous updates, prep for menu generator 2015-10-05 16:54:25 -04:00
Timothy Warren 9f123822b1 Update Router 2015-10-01 16:30:46 -04:00
Timothy Warren 7917c39065 Lots of miscellaneous improvements 2015-10-01 16:02:51 -04:00
Timothy Warren e8a9982f9a Fix views to match transformed data 2015-10-01 16:01:23 -04:00
Timothy Warren e634a22134 Fix broken test 2015-09-28 15:11:45 -04:00
Timothy Warren 5624d9b44e Transformers and Enums 2015-09-25 13:41:12 -04:00
Timothy Warren 92d9124bb7 Update manga model to use Zipper transformer 2015-09-21 09:48:15 -04:00
Timothy Warren 8fb6dae119 More tests for Ion 2015-09-18 22:55:40 -04:00
Timothy Warren 602759b471 Decouple and generalise 2015-09-17 23:11:18 -04:00
Timothy Warren c788cf5d87 Start of refactoring routing to be more convention based 2015-09-16 12:25:35 -04:00
Timothy Warren 9193938dee More namespace refactoring 2015-09-15 13:19:29 -04:00
Timothy Warren b1c6039630 Namespace refactoring 2015-09-14 19:54:34 -04:00