Commit Graph

61 Commits

Author SHA1 Message Date
Pig Fang
d4c3264324 fix 2d preview 2020-03-05 09:58:10 +08:00
Pig Fang
97ec85b289 remove cache for profile json 2020-01-12 10:28:43 +08:00
Pig Fang
6b3446cf86 display 3D avatar when applying texture to player 2020-01-12 09:57:55 +08:00
Pig Fang
b1ccdb47f2 switch server-side texture renderer 2020-01-12 09:27:39 +08:00
Pig Fang
9988520f45 fixed avatar can't be resized
when requesting an non-existed user
2019-12-31 23:03:37 +08:00
Pig Fang
e97d2743fb Clean up 2019-12-30 23:51:12 +08:00
Pig Fang
611f6c8cee Remove Universal Skin API from core 2019-12-30 23:29:44 +08:00
Pig Fang
07566c4c16 Remove Legacy API from core 2019-12-30 11:09:01 +08:00
Pig Fang
ae4be6fbda Refactor static routes 2019-12-22 17:28:55 +08:00
Pig Fang
6ead313999 Apply php-cs-fixer 2019-12-14 11:10:37 +08:00
Pig Fang
06a43b5f72 Remove response macros 2019-09-10 19:52:17 +08:00
Pig Fang
f9f2796529 Remove unused code 2019-09-07 11:15:23 +08:00
Pig Fang
63ac1c11dd Revert 2019-08-24 10:22:26 +08:00
Pig Fang
2952d86c5e Tweak aliases 2019-08-08 18:00:11 +08:00
Pig Fang
4c51924940 Resolve User class from service container 2019-08-04 10:56:15 +08:00
Pig Fang
8eb174a6dc
Apply fixes from StyleCI (#35) 2019-04-19 19:36:36 +08:00
Pig Fang
7e4d439da9 Refactor 2019-03-31 11:00:07 +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
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