Commit Graph

199 Commits

Author SHA1 Message Date
Pig Fang
c3934702e0 Update test 2018-07-23 10:11:04 +08:00
Pig Fang
35832a6993 Add Mailable test 2018-07-23 09:33:55 +08:00
Pig Fang
5e3e2bf688 Return 204 instead of 200 for CDN cache 2018-07-22 16:42:58 +08:00
Pig Fang
e60d73b410 Remove bs_announcement function and parsedown 2018-07-22 16:32:34 +08:00
Pig Fang
60996020f4 Fix test 2018-07-22 10:50:01 +08:00
Pig Fang
9700bf11e3 Fix test 2018-07-22 10:34:24 +08:00
Pig Fang
11b6078c57 Add error control for retrieving textures 2018-07-22 10:00:30 +08:00
Pig Fang
10a0cd09db Add option for denying directly downloading textures 2018-07-22 09:38:42 +08:00
Pig Fang
0233e44ccd Add a setup step to fill database info 2018-07-21 16:55:36 +08:00
Pig Fang
8bd60624a0 Fix validating captcha 2018-07-21 08:17:16 +08:00
Pig Fang
0ded695295 Nickname is required in setup 2018-07-20 17:23:54 +08:00
Pig Fang
5b1667d798 Add regexp rule support for texture name 2018-07-20 15:41:15 +08:00
Pig Fang
fdf618b2be Use Laravel's auth system and use another captcha generator 2018-07-20 14:42:43 +08:00
Pig Fang
24b2107c48 Fix processing cookies after deleting user 2018-07-19 10:46:01 +08:00
Pig Fang
fa1c780786 Rename method on User model 2018-07-19 10:31:44 +08:00
Pig Fang
3c24a166e8 Use signed URL to simplify resetting password 2018-07-18 11:04:34 +08:00
Pig Fang
556f8268f3 optimize for loop in test 2018-07-16 16:01:58 +08:00
Pig Fang
29c004da9c fix test 2018-07-16 11:54:42 +08:00
Pig Fang
9cd6e0945d booleanify public property 2018-07-16 11:10:01 +08:00
Pig Fang
0f7d44a2c9 refactor tests 2018-07-16 10:22:19 +08:00
Pig Fang
a53743862f fix risky test 2018-07-15 18:34:38 +08:00
Pig Fang
590f62d035 use mail.driver to determine whether password reset is disabled 2018-07-15 18:18:56 +08:00
Pig Fang
209d74ab7a use mailable 2018-07-15 17:42:03 +08:00
Pig Fang
aa00c65a7a hack for test 2018-07-14 15:44:52 +08:00
Pig Fang
65f1596eae fix test of SkinlibController 2018-07-14 15:03:05 +08:00
Pig Fang
ec5eaeff81 remove unused code 2018-07-14 09:05:20 +08:00
Pig Fang
b520a464cb remove hack for test 2018-07-14 08:41:25 +08:00
Pig Fang
b6cda88ae4 fix test 2018-07-14 08:27:15 +08:00
Pig Fang
7524041a76 use Mail::fake() 2018-07-13 19:23:20 +08:00
Pig Fang
3f77c98783 fix tests of SkinlibController 2018-07-13 19:02:16 +08:00
Pig Fang
b74cc0dd59 fix tests of AdminController 2018-07-13 16:48:15 +08:00
Pig Fang
f8052b9c9b update tests of UpdateController 2018-07-13 16:42:05 +08:00
Pig Fang
d3486f3a40 add laravel/browser-kit-testing 2018-07-13 16:41:50 +08:00
Pig Fang
68d3fb1eb4 fix tests of UserController 2018-07-13 16:24:19 +08:00
Pig Fang
d1442902b2 fix tests of PlayerController 2018-07-13 16:14:49 +08:00
Pig Fang
4c44fa47cd fix tests of plugin hook 2018-07-13 16:10:23 +08:00
Pig Fang
4e6478c8f9 fix tests of middlewares 2018-07-13 16:05:20 +08:00
Pig Fang
f9774e9275 fix tests of HomeController 2018-07-13 15:52:42 +08:00
Pig Fang
d65d6e298e fix tests of ClosetController 2018-07-13 15:51:17 +08:00
Pig Fang
d859d9ce49 fix tests of PluginController 2018-07-13 15:38:22 +08:00
Pig Fang
b1974ffafd fix tests of SetupController 2018-07-13 15:26:19 +08:00
Pig Fang
3143cf0838 fix tests of TextureController 2018-07-13 15:21:13 +08:00
Pig Fang
aa68641eba fix tests of AuthController 2018-07-13 15:13:35 +08:00
Pig Fang
8e2b2c78fc fix for tests 2018-07-12 17:18:19 +08:00
printempw
da34062a9c Add L10n support for site name and description 2018-07-06 14:49:39 +08:00
printempw
815fef7f3d Enhance rendering notice for unsatisfied plugin dependencies 2018-06-29 20:54:40 +08:00
printempw
b4e8b7e8c9 Update tests of plugins 2018-06-29 18:26:48 +08:00
printempw
0a307e9221 Refine texture preview generation
The methods in App\Services\Minecraft now accept binary image data as their first parameter.
The parameters of Minecraft::generatePreviewFromSkin is reordered.
Fix skin preview for Alex model textures.
Add more parameters to Minecraft::generatePreviewFromCape for specifying image size.
2018-06-28 21:55:33 +08:00
printempw
334eb7c3c5 Clear unnecessary filesystems 2018-06-28 18:25:31 +08:00
printempw
abde385776 Add more validation rules for player name 2018-06-19 11:51:34 +08:00
printempw
b7a2d368f7 Fix maximum password length 2018-06-19 00:23:20 +08:00
printempw
36064873e3 Revert "Add a option for adding a player after registered"
This feature will be implemented as a plugin. This reverts commit ad255252b57b135ddecf89aa1331c40c97324be9.
2018-06-15 22:44:30 +08:00
Pig Fang
520a9c3b97 test: fix coverage 2018-03-11 12:01:14 +08:00
Pig Fang
f3220ee526 test: disconnect database after each test 2018-03-11 11:20:21 +08:00
printempw
6cb26bf2d8 Update tests for PluginController 2018-02-25 11:23:07 +08:00
printempw
da48fd84dc Adjust allowed maximum password length to 32 2018-02-24 16:32:19 +08:00
printempw
d54709c23d Add default texture for alex model 2018-02-23 23:17:29 +08:00
printempw
5e00131db4 Fix tests for SQLite database 2018-02-23 10:22:11 +08:00
printempw
a1cbac0afb Specify the user agent of requests by env variable 2018-02-16 18:32:54 +08:00
printempw
d01c18b379 Update tests for PluginController 2018-02-16 17:53:10 +08:00
printempw
7e6cc96e5e Return 403 instead when accessing private textures, close #111 2018-02-10 13:06:19 +08:00
Pig Fang
6f516cc2eb fix(preview): fix 2d skin preview for alex model 2018-01-04 13:10:41 +08:00
Pig Fang
55a137f014 test(services): add tests for repositories 2017-12-28 12:52:29 +08:00
Pig Fang
776a0a67ae test(model): add tests for "User" model 2017-12-27 18:40:16 +08:00
Pig Fang
f4c21a0cb2 test(model): add tests for "player" model 2017-12-26 20:07:26 +08:00
Pig Fang
a5615eb090 test(model): add tests for "Closet" model 2017-12-26 19:32:17 +08:00
Pig Fang
26742e3ae3 Add tests for Services/Hook 2017-12-04 17:04:04 +08:00
Pig Fang
97874039c6 Add tests for Services/Minecraft 2017-12-04 15:11:23 +08:00
gplane
3e5e2cc0ec Update tests for middleware 2017-11-30 10:02:29 +08:00
Pig Fang
14b7cc670c Update tests for PlayerController 2017-11-24 23:05:49 +08:00
Pig Fang
157c9e8b22 Update tests for SkinlibController 2017-11-24 18:54:30 +08:00
Pig Fang
55c2fb38ac Update tests for SetupController 2017-11-20 19:56:24 +08:00
Pig Fang
163396c6d9 Update tests for HomeController 2017-11-20 00:04:28 +08:00
Pig Fang
2e5c1f7890 Use VFS for testing 2017-11-19 12:49:24 +08:00
Pig Fang
79038d3c63 Add PHP 5.5 in Travis CI 2017-11-18 23:41:37 +08:00
Pig Fang
1ab25e80e6 Add tests for UpdateController 2017-11-18 20:36:31 +08:00
Pig Fang
99aee71cc8 Add tests for UserController 2017-11-18 13:25:08 +08:00
Pig Fang
7d48c6a609 Use "memory" driver for testing 2017-11-17 17:46:06 +08:00
Pig Fang
6cd5fce271 Download plugins in setUp function 2017-11-17 07:56:43 +08:00
Pig Fang
a413927980 Add tests for TextureController 2017-11-17 07:40:29 +08:00
Pig Fang
b19565bf8b Add tests for PluginController 2017-11-16 14:09:08 +08:00
Pig Fang
faa73bebc9 Do some checks before updating player profile 2017-11-15 14:00:11 +08:00
Pig Fang
aaf612f2d9 Add tests for PlayerController 2017-11-14 23:25:04 +08:00
printempw
ef7f75b184 Add dotenv file for testing 2017-11-09 12:09:41 +08:00
Pig Fang
622885d9c0 Update tests of AdminController 2017-11-08 17:57:12 +08:00
Pig Fang
594954dbe2 Make responsive for closet
fix #89
2017-11-06 11:07:24 +08:00
Pig Fang
4d21fb5b02 Add event assertion for AuthController 2017-11-06 07:46:43 +08:00
Pig Fang
bce4ed4a42 Add a option for adding a player after registered 2017-11-05 20:56:52 +08:00
Pig Fang
739bc17c3a Refactor Closet model 2017-11-05 16:54:01 +08:00
Pig Fang
8d1adc7e4d Add security check before resetting password 2017-11-05 10:25:20 +08:00
Pig Fang
ed27972608 Add tests for ClosetController 2017-11-04 20:25:54 +08:00
Pig Fang
b6ffa970cf Add tests for AdminController 2017-11-04 20:25:54 +08:00
Pig Fang
abd27055c1 Add tests for AuthController 2017-11-04 20:25:54 +08:00
Pig Fang
2a895e1b88 Add tests for middleware and HomeController 2017-11-04 20:25:54 +08:00
Pig Fang
71438446fe Get ready for PHPUnit 2017-11-03 23:24:25 +08:00
printempw
11d08b9545 remove unused tests 2016-09-10 17:52:04 +08:00
printempw
1e7030236e initialize for laravel 2016-08-28 10:05:21 +08:00
printempw
00678628d2 remove the foolish tests 2016-07-28 15:15:35 +08:00
printempw
ef227b1045 add some casual tests 2016-07-24 11:13:41 +08:00