Commit Graph

242 Commits

Author SHA1 Message Date
79f6ae8db7 Update test snapshot 2018-01-31 11:00:10 -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
4a0792e4fe Update copyright year 2018-01-15 14:43:15 -05:00
d3cbe06cb0 Update Artax, and update other code to work with new version 2017-12-08 22:32:00 -05: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
26aab3eef6 Fix tests broken by api change fixes 2017-09-12 12:33:57 -04:00
d62710bdf8 Update manga transformer tests 2017-04-13 11:54:58 -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
ed4f9152d4 Replace 0 with - 2017-04-07 13:57:14 -04:00
5357bfb122 Make sure rating parameter sent to Kitsu is greater than 0 2017-04-06 14:53:38 -04:00
b444648a3d Use snapshots library with tests to simplify testcases 2017-04-06 11:59:53 -04:00
d91665e3ae More basic tests, see #16 2017-04-03 14:46:29 -04:00
ca402bd826 Add favorite characters to user page, see #27 2017-03-31 14:15:29 -04:00
8223786bb5 Remove duplicated function 2017-03-30 16:57:58 -04:00
67819156ed Simplify routing code a bit 2017-03-30 16:16:40 -04:00
9dfc99f49b More tests 2017-03-29 15:14:30 -04:00
be252836be Fix tests 2017-03-29 13:42:40 -04:00
bc8822e725 Update all the page titles 2017-03-24 09:58:27 -04:00
5605384b6a Fix tests and start on profile page 2017-03-08 13:46:50 -05:00
d7c47f3c1f Update all the header comments with the correct repository url 2017-03-07 20:53:58 -05:00
88f6a3fc4f Rework the rest of the mappings 2017-03-01 22:07:51 -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
96fce9a6d5 Use new ParallelAPIRequest class 2017-02-20 13:37:08 -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
dfdc06d048 Rename test base class 2017-02-15 16:40:18 -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
71610b241c Snake case to camel case 2017-02-15 16:11:52 -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
7c33a6ef70 Update headers 2017-02-15 13:08:17 -05:00
a04643ea10 Fix more code style issues 2017-02-15 11:57:29 -05:00
30b398c946 Properly namespace all the tests 2017-02-15 11:49:38 -05:00
506cce02cf Remove some unused code 2017-02-15 11:18:55 -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
b4de2cfe01 Update deprecated test 2017-02-06 11:00:18 -05:00
a48c3e5f8e Actually update MAL if enabled 2017-02-04 15:18:34 -05:00
82e0078dbf Delete outdated test data 2017-01-31 12:55:28 -05:00
da4163bc6a More test coverage for transformers 2017-01-31 12:51:14 -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
005014a9c7 Fix broken test 2017-01-26 13:02:18 -05:00
5c34c92453 Fix failing test 2017-01-16 14:05:42 -05:00
76c5e50b0e Update transformer tests 2017-01-13 16:48:08 -05:00
270f9ab167 Really ugly progress commit 2017-01-12 15:41:20 -05:00
adbed10173 Add test data files 2017-01-11 22:27:36 -05:00
e6e9c9424b Start of integration with My Anime List 2017-01-11 19:35:51 -05:00
8d559dc664 Fix unit tests 2017-01-10 21:13:44 -05:00
a41acb28f6 Ugly progress commit 2016-12-20 12:58:37 -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
4607d146a4 Move tests to tests/ directory 2016-08-29 17:09:56 -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
cc65cc9cf1 Set up mutation testing for unit tests 2016-08-01 14:38:23 -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
2a3a64f0eb Fix travis ci tests 2016-07-27 13:35:30 -04:00
1b93adefa3 Refactor out some Interdependency between Ion and AnimeClient namespaces 2016-07-27 13:18:52 -04:00
756b5b5136 Update the correct file to change config for gitlab ci 2016-07-25 12:29:42 -04:00
fec9de0e3d Add redis config file for gitlab ci tests 2016-07-25 11:58:43 -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
23fa88bb33 Set default timezone to prevent stupid test errors 2016-07-18 13:06:37 -04:00
c0c90eb565 Make tests skip redis integration if the extension is not installed 2016-07-18 12:59:34 -04:00
47b8a83d86 Update changelog and add additional tests 2016-04-19 14:51:58 -04:00
de2f4fca1e Add tests for Cache Manager class 2016-04-12 14:05:13 -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
ea1b63265b Add Redis Cache driver 2016-04-08 14:25:45 -04:00
3d19f93001 Add tests for SQL based api cache 2016-04-07 12:34:57 -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
9d00fc140c Get HTML output working again, still refactoring router 2016-02-17 10:29:05 -05:00
6555aac2fb Minor code quality fixes for Scrutinizer 2016-02-02 21:28:32 -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
3918ce4eb7 Add more test coverage, and update build.xml 2016-01-11 10:42:34 -05:00
97dfa89b6d Actually fix view tests 2016-01-08 11:40:24 -05:00
f5549934fe Fix view tests 2016-01-08 11:19:56 -05:00
275b0eea40 Update codebase to use new Json class 2016-01-07 13:45:43 -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
b4489311c9 Fix testss 2016-01-05 10:05:14 -05:00
205c7ac76d Update header comments, add start of manga editing functionality 2016-01-04 16:58:33 -05:00
6e4e8edd9d Add full edit form to anime list 2016-01-04 10:53:03 -05:00
77709c068a Some code style fixes 2015-12-08 16:39:49 -05:00
99b429433c Skip erroring tests on travis 2015-11-18 10:58:12 -05:00
61f1963db8 Try mocking out get_cached_image method 2015-11-18 10:41:00 -05:00
253f191113 More test coverage 2015-11-18 10:31:42 -05:00
6622014bd1 Improve some test coverage 2015-11-17 16:45:41 -05:00
bd6b5e2b54 Remove loose functions file 2015-11-16 19:30:04 -05:00
afced2339a Poor style progress update commit 2015-11-13 16:31:01 -05:00
3c4ba096c6 Make updating of anime list work 2015-11-13 11:33:27 -05:00
4ad6178bf0 More test coverage 2015-10-21 15:43:51 -04:00
32d20a9234 Fix issue where cache file doesn't exist, add tests for Menu Helper 2015-10-21 11:57:58 -04:00
def424da72 Fix default redirect and tests 2015-10-20 16:41:51 -04:00
c99d4ee53d Fix the rest of the menu urls 2015-10-20 15:59:51 -04:00
766fad6bb2 Remove risky tests, update .gitignore 2015-10-19 15:13:18 -04:00
8625f20b74 Fix tests for PHP 5.5 2015-10-19 13:02:10 -04:00
944a0c9c2a More test coverage 2015-10-19 12:50:46 -04:00
23122964d2 Better testing for ArrayType and Config classes 2015-10-15 22:00:09 -04:00
67080a098f Add partial test for config delete 2015-10-15 10:23:00 -04:00
5bf46e0840 Fix origin value in API Model tests 2015-10-15 09:49:38 -04:00
454679626c Fix html view test for PHP < 7 2015-10-15 09:28:10 -04:00
e2e27c2311 More test coverage 2015-10-15 09:25:30 -04:00
6b1f39525d Remove some dead code 2015-10-12 14:11:00 -04:00
f49e4fe3d8 Rearrange some namespaces and add more docblocks 2015-10-09 22:29:59 -04:00
3de32f52af Basic Menu generation 2015-10-09 14:34:55 -04:00
83f1a9afd9 Fix failing test 2015-10-06 11:41:21 -04:00
d53524ed86 Code style improvements 2015-10-06 11:38:20 -04:00
5e5434d057 Miscellaneous updates, prep for menu generator 2015-10-05 16:54:25 -04:00
e71e76dbc6 fix test 2015-10-01 16:07:40 -04:00
7917c39065 Lots of miscellaneous improvements 2015-10-01 16:02:51 -04:00
a7ae1ac3a6 Use Anime transformer class 2015-09-28 14:41:45 -04:00
5624d9b44e Transformers and Enums 2015-09-25 13:41:12 -04:00
8fb6dae119 More tests for Ion 2015-09-18 22:55:40 -04:00
5f6119c86b Fix failing tests for PHP < 5.6 2015-09-18 13:06:22 -04:00
602759b471 Decouple and generalise 2015-09-17 23:11:18 -04:00
c788cf5d87 Start of refactoring routing to be more convention based 2015-09-16 12:25:35 -04:00
9193938dee More namespace refactoring 2015-09-15 13:19:29 -04:00
b1c6039630 Namespace refactoring 2015-09-14 19:54:34 -04:00
67799fcdfa fix a few variable changes, remove old code from app folder 2015-09-14 16:14:02 -04:00
dfe0b3a6cf Pass the tests! 2015-09-14 15:49:20 -04:00
cee211621c Some progress toward better structure through refactoring 2015-09-14 10:54:50 -04:00
54371bf76a Miscellaneous rework, and adding/editing of collection items when logged in 2015-07-02 14:04:04 -04:00
c33575e3d8 More dependency injection, and code coverage 2015-06-30 13:03:20 -04:00
Scrutinizer Auto-Fixer
3b0a19af2f Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-06-29 14:26:50 +00:00
4785b82208 Add php namespaces 2015-06-26 16:39:10 -04:00
0099d4f5ec Fix some broken tests 2015-06-26 13:24:55 -04:00
0c73343291 Better integrate minification scripts, and add more unit tests 2015-06-26 12:03:42 -04:00
0b63f810a9 First unit tests, add a few of the forgotten app requirements 2015-06-25 17:00:29 -04:00