Commit Graph

611 Commits

Author SHA1 Message Date
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
fa27abb954 Add tabs to character page sections 2018-10-30 11:42:32 -04:00
cf1c55782f Small code consistency update 2018-10-29 15:48:54 -04:00
bd4cfaafe1 Add staff section on Manga detail pages 2018-10-29 15:17:48 -04:00
679c369427 Fix staff section on Anime detail pages, center unusually sized images instead of stretching them 2018-10-29 14:43:06 -04:00
0fa54d9f7f Attempt to fix tests again 2018-10-29 10:07:20 -04:00
2a6929c6ff Update JsonAPI helper to better handle input data without mangling 2018-10-29 09:39:56 -04:00
50b65d66e1 Ugly Progress Commit
* Update Person pages to have series organized by character for Voice
Acting
* Miscellaneous style updates
* Add placeholder images for items missing images
2018-10-26 13:08:45 -04:00
14be365a16 Refactor some silly switches 2018-10-19 10:40:11 -04:00
16f62ceb8d Miscellaneous page improvements, including additional data and sorting 2018-10-19 09:30:27 -04:00
28164f72da Remove need for www subdomain for streaming service mapping 2018-10-17 14:33:16 -04:00
f243dd4583 Replace switch statement with array mapping 2018-10-17 14:20:07 -04:00
fccc794528 Fix tests, and category list for Manga detail page 2018-10-16 14:32:52 -04:00
12dfb491bc Remove a reference to genres from an older version of the Kitsu API 2018-10-16 14:22:47 -04:00
82520afa0e Account for missing genres in anime collection 2018-10-11 16:40:51 -04:00
07cae83e15 Default to secure (https) urls 2018-10-11 09:53:14 -04:00
Timothy Warren
f7cfcbbced Add console command to re-generate list thumbnails 2018-10-10 16:04:58 -04:00
Timothy Warren
ca6954936f Attempt to fix ssl detection 2018-10-10 15:58:28 -04:00
4eb258bb2f Fix broken url generator test 2018-10-10 14:26:44 -04:00
54b4e11335 Always set the url protocol for the url generator 2018-10-10 14:21:46 -04:00
5258b215d4 Fix tests 2018-10-09 18:26:42 -04:00
fec30b7e36 Full Anilist settings page OAuth flow, ability to run app without manually editing config files. See #7. Resolves #5 2018-10-09 18:10:20 -04:00
7a2bb1ba05 Cleanup styles of settings page, cleanup syncing command a bit 2018-10-09 10:11:42 -04:00
bb9e7b8d49 Fix issue with cache settings 2018-10-08 16:47:40 -04:00
e4110f089e More settings, now with tabs 2018-10-08 16:38:08 -04:00
88b68b847c Settings control panel saves to admin-override.toml in the app/config directory, resolves #7 2018-10-08 15:45:46 -04:00
f1a54d8782 More webp images, fix login 2018-10-05 22:36:54 -04:00
616ae1ea82 Ugly Progress Commit
* Cache and resize images - not just cache them
* Convert to webp on cache
* Show webp images if available
* Settings Form Generation (doesn't yet save)
2018-10-05 21:32:15 -04:00
0102a0b3ee Add command to check Kitsu's MAL id mappings 2018-10-05 14:40:30 -04:00
789af166ae Update code to use simpler config 2018-10-05 14:32:05 -04:00
3098fef20c Merge config.toml and route_config.toml 2018-10-05 14:27:07 -04:00
4d29b43123 Fix some api mapping issues for #5 2018-10-01 13:03:48 -04:00
5632c0c815 Update header comments to version 4.1 2018-10-01 11:35:51 -04:00
6f5db162a0 More work on #5 2018-10-01 10:50:22 -04:00
e3b4b9dd32 Ugly progress commit 2018-09-27 16:45:12 -04:00
9821c17de3 Fix tests 2018-09-26 22:43:04 -04:00
2d3295757d Lots of Anilist integration, see #5 2018-09-26 22:31:04 -04:00
ca5bfafe88 Anilist CRUD operations for Anime! See #5 2018-09-20 16:08:46 -04:00
77f2ffa93f Progress with simultaneous updates to Anilist for Anime 2018-09-20 10:41:28 -04:00
5fe48dfd57 Add Config 'Type', to keep config settings somewhat in check 2018-08-24 14:36:58 -04:00
45b545d32d Cleanup config a bit 2018-08-24 14:23:01 -04:00
0cb09dc4b8 Fix stupid type error 2018-08-22 13:51:58 -04:00
282ba45960 Update file header comments 2018-08-22 13:48:27 -04:00
348fe6e724 Eradicate MAL integration 2018-08-22 13:43:04 -04:00
1fa5695a9f Anime Collection improvements
* Allow editing title and alternate title
* Show list of genres on list view of collection
2018-08-21 17:09:42 -04:00
282022dbd2 Fix test failure 2018-08-20 13:41:25 -04:00
ba8663b22a Various cleanup, some work on #7 2018-08-20 13:01:16 -04:00
ff97cc1cb2 Add basic check for folder permissions for quicker troubleshooting 2018-08-16 12:10:24 -04:00
b3474ddff2 More progress on #5 2018-08-15 16:19:07 -04:00
64a9f41a64 Making API requests to Anilist, see #5 2018-08-15 14:05:28 -04:00
1ab47ca03a More prep for Anilist integration 2018-08-15 08:51:37 -04:00
24ea198dad Adjust layout of edit pages 2018-08-13 15:13:20 -04:00
0ff848c614 More refactoring work, some groundwork for Anilist integration 2018-08-10 20:10:19 -04:00
1dc1370115 Update some types
* Remove empty values from types for serialization, so that empty values
are not sent with API requests
* Allow use of explicit setters for more complex types
2018-08-09 11:34:02 -04:00
3b3156e78a More refactoring, fix snapshot tests 2018-08-08 13:05:38 -04:00
d29945eb96 Fix tests 2018-08-08 11:18:57 -04:00
f04cc7d1d5 Some minor code cleanliness refactoring 2018-08-08 10:12:45 -04:00
e50ce3fa5b Merge remote-tracking branch 'origin/master' into develop 2018-06-15 08:47:16 -04:00
e0e72eeef8 Give a better error message on failing to parse an XML API response 2018-06-15 08:46:28 -04:00
204313abbf Use more efficient method of combining large sets of data from Kitsu 2018-04-11 09:26:14 -04:00
b078690fdf Add more missing streaming logos 2018-04-05 23:00:58 -04:00
1df419cde5 Add Hidive to streaming service mapping 2018-04-05 08:56:01 -04:00
fa2d79c77e Miscellaneous style updates 2018-02-02 09:50:58 -05:00
70832f8b63 Minor refactor of Commands 2018-01-31 15:44:48 -05:00
e6b534078f Add trailer videos to anime detail pages 2018-01-31 10:55:20 -05:00
a6dc8caaa0 Use template literals instead of mustache templates 2018-01-30 16:57:13 -05:00
fe383249e4 Fix issue with anime detail pages 2018-01-30 14:02:28 -05:00
dc9d7ab4e1 Lots of style fixes and minor logic tweaks 2018-01-18 16:21:45 -05:00
55cabc5840 Code style improvements 2018-01-16 14:58:07 -05:00
0f705750e7 Remove strict types from Artax client implementation 2018-01-15 14:49:17 -05:00
4a0792e4fe Update copyright year 2018-01-15 14:43:15 -05:00
7a3ad6ebc6 Correct index of id for kitsu sync 2018-01-10 16:43:49 -05:00
bd61bd734b Simplify syncing script 2018-01-10 16:34:25 -05:00
f205ba8cff Merge remote-tracking branch 'origin/master' into develop 2018-01-10 16:28:37 -05:00
d1987fc710 Handle syncing errors more consistently 2018-01-10 16:18:06 -05:00
98283e27d8 Fix bug with sync, remove some code duplication 2017-12-13 11:38:21 -05:00
d3cbe06cb0 Update Artax, and update other code to work with new version 2017-12-08 22:32:00 -05:00
1634e98799 Miscellaneous code style changes 2017-12-06 14:40:13 -05:00
1ea3a59b6a Correct some errors in creating and deleting anime collection items 2017-12-06 12:30:12 -05:00
d13ad92dd1 Fix MAL sync issue for anime 2017-12-04 16:06:27 -05:00
79c6f21a2f Merge branch 'master' of git.timshomepage.net:timw4mail/HummingBirdAnimeClient 2017-10-18 19:42:01 -04:00
534079b6e7 Add proper logging to console commands 2017-10-18 19:28:57 -04:00
fab01c3e89 Fix an issue with Kitsu <-> MAL sync 2017-10-18 19:28:22 -04:00
23552d62b1 Adding missing method for manga collection 2017-09-15 15:05:35 -04:00
4b248eb8cf Better handle empty lists on sync, resolves #29 2017-09-15 15:04:57 -04:00
d798a057c7 Rough start of Manga collection...need to set up proper structure for manga collection items 2017-09-14 16:18:13 -04:00
2d19809ad3 Refactor a bit to prepare for manga collection 2017-09-14 15:32:53 -04:00
da2fa371e5 Update some api calls based on api changes 2017-09-12 12:18:31 -04:00
8bfc9fcc6e Attempt to re-authenticate when access token expires 2017-06-19 15:31:24 -04:00
5ef0ccf9a7 Some minor refactoring 2017-06-19 13:49:28 -04:00
6caa031c86 Further filter titles, showing only the canonical title if it is really long 2017-04-26 10:09:14 -04:00
d8b985c993 Kitsu <-> MAL manga list item comparison, resolves #18 2017-04-19 16:48:53 -04:00
510ae24dca kitsu <-> mal comparison for anime, see #18 2017-04-19 16:15:39 -04:00
06213df29f Miscellaneous code cleanup 2017-04-17 16:13:36 -04:00
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