Commit Graph

237 Commits

Author SHA1 Message Date
Pig Fang
50e855bb71 Fix loading resources from CDN 2019-03-31 14:38:17 +08:00
Pig Fang
d16e7a3dfa Generate manifest for cache issues 2019-03-31 13:12:56 +08:00
Pig Fang
7589ec8f2b Use buttons from Element UI 2019-03-30 18:36:01 +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
6793ccea30 Remove unused code 2019-03-22 11:13:21 +08:00
Pig Fang
0f20e99ac1 Fix plugin-related issues 2019-03-21 19:45:52 +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
e528547b89
Laravel 5.8 (#5) 2019-02-27 23:44:50 +08:00
Pig Fang
8255765ce4 check plugin instance before retrieving version 2019-02-16 16:56:53 +08:00
Pig Fang
b64e769f5a Copy plugin assets if version changed 2018-11-21 23:32:32 +08:00
Pig Fang
889e461bd6 Update the structure of plugins_enabled field 2018-11-21 22:53:27 +08:00
Pig Fang
02b7c6158d Process assets of plugins 2018-10-19 22:47:01 +08:00
Pig Fang
1a079c90c4 Upgrade to Laravel 5.7 2018-09-06 16:26:03 +08:00
Pig Fang
7ec7eb2467 Fix big offset for Hook::addMenuItem 2018-08-21 14:43:46 +08:00
Pig Fang
6b4812b251 Add plugin marketplace 2018-08-19 11:39:14 +08:00
printempw
6d505d275b Fix Hook::registerPluginTransScripts method 2018-08-17 22:54:54 +08:00
Pig Fang
2305a80102 Remove Utils class 2018-08-17 22:54:26 +08:00
printempw
8139bb7b0f Tweak code style of App\Services\Hook 2018-08-17 22:24:18 +08:00
Pig Fang
aa149f4f3e Allow overriding translations 2018-07-22 11:06:16 +08:00
Pig Fang
a646d76bf3 Remove cipher CrazyCrypt1 2018-07-20 15:07:48 +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
709baae712 fix and revert 2018-07-13 23:19:59 +08:00
Pig Fang
c82d9e55a4 fix l10n on option form 2018-07-13 22:56:48 +08:00
Pig Fang
5f3155baa4 fix closure arguments in Arr::where 2018-07-11 16:07:29 +08:00
printempw
def8cc39b6 Add support for localized options 2018-07-06 14:46:25 +08:00
printempw
f2477f437b Use composer/semver to compare versions
Remove Utils::versionCompare method.
2018-06-30 16:31:39 +08:00
printempw
40485253ec Refine hashing uploaded file
Remove Utils::upload method.
Add bs_hash_file helper function.
Add HashingFile event.
2018-06-30 16:05:00 +08:00
printempw
4da044146f Update the parameter of PluginManager::getUnsatisfiedRequirements method 2018-06-29 18:14:55 +08:00
printempw
cae51b3a7a Add dependency definition for plugins 2018-06-29 15:55:56 +08:00
printempw
86a5631431 Add composer support for plugins 2018-06-28 23:32:27 +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
c45b478de2 Add .env variables for customizing the path to load plugins from 2018-06-28 12:32:58 +08:00
printempw
c9f9a8ddb2 Fix placeholder of OptionFormText 2018-06-19 12:35:01 +08:00
printempw
53fd30f093 Add placeholder method to OptionFormText 2018-06-18 21:50:10 +08:00
printempw
2da122f5cf Add custom user-agent support for Utils::download 2018-02-25 12:24:31 +08:00
printempw
9c5a48f2a8 Remove invalid Database facade 2018-02-25 09:19:18 +08:00
printempw
5889df5b63 Remove class App\Services\Database 2018-02-22 20:41:09 +08:00
printempw
dd3f645e80 Adjust code style due to my OCD 2018-02-16 17:31:10 +08:00
Pig Fang
6f516cc2eb fix(preview): fix 2d skin preview for alex model 2018-01-04 13:10:41 +08:00
Pig Fang
55a137f014 test(services): add tests for repositories 2017-12-28 12:52:29 +08:00
Pig Fang
26742e3ae3 Add tests for Services/Hook 2017-12-04 17:04:04 +08:00
Pig Fang
97874039c6 Add tests for Services/Minecraft 2017-12-04 15:11:23 +08:00
gplane
946e0c12e3 Remove unused code 2017-11-29 17:02:11 +08:00
Pig Fang
157c9e8b22 Update tests for SkinlibController 2017-11-24 18:54:30 +08:00
Pig Fang
b19565bf8b Add tests for PluginController 2017-11-16 14:09:08 +08:00
Pig Fang
b6ffa970cf Add tests for AdminController 2017-11-04 20:25:54 +08:00
printempw
b06051dd91 Remove class App\Services\Storage 2017-08-05 15:04:06 +08:00
printempw
0566d4e7e0 Throw exception when two plugins use the same name definition 2017-07-30 16:11:23 +08:00
printempw
b873ffef9c Adjust filename of source files 2017-07-03 20:54:19 +08:00
printempw
1957f97807 Add option for detecting IP address via which header 2017-06-28 19:50:34 +08:00
printempw
88ed00660a Fix password encryption of CrazyLogin #66 2017-06-28 18:38:48 +08:00
printempw
2be20b4bee fix default parameter value of OptionForm::addMessage 2017-01-19 12:57:36 +08:00
printempw
2461b47d75 clear unused imported namespaces 2017-01-18 22:57:15 +08:00
printempw
47c758c5c0 fix comparing time of signing in 2017-01-18 12:56:37 +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
9486f19f5d add support for callback of enabling/disabling/deleting plugins 2017-01-14 21:31:21 +08:00
printempw
38e24f4642 stop loop after adding all the contents 2017-01-08 16:12:28 +08:00
printempw
954329a8e7 add useful functions for plugins 2017-01-08 16:05:54 +08:00
printempw
1d4dca0ff3 update util functions 2017-01-08 13:44:03 +08:00
printempw
ee81077b00 fix custom version comparing 2017-01-08 13:28:58 +08:00
printempw
482f6efa02 fix determining request protocol behind load balancer & proxies 2017-01-08 13:26:33 +08:00
printempw
7d9535007e support hashing passwords with password_hash() 2017-01-08 12:49:32 +08:00
printempw
acb4d643f7 update ciphers 2017-01-08 10:48:46 +08:00
printempw
4276b56e0c fix getting user from UserRepository by custom property 2017-01-08 10:40:22 +08:00
printempw
967ef3e1b0 fix comparing versions contain hyphen 2017-01-02 16:23:31 +08:00
printempw
7f966ce80d add hooks about loading assets 2017-01-02 14:37:16 +08:00
printempw
cc6afebfec fix comparing string with bool value 2017-01-02 10:28:10 +08:00
printempw
fb64056cbd fix minor bugs caused by batch-import plugin 2017-01-01 16:37:29 +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
d622e455c7 add plugin_assets() helper function 2016-12-31 16:07:12 +08:00
printempw
dcbeb35155 add renderWithOutSubmitButton and disabled apis for OptionForm 2016-12-31 15:11:49 +08:00
printempw
ee5fec149e fix saving option values whose id is formatted as *[*] 2016-12-31 14:05:55 +08:00
printempw
f7159e0bbb use custom function to get client ip since Symfony's sucks 2016-12-31 13:56:53 +08:00
printempw
59d7a9c4c2 deprecate Option::save() 2016-12-30 19:35:07 +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
c37091d0f1 fix showing empty file when UploadFile::error !== UPLOAD_ERR_OK 2016-12-25 23:21:13 +08:00
printempw
33b89db7f5 implement ArrayAccess interface for plugins 2016-12-24 23:06:56 +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
65acb7426b save modified options at terminable middleware instead of destruct function 2016-12-17 17:25:01 +08:00
printempw
4f30cc6eb7 use error control operater when invoking set_time_limit() 2016-12-16 22:54:12 +08:00
printempw
8e75b3b605 remove temp file if uploaded file duplicated 2016-12-14 22:11:40 +08:00
printempw
325ea187e0 fix rendering content of option form 2016-12-11 22:26:58 +08:00
printempw
28ea2b2858 separate v2 data migrations as a plugin 2016-11-25 22:34:41 +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
eb3b963dca add custom messages & callbacks for option forms 2016-11-18 22:39:12 +08:00
printempw
a91da6cf3c fix rendering of option forms 2016-11-18 21:59:09 +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
be4af844fe abstract forms for options 2016-11-12 23:50:41 +08:00