Commit Graph

908 Commits

Author SHA1 Message Date
Pig Fang
fd70a7182f Add API for fetch current user 2019-04-27 23:10:21 +08:00
Pig Fang
fe5b7c7380 Add more API tests 2019-04-27 20:08:41 +08:00
Pig Fang
25256b0814 Add API integration tests 2019-04-27 13:09:10 +08:00
Pig Fang
51e4efba7b Make sure tid_cape set 2019-04-26 21:38:26 +08:00
Pig Fang
1a98e7937d Return empty string when JWT auth failed 2019-04-26 18:58:12 +08:00
Pig Fang
748c275969 Add missing artisan calls in CLI installation 2019-04-26 12:33:43 +08:00
Pig Fang
262d48e1f7 Fix switching i18n 2019-04-26 00:01:32 +08:00
Pig Fang
6918a46ae8 Remove unused JavaScript global variables 2019-04-25 23:42:06 +08:00
Pig Fang
e2c125648f Support OAuth2 2019-04-25 23:24:24 +08:00
Pig Fang
1ae0329083 Rename auth guard 2019-04-25 13:29:43 +08:00
Pig Fang
d2ad6107d1 Refactor middlewares 2019-04-25 13:01:39 +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
fd541e7365 Clean up 2019-04-23 14:13:58 +08:00
Pig Fang
d8f08176a2 Check owner before operating player 2019-04-23 13:09:06 +08:00
Pig Fang
b70004ec0f Add JWT refreshing 2019-04-23 12:45:06 +08:00
Pig Fang
0486ddc5a1 Normalize JSON response structure 2019-04-23 11:47:45 +08:00
Pig Fang
6507f2699f Support JWT authentication 2019-04-23 10:05:58 +08:00
Pig Fang
7f58d92590 Set new version automatically 2019-04-22 22:56:24 +08:00
Pig Fang
f8bba6b7b7 Add ForbiddenIE middleware 2019-04-22 21:09:36 +08:00
Pig Fang
573cca5c5d Allow multiple plugins market registry 2019-04-22 19:26:17 +08:00
Pig Fang
bae2a5d3a8 Fix #38 2019-04-22 09:52:45 +08:00
Pig Fang
d01ca18431 Fix zip file name when downloading plugin 2019-04-20 15:17:42 +08:00
Pig Fang
79e5909bdd Fix requiring verification in closet page 2019-04-20 15:14:25 +08:00
Pig Fang
bb3fecf57c Fix syntax 2019-04-19 23:21:14 +08:00
Pig Fang
d8d80f2729 Fix syntax 2019-04-19 23:17:58 +08:00
Pig Fang
ade8b0e5a6 Bundle certificate (fix #36) 2019-04-19 23:15:05 +08:00
Pig Fang
8eb174a6dc
Apply fixes from StyleCI (#35) 2019-04-19 19:36:36 +08:00
Pig Fang
8bab3699ba Add option about transparent navigation bar 2019-04-19 19:32:15 +08:00
Pig Fang
d86e4c1805 Do not publish .env file 2019-04-09 13:21:31 +08:00
Pig Fang
5e42368d69 New hash algorithm: Bcrypt 2019-04-08 21:53:00 +08:00
Pig Fang
1c72171a5e Extract copyright as view 2019-04-08 16:07:42 +08:00
Pig Fang
53b305393c Remove unused model scope 2019-04-07 23:03:00 +08:00
Pig Fang
2cd3e47606 Ignore some runtime-specified code 2019-04-07 22:42:51 +08:00
Pig Fang
6da5094cb4 Remove get_base_url function 2019-04-07 08:54:54 +08:00
Pig Fang
09b9959bc8 Remove AfterSessionBooted middleware 2019-04-06 23:22:36 +08:00
Pig Fang
23a9f018ca Remove redundant middleware 2019-04-06 23:16:37 +08:00
Pig Fang
298b6edf66 Tweak tests 2019-04-06 23:16:14 +08:00
Pig Fang
4c4023bbc2 Refactor UpdateController 2019-04-06 22:52:43 +08:00
Pig Fang
a24e34cf5e Add version check for market registry 2019-04-05 17:48:36 +08:00
Pig Fang
d7b78324f8 Simplify downloading packages 2019-04-05 17:23:27 +08:00
Pig Fang
293668960a Add test for addRoute hook 2019-04-05 09:31:36 +08:00
Pig Fang
108bd260a4 Tweak webpack 2019-04-05 09:00:43 +08:00
Pig Fang
4305b722ca Switch to Laravel's validation expcetion handler 2019-04-05 08:58:00 +08:00
Pig Fang
666344936e Simplify 2019-04-04 19:50:52 +08:00
Pig Fang
d309f8fbbf Simplify exception handler 2019-04-04 19:44:17 +08:00
Pig Fang
29b0c1e5a3 Extract some helper functions to view 2019-04-04 11:40:18 +08:00
Pig Fang
634f0b726a Inline one-time used helper function 2019-04-04 11:16:04 +08:00
Pig Fang
aa30d5a41e Add tests for captcha 2019-04-04 11:04:13 +08:00
Pig Fang
d6abaccdf9 Use Storage::fake in tests 2019-04-03 23:16:23 +08:00
Pig Fang
b23538c47e Return plugin name as-is if plugin is unavailable (fix #32) 2019-04-03 22:43:14 +08:00
Pig Fang
3b55adc445 Rename variables 2019-04-03 10:12:51 +08:00
Pig Fang
1f2d7a98ce Better UX about players 2019-04-01 21:45:59 +08:00
Pig Fang
58437a1b97 Add new plugins registry (fix #31) 2019-04-01 16:12:11 +08:00
Pig Fang
b8b8a8493c Add getter for compat 2019-03-31 23:55:07 +08:00
Pig Fang
4897656425 Fix passing extra view info 2019-03-31 16:07:36 +08:00
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
7e4d439da9 Refactor 2019-03-31 11:00:07 +08:00
Pig Fang
3a8504c1bf Fix modifying dotenv file (fix #30) 2019-03-31 10:33:03 +08:00
Pig Fang
d9efa1d5ff Declare sharable user instance in master view 2019-03-31 09:08:31 +08:00
Pig Fang
d867b0921b Remove deprecated validation rules 2019-03-31 08:41:55 +08:00
Pig Fang
7589ec8f2b Use buttons from Element UI 2019-03-30 18:36:01 +08:00
Pig Fang
1e3816d1d4 Upgrade dependencies 2019-03-30 16:22:08 +08:00
Pig Fang
e2b4153dab Simplify property name
Ref: #14
2019-03-30 13:08:13 +08:00
Pig Fang
cbfce9ab2e Revert "change variable name from rawPasswd to rawPassword (#128)"
This reverts commit cfbfe60f89.

Ref: #14
2019-03-30 11:54:24 +08:00
Pig Fang
9a095732fa Build plugin "report-textures" into core 2019-03-30 11:38:30 +08:00
Pig Fang
c01e362ae0 Fix validating captcha 2019-03-27 11:11:09 +08:00
Pig Fang
64658fd9f2 Enable reCAPTCHA on "forgot" page 2019-03-27 11:07:04 +08:00
Pig Fang
04b8f73ac4 Support invisible reCAPTCHA 2019-03-24 15:45:50 +08:00
Pig Fang
2397ebc565 Remove recaptcha_mirror option 2019-03-24 10:14:27 +08:00
Pig Fang
1fa155c213 Support reCAPTCHA 2019-03-24 09:58:37 +08:00
Pig Fang
f6040707e1 Generate extra data in controllers 2019-03-23 19:52:14 +08:00
Pig Fang
84b2a5f0a4 Check tables before installation in CLI 2019-03-23 18:57:56 +08:00
Pig Fang
cd1efcdcfc Hide vital fields 2019-03-23 17:40:02 +08:00
Pig Fang
7c9735b7b1 Remove unused command 2019-03-23 16:57:41 +08:00
Pig Fang
8a5002d1a5 Simplify 2019-03-23 16:39:37 +08:00
Pig Fang
623ebfc3e2 Support installing BS via CLI 2019-03-23 16:36:54 +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
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
6793ccea30 Remove unused code 2019-03-22 11:13:21 +08:00
Pig Fang
f9c659036d Prevent conflict with PhpRedis extension 2019-03-21 22:51:30 +08:00
Pig Fang
0f20e99ac1 Fix plugin-related issues 2019-03-21 19:45:52 +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
4b553c3c92 Build "get-score-by-sharing" into core 2019-03-20 23:28:04 +08:00
Pig Fang
9bed8d022d Prevent convert empty strings in option page 2019-03-20 11:49:17 +08:00
Pig Fang
40ea4c0911 Check option before connecting to Redis 2019-03-20 11:05:41 +08:00
Pig Fang
d27dc54377 Build "redis" plugin into core 2019-03-20 11:00:14 +08:00
Pig Fang
3366237828 Split "resource" as a dedicated page 2019-03-20 10:01:42 +08:00
Pig Fang
9c2e3e52ad Deduplicate code 2019-03-19 23:48:45 +08:00
Pig Fang
2cb334b091 Optimize dashboard query 2019-03-19 23:35:13 +08:00
Pig Fang
a4c49d6634 Replace Chart.js with ECharts 2019-03-19 19:16:03 +08:00
Pig Fang
749339f331 Process likes in a special method 2019-03-19 15:19:33 +08:00
Pig Fang
9828f66f5d Remove redundant check 2019-03-19 10:13:57 +08:00
Pig Fang
b426bc36a7 Clean up 2019-03-18 22:22:20 +08:00
Pig Fang
e0a8d4cb3e Fix 2019-03-18 17:57:20 +08:00
Pig Fang
d06e17dfdc Strip FIRST_RUN if database ok 2019-03-18 16:44:38 +08:00
Pig Fang
f64e6494c6 One operation to change permission 2019-03-18 13:24:03 +08:00
Pig Fang
34441f587e Skip database page if config ok (fixes #25) 2019-03-17 12:05:31 +08:00
Pig Fang
a1cfbe7f5b Allow to reset avatar 2019-03-17 09:46:02 +08:00
Pig Fang
afb65615b0 Build "seo-meta-tags" into core 2019-03-16 21:52:09 +08:00
Pig Fang
3bf9b18d64 Build "static-file-cdn" into core 2019-03-16 19:56:50 +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
5235ac23b0 Fix uploading texture 2019-03-16 16:32:49 +08:00
Pig Fang
fade13cdab Drop support of .tpl 2019-03-16 09:51:01 +08:00
Pig Fang
0bca03284c Enable Laravel auto-discovery 2019-03-16 09:48:15 +08:00
Pig Fang
1a16ca2096
Apply fixes from StyleCI (#20) [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/zDjgLJ).
2019-03-15 13:30:33 +08:00
Pig Fang
c4b3cc89b0 Fix redirecting in setup 2019-03-15 13:21:47 +08:00
Pig Fang
13fade2773 Fix missing likes field 2019-03-15 13:14:59 +08:00
Pig Fang
1afa36e8e9
Apply fixes from StyleCI (#18) [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/zYNYDd).
2019-03-15 00:03:54 +08:00
Pig Fang
5915b3ec17 Reimplementing closet 2019-03-14 23:55:49 +08:00
Pig Fang
c036e72642 Enable tinker 2019-03-13 22:25:08 +08:00
Pig Fang
ceac906771 Rename column player_name to name 2019-03-13 13:16:51 +08:00
Pig Fang
891676c7ef
Apply fixes from StyleCI (#17) 2019-03-13 11:25:20 +08:00
Pig Fang
cd2711942e Enforce to use tid_skin 2019-03-13 11:24:04 +08:00
Pig Fang
69b6d3685d Remove feedback 2019-03-12 20:51:46 +08:00
Pig Fang
63b352d670
Apply fixes from StyleCI (#12) 2019-03-03 00:38:44 +08:00
Pig Fang
995c653fec Remove redundant setPrivacy function 2019-03-02 23:58:35 +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
5c8f4028ea Use files instead of hard-coded base64 2019-02-28 16:34:16 +08:00
Pig Fang
e528547b89
Laravel 5.8 (#5) 2019-02-27 23:44:50 +08:00
Pig Fang
6d93a78d22 fix: check tables if it's existed when db is connected 2019-02-18 17:15:14 +08:00
Pig Fang
f7b5046a38 skip db connection check before setup
close printempw/blessing-skin-server#133
2019-02-18 16:35:39 +08:00
Pig Fang
0d4f34770e fix tests 2019-02-17 20:12:42 +08:00
Pig Fang
46e7ef256d simplify 2019-02-17 09:11:57 +08:00
Pig Fang
14f80ab573 attempt to fix again 2019-02-16 18:16:57 +08:00
Pig Fang
3ddb560e33 attempt to fix again 2019-02-16 17:02:28 +08:00
Pig Fang
8255765ce4 check plugin instance before retrieving version 2019-02-16 16:56:53 +08:00
Pig Fang
752bb80885 attempt to fix risky ops 2019-02-16 16:45:58 +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
1e120d3ec7 Fix reading .env file 2018-10-19 21:43:25 +08:00
Pig Fang
12539d5f9d Modify path of front-end resources 2018-10-19 21:42:14 +08:00
timgiroux
cfbfe60f89 change variable name from rawPasswd to rawPassword (#128) 2018-10-09 19:00:26 +08:00
Pig Fang
eedb7e8449 Refactor 2018-09-14 15:46:44 +08:00
Pig Fang
ab34d7aa4f Add two events for closet 2018-09-10 21:32:42 +08:00
Pig Fang
0d6cc52d23 Regress for logging 2018-09-10 17:29:05 +08:00
Pig Fang
bfd71feac0 Update logging service 2018-09-09 13:00:10 +08:00
Pig Fang
d01daa4137 Regress to add parsedown to service container 2018-09-08 20:09:56 +08:00
Pig Fang
a09648c79d Rename service provider 2018-09-08 20:03:55 +08:00
Pig Fang
8359967b16 Reduce text on player_name_length option 2018-09-08 10:30:24 +08:00
Pig Fang
a864adbfb8 Fix sidebar menu for plugins 2018-09-06 23:14:54 +08:00
Pig Fang
1a079c90c4 Upgrade to Laravel 5.7 2018-09-06 16:26:03 +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
7ec7eb2467 Fix big offset for Hook::addMenuItem 2018-08-21 14:43:46 +08:00
Pig Fang
5a2c010f3b Fix verification status for first user 2018-08-21 11:03:57 +08:00
Pig Fang
94652f4257 Fix URL processing 2018-08-21 10:40:37 +08:00
Pig Fang
6eac8cf2c7 Restrict PluginController access to super admin only 2018-08-21 09:05:29 +08:00
printempw
23b2abdfaf Fix form validation rules 2018-08-20 23:12:02 +08:00
Pig Fang
aff8e9f058 Fix CSRF verification 2018-08-20 23:09:26 +08:00
Pig Fang
98d228da4c Fix front-end resources 2018-08-19 19:02:22 +08:00
Pig Fang
cf03da0a2e Update tests 2018-08-19 18:28:38 +08:00
Pig Fang
47a0a24a5e Remove datatables package 2018-08-19 17:53:54 +08:00
Pig Fang
f6d022c377 Add plugins management page 2018-08-19 17:39:33 +08:00
Pig Fang
32104da31f Change view extension from .tpl to .blade.php 2018-08-19 11:53:24 +08:00
Pig Fang
6b4812b251 Add plugin marketplace 2018-08-19 11:39:14 +08:00
Pig Fang
37bdaceeb9 Fix tests 2018-08-18 09:48:39 +08:00
printempw
5b3b2da64c Specify update source by environment variable 2018-08-17 23:29:14 +08:00
printempw
e1d686d1a7 Use Guzzle to request update source 2018-08-17 23:24:30 +08:00
Pig Fang
ad32b718eb Use guzzle to download update packages 2018-08-17 23:24:08 +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
printempw
6775728c50 Remove "Expires" header from png responses 2018-08-17 22:22:58 +08:00
printempw
16dbc6cff0 Fix timezone of Last-Modified header 2018-08-17 22:02:05 +08:00
Pig Fang
3ac4a98ecb Add helper function format_http_date 2018-08-17 21:41:11 +08:00
Pig Fang
57bf10dbc5 Remove DetectLanguagePrefer middleware from static routes 2018-08-17 21:40:28 +08:00
Pig Fang
4a72442fdb Add a option for requiring player name when register 2018-08-17 17:03:38 +08:00
Pig Fang
939d71923b Enhance rate limit for sending password reset email 2018-08-17 16:07:24 +08:00
Pig Fang
0ef92a5565 Update tests and composer autoload 2018-08-17 15:25:08 +08:00
Pig Fang
b7b3e32f22 Remove unused code 2018-08-17 14:33:35 +08:00
Pig Fang
b5468cc143 Support email verification 2018-08-17 12:32:44 +08:00
Pig Fang
706ca1938b Update mail template of password reset 2018-08-16 18:10:09 +08:00
Pig Fang
40deffb3b9 Limit login attempts by IP address 2018-08-16 17:57:24 +08:00
Pig Fang
bf8ec12645 Support changing texture model from skinlib 2018-08-16 17:42:54 +08:00
Pig Fang
190e54578a Add index page of skin library 2018-08-14 23:27:36 +08:00
Pig Fang
7e4ae5381b Use server side table 2018-08-13 11:08:14 +08:00
Pig Fang
b3876468b2 Fix validating captcha 2018-08-12 16:00:21 +08:00
Pig Fang
fea37bc512 Fix HTTP headers 2018-08-12 08:48:42 +08:00
Pig Fang
e3b5cbc36f Hot reload for development 2018-08-08 18:17:11 +08:00
Pig Fang
b0bdc3e7b2 Upgrade to Font Awesome 5 2018-08-08 12:30:50 +08:00
Pig Fang
f0e177d62d Add user dashboard page 2018-08-08 09:50:35 +08:00
Pig Fang
5788fb93c1 Disallow to delete administrator 2018-08-02 10:21:25 +08:00
Pig Fang
7b000bcab0 Add method for retrieving all players 2018-07-30 15:45:08 +08:00
Pig Fang
6102d27530 Support retrieving avatar by tid 2018-07-30 15:18:33 +08:00
Pig Fang
f6dec9d447 Get ready for using Vue.js 2018-07-25 15:32:08 +08:00
Pig Fang
148b6f6cc5 Apply two new middlewares 2018-07-24 09:58:10 +08:00
Pig Fang
93b3a165ab Tweak service providers for code readability 2018-07-23 09:20:21 +08:00
Pig Fang
3cf5c646c6 Refactor 2018-07-22 18:54:37 +08:00
Pig Fang
11afeea08d Add L10n support for program copyright style 2018-07-22 16:46:37 +08:00
Pig Fang
5e3e2bf688 Return 204 instead of 200 for CDN cache 2018-07-22 16:42:58 +08:00
Pig Fang
26e81eba6e Refactor 2018-07-22 16:37:39 +08:00
Pig Fang
e60d73b410 Remove bs_announcement function and parsedown 2018-07-22 16:32:34 +08:00
Pig Fang
d05cd4aab2 Throw PrettyPageException when cipher is invalid 2018-07-22 16:23:49 +08:00
Pig Fang
e2703aad84 Use helper function report 2018-07-22 11:36:00 +08:00
Pig Fang
aa149f4f3e Allow overriding translations 2018-07-22 11:06:16 +08:00
Pig Fang
60996020f4 Fix test 2018-07-22 10:50:01 +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
Pig Fang
6031562851 Simplify environment check when booting 2018-07-21 18:43:33 +08:00
Pig Fang
0da5c0ce41 Fix handling validation errors 2018-07-21 17:56:04 +08:00
Pig Fang
b2a514d3fe Remove unused code 2018-07-21 17:55:44 +08:00
Pig Fang
ad99714882 Fix handling validation errors 2018-07-21 17:50:48 +08:00
Pig Fang
0233e44ccd Add a setup step to fill database info 2018-07-21 16:55:36 +08:00
Pig Fang
07e5d8b3ec Update route for captcha 2018-07-21 08:21:42 +08:00
Pig Fang
8bd60624a0 Fix validating captcha 2018-07-21 08:17:16 +08:00
Pig Fang
201fe21e6d Update PHP requirement 2018-07-20 17:32:27 +08:00
Pig Fang
0ded695295 Nickname is required in setup 2018-07-20 17:23:54 +08:00
Pig Fang
5b1667d798 Add regexp rule support for texture name 2018-07-20 15:41:15 +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
24b2107c48 Fix processing cookies after deleting user 2018-07-19 10:46:01 +08:00
Pig Fang
389de2aa84 Refactor 2018-07-19 10:33:28 +08:00
Pig Fang
fa1c780786 Rename method on User model 2018-07-19 10:31:44 +08:00
Pig Fang
3c24a166e8 Use signed URL to simplify resetting password 2018-07-18 11:04:34 +08:00
Pig Fang
fa7bc18364 add IDE helper 2018-07-18 10:36:55 +08:00
Pig Fang
7820616b77 use Route::view and Route::redirect 2018-07-17 17:17:31 +08:00
Pig Fang
3df2f2dda9 use Blade::if to check if a user is admin 2018-07-17 09:29:10 +08:00
Pig Fang
9cd6e0945d booleanify public property 2018-07-16 11:10:01 +08:00
Pig Fang
0f7d44a2c9 refactor tests 2018-07-16 10:22:19 +08:00
Pig Fang
4fce311046 use localized site name in mail 2018-07-15 18:19:23 +08:00
Pig Fang
590f62d035 use mail.driver to determine whether password reset is disabled 2018-07-15 18:18:56 +08:00
Pig Fang
5a0908517e log the exceptions thrown by email service in detail 2018-07-15 18:15:55 +08:00
Pig Fang
209d74ab7a use mailable 2018-07-15 17:42:03 +08:00
Pig Fang
b520a464cb remove hack for test 2018-07-14 08:41:25 +08:00
Pig Fang
3f78b3755a fix catching ValidationException 2018-07-13 23:22:20 +08:00
Pig Fang
709baae712 fix and revert 2018-07-13 23:19:59 +08:00
Pig Fang
5b485b7b10 laravel api renaming 2018-07-13 22:57:01 +08:00
Pig Fang
c82d9e55a4 fix l10n on option form 2018-07-13 22:56:48 +08:00
Pig Fang
29576fd08e method renaming 2018-07-13 21:23:07 +08:00
Pig Fang
3f77c98783 fix tests of SkinlibController 2018-07-13 19:02:16 +08:00
Pig Fang
8e2b2c78fc fix for tests 2018-07-12 17:18:19 +08:00
Pig Fang
2cea484f50 fix for test 2018-07-12 10:52:58 +08:00
Pig Fang
7bd7deca37 refactor: retrieve closet in skin library 2018-07-12 08:56:44 +08:00
Pig Fang
0c7878f494 use pluck, lists was removed in 5.3 2018-07-11 16:45:38 +08:00
Pig Fang
85baa91a4a fix reading closet 2018-07-11 16:45:07 +08:00
Pig Fang
79746f9e81 use isEmpty on database query result 2018-07-11 16:11:52 +08:00