Commit Graph

42 Commits

Author SHA1 Message Date
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
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
1c5f732c3c
Apply fixes from StyleCI (#22) 2019-03-16 17:45:41 +08:00
Pig Fang
ec78b7452a Fix 2019-03-16 17:43:57 +08:00
Pig Fang
e5f998af5d Build "avatar-api" plugin into core 2019-03-16 17:40:04 +08:00
Pig Fang
ceac906771 Rename column player_name to name 2019-03-13 13:16: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
Pig Fang
1ff8e631fe
Remove settings of preference (#8)
Resolve #6
2019-03-02 21:13:17 +08:00
Pig Fang
5c8f4028ea Use files instead of hard-coded base64 2019-02-28 16:34:16 +08:00
printempw
16dbc6cff0 Fix timezone of Last-Modified header 2018-08-17 22:02:05 +08:00
Pig Fang
b7b3e32f22 Remove unused code 2018-08-17 14:33:35 +08:00
Pig Fang
6102d27530 Support retrieving avatar by tid 2018-07-30 15:18:33 +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
printempw
3d9478a75c Move Player::getBinaryTexture method to TextureController 2018-06-29 22:45:00 +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
d54709c23d Add default texture for alex model 2018-02-23 23:17:29 +08:00
printempw
dd3f645e80 Adjust code style due to my OCD 2018-02-16 17:31: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
a413927980 Add tests for TextureController 2017-11-17 07:40:29 +08:00
printempw
231a91e367 Fix translation of getting textures 2017-08-07 13:48:20 +08:00
printempw
4bf0de92c5 Define default skin/avatar image in one place 2017-08-07 13:38:46 +08:00
printempw
4ef6fba0c6 remove constant BASE_DIR 2016-11-21 21:50:24 +08:00
printempw
6aaec6f658 working on events & data adapter 2016-10-30 11:57:26 +08:00
printempw
e35fa9b85a refactor models 2016-10-23 11:41:52 +08:00
printempw
c09700ea57 enhance abstraction of Player model 2016-10-16 18:16:15 +08:00
printempw
084e04c30a add caching headers 2016-09-25 11:40:50 +08:00
printempw
681a56a741 use validator of laravel instead of Validate class 2016-09-04 15:35:12 +08:00
printempw
fde6005cbf fix preview with size 2016-09-03 21:04:34 +08:00
printempw
7ed653e876 separate event listeners from app core 2016-08-30 10:10:11 +08:00
printempw
9f02cf26c1 use custom helpers instead of util classes 2016-08-29 23:31:43 +08:00
printempw
cfd289c0c8 add macros for responses 2016-08-29 22:48:55 +08:00
printempw
bde548de40 add PrettyPageException to handle exceptions which should be rendered 2016-08-29 19:47:30 +08:00
printempw
1caae0dd75 add cache for json profiles of players 2016-08-29 15:28:20 +08:00
printempw
3949ddd59c add events and listeners for cache 2016-08-29 14:25:24 +08:00
printempw
cebae55ca5 fix preview of double layer skins 2016-08-29 12:19:21 +08:00
printempw
776109f487 use Storage facade to manage files 2016-08-28 20:33:35 +08:00
printempw
1e7030236e initialize for laravel 2016-08-28 10:05:21 +08:00