Commit Graph

55 Commits

Author SHA1 Message Date
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
printempw
d6e810da4a working on data adaptation 2016-10-17 17:51:51 +08:00
printempw
a22357d1c6 fix translation of auth.logout.fail 2016-10-06 17:57:07 +08:00
printempw
f0532dcc6c fix minimal length of password 2016-10-02 20:30:27 +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
41f24b9a3a add menu for switching languages 2016-09-15 09:20:02 +08:00
printempw
6c1311db5e add json helper function 2016-09-10 21:39:45 +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