Commit Graph

764 Commits

Author SHA1 Message Date
Pig Fang
d519a4824a Register command at setup 2019-05-02 22:52:37 +08:00
Pig Fang
13b18c2489 Append version for requesting plugin assets 2019-05-02 15:38:00 +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
d8bec1d1fb Add APIs for closet 2019-04-28 11:38:38 +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
51e4efba7b Make sure tid_cape set 2019-04-26 21:38:26 +08:00
Pig Fang
1a98e7937d Return empty string when JWT auth failed 2019-04-26 18:58:12 +08:00
Pig Fang
748c275969 Add missing artisan calls in CLI installation 2019-04-26 12:33:43 +08:00
Pig Fang
262d48e1f7 Fix switching i18n 2019-04-26 00:01:32 +08:00
Pig Fang
6918a46ae8 Remove unused JavaScript global variables 2019-04-25 23:42:06 +08:00
Pig Fang
e2c125648f Support OAuth2 2019-04-25 23:24:24 +08:00
Pig Fang
1ae0329083 Rename auth guard 2019-04-25 13:29:43 +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
64f25ef95f Reset invalid texture when player retrieved 2019-04-23 23:34:04 +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
d8f08176a2 Check owner before operating player 2019-04-23 13:09:06 +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
573cca5c5d Allow multiple plugins market registry 2019-04-22 19:26:17 +08:00
Pig Fang
bae2a5d3a8 Fix #38 2019-04-22 09:52:45 +08:00
Pig Fang
d01ca18431 Fix zip file name when downloading plugin 2019-04-20 15:17:42 +08:00
Pig Fang
79e5909bdd Fix requiring verification in closet page 2019-04-20 15:14:25 +08:00
Pig Fang
bb3fecf57c Fix syntax 2019-04-19 23:21:14 +08:00
Pig Fang
d8d80f2729 Fix syntax 2019-04-19 23:17:58 +08:00
Pig Fang
ade8b0e5a6 Bundle certificate (fix #36) 2019-04-19 23:15:05 +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
d86e4c1805 Do not publish .env file 2019-04-09 13:21:31 +08:00
Pig Fang
5e42368d69 New hash algorithm: Bcrypt 2019-04-08 21:53:00 +08:00
Pig Fang
1c72171a5e Extract copyright as view 2019-04-08 16:07:42 +08:00
Pig Fang
53b305393c Remove unused model scope 2019-04-07 23:03:00 +08:00
Pig Fang
2cd3e47606 Ignore some runtime-specified code 2019-04-07 22:42:51 +08:00
Pig Fang
6da5094cb4 Remove get_base_url function 2019-04-07 08:54:54 +08:00
Pig Fang
09b9959bc8 Remove AfterSessionBooted middleware 2019-04-06 23:22:36 +08:00
Pig Fang
23a9f018ca Remove redundant middleware 2019-04-06 23:16:37 +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
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
293668960a Add test for addRoute hook 2019-04-05 09:31:36 +08:00
Pig Fang
108bd260a4 Tweak webpack 2019-04-05 09:00:43 +08:00
Pig Fang
4305b722ca Switch to Laravel's validation expcetion handler 2019-04-05 08:58:00 +08:00
Pig Fang
666344936e Simplify 2019-04-04 19:50:52 +08:00
Pig Fang
d309f8fbbf Simplify exception handler 2019-04-04 19:44:17 +08:00
Pig Fang
29b0c1e5a3 Extract some helper functions to view 2019-04-04 11:40:18 +08:00
Pig Fang
634f0b726a Inline one-time used helper function 2019-04-04 11:16:04 +08:00
Pig Fang
aa30d5a41e Add tests for captcha 2019-04-04 11:04:13 +08:00
Pig Fang
d6abaccdf9 Use Storage::fake in tests 2019-04-03 23:16:23 +08:00
Pig Fang
b23538c47e Return plugin name as-is if plugin is unavailable (fix #32) 2019-04-03 22:43:14 +08:00
Pig Fang
3b55adc445 Rename variables 2019-04-03 10:12:51 +08:00
Pig Fang
1f2d7a98ce Better UX about players 2019-04-01 21:45:59 +08:00
Pig Fang
58437a1b97 Add new plugins registry (fix #31) 2019-04-01 16:12:11 +08:00
Pig Fang
b8b8a8493c Add getter for compat 2019-03-31 23:55:07 +08:00
Pig Fang
4897656425 Fix passing extra view info 2019-03-31 16:07:36 +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
7e4d439da9 Refactor 2019-03-31 11:00:07 +08:00
Pig Fang
3a8504c1bf Fix modifying dotenv file (fix #30) 2019-03-31 10:33:03 +08:00
Pig Fang
d9efa1d5ff Declare sharable user instance in master view 2019-03-31 09:08:31 +08:00
Pig Fang
d867b0921b Remove deprecated validation rules 2019-03-31 08:41:55 +08:00
Pig Fang
7589ec8f2b Use buttons from Element UI 2019-03-30 18:36:01 +08:00
Pig Fang
1e3816d1d4 Upgrade dependencies 2019-03-30 16:22:08 +08:00
Pig Fang
e2b4153dab Simplify property name
Ref: #14
2019-03-30 13:08:13 +08:00
Pig Fang
cbfce9ab2e Revert "change variable name from rawPasswd to rawPassword (#128)"
This reverts commit cfbfe60f89.

Ref: #14
2019-03-30 11:54:24 +08:00
Pig Fang
9a095732fa Build plugin "report-textures" into core 2019-03-30 11:38:30 +08:00
Pig Fang
c01e362ae0 Fix validating captcha 2019-03-27 11:11:09 +08:00
Pig Fang
64658fd9f2 Enable reCAPTCHA on "forgot" page 2019-03-27 11:07:04 +08:00
Pig Fang
04b8f73ac4 Support invisible reCAPTCHA 2019-03-24 15:45:50 +08:00
Pig Fang
2397ebc565 Remove recaptcha_mirror option 2019-03-24 10:14:27 +08:00
Pig Fang
1fa155c213 Support reCAPTCHA 2019-03-24 09:58:37 +08:00
Pig Fang
f6040707e1 Generate extra data in controllers 2019-03-23 19:52:14 +08:00
Pig Fang
84b2a5f0a4 Check tables before installation in CLI 2019-03-23 18:57:56 +08:00
Pig Fang
cd1efcdcfc Hide vital fields 2019-03-23 17:40:02 +08:00
Pig Fang
7c9735b7b1 Remove unused command 2019-03-23 16:57:41 +08:00
Pig Fang
8a5002d1a5 Simplify 2019-03-23 16:39:37 +08:00
Pig Fang
623ebfc3e2 Support installing BS via CLI 2019-03-23 16:36:54 +08:00
Pig Fang
e71e74cd5b Rework Option 2019-03-23 15:44:16 +08:00
Pig Fang
2267a2cadb Remove UserRepository 2019-03-23 11:06:36 +08:00
Pig Fang
b4ef665848 Refactor 2019-03-23 00:20:28 +08:00
Pig Fang
aec3fe4a87 Support limiting single player 2019-03-22 21:40:12 +08:00
Pig Fang
6793ccea30 Remove unused code 2019-03-22 11:13:21 +08:00
Pig Fang
f9c659036d Prevent conflict with PhpRedis extension 2019-03-21 22:51:30 +08:00
Pig Fang
0f20e99ac1 Fix plugin-related issues 2019-03-21 19:45:52 +08:00
Pig Fang
3a4844a5dd Build plugin "bs-super-cache" into core 2019-03-21 12:44:15 +08:00
Pig Fang
6c31b3465f Fix generating avatar with specific size 2019-03-21 09:36:59 +08:00
Pig Fang
4b553c3c92 Build "get-score-by-sharing" into core 2019-03-20 23:28:04 +08:00
Pig Fang
9bed8d022d Prevent convert empty strings in option page 2019-03-20 11:49:17 +08:00
Pig Fang
40ea4c0911 Check option before connecting to Redis 2019-03-20 11:05:41 +08:00
Pig Fang
d27dc54377 Build "redis" plugin into core 2019-03-20 11:00:14 +08:00
Pig Fang
3366237828 Split "resource" as a dedicated page 2019-03-20 10:01:42 +08:00