Commit Graph

241 Commits

Author SHA1 Message Date
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
1e3816d1d4 Upgrade dependencies 2019-03-30 16:22:08 +08:00
Pig Fang
cb72ca5571 Fix test 2019-03-30 12:53:40 +08:00
Pig Fang
9a095732fa Build plugin "report-textures" into core 2019-03-30 11:38:30 +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
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
3a4844a5dd Build plugin "bs-super-cache" into core 2019-03-21 12:44:15 +08:00
Pig Fang
4b553c3c92 Build "get-score-by-sharing" into core 2019-03-20 23:28:04 +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
Pig Fang
2cb334b091 Optimize dashboard query 2019-03-19 23:35:13 +08:00
Pig Fang
a4c49d6634 Replace Chart.js with ECharts 2019-03-19 19:16:03 +08:00
Pig Fang
d8295dff33 Optimize test 2019-03-19 15:30:52 +08:00
Pig Fang
749339f331 Process likes in a special method 2019-03-19 15:19:33 +08:00
Pig Fang
e0a8d4cb3e Fix 2019-03-18 17:57:20 +08:00
Pig Fang
f64e6494c6 One operation to change permission 2019-03-18 13:24:03 +08:00
Pig Fang
34441f587e Skip database page if config ok (fixes #25) 2019-03-17 12:05:31 +08:00
Pig Fang
a1cfbe7f5b Allow to reset avatar 2019-03-17 09:46:02 +08:00
Pig Fang
afb65615b0 Build "seo-meta-tags" into core 2019-03-16 21:52:09 +08:00
Pig Fang
3bf9b18d64 Build "static-file-cdn" into core 2019-03-16 19:56:50 +08:00
Pig Fang
e2d63da311 Optimize test 2019-03-16 19:04:14 +08:00
Pig Fang
b4f1bb2402
Apply fixes from StyleCI (#24) [skip ci]
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io).

---

For more information, click [here](https://github.styleci.io/analyses/qyNGM5).
2019-03-16 18:53:19 +08:00
Pig Fang
dac2c32ff4 Return avatar without cache 2019-03-16 18:49:51 +08:00
Pig Fang
eec2832116
Apply fixes from StyleCI (#23) [skip ci]
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io).

---

For more information, click [here](https://github.styleci.io/analyses/q2jwJR).
2019-03-16 18:35:57 +08:00
Pig Fang
62f545531d Fix 2019-03-16 17:45:18 +08:00
Pig Fang
e5f998af5d Build "avatar-api" plugin into core 2019-03-16 17:40:04 +08:00
Pig Fang
b770e52fe8 Fix risky test 2019-03-16 09:56:31 +08:00
Pig Fang
9ec677dacd Fix test 2019-03-15 18:05:37 +08:00
Pig Fang
f3bdc551cd
Apply fixes from StyleCI (#19) 2019-03-15 00:09:39 +08:00
Pig Fang
d93a5410d9 Fix test 2019-03-15 00:06:52 +08:00
Pig Fang
1afa36e8e9
Apply fixes from StyleCI (#18) [skip ci]
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io).

---

For more information, click [here](https://github.styleci.io/analyses/zYNYDd).
2019-03-15 00:03:54 +08:00
Pig Fang
5915b3ec17 Reimplementing closet 2019-03-14 23:55:49 +08:00
Pig Fang
c4d26a4c10 Simplify tests 2019-03-14 00:30:53 +08:00
Pig Fang
acacd09253 Fix cleaning up 2019-03-14 00:13:32 +08:00
Pig Fang
d45d287d93 Optimize testing 2019-03-14 00:02:00 +08:00
Pig Fang
ceac906771 Rename column player_name to name 2019-03-13 13:16:51 +08:00
Pig Fang
cd2711942e Enforce to use tid_skin 2019-03-13 11:24:04 +08:00
Pig Fang
69b6d3685d Remove feedback 2019-03-12 20:51:46 +08:00
Pig Fang
5332589b65 Use Laravel's built-in updater 2019-03-02 23:47:51 +08:00
Pig Fang
3cf19d8656
Apply fixes from StyleCI (#11)
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io).

---

For more information, click [here](https://github.styleci.io/analyses/8wKwbZ).
2019-03-02 22:58:37 +08:00
Haowei Wen
23deb5c46f
Polish TextureControllerTest
See https://github.com/bs-community/blessing-skin-server/pull/8#discussion_r261825089
2019-03-02 21:54:31 +08:00
Pig Fang
1ff8e631fe
Remove settings of preference (#8)
Resolve #6
2019-03-02 21:13:17 +08:00
Pig Fang
e528547b89
Laravel 5.8 (#5) 2019-02-27 23:44:50 +08:00
Pig Fang
6d93a78d22 fix: check tables if it's existed when db is connected 2019-02-18 17:15:14 +08:00
Pig Fang
9386992fde
fix test finally (#4)
* comment out a test

* set an option
2019-02-17 21:23:07 +08:00
Pig Fang
0d4f34770e fix tests 2019-02-17 20:12:42 +08:00
Pig Fang
9e05b7c843 fix test 2019-02-17 10:23:25 +08:00
Pig Fang
1fe1aab59c update test 2019-02-17 09:51:33 +08:00
Pig Fang
4bd1367d9e update php deps 2019-02-16 21:12:06 +08:00
Pig Fang
86397a6641 Fix risky tests 2018-11-25 14:32:14 +08:00
Pig Fang
1e120d3ec7 Fix reading .env file 2018-10-19 21:43:25 +08:00
Pig Fang
e69b8758e3 Fix tests 2018-09-06 19:31:35 +08:00
Pig Fang
1a079c90c4 Upgrade to Laravel 5.7 2018-09-06 16:26:03 +08:00
Pig Fang
0c82cd3950 Set model preference to slim when applying slim skin to new players 2018-08-21 14:47:37 +08:00
Pig Fang
7ec7eb2467 Fix big offset for Hook::addMenuItem 2018-08-21 14:43:46 +08:00
Pig Fang
e66a112713 Fix test 2018-08-21 11:14:22 +08:00
Pig Fang
6eac8cf2c7 Restrict PluginController access to super admin only 2018-08-21 09:05:29 +08:00
printempw
e6d35dd400 Update translations 2018-08-20 22:39:14 +08:00
Pig Fang
4e10159781 Fix cleaning up 2018-08-19 18:38:05 +08:00
Pig Fang
cf03da0a2e Update tests 2018-08-19 18:28:38 +08:00
Pig Fang
e6e989281c Fix tests 2018-08-19 17:54:00 +08:00
Pig Fang
f6d022c377 Add plugins management page 2018-08-19 17:39:33 +08:00
Pig Fang
6b4812b251 Add plugin marketplace 2018-08-19 11:39:14 +08:00
printempw
f25fdad9dc Fix test of getting plugin data 2018-08-18 09:58:03 +08:00
Pig Fang
37bdaceeb9 Fix tests 2018-08-18 09:48:39 +08:00
Pig Fang
ad32b718eb Use guzzle to download update packages 2018-08-17 23:24:08 +08:00
Pig Fang
2305a80102 Remove Utils class 2018-08-17 22:54:26 +08:00
Pig Fang
4a72442fdb Add a option for requiring player name when register 2018-08-17 17:03:38 +08:00
Pig Fang
939d71923b Enhance rate limit for sending password reset email 2018-08-17 16:07:24 +08:00
Pig Fang
0ef92a5565 Update tests and composer autoload 2018-08-17 15:25:08 +08:00
Pig Fang
3bf29b529d Update tests 2018-08-17 14:44:22 +08:00
Pig Fang
b5468cc143 Support email verification 2018-08-17 12:32:44 +08:00
Pig Fang
706ca1938b Update mail template of password reset 2018-08-16 18:10:09 +08:00
Pig Fang
40deffb3b9 Limit login attempts by IP address 2018-08-16 17:57:24 +08:00
Pig Fang
bf8ec12645 Support changing texture model from skinlib 2018-08-16 17:42:54 +08:00
Pig Fang
190e54578a Add index page of skin library 2018-08-14 23:27:36 +08:00
Pig Fang
7e4ae5381b Use server side table 2018-08-13 11:08:14 +08:00
Pig Fang
b3876468b2 Fix validating captcha 2018-08-12 16:00:21 +08:00
Pig Fang
a9e4827e32 Fix test 2018-08-12 10:01:13 +08:00
Pig Fang
d566c3bc31 Fix test 2018-08-09 17:36:19 +08:00
Pig Fang
f0e177d62d Add user dashboard page 2018-08-08 09:50:35 +08:00
Pig Fang
5788fb93c1 Disallow to delete administrator 2018-08-02 10:21:25 +08:00
Pig Fang
7b000bcab0 Add method for retrieving all players 2018-07-30 15:45:08 +08:00
Pig Fang
6102d27530 Support retrieving avatar by tid 2018-07-30 15:18:33 +08:00
Pig Fang
148b6f6cc5 Apply two new middlewares 2018-07-24 09:58:10 +08:00
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