Commit Graph

418 Commits

Author SHA1 Message Date
e714599fad Update dependencies, and set a more locked-down content security policy 2017-04-13 15:08:28 -04:00
1df71121eb Use proxy and cached images on user info page 2017-04-13 14:25:39 -04:00
029073a4ea Get images from proxy or cache for Manga views, and Add views 2017-04-13 11:44:03 -04:00
1c06748232 All anime images now pull from proxy or cache 2017-04-13 11:26:28 -04:00
2d9c5b3093 Css tweaks, and start caching kitsu images 2017-04-13 11:15:16 -04:00
59446649f6 Fix changing a list item's status with no score or progress on MAL 2017-04-11 09:28:07 -04:00
4bd62ce881 Fix various edge cases 2017-04-10 15:31:35 -04:00
e6cfe2b6e9 Use a more appropriate function for substring filtering 2017-04-07 16:58:08 -04:00
555de3d17b Tweak handling of alternate titles, to ensure the +1 button is always usable 2017-04-07 16:44:27 -04:00
ed4f9152d4 Replace 0 with - 2017-04-07 13:57:14 -04:00
e5e4323486 Make sure Cast heading only shows up if there are actual cast entries 2017-04-06 21:27:03 -04:00
5357bfb122 Make sure rating parameter sent to Kitsu is greater than 0 2017-04-06 14:53:38 -04:00
05b8136a1e Add a better API timeout message emoticon 2017-04-05 13:08:16 -04:00
853a349a4b Add staff to character pages 2017-04-05 13:02:48 -04:00
ea2b4fe148 Catch API timeouts 2017-04-05 13:01:51 -04:00
255895097a Remove some dead code 2017-04-03 16:53:04 -04:00
388c0a274d Fix creating missing Kitsu items 2017-04-03 15:46:16 -04:00
d91665e3ae More basic tests, see #16 2017-04-03 14:46:29 -04:00
06bc655a59 Details and user page updates, resolves #27 2017-03-31 16:36:22 -04:00
82c86b7b47 Update detail pages 2017-03-31 13:37:53 -04:00
8223786bb5 Remove duplicated function 2017-03-30 16:57:58 -04:00
aa901550a1 Update header comments 2017-03-30 16:49:48 -04:00
f8f499520e Allow over-riding the default lists in the user config 2017-03-30 16:47:02 -04:00
67819156ed Simplify routing code a bit 2017-03-30 16:16:40 -04:00
a767c75014 Make sure rating is only updated if it is numeric 2017-03-29 16:09:22 -04:00
9dfc99f49b More tests 2017-03-29 15:14:30 -04:00
88c65dd0df Add and delete manga simulaneously from kitsu and mal 2017-03-29 14:25:03 -04:00
528deae789 Allow manga +1 button to update both kitsu and mal 2017-03-29 14:00:57 -04:00
3bb4f32bdb Simultaneously update kitsu and MAL manga list item 2017-03-29 13:29:03 -04:00
08a882bbb6 Create missing manga items on kitsu and mal with sync command 2017-03-29 12:32:36 -04:00
a892d875fd Update sync lists command to create Kitsu items that are missing compared to MAL 2017-03-28 16:52:27 -04:00
4f528ca2c8 Minor api model refactoring 2017-03-28 14:36:23 -04:00
754a5e7b98 Reorgnize order of Kitsu model methods 2017-03-28 14:34:33 -04:00
161c2b3bc1 Update dependencies, use ParallelAPIRequest 2017-03-28 11:01:38 -04:00
493ac3ca03 Code cleanup and fix 'On Hold' title on all section of anime list 2017-03-27 10:09:45 -04:00
f59827f95f List characters on manga pages 2017-03-24 10:59:07 -04:00
bc8822e725 Update all the page titles 2017-03-24 09:58:27 -04:00
da336876b6 Fix title of anime pages 2017-03-24 09:10:30 -04:00
f7119a5b0f Show custom 404 pages for missing anime and characters 2017-03-24 09:08:39 -04:00
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
6f643454ef Update streaming link handling, and add daisuki and viewster 2017-03-22 12:29:07 -04:00
1fd2dd1146 Fix syntax error, prime manga cache too. See #19 2017-03-22 12:28:19 -04:00
535de1cf50 Add command to prime cache, see #19 2017-03-22 11:41:25 -04:00
e84b837dce Fix issue with updating anime item 2017-03-22 11:15:40 -04:00
a58d654d1d Remove unused mappings 2017-03-22 11:14:59 -04:00
40a899066e All anime api calls are now using paginated requests, see #23 2017-03-22 11:13:50 -04:00
185416f09d Miscellaneous code cleanup 2017-03-20 19:08:33 -04:00
0187140e8e Show characters on anime details page 2017-03-20 13:14:01 -04:00
39e083d17c Minor model refactoring 2017-03-14 14:28:08 -04:00
b38d5811a4 More work on user profile page 2017-03-10 12:50:48 -05:00
c895dfcfbe use readable cache keys 2017-03-10 12:50:29 -05:00
4653ce2f42 More work on profile page 2017-03-08 16:21:01 -05:00
5605384b6a Fix tests and start on profile page 2017-03-08 13:46:50 -05:00
3e68fec704 Add basic character pages 2017-03-08 12:55:49 -05:00
d7c47f3c1f Update all the header comments with the correct repository url 2017-03-07 20:53:58 -05:00
34604d1b7b Fix issues with sync-lists command, add more docblocks 2017-03-07 20:49:31 -05:00
b6dc104947 Fix 'All' section on Manga page 2017-03-07 18:41:51 -05:00
26d339e546 Add back 'All' menu item for anime 2017-03-07 17:51:08 -05:00
15b6d492f1 Make sure mapping is accurately named
\!
2017-03-03 11:51:53 -05:00
5c382db49c Move AnimeWatchingStatus and MangaReadingStatus enums to the same namespace 2017-03-02 11:12:19 -05:00
df249fd423 Remove accidentially created Java file 2017-03-01 22:11:37 -05:00
88f6a3fc4f Rework the rest of the mappings 2017-03-01 22:07:51 -05:00
9c7ed16538 Update Manga mappings and enums 2017-03-01 21:52:30 -05:00
1f86d4460c Add new mapping class for Anime watching statuses 2017-03-01 20:51:40 -05:00
d15710abfa More PHPStan fixes 2017-02-22 15:08:29 -05:00
d620e44114 PHPStan fixes 2017-02-22 14:46:35 -05:00
7889849fe2 Update method references in Manga controller 2017-02-21 15:37:29 -05:00
adecbe1e5c Update method references in Collection controller 2017-02-21 15:36:34 -05:00
96fce9a6d5 Use new ParallelAPIRequest class 2017-02-20 13:37:08 -05:00
fdd7f91835 More code style fixes 2017-02-17 11:37:22 -05:00
9951053b4f Lots of style fixes, with more to come 2017-02-17 10:55:17 -05:00
1f58d7a419 Slightly reorganize model hierarchy 2017-02-17 08:39:27 -05:00
58549b7018 Various tweaking 2017-02-17 08:25:19 -05:00
1f6100c367 Yet more snake case to camel case 2017-02-16 14:30:06 -05:00
4def692123 Make sure header comments are actually updated for all code files 2017-02-16 11:09:37 -05:00
365da603fa And more snake case to camel case 2017-02-15 16:30:14 -05:00
b902464446 Update header comments 2017-02-15 16:13:32 -05:00
8c31a3b6d6 More snake case to camel case 2017-02-15 15:56:10 -05:00
7648d31e53 More code styles fixes 2017-02-15 15:35:41 -05:00
6652ed7354 More style fixes 2017-02-15 13:07:36 -05:00
a04643ea10 Fix more code style issues 2017-02-15 11:57:29 -05:00
e5db6bebe8 Snake case to camel case 2017-02-15 11:30:16 -05:00
506cce02cf Remove some unused code 2017-02-15 11:18:55 -05:00
0d553b7dd4 Get sync-lists command to create missing entries on MAL 2017-02-14 15:29:13 -05:00
9c1dc50e65 Uncomment rewatching stuff 2017-02-13 13:33:01 -05:00
cfa23b8066 Fix mapping from Kitsu to MAL for updating a list item 2017-02-13 12:42:05 -05:00
fb1af97bae Fix config mapping for BaseCommand 2017-02-10 16:12:02 -05:00
e2aa61f580 Fix update requests broken by Artax conversion 2017-02-09 20:10:13 -05:00
c9f74dd863 Remove 'fix' for issue caused by php.ini setting 2017-02-09 13:45:40 -05:00
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
5aafbc9cb2 Start of work to replace Guzzle with Artax 2017-02-08 00:44:57 -05:00
5f0f830aea Update headers and some whitespace 2017-02-07 13:27:41 -05:00
20540963ff Create Request Builder wrapper around Artax 2017-02-07 13:11:42 -05:00
5c5b1cd318 Only translate fields that are passed in 2017-02-07 09:12:44 -05:00
a48c3e5f8e Actually update MAL if enabled 2017-02-04 15:18:34 -05:00
47bfe810fc Able to create list items on MAL 2017-02-01 09:53:02 -05:00
c38b4b7f45 Misc updates 2017-01-31 12:52:43 -05:00
ad4b71ac03 More test coverage, attempt to get Gitlab to see test coverage 2017-01-27 15:41:52 -05:00
ef6d0f82fd Ugly progress commit 2017-01-27 12:35:28 -05:00
3f90e93af1 Get xml parsing working predictably 2017-01-27 09:43:42 -05:00
192618b890 Make sure to pass the correct arguments to the cache hash method 2017-01-26 13:06:35 -05:00
04e8a9e514 Refactor KitsuModel, add more docblocks 2017-01-26 13:03:38 -05:00
b8f75e14ec Fix display of streaming links in cover and list views 2017-01-25 13:37:39 -05:00
1818bf105d Fix issue with selected list highlighting, fixes #20 2017-01-25 12:13:37 -05:00
5f6c1f9f48 Fix cache clear command 2017-01-19 12:49:18 -05:00
94bfdebf46 Update commands 2017-01-17 12:47:02 -05:00
95f768aed3 Cache manga list 2017-01-16 14:14:45 -05:00
07c4682711 Update views for collection, remove old json import 2017-01-16 14:03:30 -05:00
3dac007390 Fix anime collection 2017-01-16 13:49:51 -05:00
a266c68f9b Restore cache clearing functionality 2017-01-16 11:26:19 -05:00
d79370deb9 Streaming links, caching, and more MAL integration 2017-01-13 16:53:56 -05:00
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
270f9ab167 Really ugly progress commit 2017-01-12 15:41:20 -05:00
951187783b Third time's a charm for updating the header comment? 2017-01-11 19:37:14 -05:00
e6e9c9424b Start of integration with My Anime List 2017-01-11 19:35:51 -05:00
3f34ecee28 Update header comments, with proper newlines 2017-01-11 10:34:24 -05:00
036396a382 Update header comments 2017-01-11 10:31:17 -05:00
8d559dc664 Fix unit tests 2017-01-10 21:13:44 -05:00
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
08b4227b34 Anime and Manga editing, incrementing, and deletion 2017-01-09 20:36:48 -05:00
187812576c Update header comments 2017-01-06 23:34:56 -05:00
8412588940 Episode incrementing and update work for anime 2017-01-06 21:39:01 -05:00
4c75701c0d Better handling of alternate titles, Airing Status and genres for anime list views 2017-01-05 22:24:45 -05:00
9eda005399 Authentication, show edit forms for Anime 2017-01-05 13:41:32 -05:00
609ba57078 Manga lists and detail pages 2017-01-04 13:16:58 -05:00
772aeae20f Start of changes for Manga list 2017-01-03 21:06:49 -05:00
9bd5d62ca7 Remove some old code to better make way for kitsu/MAL api integration 2017-01-03 20:29:43 -05:00
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
0c910bff1a Pull stuff from the Kitsu API 2016-12-21 12:46:20 -05:00
a41acb28f6 Ugly progress commit 2016-12-20 12:58:37 -05:00
14181c9c51 Start of API integration 2016-12-20 12:55:43 -05:00
276c492355 Remove Hummingbird stuff 2016-12-16 21:52:59 -05:00
27f66cfea3 Update headers and namespaces 2016-10-20 22:32:17 -04:00
5e2a68dc84 Update EVERYTHING 2016-10-20 22:09:36 -04:00
afbde14116 Code style fixes to satisfy phpcs 2016-08-30 10:57:41 -04:00
52b1959338 Update header comments 2016-08-30 10:01:18 -04:00
bf01e41e32 Move src files to root of src/ 2016-08-29 16:36:13 -04:00
d6f9ceb5c7 Fix tests broken due to changes in container 2016-08-29 15:36:36 -04:00
3335093e87 Move Ion namespace into composer dependency 2016-08-09 11:08:45 -04:00
7f1bcc841a Refactor cache to remove dependency on container 2016-08-01 13:02:26 -04:00
ba6ada32f9 Move cache class to IOn namespace, use safer json for serialization in cache drivers 2016-07-28 10:44:13 -04:00
3d66fa9c11 Finish moving get_cached_image method to Util class 2016-07-27 14:32:37 -04:00
1b93adefa3 Refactor out some Interdependency between Ion and AnimeClient namespaces 2016-07-27 13:18:52 -04:00
5a69da4466 Update Redis tests to work with gitlab ci 2016-07-22 17:48:13 -04:00
4772c6df95 Update Redis cache driver to use PHP-only library, removing the dependence on an extension: 2016-07-22 17:22:00 -04:00
1afb45522d Remove redundant cache loading 2016-04-22 10:52:42 -04:00
675ccac14d Add button to clear api cache 2016-04-21 11:14:21 -04:00
47b8a83d86 Update changelog and add additional tests 2016-04-19 14:51:58 -04:00
1844f89e63 Small miscellaneous cleanup 2016-04-19 13:23:49 -04:00
741d9d0805 Add batch image thumbnail creation, see #6, #14 2016-04-19 13:02:50 -04:00
05391eceab Resolves #10, adds ability to delete from anime collection 2016-04-14 19:10:03 -04:00
3710f42505 Add detail view to anime list 2016-04-14 17:51:00 -04:00
01d25f2817 Add ability to delete items from manga list. See #10 2016-04-14 17:00:34 -04:00
d17549c0fb Add ability to delete items from anime list. References #10 2016-04-14 15:16:13 -04:00
79f71eee09 Re-add cache to manga controller so cache can be invalidated on update 2016-04-14 11:05:16 -04:00
aa2e6a5418 Add missing update to base API Model 2016-04-12 13:41:50 -04:00
29041a4667 Update manga model to cache the one api response. 2016-04-12 13:41:03 -04:00
a7063e9a49 Add NullDriver for cache layer, for the sake of testing, or config without a cache 2016-04-12 12:05:42 -04:00
35b42d5234 Miscellaneous cleanup 2016-04-08 18:05:52 -04:00
ea1b63265b Add Redis Cache driver 2016-04-08 14:25:45 -04:00
c7b4ddf71e Add caching to Manga views 2016-04-07 13:11:45 -04:00
3d19f93001 Add tests for SQL based api cache 2016-04-07 12:34:57 -04:00
5db1d8b494 Remove json 'cache' files from anime model 2016-04-07 12:32:32 -04:00
181af86899 Fix tests 2016-04-06 14:58:19 -04:00
352ebb4105 Add some naive cache invalidation to update methods 2016-04-06 12:11:07 -04:00
3127e06a47 Start of caching implementation 2016-04-05 13:19:35 -04:00
44e4aaa732 Fix search methods to work with new Request library 2016-04-05 12:06:07 -04:00
5aa8a70b0b Start of interface for caching backend 2016-04-01 17:35:53 -04:00
510211cfd0 Fix broken tests 2016-03-29 11:40:27 -04:00
26c6df74e4 Fix issue with cover not being hidden on last episode 2016-03-29 11:30:51 -04:00
d8c89c9deb Update url generation to use new router 2016-03-07 14:37:49 -05:00
dbaadc4c2a Fix most of the broken tests 2016-03-03 16:53:17 -05:00
2da5935d1f Further refactor handling of request variables, routing works again 2016-02-17 11:36:37 -05:00
9d00fc140c Get HTML output working again, still refactoring router 2016-02-17 10:29:05 -05:00
28adcaf95a Start integration of PSR 7 Request/Response 2016-02-16 16:28:44 -05:00
b6307eb88b Start of migration from php to toml config, see #11 2016-02-10 17:30:45 -05:00
b346bdf337 Update tests relating to issue #9 2016-02-09 21:03:26 -05:00
825e0c1a90 Fixes issue #9 2016-02-09 20:20:54 -05:00
db69b13d87 Partially fix #9 -- API calls fail on 'Plan to Watch' section 2016-02-09 20:12:39 -05:00
f3a44e6f33 Minor spacing fixes 2016-02-02 21:38:38 -05:00
6555aac2fb Minor code quality fixes for Scrutinizer 2016-02-02 21:28:32 -05:00
d746de34ea Add form for manga 2016-02-02 11:34:03 -05:00
49bd468aa4 Ugly progress commit 2016-02-01 09:49:18 -05:00
daf4b71bbb Add proper table sorting and add some security headers 2016-01-20 13:01:41 -05:00
6ff4ee2746 Change logger methods to be inline with interface, fix Manga Model tests 2016-01-11 15:31:53 -05:00
816a309f18 Remove errorhandler, and replace with logger 2016-01-11 14:39:53 -05:00
b85ddb9464 Update collection to use flash messages and more intelligent redirects 2016-01-11 13:33:56 -05:00
3918ce4eb7 Add more test coverage, and update build.xml 2016-01-11 10:42:34 -05:00
3bd5c7d218 Further refine Dispatcher 2016-01-08 16:39:18 -05:00
9c73ab928c Refactor Dispatcher 2016-01-08 15:54:21 -05:00
016e0988e9 Fix line endings in view classes 2016-01-08 15:53:50 -05:00
27ac7e8063 Fix http verb for update route, add correct http codes for http errors 2016-01-07 20:48:18 -05:00
275b0eea40 Update codebase to use new Json class 2016-01-07 13:45:43 -05:00
fa4940f22d Add missing classes 2016-01-06 17:08:44 -05:00
bfe46fbbd1 Fix PHP 5.5 build 2016-01-06 17:06:30 -05:00
38faaebb5f Remove unnamespaced constants, and improve some tests 2016-01-06 15:44:40 -05:00
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
205c7ac76d Update header comments, add start of manga editing functionality 2016-01-04 16:58:33 -05:00