aboutsummaryrefslogtreecommitdiffstats
path: root/settings/Controller/UsersController.php
Commit message (Collapse)AuthorAgeFilesLines
* do not trigger counting on LDAPArthur Schiwon2018-08-101-6/+11
| | | | | | it's probably too many, degregading performance Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Copyright fix, changed vue settings output name and fixes template nameJohn Molakvoæ (skjnldsv)2018-06-121-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Added total count for subadminsJohn Molakvoæ (skjnldsv)2018-05-241-6/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Disabled fix since new users listJohn Molakvoæ (skjnldsv)2018-05-241-27/+21
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed IE design, subadmins groups update and multiselect base widthJohn Molakvoæ (skjnldsv)2018-05-231-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Various fixesJohn Molakvoæ (skjnldsv)2018-05-161-0/+1
| | | | | | | | * Fixed subadmin group management * Fixed pass policy prop retrieving * Fixed fields subadmins were not supposed to see Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump tests and editorconfigJohn Molakvoæ (skjnldsv)2018-05-161-1/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump popovermenu item options and testsJohn Molakvoæ (skjnldsv)2018-05-161-46/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed settings menu entry and group deletionJohn Molakvoæ (skjnldsv)2018-05-161-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Continued the upgrade to proper router link and added navigationItem router ↵John Molakvoæ (skjnldsv)2018-05-161-14/+14
| | | | | | linkTo capability Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump user controller, cleaned old legacy and added route history modeJohn Molakvoæ (skjnldsv)2018-05-161-0/+505
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Settings to vuejsJohn Molakvoæ (skjnldsv)2018-05-161-1018/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* move log constants to ILoggerArthur Schiwon2018-04-261-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #8255 from nextcloud/bugfix/noid/group-display-nameblizzz2018-03-151-6/+3
|\ | | | | Full implement group display names
| * Fixed Controller TestJohn Molakvoæ (skjnldsv)2018-03-081-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Use group displayNames in users listJohn Molakvoæ (skjnldsv)2018-03-081-7/+4
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Inject public IGroupManager instead of private GroupManagerDaniel Calviño Sánchez2018-03-131-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The public "IGroupManager" service returned by the dependency injection system is automatically initialized with an "OC\Group\Database" backend. However, no backend is automatically set in private "GroupManager" instances. Therefore, a private "GroupManager" instance does not work as expected when initialized through the dependency injection system. Due to that this commit reverts a previous change in which the public "IGroupManager" was replaced by a private "GroupManager" instance. That change was needed when strict types were set, as "getSubAdmin()" is not part of "IGroupManager" API, so the type had to be changed to "GroupManager". Until a better solution is found strict types are disabled again to be able to inject "IGroupManager" and also use "getSubAdmin()". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Make UserController strictRoeland Jago Douma2018-03-091-72/+48
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove crypto and timefactory from UsersControllerMorris Jobke2018-02-131-12/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class statement instead of stringMorris Jobke2018-01-291-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-3/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-231-1/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix #4789: Group admins cannot see disabled usersNeraste2017-11-271-3/+3
|
* Fix search in user managent when no group is selectedMorris Jobke2017-11-141-1/+1
| | | | | | * also allows to search by displayname Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make sure the password contains special charactersJoas Schilling2017-09-071-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix group management which was broken since #5847Tobia De Koninck2017-08-151-3/+4
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Stricter phan config fixesLukas Reschke2017-08-011-6/+5
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* no warning on password change if no encryption module uses per-user keysBjoern Schiessle2017-07-061-1/+22
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #5404 from ↵blizzz2017-07-051-0/+4
|\ | | | | | | | | nextcloud/use-translated-hint-insteadof-english-error Use translated Hint instead of english error on password policy
| * Use translated Hint instead of english error on password policyJoas Schilling2017-06-141-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | show used space in user listRobin Appelman2017-06-151-44/+61
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Also cover the settings endpointJoas Schilling2017-06-021-19/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve readability of verify textMorris Jobke2017-05-081-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* consolidate setEnabled methodArthur Schiwon2017-04-291-76/+12
| | | | | | and fix a unit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use short array syntaxChristoph Wurst2017-04-291-112/+111
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* use proper return codes and handle failure casesMorris Jobke2017-04-291-2/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve wording of error messagesMorris Jobke2017-04-291-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* check $user object before using itMorris Jobke2017-04-291-24/+24
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* change group id to _disabledUsersMorris Jobke2017-04-291-6/+6
|
* Implemented visual feedback if a user is disabled in admin user menu.Thomas Pulzer2017-04-291-10/+144
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* send signature to lookup serverBjoern Schiessle2017-04-281-0/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix path to the website proofBjoern Schiessle2017-04-281-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow to display the verification code also while verification is already ↵Bjoern Schiessle2017-04-281-13/+15
| | | | | | running Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update message in verify popupBjoern Schiessle2017-04-281-2/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check verification proof and update account tableBjoern Schiessle2017-04-281-8/+54
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* store verification status in accounts table and update lookup serverBjoern Schiessle2017-04-281-1/+10
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add verification dialogBjoern Schiessle2017-04-281-1/+54
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add support for themingLukas Reschke2017-04-071-92/+10
| | | | | | Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>