Commit Graph

348 Commits

Author SHA1 Message Date
Pig Fang
99aee71cc8 Add tests for UserController 2017-11-18 13:25:08 +08:00
Pig Fang
a413927980 Add tests for TextureController 2017-11-17 07:40:29 +08:00
Pig Fang
b19565bf8b Add tests for PluginController 2017-11-16 14:09:08 +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
0f065ef202 Try to avoid using site url which ends with index.php #101 2017-11-07 21:40:53 +08:00
printempw
6c7b494f16 Fix #104 2017-11-07 20:45:29 +08:00
Pig Fang
594954dbe2 Make responsive for closet
fix #89
2017-11-06 11:07:24 +08:00
Pig Fang
bce4ed4a42 Add a option for adding a player after registered 2017-11-05 20:56:52 +08:00
Pig Fang
739bc17c3a Refactor Closet model 2017-11-05 16:54:01 +08:00
Pig Fang
8d1adc7e4d Add security check before resetting password 2017-11-05 10:25:20 +08:00
Pig Fang
ed27972608 Add tests for ClosetController 2017-11-04 20:25:54 +08:00
Pig Fang
b6ffa970cf Add tests for AdminController 2017-11-04 20:25:54 +08:00
Pig Fang
abd27055c1 Add tests for AuthController 2017-11-04 20:25:54 +08:00
Pig Fang
2a895e1b88 Add tests for middleware and HomeController 2017-11-04 20:25:54 +08:00
gplane
74d6b55483 Add score check before setting privacy 2017-11-03 21:59:27 +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
a55f150eac Fix operating admin himself 2017-08-06 22:53:11 +08:00
gplane
0771c4c2dd Use "min" as unit when sign remaining time is less than 1 hour 2017-08-06 17:05:04 +08:00
printempw
a2edc469ac Show precision time when sign remaining time is less than 1 hour 2017-08-05 23:43:35 +08:00
printempw
fe721bd833 Skip copying vendor if error occurred when upgrading 2017-08-05 16:00:14 +08:00
printempw
4bf1058c46 Fix minor bug about error log 2017-08-05 15:31:47 +08:00
printempw
a8f4397be4 Enhance clearing compiled views 2017-08-05 15:10:08 +08:00
printempw
b06051dd91 Remove class App\Services\Storage 2017-08-05 15:04:06 +08:00
printempw
01a0d58c7d Update redirecting url of plugin market 2017-08-05 14:40:56 +08:00
printempw
bc7679fd0d Use default background image when option leaved empty 2017-08-05 14:35:28 +08:00
printempw
d15217ddcb Fix operating players of an admin himself on admin page 2017-07-30 14:42:26 +08:00
printempw
235141e2d9 Expect only new passwords to be at least 6 characters 2017-07-22 11:12:49 +08:00
printempw
3a74329548 Rename sign in to sign 2017-07-14 09:17:52 +08:00
printempw
397da60f4f Forbid operations when user lacks permission 2017-07-14 08:21:29 +08:00
printempw
34962255a2 Add ajax pagination & search for skinlib 2017-06-30 10:33:41 +08:00
printempw
10801b8f7d Redirect to last requested path after logging in 2017-06-28 20:42:51 +08:00
printempw
1957f97807 Add option for detecting IP address via which header 2017-06-28 19:50:34 +08:00
printempw
b7df1b362c Reset invalid player textures automatically 2017-06-28 17:13:07 +08:00
printempw
6aebb483a1 Move route defination files to /routes 2017-06-27 19:48:18 +08:00
printempw
2665d5c56b Fix filter of skinlib 2017-05-05 12:43:53 +08:00
gplane
5365164ef5 Use 0 to reset texture for player in admin panel 2017-04-29 08:49:08 +08:00
gplane
dfbe6400d4 Add some redirectings for admin panel 2017-04-27 18:02:05 +08:00
gplane
d9552e268c Fix password length of installation 2017-04-27 12:42:04 +08:00
gplane
97bcfa2686 Fix updating email address
Add detecting whether email is existed or not
2017-04-27 09:25:42 +08:00
gplane
b54ddb6fb2 Add changing player name in admin panel 2017-04-27 08:52:55 +08:00
gplane
ca9aded3df Add option for choosing types of textures to be cleared 2017-04-26 23:39:10 +08:00
gplane
c723f0a780 Fix score calculation 2017-04-26 16:24:19 +08:00
gplane
44999af7d8 Display nickname before changing texture owner 2017-04-26 15:28:53 +08:00
gplane
293cb0e457 Redirect to index if search keyword is empty 2017-04-25 08:51:30 +08:00
gplane
4311af2a5f Fix type mistake 2017-04-24 17:16:54 +08:00
gplane
fdea88eb2b Add searching texture for uploaders themselves 2017-04-24 17:13:06 +08:00
gplane
5c7b8bf6b2 Optimize filter of skin library 2017-04-24 17:02:29 +08:00
gplane
f53bb7acb6 Optimize closet
1. Use jqPaginator
2. Use CSR for closet
3. Use AJAX for closet
4. Just type to search instead of pressing ENTER key
5. Link to skin library is according to current category when closet is empty
6. Texture indicator shows category of texture
2017-04-24 11:26:53 +08:00
gplane
8056216d3f Fix score calculation 2017-04-22 23:35:25 +08:00
gplane
4ae8ed2d82 Use CSR for DataTables 2017-04-22 18:36:22 +08:00
gplane
2b0f8b20c1 Fix score calculation 2017-04-21 18:44:11 +08:00
gplane
98ff895d3b Fix setting existing texture to be private 2017-04-21 18:11:17 +08:00
gplane
2986e6babd Fix showing private textures for owner 2017-04-21 16:48:25 +08:00
gplane
3e27625064 Update storage display when checking in 2017-04-21 00:05:45 +08:00
printempw
5db84529de Merge branch 'master' of github.com:printempw/blessing-skin-server 2017-02-03 14:26:14 +08:00
printempw
c19eec5a90 fix division by zero when user score < rate 2017-02-03 14:25:17 +08:00
HaLuLu-MECHREVO X6Ti
c4a2b22c30 add detection for size of HD skins 2017-01-25 15:34:43 +08:00
printempw
b198ce5d35 fix binding email #47 2017-01-22 18:39:14 +08:00
printempw
38018276e5 fix changing current language at texture detail page 2017-01-22 15:58:52 +08:00
printempw
097194d542 redirect plugin market to g-plane/unofficial-plugins-market 2017-01-21 17:04:09 +08:00
printempw
2461b47d75 clear unused imported namespaces 2017-01-18 22:57:15 +08:00
printempw
13e51464f6 separate checking installation as a middleware 2017-01-18 22:42:50 +08:00
printempw
294b008880 now maximum password length is extended to 64 2017-01-18 22:35:25 +08:00
printempw
c628a3da3e make language detector more accurate 2017-01-18 22:31:35 +08:00
printempw
9ff5bbfcaa ✏️ use signing in instead of checking in 2017-01-17 22:57:16 +08:00
printempw
a0494ce3d0 fix awful indentation in i18n files of option pages 2017-01-17 22:16:03 +08:00
printempw
db15ff2314 fix url to config pages of plugins 2017-01-17 21:41:20 +08:00
printempw
5f9eb0b6fd add option for sending usage statistics 2017-01-15 16:20:29 +08:00
printempw
10a9397fd0 fix searching closet 2017-01-14 20:39:13 +08:00
printempw
ad159c7f20 add url field for plugins' package.json 2017-01-14 20:26:38 +08:00
printempw
3fcb991ac7 encrypt token cookie 2017-01-14 20:24:48 +08:00
printempw
ba6ae737ca set current language with query string 2017-01-14 19:28:27 +08:00
printempw
6c34392c11 clear compiled view cache when update 2017-01-13 22:34:06 +08:00
printempw
07b3a025a5 use name as unique identifier for plugins generally 2017-01-08 16:09:54 +08:00
printempw
f6aadc71f0 add language-chooser for error pages 2017-01-08 15:20:50 +08:00
printempw
118d8cc649 show current role at user/admin panel 2017-01-08 14:15:55 +08:00
printempw
1d4dca0ff3 update util functions 2017-01-08 13:44:03 +08:00
printempw
7d9535007e support hashing passwords with password_hash() 2017-01-08 12:49:32 +08:00
printempw
c018e132c8 add option for generating random APP_KEY & SALT when setup 2017-01-08 11:28:55 +08:00
printempw
4276b56e0c fix getting user from UserRepository by custom property 2017-01-08 10:40:22 +08:00
printempw
f5dd7c8c5f bind user.current at CheckAuthenticated middleware 2017-01-07 22:28:37 +08:00
printempw
967ef3e1b0 fix comparing versions contain hyphen 2017-01-02 16:23:31 +08:00
printempw
f00033ab1b improve fault tolerance of missing directories 2017-01-02 14:49:28 +08:00
printempw
658a2d48f5 generate new APP_KEY automatically when setup 2017-01-02 13:28:23 +08:00
printempw
6c462d0a96 use jQuery DataTable to show plugins page 2017-01-02 12:19:34 +08:00
printempw
2125e05bc2 add support for using trans id in plugin title/description 2017-01-02 10:39:50 +08:00
printempw
27e9dea422 fix not deducting score when adding texture to closet 2017-01-02 00:19:55 +08:00
printempw
c4f8004b41 fix determining invalid image type 2017-01-01 21:24:23 +08:00
gplane
d36ac3643b working on i18n of update 2017-01-01 12:22:18 +08:00
printempw
4ae6d868bb use true/false instead of 1/0 in options 2016-12-31 23:36:44 +08:00
printempw
91d528d311 finish i18n work of option forms 2016-12-31 23:28:09 +08:00
printempw
ad459653b4 fix bug of langauge chooser at setup 2016-12-31 23:27:45 +08:00
printempw
3b96166ee8 finish i18n work of user/player management 2016-12-31 21:16:04 +08:00
printempw
47b0b17c15 fix installing failed when already installed incompletely 2016-12-31 16:43:23 +08:00
printempw
f7159e0bbb use custom function to get client ip since Symfony's sucks 2016-12-31 13:56:53 +08:00
printempw
6d6abf41f5 add option for customizing favicon 2016-12-31 13:36:46 +08:00
printempw
2250b00c0a use DataTables at player management 2016-12-31 13:07:00 +08:00
printempw
3ca85aff8f use jQuery DataTables plugin at user management 2016-12-31 11:38:07 +08:00
printempw
35e49e58ab adjust style of .description 2016-12-30 20:55:33 +08:00
printempw
d4453df8c2 working on i18n of admin panel 2016-12-30 20:37:27 +08:00
printempw
59d7a9c4c2 deprecate Option::save() 2016-12-30 19:35:07 +08:00
printempw
dbef0b0efd finish i18n of setup 2016-12-30 17:44:53 +08:00
printempw
e0a4667cc8 add detection for Accept-Language 2016-12-30 12:43:59 +08:00
printempw
cbec1d3869 rewrite option pages with new OptionForm 2016-12-29 23:14:09 +08:00
printempw
228c17ca68 add renderWithOutTable & renderInputTagsOnly for OptionForm 2016-12-29 13:11:46 +08:00
printempw
1d7dc13e18 refactor OptonForm 2016-12-28 23:28:15 +08:00
printempw
da7a0ac606 add option for score consumption of adding to closet 2016-12-28 13:08:17 +08:00
printempw
f31bd85445 add Markdown support for site announcement 2016-12-28 12:53:13 +08:00
printempw
886b15de87 add many styles for copyright text 2016-12-27 23:05:09 +08:00
printempw
c37091d0f1 fix showing empty file when UploadFile::error !== UPLOAD_ERR_OK 2016-12-25 23:21:13 +08:00
printempw
04de047b8a fix bug of posting to /plugins/manage 2016-12-22 21:57:51 +08:00
printempw
af48273465 add option for returning score when deleting textures 2016-12-21 22:53:53 +08:00
printempw
70bed0c4c3 minor change of naming things and bug fixes 2016-12-18 17:32:46 +08:00
printempw
6e0ecf4d96 remove unnecessary directories 2016-12-17 23:00:07 +08:00
printempw
8677cd9376 rename middlewares 2016-12-17 22:45:08 +08:00
printempw
55f8c87b92 add PluginController 2016-12-17 19:52:59 +08:00
printempw
58014e9b1e fix not checking chinese player names 2016-12-17 18:17:34 +08:00
printempw
65acb7426b save modified options at terminable middleware instead of destruct function 2016-12-17 17:25:01 +08:00
printempw
139db5c08d fix redirecting url after enable/disable plugins 2016-12-16 22:45:51 +08:00
printempw
efd57bfce0 use Request::ip() instead 2016-12-16 22:20:41 +08:00
printempw
28a66cba18 use methods from UrlGenerator to set root url & schema 2016-12-16 22:14:32 +08:00
printempw
223081cf05 add --force for database migration command 2016-12-14 22:10:48 +08:00
printempw
325ea187e0 fix rendering content of option form 2016-12-11 22:26:58 +08:00
printempw
6ff4ad0c33 add support for multilevel menus 2016-12-10 21:30:24 +08:00
printempw
55534bb52b fix getting info of invalid texture 2016-12-10 19:49:45 +08:00
printempw
3811f7d704 working on extracting of updates 2016-11-25 13:13:26 +08:00
printempw
9b6c18cd6b now we have an awesome progress bar when download updates 2016-11-25 12:54:20 +08:00
printempw
4ef6fba0c6 remove constant BASE_DIR 2016-11-21 21:50:24 +08:00
printempw
d2a2b81652 add event PluginWasDeleted 2016-11-19 22:02:02 +08:00
printempw
0d006dac66 add event UserProfileUpdated 2016-11-18 23:06:15 +08:00
printempw
a91da6cf3c fix rendering of option forms 2016-11-18 21:59:09 +08:00
printempw
b84a137cf7 fix rules for player names 2016-11-18 17:28:49 +08:00
printempw
58a2e10c0a add query string for avatars forcely 2016-11-18 17:24:13 +08:00
printempw
7004ab627c fix routes for setup wizard 2016-11-18 16:59:05 +08:00
printempw
589be0c892 move setup wizard into laravel framework 2016-11-18 16:46:58 +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
be4af844fe abstract forms for options 2016-11-12 23:50:41 +08:00
printempw
fdf2a82e2e fix removing ending slash of url 2016-11-11 23:04:53 +08:00
printempw
11c88f28cd add log for password resetting 2016-11-07 22:34:34 +08:00
printempw
b42ad27f6f add events of player operations 2016-11-07 22:16:27 +08:00
printempw
a6751473f6 event CheckPlayerExists now returns bool value 2016-11-06 10:58:01 +08:00
printempw
ea1948dc59 fix bug at binding email 2016-11-05 20:11:31 +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
e6fedfd2f3 separate config generator as a plugin 2016-10-25 22:47:50 +08:00
printempw
f3e803f57f use app() instead of App::make() 2016-10-25 21:35:09 +08:00
printempw
e35fa9b85a refactor models 2016-10-23 11:41:52 +08:00
printempw
d6e810da4a working on data adaptation 2016-10-17 17:51:51 +08:00
printempw
55414072e7 working on framework of plugins 2016-10-17 12:20:55 +08:00
printempw
86d82931bb add option of max size of uploaded file 2016-10-16 20:18:40 +08:00
printempw
7f0e9a4178 add search for closet 2016-10-16 20:04:21 +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
a22357d1c6 fix translation of auth.logout.fail 2016-10-06 17:57:07 +08:00
printempw
98a0d70571 fix cache-control header when return_200_when_notfound is on 2016-10-03 21:57:55 +08:00
printempw
41e0a628d6 modularize routes 2016-10-03 21:44:26 +08:00
printempw
f0532dcc6c fix minimal length of password 2016-10-02 20:30:27 +08:00
printempw
975e34db95 allow to re-upload textures which were setted to private 2016-09-30 16:31:45 +08:00
printempw
1618707e5d regenerate session id after logging out 2016-09-28 17:48:37 +08:00
printempw
459c325597 fix translation of noticing wrong password 2016-09-27 22:41:10 +08:00
printempw
af95ef11d6 fix minus page numbers 2016-09-27 22:31:37 +08:00
printempw
c86dc05572 add options of caching things 2016-09-25 14:21:51 +08:00
printempw
084e04c30a add caching headers 2016-09-25 11:40:50 +08:00
printempw
15c3c55142 add renaming closet items 2016-09-25 10:35:16 +08:00
printempw
1e57e9cef4 redirect to former url after setting locale 2016-09-24 23:37:28 +08:00
printempw
effa0a42df working on i18n of controllers 2016-09-24 22:49:20 +08:00
printempw
1cdfb139c1 move language switcher to HomeController 2016-09-24 22:45:54 +08:00
printempw
6d5105b5cd check mime type of file out of laravel validator 2016-09-22 22:00:12 +08:00
printempw
41f24b9a3a add menu for switching languages 2016-09-15 09:20:02 +08:00
printempw
0fe9cf19b4 add route for setting locale dynamically 2016-09-14 23:27:02 +08:00
printempw
2c890730b6 fix email binding 2016-09-11 15:39:55 +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
b455fe6f06 fix response of validations 2016-09-10 21:14:46 +08:00
printempw
5e3e1e64d4 fixed support for sub directory 2016-09-10 17:52:33 +08:00
printempw
fd622e2eb8 save session when terminate abnormally 2016-09-08 18:08:45 +08:00
printempw
b73c819142 use Mail of laravel 2016-09-04 16:15:15 +08:00
printempw
681a56a741 use validator of laravel instead of Validate class 2016-09-04 15:35:12 +08:00
printempw
f5c9e08ad6 use validator of laravel 2016-09-03 23:50:55 +08:00
printempw
2b55346a0c fix undefined player_name at PlayerController 2016-09-03 21:06:01 +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
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
0dd6d0125c use redirect helper function 2016-08-29 23:12:45 +08:00
printempw
cfd289c0c8 add macros for responses 2016-08-29 22:48:55 +08:00
printempw
8196324f73 write data from cookie to session in a parent middleware 2016-08-29 22:46:57 +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
9290f1d2a7 fix rendering HttpException with whoops 2016-08-29 15:10:51 +08:00
printempw
1798d07210 update routes 2016-08-29 14:49:10 +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