Commit Graph

340 Commits

Author SHA1 Message Date
Pig Fang
3071ece7ba Refactor plugin system (part 6) 2019-08-12 17:37:52 +08:00
Pig Fang
fb0dcd4ad3 Refactor plugin system (part 5) 2019-08-12 15:59:01 +08:00
Pig Fang
d15fd0b36d Refactor plugin system (part 4) 2019-08-12 15:21:50 +08:00
Pig Fang
18019d85e6 Refactor plugin system (part 3) 2019-08-12 14:45:07 +08:00
Pig Fang
d92e1738dc Refactor plugin system (part 2) 2019-08-12 10:52:40 +08:00
Pig Fang
197b61b9d6 Fix test 2019-08-12 09:56:51 +08:00
Pig Fang
b7ee522d86 Attempt to fix test 2019-08-11 19:10:27 +08:00
Pig Fang
8b7e63d237 Fix test 2019-08-11 18:59:32 +08:00
Pig Fang
5932f8984b Skip test 2019-08-11 18:56:29 +08:00
Pig Fang
2709d09823 Refactor booting plugins (part 1) 2019-08-11 18:00:00 +08:00
Pig Fang
a14ff87d0d Add helper functions for Filter API 2019-08-10 12:16:24 +08:00
Pig Fang
457594797c Increase PHP version requirement 2019-08-09 22:56:54 +08:00
Pig Fang
0651fdac67 Upgrade PHPUnit and other dependencies 2019-08-09 22:49:17 +08:00
Pig Fang
562c3690a8 Add tests for artisan commands 2019-08-09 15:36:13 +08:00
Pig Fang
29ce9d3df1 Use built-in key:generate command 2019-08-09 11:20:36 +08:00
Pig Fang
fab3da8f7f Refactor 2019-08-09 10:13:55 +08:00
Pig Fang
c281a444f0 Allow to enable or disable a plugin via CLI 2019-08-08 23:03:48 +08:00
Pig Fang
b771134688 Fix test 2019-08-08 15:02:21 +08:00
Pig Fang
9209febd96 Don't convert remember_token field 2019-08-08 14:31:03 +08:00
Pig Fang
06b4ec0dbe Fix test 2019-08-08 13:55:41 +08:00
Pig Fang
d9262c055c Convert SQL query of user model
Automatically, for data integration.
2019-08-08 11:55:22 +08:00
Pig Fang
bbdd75ad44 Remove deprecated assertArraySubset 2019-08-07 15:46:34 +08:00
Pig Fang
67bcfc65a5 Refactor user model 2019-07-30 14:29:02 +08:00
Pig Fang
c387794e17 Add option for fixed background 2019-07-10 10:53:19 +08:00
Pig Fang
a082bec096 Add option for hiding introduction of home page 2019-07-10 10:18:10 +08:00
Pig Fang
4196a952e0 Optimize exception stack of Ajax error 2019-07-08 12:01:26 +08:00
Pig Fang
4529d1e219 Push notifications to queue (fix #78) 2019-07-05 22:48:23 +08:00
Pig Fang
a36c31e5bd Check PHP version before updating 2019-07-05 14:48:12 +08:00
Pig Fang
4c2c74dafb Only super admin can visit update pages 2019-07-05 12:40:14 +08:00
Pig Fang
2f08a7db37 New plugin API: pushMiddleware 2019-07-03 19:33:08 +08:00
Pig Fang
a94b526179 Fix test 2019-07-03 19:30:09 +08:00
Pig Fang
7a7cc2ddd9 Notifications 2019-07-03 16:19:13 +08:00
Pig Fang
3d88d56a9d Split tests 2019-07-03 13:19:57 +08:00
Pig Fang
e8108959e3 New plugin API: addUserBadge 2019-07-02 23:34:27 +08:00
Pig Fang
be9f6011bb Enable strict types partially 2019-07-02 22:22:05 +08:00
Pig Fang
a69bafd915 Fix that OAuth tables not created at installation (fix #72) 2019-06-30 23:25:48 +08:00
Pig Fang
5229340412 Allow open in new tab for side bar links 2019-06-29 00:07:40 +08:00
Pig Fang
66182eaabc Optimize panel of changing color 2019-06-15 17:55:18 +08:00
Pig Fang
696cadb5f5 Remove API tests 2019-06-04 23:13:02 +08:00
Pig Fang
42d212dc95 Allow to customize HTTP code
For rejecting accessing private texture
2019-06-04 22:45:57 +08:00
Pig Fang
7c4e567cb5 Fix test 2019-06-04 22:16:05 +08:00
Pig Fang
23f8ee408e Require verified email for OAuth routes (fix #59) 2019-05-22 10:13:01 +08:00
yushijinhun
00d238d945
Fix test
baef165dbc (diff-26172a0152bcc5300c2e3286ff0d0947L117)
2019-05-19 17:10:49 +08:00
yushijinhun
a9affdced9
Fix #57 2019-05-19 17:04:17 +08:00
yushijinhun
baef165dbc
Split tests 2019-05-19 16:16:16 +08:00
yushijinhun
b9b99d822e
Fix test
e182bb2c84 (diff-26172a0152bcc5300c2e3286ff0d0947R253)
2019-05-19 15:09:21 +08:00
Pig Fang
74f56916ad
Fix test 2019-05-19 14:49:49 +08:00
Pig Fang
e182bb2c84
Tweak test 2019-05-19 14:44:17 +08:00
yushijinhun
b1353554eb
Test for #58 2019-05-19 14:02:44 +08:00
Haowei Wen
d0609af143 Apply fixes from StyleCI 2019-05-19 05:49:44 +00:00
Pig Fang
9c0c72c166 Allow to process report more than once 2019-05-08 12:51:48 +08:00
Pig Fang
a4c9736dfa Refactor deleting texture 2019-05-07 15:16:53 +08:00
Pig Fang
b119a8de6d Regress likes field of textures table 2019-05-05 11:21:37 +08:00
Pig Fang
9197b8b095 Fix possible error on update page 2019-05-03 15:04:02 +08:00
Pig Fang
a9844142aa Simplify update steps 2019-05-03 08:46:15 +08:00
Pig Fang
4348cd7020 Use formal event assertion 2019-05-01 10:38:50 +08:00
Pig Fang
777e786873 Add API root information 2019-05-01 10:14:14 +08:00
Pig Fang
1e1f138902 Fix typo 2019-04-29 10:08:58 +08:00
Pig Fang
9578836c87 Add notice text for API tests [skip ci] 2019-04-29 10:06:49 +08:00
Pig Fang
2a5ba76b07 Remove API of signing 2019-04-28 15:01:10 +08:00
Pig Fang
d8bec1d1fb Add APIs for closet 2019-04-28 11:38:38 +08:00
Pig Fang
b365b1c4bf Add test for "sign again" 2019-04-28 10:50:03 +08:00
Pig Fang
7224b32c8f Add more tests 2019-04-27 23:20:42 +08:00
Pig Fang
fd70a7182f Add API for fetch current user 2019-04-27 23:10:21 +08:00
Pig Fang
fe5b7c7380 Add more API tests 2019-04-27 20:08:41 +08:00
Pig Fang
25256b0814 Add API integration tests 2019-04-27 13:09:10 +08:00
Pig Fang
1a98e7937d Return empty string when JWT auth failed 2019-04-26 18:58:12 +08:00
Pig Fang
e2c125648f Support OAuth2 2019-04-25 23:24:24 +08:00
Pig Fang
d2ad6107d1 Refactor middlewares 2019-04-25 13:01:39 +08:00
Pig Fang
122477c5c3 Add RESTful APIs about players 2019-04-24 13:10:03 +08:00
Pig Fang
f82ebb9a8b Add test 2019-04-23 23:48:51 +08:00
Pig Fang
f224a1be96 Rename 2019-04-23 23:45:19 +08:00
Pig Fang
1c205f6842 New API: add new player 2019-04-23 23:03:12 +08:00
Pig Fang
6d03e47526 Nomalize JSON response structure 2019-04-23 19:14:41 +08:00
Pig Fang
fd541e7365 Clean up 2019-04-23 14:13:58 +08:00
Pig Fang
b70004ec0f Add JWT refreshing 2019-04-23 12:45:06 +08:00
Pig Fang
0486ddc5a1 Normalize JSON response structure 2019-04-23 11:47:45 +08:00
Pig Fang
6507f2699f Support JWT authentication 2019-04-23 10:05:58 +08:00
Pig Fang
7f58d92590 Set new version automatically 2019-04-22 22:56:24 +08:00
Pig Fang
f8bba6b7b7 Add ForbiddenIE middleware 2019-04-22 21:09:36 +08:00
Pig Fang
8eb174a6dc
Apply fixes from StyleCI (#35) 2019-04-19 19:36:36 +08:00
Pig Fang
8bab3699ba Add option about transparent navigation bar 2019-04-19 19:32:15 +08:00
Pig Fang
298b6edf66 Tweak tests 2019-04-06 23:16:14 +08:00
Pig Fang
4c4023bbc2 Refactor UpdateController 2019-04-06 22:52:43 +08:00
Pig Fang
e32983a1a1 Simplify update page 2019-04-05 22:53:07 +08:00
Pig Fang
a24e34cf5e Add version check for market registry 2019-04-05 17:48:36 +08:00
Pig Fang
d7b78324f8 Simplify downloading packages 2019-04-05 17:23:27 +08:00
Pig Fang
45aaa819b8 Add a missing assertion 2019-04-05 09:34:14 +08:00
Pig Fang
293668960a Add test for addRoute hook 2019-04-05 09:31:36 +08:00
Pig Fang
b9c2cdff6b Tweak tests 2019-04-05 09:19:08 +08:00
Pig Fang
4305b722ca Switch to Laravel's validation expcetion handler 2019-04-05 08:58:00 +08:00
Pig Fang
d309f8fbbf Simplify exception handler 2019-04-04 19:44:17 +08:00
Pig Fang
aa30d5a41e Add tests for captcha 2019-04-04 11:04:13 +08:00
Pig Fang
c5eefbd061 Refactor tests 2019-04-04 09:50:48 +08:00
Pig Fang
3fc7dc6a21 Simplify tests 2019-04-04 09:48:04 +08:00
Pig Fang
d6abaccdf9 Use Storage::fake in tests 2019-04-03 23:16:23 +08:00
Pig Fang
b8b8a8493c Add getter for compat 2019-03-31 23:55:07 +08:00
Pig Fang
50e855bb71 Fix loading resources from CDN 2019-03-31 14:38:17 +08:00
Pig Fang
d16e7a3dfa Generate manifest for cache issues 2019-03-31 13:12:56 +08:00
Pig Fang
3a8504c1bf Fix modifying dotenv file (fix #30) 2019-03-31 10:33:03 +08:00