diff options
author | Thomas Pulzer <t.pulzer@kniel.de> | 2016-07-08 13:22:34 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-29 00:54:30 -0300 |
commit | 637c75bca176d3ef7a06e8b4fa2d60fece1c89a7 (patch) | |
tree | 287dee19aea7777a243856eae5f81d12f3286216 /settings/routes.php | |
parent | 130780056109d8b65e7b9abe40c89e26a75c5e35 (diff) | |
download | nextcloud-server-637c75bca176d3ef7a06e8b4fa2d60fece1c89a7.tar.gz nextcloud-server-637c75bca176d3ef7a06e8b4fa2d60fece1c89a7.zip |
Implemented visual feedback if a user is disabled in admin user menu.
Implemented visuals for enabling/disabling user from admin user list.
Added the controller functions for enabling/disabling a user.
Added the route for changing user status (enabled/disabled) and added an additional route handler in the user controller.
Finished the visuals to reflect current user status and changed user status respectively.
Changed the single icon for enabling/disabling a user into a menu where deletion and state toggling of a user is selectable.
Added displaying of disabled user count.
Improved style of user action menu.
Added proper counting of disabled users.
Removed visual indicator for disabled users.
Moved pseudo-group detection for disabled users from frontend to the controller.
Changed units for newly introduced css values from em to px.
Removed unnecessary png and optimized svg with scour.
Changed the userlist template to display the user action menu with correct width.
Style fixes for better readability and coding style conformity.
Changed the icons for enabling, disabling and deleting a user in the action menu.
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php index ba0761856d4..fb85b11f390 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -53,6 +53,7 @@ $application->registerRoutes($this, [ ['name' => 'Users#setEMailAddress', 'url' => '/settings/users/{id}/mailAddress', 'verb' => 'PUT'], ['name' => 'Users#setUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'PUT'], ['name' => 'Users#getVerificationCode', 'url' => '/settings/users/{account}/verify', 'verb' => 'GET'], + ['name' => 'Users#setEnabled', 'url' => '/settings/users/{id}/setEnabled', 'verb' => 'POST'], ['name' => 'Users#stats', 'url' => '/settings/users/stats', 'verb' => 'GET'], ['name' => 'LogSettings#setLogLevel', 'url' => '/settings/admin/log/level', 'verb' => 'POST'], ['name' => 'LogSettings#getEntries', 'url' => '/settings/admin/log/entries', 'verb' => 'GET'], |