450 Commits

Author SHA1 Message Date
Giuseppe Criscione
babc31155f Refactor Admin controllers 2018-10-13 12:03:49 +02:00
Giuseppe Criscione
61923a7912 Use explicit exit statement instead of return 2018-10-12 23:21:59 +02:00
Giuseppe Criscione
31217514f6 Cleanup code 2018-10-12 19:37:50 +02:00
Giuseppe Criscione
e4a346137c Merge pull request #10 from giuscris/feature/access-limiter
Limit access after a certain amount of failed login attempts
2018-10-12 17:13:40 +02:00
Giuseppe Criscione
f6fb2985ea Merge branch 'master' into feature/access-limiter 2018-10-12 17:13:04 +02:00
Giuseppe Criscione
e2acfb61b9 Use user language when provided instead of admin.lang option 2018-10-12 17:10:42 +02:00
Giuseppe Criscione
42f01f6d75 Translate user role titles 2018-10-12 16:59:41 +02:00
Giuseppe Criscione
8c6772953c Improve pages list columns sizing 2018-10-12 15:03:56 +02:00
Giuseppe Criscione
79a4f0a769 Slightly reduce sidebar width to have more room for content 2018-10-12 14:58:30 +02:00
Giuseppe Criscione
f990a9f8ae Improve users list appearance espacially for small screen sizes 2018-10-12 14:44:48 +02:00
Giuseppe Criscione
2227a1ee79 Show a no-drop cursor and light red background when page reordering is not possible 2018-10-12 14:13:22 +02:00
Giuseppe Criscione
c219acad3c Fix notification spacing issues when page is scrolled 2018-10-12 14:03:53 +02:00
Giuseppe Criscione
1a53aaf9a4 Limit login attempts 2018-10-12 13:20:46 +02:00
Giuseppe Criscione
421aa92386 Add AccessLimiter class 2018-10-12 13:16:17 +02:00
Giuseppe Criscione
4ee0459653 Fix spacing 2018-10-12 12:57:53 +02:00
Giuseppe Criscione
cb1ca10a28 Refactor User class 2018-10-12 12:52:19 +02:00
Giuseppe Criscione
cdc795150a Call DataGetter::has() with array argument when possible 2018-10-12 12:05:42 +02:00
Giuseppe Criscione
9add059a7e Make DataGetter::has() accept an array as argument 2018-10-12 12:00:37 +02:00
Giuseppe Criscione
06d086d51e Rename UserAvatar to Avatar 2018-10-12 00:01:45 +02:00
Giuseppe Criscione
8809fc7640 Cleanup code 2018-10-12 00:00:49 +02:00
Giuseppe Criscione
40b1a80708 Merge pull request #9 from giuscris/feature/user-permissions
Add user roles and permissions
2018-10-11 21:56:22 +02:00
Giuseppe Criscione
df586358b8 Fix password change permission 2018-10-11 21:54:05 +02:00
Giuseppe Criscione
20eb5826d9 Cleanup code 2018-10-11 17:03:56 +02:00
Giuseppe Criscione
1fbc17dd55 Use HTTP status 400 instead of 403 when CSRF token is not valid 2018-10-11 16:34:16 +02:00
Giuseppe Criscione
e7d649ea03 Fix field validation attempt on non existing user 2018-10-11 16:01:21 +02:00
Giuseppe Criscione
91eb4a8ea5 Cleanup code 2018-10-10 23:32:00 +02:00
Giuseppe Criscione
a8068d3bd0 Merge branch 'master' into feature/user-permissions 2018-10-10 23:21:55 +02:00
Giuseppe Criscione
7ab958ce6f Cleanup code 2018-10-10 23:15:32 +02:00
Giuseppe Criscione
fa59b22489 Check uploaded avatar existence before user update 2018-10-10 22:32:25 +02:00
Giuseppe Criscione
22de37dfb1 Fix missing error notification when editing users is forbidden 2018-10-10 00:27:48 +02:00
Giuseppe Criscione
180b16f86d Use user scheme fields in Users controller 2018-10-10 00:16:52 +02:00
Giuseppe Criscione
0f75a6d7e1 Add user scheme 2018-10-10 00:14:58 +02:00
Giuseppe Criscione
a681f43aaf Add email, file and password fields 2018-10-10 00:14:21 +02:00
Giuseppe Criscione
c2b9c82a5a Use user permissions in Admin controllers and views 2018-10-10 00:09:33 +02:00
Giuseppe Criscione
7f2691b402 Add Errors::forbidden() 2018-10-10 00:07:14 +02:00
Giuseppe Criscione
fd3f75e884 Add Permissions class 2018-10-10 00:03:54 +02:00
Giuseppe Criscione
cf73286ff6 Update language strings 2018-10-10 00:03:13 +02:00
Giuseppe Criscione
6cb8e4a16c Add Users::updateUser() and Users::uploadAvatar() 2018-10-09 23:54:47 +02:00
Giuseppe Criscione
ab6e12567a Update language strings 2018-10-09 23:44:39 +02:00
Giuseppe Criscione
de0cb89850 Add role option to users 2018-10-09 23:41:27 +02:00
Giuseppe Criscione
3089c29728 Add Fields::find() 2018-10-09 23:26:02 +02:00
Giuseppe Criscione
231136f0d4 Add required and disabled attributes support to fields 2018-10-09 23:20:03 +02:00
Giuseppe Criscione
1ed79b2c46 Release 0.8.1 2018-10-08 22:06:48 +02:00
Giuseppe Criscione
652d09693f Fix wrong platform requirements in composer.json 2018-10-08 21:58:55 +02:00
Giuseppe Criscione
b79a6f8d93 Update npm package-lock 2018-10-08 21:38:08 +02:00
Giuseppe Criscione
7fe4983106 Remove unneeded loader.php 2018-10-08 21:24:24 +02:00
Giuseppe Criscione
a12c70c640 Cleanup code 2018-10-08 21:20:57 +02:00
Giuseppe Criscione
32fe26c6c6 Improve exception messages 2018-10-08 19:26:25 +02:00
Giuseppe Criscione
e94eed3bd7 Fix HTML in user profile view 2018-10-07 12:01:10 +02:00
Giuseppe Criscione
1c6f5b0be8 Fix wrong CSS property 2018-10-07 11:59:03 +02:00