Commit Graph

65 Commits

Author SHA1 Message Date
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
8eb174a6dc
Apply fixes from StyleCI (#35) 2019-04-19 19:36:36 +08:00
Pig Fang
aa30d5a41e Add tests for captcha 2019-04-04 11:04:13 +08:00
Pig Fang
4897656425 Fix passing extra view info 2019-03-31 16:07:36 +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
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
2267a2cadb Remove UserRepository 2019-03-23 11:06:36 +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
e528547b89
Laravel 5.8 (#5) 2019-02-27 23:44:50 +08:00
Pig Fang
2305a80102 Remove Utils class 2018-08-17 22:54:26 +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
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
b3876468b2 Fix validating captcha 2018-08-12 16:00:21 +08:00
Pig Fang
e2703aad84 Use helper function report 2018-07-22 11:36:00 +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
fdf618b2be Use Laravel's auth system and use another captcha generator 2018-07-20 14:42:43 +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
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
printempw
abde385776 Add more validation rules for player name 2018-06-19 11:51:34 +08:00
printempw
36064873e3 Revert "Add a option for adding a player after registered"
This feature will be implemented as a plugin. This reverts commit ad255252b57b135ddecf89aa1331c40c97324be9.
2018-06-15 22:44:30 +08:00
printempw
da48fd84dc Adjust allowed maximum password length to 32 2018-02-24 16:32:19 +08:00
printempw
dd3f645e80 Adjust code style due to my OCD 2018-02-16 17:31:10 +08:00
Pig Fang
bce4ed4a42 Add a option for adding a player after registered 2017-11-05 20:56:52 +08:00
Pig Fang
8d1adc7e4d Add security check before resetting password 2017-11-05 10:25:20 +08:00
Pig Fang
abd27055c1 Add tests for AuthController 2017-11-04 20:25:54 +08:00
printempw
10801b8f7d Redirect to last requested path after logging in 2017-06-28 20:42:51 +08:00
printempw
294b008880 now maximum password length is extended to 64 2017-01-18 22:35:25 +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
f5dd7c8c5f bind user.current at CheckAuthenticated middleware 2017-01-07 22:28:37 +08:00
printempw
f7159e0bbb use custom function to get client ip since Symfony's sucks 2016-12-31 13:56:53 +08:00
printempw
efd57bfce0 use Request::ip() instead 2016-12-16 22:20:41 +08:00
printempw
5fc43ed45b fix some minor issues for plugins 2016-11-17 17:32:12 +08:00
printempw
11c88f28cd add log for password resetting 2016-11-07 22:34:34 +08:00
printempw
e35fa9b85a refactor models 2016-10-23 11:41:52 +08:00