Commit Graph

48 Commits

Author SHA1 Message Date
Pig Fang
fe5b7c7380 Add more API tests 2019-04-27 20:08:41 +08:00
Pig Fang
51e4efba7b Make sure tid_cape set 2019-04-26 21:38:26 +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
8eb174a6dc
Apply fixes from StyleCI (#35) 2019-04-19 19:36:36 +08:00
Pig Fang
d9efa1d5ff Declare sharable user instance in master view 2019-03-31 09:08:31 +08:00
Pig Fang
f6040707e1 Generate extra data in controllers 2019-03-23 19:52:14 +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
ceac906771 Rename column player_name to name 2019-03-13 13:16:51 +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
Pig Fang
1ff8e631fe
Remove settings of preference (#8)
Resolve #6
2019-03-02 21:13:17 +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
2305a80102 Remove Utils class 2018-08-17 22:54:26 +08:00
Pig Fang
7b000bcab0 Add method for retrieving all players 2018-07-30 15:45:08 +08:00
Pig Fang
fdf618b2be Use Laravel's auth system and use another captcha generator 2018-07-20 14:42:43 +08:00
Pig Fang
e1b2f1806b add inline middleware to retrieve session 2018-07-11 16:09:22 +08:00
printempw
abde385776 Add more validation rules for player name 2018-06-19 11:51:34 +08:00
printempw
dd3f645e80 Adjust code style due to my OCD 2018-02-16 17:31:10 +08:00
gplane
946e0c12e3 Remove unused code 2017-11-29 17:02:11 +08:00
Pig Fang
faa73bebc9 Do some checks before updating player profile 2017-11-15 14:00:11 +08:00
Pig Fang
aaf612f2d9 Add tests for PlayerController 2017-11-14 23:25:04 +08:00
printempw
b7df1b362c Reset invalid player textures automatically 2017-06-28 17:13:07 +08:00
gplane
ca9aded3df Add option for choosing types of textures to be cleared 2017-04-26 23:39:10 +08:00
printempw
af48273465 add option for returning score when deleting textures 2016-12-21 22:53:53 +08:00
printempw
58014e9b1e fix not checking chinese player names 2016-12-17 18:17:34 +08:00
printempw
b84a137cf7 fix rules for player names 2016-11-18 17:28:49 +08:00
printempw
5fc43ed45b fix some minor issues for plugins 2016-11-17 17:32:12 +08:00
printempw
b232503fab add ability of selecting multi textures at closet 2016-11-13 12:20:30 +08:00
printempw
b42ad27f6f add events of player operations 2016-11-07 22:16:27 +08:00
printempw
f71190e286 update ciphers 2016-10-30 14:12:22 +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
d0a5191a61 abstract registering player 2016-10-07 16:06:38 +08:00
printempw
effa0a42df working on i18n of controllers 2016-09-24 22:49:20 +08:00
printempw
0a3ea9b1e1 fix undefined tid 2016-09-10 22:06:43 +08:00
printempw
6c1311db5e add json helper function 2016-09-10 21:39:45 +08:00
printempw
681a56a741 use validator of laravel instead of Validate class 2016-09-04 15:35:12 +08:00
printempw
2b55346a0c fix undefined player_name at PlayerController 2016-09-03 21:06:01 +08:00
printempw
fffb8fd441 add file cache for non-existent players 2016-08-30 08:55:02 +08:00
printempw
9f02cf26c1 use custom helpers instead of util classes 2016-08-29 23:31:43 +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
1e7030236e initialize for laravel 2016-08-28 10:05:21 +08:00