Commit Graph

544 Commits

Author SHA1 Message Date
528d3584b8 Make sure rating is only updated if it is numeric 2017-03-29 16:09:22 -04:00
69b4d0c88b More tests 2017-03-29 15:14:30 -04:00
e79021da29 Add and delete manga simulaneously from kitsu and mal 2017-03-29 14:25:03 -04:00
79980683d1 Allow manga +1 button to update both kitsu and mal 2017-03-29 14:00:57 -04:00
15b26d8e39 Simultaneously update kitsu and MAL manga list item 2017-03-29 13:29:03 -04:00
377e102650 Create missing manga items on kitsu and mal with sync command 2017-03-29 12:32:36 -04:00
4a9e0f0293 Update sync lists command to create Kitsu items that are missing compared to MAL 2017-03-28 16:52:27 -04:00
0b18c06058 Minor api model refactoring 2017-03-28 14:36:23 -04:00
8d289f9eb5 Reorgnize order of Kitsu model methods 2017-03-28 14:34:33 -04:00
394c1241fb Update dependencies, use ParallelAPIRequest 2017-03-28 11:01:38 -04:00
b8b5beeae1 Code cleanup and fix 'On Hold' title on all section of anime list 2017-03-27 10:09:45 -04:00
be0baac962 List characters on manga pages 2017-03-24 10:59:07 -04:00
cf0db8b9fa Update all the page titles 2017-03-24 09:58:27 -04:00
dd90dd541c Fix title of anime pages 2017-03-24 09:10:30 -04:00
cdd3878e55 Show custom 404 pages for missing anime and characters 2017-03-24 09:08:39 -04:00
51c26e6b30 Remove code coverage ignore annotations 2017-03-24 08:49:39 -04:00
828b7a2154 Fix 'all' view with missing sections 2017-03-22 16:53:46 -04:00
a259ea7b18 Update streaming link handling, and add daisuki and viewster 2017-03-22 12:29:07 -04:00
74602f60fa Fix syntax error, prime manga cache too. See #19 2017-03-22 12:28:19 -04:00
e99205be54 Add command to prime cache, see #19 2017-03-22 11:41:25 -04:00
b52d301b2a Fix issue with updating anime item 2017-03-22 11:15:40 -04:00
52bd2773c0 Remove unused mappings 2017-03-22 11:14:59 -04:00
c9768855a5 All anime api calls are now using paginated requests, see #23 2017-03-22 11:13:50 -04:00
1a45e57b7c Miscellaneous code cleanup 2017-03-20 19:08:33 -04:00
bc6854a8e5 Show characters on anime details page 2017-03-20 13:14:01 -04:00
0d4b26e493 Minor model refactoring 2017-03-14 14:28:08 -04:00
0e6a1b6591 More work on user profile page 2017-03-10 12:50:48 -05:00
84f0a27d86 use readable cache keys 2017-03-10 12:50:29 -05:00
8645926006 More work on profile page 2017-03-08 16:21:01 -05:00
960537f8e0 Fix tests and start on profile page 2017-03-08 13:46:50 -05:00
5d9b7e9e63 Add basic character pages 2017-03-08 12:55:49 -05:00
6bf107e1ad Update all the header comments with the correct repository url 2017-03-07 20:53:58 -05:00
fa7651faf9 Fix issues with sync-lists command, add more docblocks 2017-03-07 20:49:31 -05:00
8b2cd7dd1e Fix 'All' section on Manga page 2017-03-07 18:41:51 -05:00
5d2dac5b99 Add back 'All' menu item for anime 2017-03-07 17:51:08 -05:00
497216cffa Make sure mapping is accurately named
\!
2017-03-03 11:51:53 -05:00
ae6b1cb209 Move AnimeWatchingStatus and MangaReadingStatus enums to the same namespace 2017-03-02 11:12:19 -05:00
d0a236e7ee Remove accidentially created Java file 2017-03-01 22:11:37 -05:00
ed01b28c0d Rework the rest of the mappings 2017-03-01 22:07:51 -05:00
52e1d1822a Update Manga mappings and enums 2017-03-01 21:52:30 -05:00
5e9b3db1f2 Add new mapping class for Anime watching statuses 2017-03-01 20:51:40 -05:00
14e8fa9f03 More PHPStan fixes 2017-02-22 15:08:29 -05:00
adc331d60d PHPStan fixes 2017-02-22 14:46:35 -05:00
56ae9ed80e Update method references in Manga controller 2017-02-21 15:37:29 -05:00
f3d9af311e Update method references in Collection controller 2017-02-21 15:36:34 -05:00
9f0484a93b Use new ParallelAPIRequest class 2017-02-20 13:37:08 -05:00
93038e61e5 More code style fixes 2017-02-17 11:37:22 -05:00
30b43fd27c Lots of style fixes, with more to come 2017-02-17 10:55:17 -05:00
6efe1ffbc8 Slightly reorganize model hierarchy 2017-02-17 08:39:27 -05:00
8898655a49 Various tweaking 2017-02-17 08:25:19 -05:00
0232d18f1f Yet more snake case to camel case 2017-02-16 14:30:06 -05:00
85cd77267b Make sure header comments are actually updated for all code files 2017-02-16 11:09:37 -05:00
84cb1cb520 And more snake case to camel case 2017-02-15 16:30:14 -05:00
db07976403 Update header comments 2017-02-15 16:13:32 -05:00
8cbfaf3646 More snake case to camel case 2017-02-15 15:56:10 -05:00
29c04e62be More code styles fixes 2017-02-15 15:35:41 -05:00
da9ebe8867 More style fixes 2017-02-15 13:07:36 -05:00
0a72e60f68 Fix more code style issues 2017-02-15 11:57:29 -05:00
d94a280437 Snake case to camel case 2017-02-15 11:30:16 -05:00
470c39cf79 Remove some unused code 2017-02-15 11:18:55 -05:00
652eac5be0 Get sync-lists command to create missing entries on MAL 2017-02-14 15:29:13 -05:00
dba0d47789 Uncomment rewatching stuff 2017-02-13 13:33:01 -05:00
4a3be8b4bf Fix mapping from Kitsu to MAL for updating a list item 2017-02-13 12:42:05 -05:00
8f8f528823 Fix config mapping for BaseCommand 2017-02-10 16:12:02 -05:00
8f8c413927 Fix update requests broken by Artax conversion 2017-02-09 20:10:13 -05:00
50c543218b Remove 'fix' for issue caused by php.ini setting 2017-02-09 13:45:40 -05:00
906a1f1efa 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
deecb5a912 Start of work to replace Guzzle with Artax 2017-02-08 00:44:57 -05:00
02838c5024 Update headers and some whitespace 2017-02-07 13:27:41 -05:00
bf7f6973a4 Create Request Builder wrapper around Artax 2017-02-07 13:11:42 -05:00
0fe01e14e1 Only translate fields that are passed in 2017-02-07 09:12:44 -05:00
5eea985828 Actually update MAL if enabled 2017-02-04 15:18:34 -05:00
1835e34690 Able to create list items on MAL 2017-02-01 09:53:02 -05:00
108c649a91 Misc updates 2017-01-31 12:52:43 -05:00
47a43517cb More test coverage, attempt to get Gitlab to see test coverage 2017-01-27 15:41:52 -05:00
03964c446a Ugly progress commit 2017-01-27 12:35:28 -05:00
20c3d69717 Get xml parsing working predictably 2017-01-27 09:43:42 -05:00
f57c24abe4 Make sure to pass the correct arguments to the cache hash method 2017-01-26 13:06:35 -05:00
0ae52a13f3 Refactor KitsuModel, add more docblocks 2017-01-26 13:03:38 -05:00
b2fb562de6 Fix display of streaming links in cover and list views 2017-01-25 13:37:39 -05:00
b2544fab16 Fix issue with selected list highlighting, fixes #20 2017-01-25 12:13:37 -05:00
96cbf78e28 Fix cache clear command 2017-01-19 12:49:18 -05:00
11f9e41254 Update commands 2017-01-17 12:47:02 -05:00
9bc22baa80 Cache manga list 2017-01-16 14:14:45 -05:00
f441b7680a Update views for collection, remove old json import 2017-01-16 14:03:30 -05:00
10368fabe4 Fix anime collection 2017-01-16 13:49:51 -05:00
0ec8d6d6b3 Restore cache clearing functionality 2017-01-16 11:26:19 -05:00
1eecff0178 Streaming links, caching, and more MAL integration 2017-01-13 16:53:56 -05:00
3e72a66297 Cache API errors at the dispatcher level, so a more appropriate error page can be displayed 2017-01-13 16:52:12 -05:00
496eb68078 Really ugly progress commit 2017-01-12 15:41:20 -05:00
d91432d960 Third time's a charm for updating the header comment? 2017-01-11 19:37:14 -05:00
62c06b7731 Start of integration with My Anime List 2017-01-11 19:35:51 -05:00
e060e1b107 Update header comments, with proper newlines 2017-01-11 10:34:24 -05:00
c76bb4d32a Update header comments 2017-01-11 10:31:17 -05:00
712956d564 Fix unit tests 2017-01-10 21:13:44 -05:00
39118d63e5 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
6e818b7f45 Anime and Manga editing, incrementing, and deletion 2017-01-09 20:36:48 -05:00
e085754955 Update header comments 2017-01-06 23:34:56 -05:00
98bf1e455f Episode incrementing and update work for anime 2017-01-06 21:39:01 -05:00
9d84398ee7 Better handling of alternate titles, Airing Status and genres for anime list views 2017-01-05 22:24:45 -05:00
09338e9132 Authentication, show edit forms for Anime 2017-01-05 13:41:32 -05:00
f1893d9708 Manga lists and detail pages 2017-01-04 13:16:58 -05:00
3030b6b908 Start of changes for Manga list 2017-01-03 21:06:49 -05:00
cdf9ad0105 Remove some old code to better make way for kitsu/MAL api integration 2017-01-03 20:29:43 -05:00
05c6f22f67 Another ugly progress commit
Sort of working:
* Get anime list by status
* Get anime description pages
2016-12-22 21:36:23 -05:00
e74fe9d2f5 Pull stuff from the Kitsu API 2016-12-21 12:46:20 -05:00
c9f5964d5e Ugly progress commit 2016-12-20 12:58:37 -05:00
e097b02457 Start of API integration 2016-12-20 12:55:43 -05:00
f2fcc8ee93 Remove Hummingbird stuff 2016-12-16 21:52:59 -05:00
07ebb3e988 Update headers and namespaces 2016-10-20 22:32:17 -04:00
c915ea871d Update EVERYTHING 2016-10-20 22:09:36 -04:00
dd2d25d54c Code style fixes to satisfy phpcs 2016-08-30 10:57:41 -04:00
230c80459e Update header comments 2016-08-30 10:01:18 -04:00
ac971c5248 Move src files to root of src/ 2016-08-29 16:36:13 -04:00
4e4ac58263 Fix tests broken due to changes in container 2016-08-29 15:36:36 -04:00
e0e63cf094 Move Ion namespace into composer dependency 2016-08-09 11:08:45 -04:00
6b9770698b Refactor cache to remove dependency on container 2016-08-01 13:02:26 -04:00
893584696b Move cache class to IOn namespace, use safer json for serialization in cache drivers 2016-07-28 10:44:13 -04:00
a108adfa23 Finish moving get_cached_image method to Util class 2016-07-27 14:32:37 -04:00
563adace2f Refactor out some Interdependency between Ion and AnimeClient namespaces 2016-07-27 13:18:52 -04:00
96d3dfdbb4 Update Redis tests to work with gitlab ci 2016-07-22 17:48:13 -04:00
fa22f7b493 Update Redis cache driver to use PHP-only library, removing the dependence on an extension: 2016-07-22 17:22:00 -04:00
1842e1a30b Remove redundant cache loading 2016-04-22 10:52:42 -04:00
b2990e8457 Add button to clear api cache 2016-04-21 11:14:21 -04:00
4e48c8c4fa Update changelog and add additional tests 2016-04-19 14:51:58 -04:00
2151d64f25 Small miscellaneous cleanup 2016-04-19 13:23:49 -04:00
89080171c9 Add batch image thumbnail creation, see #6, #14 2016-04-19 13:02:50 -04:00
733d3f3871 Resolves #10, adds ability to delete from anime collection 2016-04-14 19:10:03 -04:00
b5949466e4 Add detail view to anime list 2016-04-14 17:51:00 -04:00
1f9afd07f3 Add ability to delete items from manga list. See #10 2016-04-14 17:00:34 -04:00
717c296e52 Add ability to delete items from anime list. References #10 2016-04-14 15:16:13 -04:00
b528b8dc17 Re-add cache to manga controller so cache can be invalidated on update 2016-04-14 11:05:16 -04:00
330ac65e18 Add missing update to base API Model 2016-04-12 13:41:50 -04:00
e26e9f10b6 Update manga model to cache the one api response. 2016-04-12 13:41:03 -04:00
7d6c6fe2a0 Add NullDriver for cache layer, for the sake of testing, or config without a cache 2016-04-12 12:05:42 -04:00
5d0b879623 Miscellaneous cleanup 2016-04-08 18:05:52 -04:00
4b4a259f8a Add Redis Cache driver 2016-04-08 14:25:45 -04:00
83a200871d Add caching to Manga views 2016-04-07 13:11:45 -04:00
0f6c998109 Add tests for SQL based api cache 2016-04-07 12:34:57 -04:00
440a999c2e Remove json 'cache' files from anime model 2016-04-07 12:32:32 -04:00
7711765563 Fix tests 2016-04-06 14:58:19 -04:00
7efa180bbf Add some naive cache invalidation to update methods 2016-04-06 12:11:07 -04:00
84e4e6ce1b Start of caching implementation 2016-04-05 13:19:35 -04:00
972d96c0e0 Fix search methods to work with new Request library 2016-04-05 12:06:07 -04:00
2afbe84afd Start of interface for caching backend 2016-04-01 17:35:53 -04:00
06f07978dc Fix broken tests 2016-03-29 11:40:27 -04:00
2dde6f8a7d Fix issue with cover not being hidden on last episode 2016-03-29 11:30:51 -04:00
c8789dc267 Update url generation to use new router 2016-03-07 14:37:49 -05:00
ed16fd8d45 Fix most of the broken tests 2016-03-03 16:53:17 -05:00
dd74e85626 Further refactor handling of request variables, routing works again 2016-02-17 11:36:37 -05:00
ab19e9db08 Get HTML output working again, still refactoring router 2016-02-17 10:29:05 -05:00
98f3026a74 Start integration of PSR 7 Request/Response 2016-02-16 16:28:44 -05:00
d99f1e7595 Start of migration from php to toml config, see #11 2016-02-10 17:30:45 -05:00
3027c8a4a8 Update tests relating to issue #9 2016-02-09 21:03:26 -05:00
12d05dd71a Fixes issue #9 2016-02-09 20:20:54 -05:00
ecf3bce14b Partially fix #9 -- API calls fail on 'Plan to Watch' section 2016-02-09 20:12:39 -05:00
4533ea0b26 Minor spacing fixes 2016-02-02 21:38:38 -05:00
540a82fe22 Minor code quality fixes for Scrutinizer 2016-02-02 21:28:32 -05:00
99f2adf491 Add form for manga 2016-02-02 11:34:03 -05:00
3fa8e7d8e8 Ugly progress commit 2016-02-01 09:49:18 -05:00
08348fd349 Add proper table sorting and add some security headers 2016-01-20 13:01:41 -05:00
b611d02a2c Change logger methods to be inline with interface, fix Manga Model tests 2016-01-11 15:31:53 -05:00
2391ca14ca Remove errorhandler, and replace with logger 2016-01-11 14:39:53 -05:00
212c779552 Update collection to use flash messages and more intelligent redirects 2016-01-11 13:33:56 -05:00
0c2243a4f3 Add more test coverage, and update build.xml 2016-01-11 10:42:34 -05:00
3981b8471a Further refine Dispatcher 2016-01-08 16:39:18 -05:00
276a14a80c Refactor Dispatcher 2016-01-08 15:54:21 -05:00
b4949eaea2 Fix line endings in view classes 2016-01-08 15:53:50 -05:00
45b04105f1 Fix http verb for update route, add correct http codes for http errors 2016-01-07 20:48:18 -05:00
ae4530b5d2 Update codebase to use new Json class 2016-01-07 13:45:43 -05:00
00fd23895d Add missing classes 2016-01-06 17:08:44 -05:00
aa67b941d4 Fix PHP 5.5 build 2016-01-06 17:06:30 -05:00
b94bf01dee Remove unnamespaced constants, and improve some tests 2016-01-06 15:44:40 -05:00
ba94f439bb Simplify routing 2016-01-06 11:08:56 -05:00
Scrutinizer Auto-Fixer
2b5d650ef8 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
e9e16dd2b1 Update header comments, add start of manga editing functionality 2016-01-04 16:58:33 -05:00
Scrutinizer Auto-Fixer
8b528d8659 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
9c81836648 Add full edit form to anime list 2016-01-04 10:53:03 -05:00
6953cd08e6 Start of delete functionality for anime collection 2015-12-15 15:55:30 -05:00
30b6afb601 Some more minor code-style fixes 2015-12-09 14:54:11 -05:00
6ca086d85b Some code style fixes 2015-12-08 16:39:49 -05:00
70bfe2bab7 Fix collection functionality 2015-12-08 14:52:59 -05:00
56f9fa28aa Fix some minor formating issues 2015-11-18 10:54:06 -05:00
2577bad0af Update minor documention issues 2015-11-18 10:48:05 -05:00
254afc990e More test coverage 2015-11-18 10:31:42 -05:00
8d1986d13b Improve some test coverage 2015-11-17 16:45:41 -05:00
5d2cad4690 Remove loose functions file 2015-11-16 19:30:04 -05:00
49b3f507a6 Fix manga list updating 2015-11-16 15:57:37 -05:00
912f1b2ff2 Merge pull request #9 from timw4mail/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2015-11-16 11:40:26 -05:00
f75016ca69 Update header comments 2015-11-16 11:40:01 -05:00
Scrutinizer Auto-Fixer
4e1bcd962a 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
69f35d222c Poor style progress update commit 2015-11-13 16:31:01 -05:00
dfe91d0f1c Make updating of anime list work 2015-11-13 11:33:27 -05:00
ab955f5154 Fix various code style nuances 2015-11-11 15:28:51 -05:00
8343fa9182 Fix some sonarqube issues 2015-11-11 14:53:09 -05:00
Scrutinizer Auto-Fixer
cd8185960b 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
a18f1926d9 Fix ArrayType class 2015-11-09 11:49:51 -05:00
17a335275c More quality fixes 2015-11-09 11:10:15 -05:00
4937d4c099 Fix some more code style issues 2015-11-05 11:26:03 -05:00
1de8b46657 Some more style fixes 2015-11-05 10:41:46 -05:00
6aa51e5915 Some code style fixes 2015-11-04 16:53:22 -05:00
8936944743 Some minor refactoring 2015-11-04 16:36:54 -05:00
Scrutinizer Auto-Fixer
025bc4ef64 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
799a3652d4 Fix tests broken by missing fix to Anime Collection Model 2015-10-21 15:46:50 -04:00
2f8886c28f More test coverage 2015-10-21 15:43:51 -04:00
c3643565e3 Fix issue where cache file doesn't exist, add tests for Menu Helper 2015-10-21 11:57:58 -04:00
28e03f6fb2 Fix default redirect and tests 2015-10-20 16:41:51 -04:00
4ef2d6df57 Fix the rest of the menu urls 2015-10-20 15:59:51 -04:00
779f4a00eb Remove another vistigal controller method 2015-10-19 15:19:02 -04:00
77399e3fa4 Remove some vestigal methods from base controller 2015-10-19 13:58:59 -04:00
5f5bf66c75 Fix spacing style 2015-10-19 13:26:50 -04:00
fee09c50ae More test coverage 2015-10-19 12:50:46 -04:00
285a132d35 Scrutinizer fixes 2015-10-16 12:53:55 -04:00
0b79ac3596 Better testing for ArrayType and Config classes 2015-10-15 22:00:09 -04:00
de444857dd Add partial test for config delete 2015-10-15 10:23:00 -04:00
485ba46838 More test coverage 2015-10-15 09:25:30 -04:00
7f2000f180 Update lots of docblocks 2015-10-14 09:20:52 -04:00
34acf00b5e Fix documentation issues 2015-10-12 14:27:20 -04:00
bc6aed51c8 Remove some dead code 2015-10-12 14:11:00 -04:00
Scrutinizer Auto-Fixer
80f83e5f53 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
b687dcf2a8 Rearrange some namespaces and add more docblocks 2015-10-09 22:29:59 -04:00
Scrutinizer Auto-Fixer
4dddd3238c 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
a8e3c594e3 Basic Menu generation 2015-10-09 14:34:55 -04:00
728850da08 More scrutinizer fixes 2015-10-06 13:38:59 -04:00
Scrutinizer Auto-Fixer
bf6550d0d9 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
37ef0f5621 Fix more scrutinizer issues 2015-10-06 12:15:19 -04:00
f3772528c5 Code style improvements 2015-10-06 11:38:20 -04:00
dbbea163d1 Scrutinizer fixes 2015-10-06 10:44:33 -04:00
Scrutinizer Auto-Fixer
7e695edd29 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
6b322d18da Miscellaneous updates, prep for menu generator 2015-10-05 16:54:25 -04:00
be96e2c6af Update Router 2015-10-01 16:30:46 -04:00
2462e09205 Lots of miscellaneous improvements 2015-10-01 16:02:51 -04:00
acb0a1e8a2 Fix views to match transformed data 2015-10-01 16:01:23 -04:00
a73e150ee3 Fix broken test 2015-09-28 15:11:45 -04:00
23c16fc9c3 Transformers and Enums 2015-09-25 13:41:12 -04:00
082b5296b9 Update manga model to use Zipper transformer 2015-09-21 09:48:15 -04:00
f87dd2636d More tests for Ion 2015-09-18 22:55:40 -04:00
e2731db7ea Decouple and generalise 2015-09-17 23:11:18 -04:00
156461a0b9 Start of refactoring routing to be more convention based 2015-09-16 12:25:35 -04:00
8a68559f0e More namespace refactoring 2015-09-15 13:19:29 -04:00
97a5abe665 Namespace refactoring 2015-09-14 19:54:34 -04:00
d93f5a82a0 fix a few variable changes, remove old code from app folder 2015-09-14 16:14:02 -04:00
9d139a7d1c Pass the tests! 2015-09-14 15:49:20 -04:00
e53f9abf3f Some progress toward better structure through refactoring 2015-09-14 10:54:50 -04:00