aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/User/Setting.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: force lowercase emailsfix/lower-email-caseskjnldsv2025-07-101-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: `user:settings` command when user is not availablefix/settings-commandFerdinand Thiessen2025-01-271-2/+5
| | | | | | | If `ignore-missing-user` all sub commands work, except listing all settings for a user like `occ user:settings --ignore-missing-user user core`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-261-22/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat: rename users to account or personVincent Petry2024-02-131-1/+1
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Uses PHP8's constructor property promotion in core/Command/User classes.Faraz Samapoor2023-06-191-6/+4
| | | | Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* normalize userid in user:settingRobin Appelman2023-01-121-3/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update core to PHP 7.4 standardCarl Schwan2022-05-201-9/+2
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Allow to autocomplete user and group ids in commandsJoas Schilling2022-04-081-0/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.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-131-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Change my email addressJohannes Leuker2021-03-241-1/+1
| | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* 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>
* Add return value to all commandsJoas Schilling2020-06-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+0
| | | | | | | | | | | | | | | 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>
* 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-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * 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>
* Update the email in the accounts table as wellJoas Schilling2017-02-081-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Use argument instead of valueJoas Schilling2016-07-141-12/+12
|
* FIx my emailJoas Schilling2016-07-131-2/+1
|
* Fix descriptionsJoas Schilling2016-07-131-2/+2
|
* Add tests for set/get/delete/listJoas Schilling2016-07-131-9/+7
|
* Add tests for checkInput()Joas Schilling2016-07-131-7/+7
|
* Allow deleting a settingJoas Schilling2016-07-131-2/+40
|
* Allow setting valuesJoas Schilling2016-07-131-4/+35
|
* Add a occ command to list/get user preferencesJoas Schilling2016-07-131-0/+160