summaryrefslogtreecommitdiffstats
path: root/settings/js/users
Commit message (Collapse)AuthorAgeFilesLines
* Fix hiding and event propagation issues with the user management popoverJulius Härtl2018-02-231-4/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix popover and styling in user managementJulius Härtl2018-01-111-9/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Close menu on "mouseup" instead of on "click" events in the documentDaniel Calviño Sánchez2018-01-031-1/+1
| | | | | | | | | | | | | | | | "click" events are handled by several elements in user settings, and some of them (like the edit icon in the user name) stop the propagation of the event. Due to this the event never reaches the document and thus the menu was not closed in those cases. "click" events are always preceded by "mouseup" events (as "click" events are generated when "mousedown" and "mouseup" events occur in the same element), so now the menu is closed when a "mouseup" is received in the document. The described problem would happen too if an element stopped the propagation of the "mouseup" event; currently no element does that in the user settings, so now the menu is always closed as expected. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix popover menu not closing in user settingsDaniel Calviño Sánchez2018-01-031-0/+1
| | | | | | | | | | | A popover menu is displayed when its element has the "open" CSS class. That class is added when clicking on the menu toggle, but it was removed only when clicking again on the toggle, so the popover menu in user settings could be closed only by clicking again on the menu toggle. Now the "open" CSS class is removed too when clicking on the body, either directly or through event propagation. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #6848 from nextcloud/user-app-nav-to-css-guidelinesJohn Molakvoæ2017-10-231-8/+5
|\ | | | | User settings app-navigation to css guidelines
| * Fix deletion feedbackJohn Molakvoæ (skjnldsv)2017-10-211-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fix editing form visibilityJohn Molakvoæ (skjnldsv)2017-10-211-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Edit form to guidelinesJohn Molakvoæ (skjnldsv)2017-10-211-6/+3
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Allow quota of 0 againJoas Schilling2017-10-191-1/+1
|/ | | | | | Regression from f1fccaca0605a5d183f78b2c39d2e09a54753787 Signed-off-by: Joas Schilling <coding@schilljs.com>
* Popover to css guidelinesJohn Molakvoæ (skjnldsv)2017-09-281-0/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix testsJohn Molakvoæ (skjnldsv)2017-09-281-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Quota bar fix on user listJohn Molakvoæ (skjnldsv)2017-09-271-1/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #5342 from nextcloud/userlist-used-spaceMorris Jobke2017-07-051-116/+154
|\ | | | | show used space in user list
| * show used space in user listRobin Appelman2017-06-151-116/+154
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Also allow group admins to toogle the storage locationJoas Schilling2017-06-201-10/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Don't try to save the setting when its not an adminJoas Schilling2017-06-191-8/+24
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [docs] remove useless TODO markm4dz2017-06-121-1/+0
| |
* | [fix] Highlight 'everyone' group by defaultm4dz2017-06-121-0/+3
|/
* polish user actions dropdownRobin Appelman2017-05-061-6/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use proper return codes and handle failure casesMorris Jobke2017-04-291-1/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve wording of error messagesMorris Jobke2017-04-291-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* change group id to _disabledUsersMorris Jobke2017-04-292-6/+6
|
* Implemented visual feedback if a user is disabled in admin user menu.Thomas Pulzer2017-04-292-22/+79
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Allow apps to register plugins for the user managementJoas Schilling2017-04-241-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Call right function after sudo modeLukas Reschke2017-03-131-1/+1
| | | | | | This should call the `applyGroupSelect` and not the `applySubadminSelect`. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* clean search when new user is addedgiorgia2017-03-031-6/+17
| | | | Signed-off-by: giorgia <g.sambrotta@gmail.com>
* add emptycontent div, show/hide emptycontent div, fix #1070giorgia2017-03-031-0/+9
| | | | Signed-off-by: giorgia <g.sambrotta@gmail.com>
* Merge pull request #3635 from individual-it/fix_quota_validationMorris Jobke2017-02-281-1/+1
|\ | | | | better quota validation
| * better quota validationArtur Neumann2017-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | this fixes #3634 1. fixed computerFileSize to be more picky about incorrect values 2. more tests for computerFileSize 3. use computerFileSize to validate user quota Signed-off-by: Artur Neumann <info@individual-it.net>
* | Fix setup issue and refine error messagesMorris Jobke2017-02-151-23/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | add setting for "send password link"tobiasKaminsky2017-02-151-1/+23
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use the provisioning api in the user management to handle group membershipsJoas Schilling2017-01-182-28/+51
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* use tooltip in user listChristoph Wurst2017-01-131-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix password change in user managementMorris Jobke2016-11-301-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Check if data is definedLukas Reschke2016-11-221-1/+1
| | | | | | | | | | Otherwise when adding a user as subadmin this would throw the following JS error: ``` users.js?v=bc2aae7…:500 Uncaught TypeError: Cannot read property 'message' of undefined(…)(anonymous function) @ users.js?v=bc2aae7…:500j @ jquery.js:3099fireWith @ jquery.js:3211x @ jquery.js:8264(anonymous function) @ jquery.js:8605 ``` Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix user management callbacksMorris Jobke2016-11-181-34/+43
| | | | | | * properly handle user management actions like display name, email or password field change Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix error displaying on email and add confirmationJoas Schilling2016-11-181-21/+37
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Require password confirmation to change the QuotaJoas Schilling2016-11-181-3/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Require confirmation to change the displaynameJoas Schilling2016-11-181-15/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Confirm on create/delete groupJoas Schilling2016-11-181-2/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* More fixesJoas Schilling2016-11-181-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Hide and show after updatingJoas Schilling2016-11-181-4/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Require password confirmation for user managementJoas Schilling2016-11-181-14/+54
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Switch to public APIJoas Schilling2016-10-211-10/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* tidy up adding user to list a little bitArthur Schiwon2016-10-111-17/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Improve user list rendering perf by not resorting after every add (#26282)Vincent Petry2016-10-101-1/+1
| | | | | The call to UserList.add() was wrong and was passing "user.lastLogin" as the sort argument which would cause the list to be resorted over and over again for every added item after loading the next page of users.
* Extra non-available groups also in listVincent Petry2016-08-291-2/+15
|
* Users page lazy multiselect group dropdownsVincent Petry2016-08-292-82/+83
| | | | | | | | | | Instead of pre-rendering all multiselects with lots of group entries, the current groups are now displayed as simple labels. Behind the labels there is a pencil icon like for other fields. When clicking the pencil icon, the dropdown will be spawned and will open itself. Upon closing of the dropdown, the label comes back with the updated selection and the dropdown is destroyed.
* fix setting quota to default or unlimitedRobin Appelman2016-08-251-1/+1
|
* 25532_issue_password_update_notification_updated (#25756)Jack Davis2016-08-191-1/+3
| | | | | | | | | | | * Password Update Notification Added an IF ELSE statement to ensure that feedback is provided to the user on successfully updating a user password in settings. * Password Update Success Message Updated the password update success message