Commit Graph

521 Commits

Author SHA1 Message Date
ef7c1da5f2 Move source code to sub folder so we can re-integrate ion 2020-03-11 22:11:00 -04:00
5216b60789 Update all the header files again 2020-03-11 16:31:52 -04:00
37c3d6ecf0 Move to Amp/HttpClient from Amp/Artax 2020-03-11 16:26:17 -04:00
8aa94f7c14 Update all the header comments 2020-03-11 15:15:05 -04:00
6047444077 Fix a method of Anilist Model 2020-03-11 15:12:10 -04:00
fafd75b791 More error checking 2020-01-15 15:22:38 -05:00
70eb4f11b3 Better id mapping error handling for Anilist 2020-01-15 12:35:37 -05:00
ae70eab9ea Bump copyright year 2020-01-08 15:39:49 -05:00
926179a72d More refactoring/cleanup 2019-12-09 16:17:25 -05:00
143229bea4 Automatically fix some docblocks 2019-12-09 14:41:04 -05:00
3978c4d5cb Update all the docblocks 2019-12-09 14:34:23 -05:00
705d48abad Annotate property types for Types classes 2019-12-09 13:40:54 -05:00
6044a676a6 Various code style tweaks 2019-12-09 13:13:31 -05:00
245e1b4344 Various code cleanup 2019-12-06 15:46:56 -05:00
8b677ab7a7 Update header comments 2019-12-06 09:16:35 -05:00
b4b5c63d65 Tweak tests for new version of PHPUnit 2019-12-06 09:15:49 -05:00
347674f9e5 Update dependencies 2019-12-05 16:59:24 -05:00
fde9b05bdf Bump PHP version requirement 2019-12-03 15:17:25 -05:00
995690a341 Update clear thumbnails script to work with lots of files 2019-12-02 15:29:24 -05:00
cd835055ec Catch errors when mapping MAL ids on sync 2019-10-08 19:59:47 -04:00
117427ced0 Misc bugfixes, especially for Anime without a MAL id. 2019-10-07 20:10:27 -04:00
0e893f06ba Minor code cleanup, add newer php version for travis tests 2019-08-16 10:31:31 -04:00
58bb1ab0ba Update base request builder to use the correct user agent 2019-08-10 10:42:02 -04:00
46041ccfc6 Add first GraphQL files for Kitsu for future implementation 2019-08-10 10:10:09 -04:00
625edf5d0c Improve 404 checks for detail pages 2019-08-10 10:09:07 -04:00
0153271a62 Add 'automatic' dark theme, based on browser 'prefers-color-scheme: dark' media query 2019-07-12 15:56:24 -04:00
cda711607a Clean up commands a little bit 2019-07-11 19:03:35 -04:00
c5bb555695 Show fewer sync errors by filtering common data disparity issues 2019-07-11 16:38:21 -04:00
ea5eb21941 Fix syncing manga to anilist when you have to create a new list item 2019-07-11 15:24:34 -04:00
038e61bf37 Make Anilist missing username error more reliable, allow editing anilist username in settings panel 2019-07-11 10:28:09 -04:00
bce1afa546 Collection "All Tab", and filtering. Resolves #6, #7 2019-07-10 13:32:05 -04:00
4502c2f183 No more genre-related database errors, and other collection improvements 2019-07-10 10:20:37 -04:00
e98699acbc Fix thumbnail generation command 2019-05-08 13:19:03 -04:00
6ee198c742 Fix some edge cases 2019-04-01 16:17:40 -04:00
94b15f455c Remove XML codec class 2019-03-12 09:43:17 -04:00
f6278a1304 Consistent spacing around auth checks 2019-01-29 16:01:31 -05:00
04c5b135a7 Add a per-controller-method check for authorization for private routes 2019-01-29 15:12:31 -05:00
8a8ea0b470 Cleanup redundant methods in Collection model 2019-01-28 14:31:48 -05:00
4e2437f2bc Fix error on attempt to insert a duplicate series 2019-01-22 10:21:58 -05:00
27c7f08d7f Hide missing table error on noninitialized collection, see #20 2019-01-08 15:52:53 -05:00
317d8fd29b Cleanup database logic a bit 2019-01-07 14:29:15 -05:00
b66a35843d Small code cleanup 2019-01-07 09:08:00 -05:00
ac382a96a8 Simplify/clean up some base classes 2018-12-21 15:52:34 -05:00
be16ceecb2 Make syncing slightly more robust 2018-12-12 15:31:59 -05:00
105b0f52ca Use the same API client instance across the codebase 2018-12-07 10:24:42 -05:00
63a50f7ed8 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
4b9f97f49e Remove default API client timeouts, fix time on anime calculation 2018-12-06 16:21:02 -05:00
538201ef6f Add dark theme with setting toggle 2018-12-06 13:04:54 -05:00
5e9780aad7 Update misspelled method, somehow resolves #19 2018-11-29 11:46:06 -05:00
f3265484da Some API client cleanup 2018-11-29 11:00:50 -05:00
4c3f987b85 Fix error in list sync 2018-11-27 15:37:16 -05:00
2c73e721d0 Misc code cleanup 2018-11-09 10:38:35 -05:00
c0e16c6d07 Remove data transformation from media detail pages, and into the proper transformers 2018-11-08 12:15:30 -05:00
9c0b1e73ef Move data transformation out of controllers, and into transformers 2018-11-08 11:36:42 -05:00
05842baccb Fix generic user page route, minor code cleanup 2018-11-07 14:29:21 -05:00
8b938add27 Fix collection query 2018-11-05 13:25:18 -05:00
ca487901c2 Sort streaming links by service 2018-11-05 10:40:29 -05:00
d514c319c0 Update picture helper, move anilist oauth calls to the settings controller 2018-11-02 12:58:19 -04:00
f314538972 Various refactoring, better webp image handling 2018-11-01 22:15:20 -04:00
155650961b Make Controllers more specialized 2018-11-01 22:12:41 -04:00
ef1e435c6b Add tabs to character page sections 2018-10-30 11:42:32 -04:00
3842df13db Small code consistency update 2018-10-29 15:48:54 -04:00
be2f7708ad Add staff section on Manga detail pages 2018-10-29 15:17:48 -04:00
29a4114e8c Fix staff section on Anime detail pages, center unusually sized images instead of stretching them 2018-10-29 14:43:06 -04:00
1690d8c1e0 Attempt to fix tests again 2018-10-29 10:07:20 -04:00
d0af6fd9e8 Update JsonAPI helper to better handle input data without mangling 2018-10-29 09:39:56 -04:00
bcc7815ae6 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
5d87bd044c Refactor some silly switches 2018-10-19 10:40:11 -04:00
019fff5d62 Miscellaneous page improvements, including additional data and sorting 2018-10-19 09:30:27 -04:00
cf1c495f90 Remove need for www subdomain for streaming service mapping 2018-10-17 14:33:16 -04:00
cee5a28816 Replace switch statement with array mapping 2018-10-17 14:20:07 -04:00
83a6629f03 Fix tests, and category list for Manga detail page 2018-10-16 14:32:52 -04:00
5810405f12 Remove a reference to genres from an older version of the Kitsu API 2018-10-16 14:22:47 -04:00
7b765c6d0b Account for missing genres in anime collection 2018-10-11 16:40:51 -04:00
0bbc4fe4fb Default to secure (https) urls 2018-10-11 09:53:14 -04:00
86c311dddf Add console command to re-generate list thumbnails 2018-10-10 16:04:58 -04:00
eaf3554611 Attempt to fix ssl detection 2018-10-10 15:58:28 -04:00
99aaf0303b Fix broken url generator test 2018-10-10 14:26:44 -04:00
6d1df75889 Always set the url protocol for the url generator 2018-10-10 14:21:46 -04:00
c9ec11c2df Fix tests 2018-10-09 18:26:42 -04:00
5b8f0c4a9e 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
41d71dac0c Cleanup styles of settings page, cleanup syncing command a bit 2018-10-09 10:11:42 -04:00
6dfa66dbde Fix issue with cache settings 2018-10-08 16:47:40 -04:00
324abc0f61 More settings, now with tabs 2018-10-08 16:38:08 -04:00
3c0fd79195 Settings control panel saves to admin-override.toml in the app/config directory, resolves #7 2018-10-08 15:45:46 -04:00
247a9d0e5b More webp images, fix login 2018-10-05 22:36:54 -04:00
d6800dbc46 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
ae283cd898 Add command to check Kitsu's MAL id mappings 2018-10-05 14:40:30 -04:00
a8f898822a Update code to use simpler config 2018-10-05 14:32:05 -04:00
da936b325e Merge config.toml and route_config.toml 2018-10-05 14:27:07 -04:00
8b3ce0f079 Fix some api mapping issues for #5 2018-10-01 13:03:48 -04:00
c9ed90acb4 Update header comments to version 4.1 2018-10-01 11:35:51 -04:00
17a9539e94 More work on #5 2018-10-01 10:50:22 -04:00
0f31a5e10a Ugly progress commit 2018-09-27 16:45:12 -04:00
e0376c78d1 Fix tests 2018-09-26 22:43:04 -04:00
a6c253b969 Lots of Anilist integration, see #5 2018-09-26 22:31:04 -04:00
e7dc1e8e53 Anilist CRUD operations for Anime! See #5 2018-09-20 16:08:46 -04:00
034213fccc Progress with simultaneous updates to Anilist for Anime 2018-09-20 10:41:28 -04:00
a71fb185bd Add Config 'Type', to keep config settings somewhat in check 2018-08-24 14:36:58 -04:00
98ae142757 Cleanup config a bit 2018-08-24 14:23:01 -04:00
cd150d7fef Fix stupid type error 2018-08-22 13:51:58 -04:00
3bca049cd8 Update file header comments 2018-08-22 13:48:27 -04:00
95b06a7e7e Eradicate MAL integration 2018-08-22 13:43:04 -04:00
4a91a5cb5d 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
bc2122dd98 Fix test failure 2018-08-20 13:41:25 -04:00
2a2ff87b3b Various cleanup, some work on #7 2018-08-20 13:01:16 -04:00
e6761807b8 Add basic check for folder permissions for quicker troubleshooting 2018-08-16 12:10:24 -04:00
bfb5d6323d More progress on #5 2018-08-15 16:19:07 -04:00
b3a3e19146 Making API requests to Anilist, see #5 2018-08-15 14:05:28 -04:00
b5f8413ceb More prep for Anilist integration 2018-08-15 08:51:37 -04:00
ea31131e0f Adjust layout of edit pages 2018-08-13 15:13:20 -04:00
0dcf25e16c More refactoring work, some groundwork for Anilist integration 2018-08-10 20:10:19 -04:00
49295148d1 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
be2b387391 More refactoring, fix snapshot tests 2018-08-08 13:05:38 -04:00
06c55a2094 Fix tests 2018-08-08 11:18:57 -04:00
9a7084078f Some minor code cleanliness refactoring 2018-08-08 10:12:45 -04:00
f71e9dbe4d Merge remote-tracking branch 'origin/master' into develop 2018-06-15 08:47:16 -04:00
cecca5f9f0 Give a better error message on failing to parse an XML API response 2018-06-15 08:46:28 -04:00
79be0ebb34 Use more efficient method of combining large sets of data from Kitsu 2018-04-11 09:26:14 -04:00
c0c72e40e4 Add more missing streaming logos 2018-04-05 23:00:58 -04:00
75a5727a2e Add Hidive to streaming service mapping 2018-04-05 08:56:01 -04:00
9cac51bd82 Miscellaneous style updates 2018-02-02 09:50:58 -05:00
a434c032a2 Minor refactor of Commands 2018-01-31 15:44:48 -05:00
92ad051f6a Add trailer videos to anime detail pages 2018-01-31 10:55:20 -05:00
da8f4acb29 Use template literals instead of mustache templates 2018-01-30 16:57:13 -05:00
83f9d14630 Fix issue with anime detail pages 2018-01-30 14:02:28 -05:00
f06ba6e3cd Lots of style fixes and minor logic tweaks 2018-01-18 16:21:45 -05:00
231babe218 Code style improvements 2018-01-16 14:58:07 -05:00
4532bd1865 Remove strict types from Artax client implementation 2018-01-15 14:49:17 -05:00
7b9adbf52e Update copyright year 2018-01-15 14:43:15 -05:00
34996f009b Correct index of id for kitsu sync 2018-01-10 16:43:49 -05:00
39031ccf3e Simplify syncing script 2018-01-10 16:34:25 -05:00
4451544389 Merge remote-tracking branch 'origin/master' into develop 2018-01-10 16:28:37 -05:00
11068029e8 Handle syncing errors more consistently 2018-01-10 16:18:06 -05:00
e75c52d9dc Fix bug with sync, remove some code duplication 2017-12-13 11:38:21 -05:00
bbe2fd0a5d Update Artax, and update other code to work with new version 2017-12-08 22:32:00 -05:00
2ad0a24483 Miscellaneous code style changes 2017-12-06 14:40:13 -05:00
55fca3f92f Correct some errors in creating and deleting anime collection items 2017-12-06 12:30:12 -05:00
9497f5c3df Fix MAL sync issue for anime 2017-12-04 16:06:27 -05:00
a4555ca908 Merge branch 'master' of git.timshomepage.net:timw4mail/HummingBirdAnimeClient 2017-10-18 19:42:01 -04:00
45e14a7503 Add proper logging to console commands 2017-10-18 19:28:57 -04:00
5eaa33ba82 Fix an issue with Kitsu <-> MAL sync 2017-10-18 19:28:22 -04:00
2b9adb0395 Adding missing method for manga collection 2017-09-15 15:05:35 -04:00
5fb042a773 Better handle empty lists on sync, resolves #29 2017-09-15 15:04:57 -04:00
200ff1339c Rough start of Manga collection...need to set up proper structure for manga collection items 2017-09-14 16:18:13 -04:00
a8e2049d08 Refactor a bit to prepare for manga collection 2017-09-14 15:32:53 -04:00
372b616101 Update some api calls based on api changes 2017-09-12 12:18:31 -04:00
6493f33faf Attempt to re-authenticate when access token expires 2017-06-19 15:31:24 -04:00
e66a9f885a Some minor refactoring 2017-06-19 13:49:28 -04:00
3fd7c84774 Further filter titles, showing only the canonical title if it is really long 2017-04-26 10:09:14 -04:00