aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/User
Commit message (Collapse)AuthorAgeFilesLines
...
* | Uses PHP8's constructor property promotion in core/Command/User classes.Faraz Samapoor2023-06-1911-71/+34
|/ | | | Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Use the searchDisplayName recommended method in user:listCôme Chilliet2023-04-271-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* normalize userid in user:settingRobin Appelman2023-01-121-3/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-011-3/+6
| | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update core to PHP 7.4 standardCarl Schwan2022-05-2010-70/+18
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Allow to autocomplete user and group ids in commandsJoas Schilling2022-04-087-10/+129
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow app passwords without login password for occ user:add-app-passwordChristoph Wurst2022-03-231-10/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow creating app passwords without validating the user's password againJoas Schilling2022-03-141-4/+1
| | | | | | Aparently the idea behind the command was exactly to do this. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Validate the password before generating an apptokenJoas Schilling2022-03-101-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Trigger an event to log an activity when an administrator generates an app ↵Joas Schilling2022-03-101-6/+11
| | | | | | password Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fixes occ user:info when the user never logged inCôme Chilliet2022-01-271-1/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use the new function in user:setting occ commandCôme Chilliet2022-01-241-21/+7
| | | | | | instead of direct database queries Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Check style updateCarl Schwan2022-01-132-3/+3
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* use specific email getter where necessaryArthur Schiwon2021-09-092-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add active user count to occ user:reportJulius Härtl2021-08-191-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add storage info to `user:info` commandJohn Molakvoæ (skjnldsv)2021-08-181-0/+19
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst2021-06-232-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Convert command option defaults to stringsChristoph Wurst2021-06-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0411-32/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Make user:report command scaleJoas Schilling2021-05-261-13/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* use the UID as loginName and not the display name.Bjoern Schiessle2021-05-111-1/+1
| | | | | | Otherwise the app password will not work for users with a display name different to the UID. Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Change my email addressJohannes Leuker2021-03-241-1/+1
| | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Command: Add app password generationSean Molenaar2021-01-051-0/+137
| | | | Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Wrap display_name similarly to email to allow changes via occJohannes Leuker2020-12-021-10/+37
| | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-244-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Show disabled user count in occ user:reportMorris Jobke2020-08-191-1/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix "misplaced variables" warning of Psalm in PHPDoc statementsMorris Jobke2020-08-171-1/+0
| | | | | | Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add return value to all commandsJoas Schilling2020-06-2610-16/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-293-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-8/+6
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix license headersChristoph Wurst2020-01-131-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix typo in occKim Brose2020-01-031-1/+1
| | | Signed-off-by: Kim Brose <kim.brose@rwth-aachen.de>
* Update license headersChristoph Wurst2019-12-0510-12/+18
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17896 from nextcloud/fix/noid/consider-create-group-resultblizzz2019-11-251-3/+8
|\ | | | | take group creation result into consideration
| * fix documentation, get and createGroup may return nullArthur Schiwon2019-11-251-3/+8
| | | | | | | | | | | | * also have stricter checks in place Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Some php-cs fixesRoeland Jago Douma2019-11-227-7/+7
|/ | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add detailed users listing in occ user:info commandJohn Molakvoæ (skjnldsv)2019-10-171-5/+38
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove unused import statementsMorris Jobke2018-02-144-5/+0
| | | | 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>
* Update license headersMorris Jobke2017-11-063-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Disable empty password for user::resetpassword command using CLISujith H2017-03-201-0/+5
| | | | | | | Fixes issue: https://github.com/owncloud/core/issues/25206 Signed-off-by: Sujith H <sharidasan@owncloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update the email in the accounts table as wellJoas Schilling2017-02-081-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix typoJoas Schilling2016-09-071-1/+1
|
* Catch the exception of the password policy appJoas Schilling2016-09-072-5/+18
|
* Convert resetpassword to question helperRoeland Jago Douma2016-09-061-13/+15
|
* Move to question helperRoeland Jago Douma2016-09-061-12/+11
|