summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix languages empty arrayGretaD2020-05-111-1/+1
| | | | Signed-off-by: GretaD <gretadoci@gmail.com>
* Make the groupId url encodedJulius Härtl2020-04-111-0/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revive the "send email to new users" toggle for the user formChristoph Wurst2020-02-281-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* query FederatedFileSharing Application instead of creating itRobin Appelman2019-12-161-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-059-18/+47
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix provisioning_api getUsers typesJohn Molakvoæ (skjnldsv)2019-11-281-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Some php-cs fixesRoeland Jago Douma2019-11-227-7/+10
| | | | | | | | | | | * 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>
* Do not create Application instances directlyChristoph Wurst2019-10-111-1/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow group displaynames in the database backend (#17221)John Molakvoæ2019-10-051-1/+23
|\ | | | | Allow group displaynames in the database backend
| * Allow to set the group display name in the database backendJoas Schilling2019-09-271-1/+23
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Move settings to an appChristoph Wurst2019-09-282-2/+2
|/ | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Only prevent disabling encrytion via the APIJoas Schilling2019-07-161-4/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make it possible to wipe all tokens/devices of a userChristoph Wurst2019-07-091-1/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not fail hard on new user mail errorJohn Molakvoæ (skjnldsv)2019-07-021-2/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Don't allow to disable encryption via the APIJoas Schilling2019-06-271-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #16024 from ↵Roeland Jago Douma2019-06-251-1/+8
|\ | | | | | | | | nextcloud/bugfix/15944/fix-return-code-user-provision Forward OCSException to initiator
| * Forward OCSException to initiatorDaniel Kesselberg2019-06-201-1/+8
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | changes the returned key from UserID to id, in accordance with getUserDataArthur Schiwon2019-06-211-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | uses "yes" and "no" for config switch over stringified numbersArthur Schiwon2019-06-211-2/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | makes users management page aware of the introduced optionsArthur Schiwon2019-06-191-2/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | extends Provisioning API with optional userid and required emailArthur Schiwon2019-06-191-2/+24
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fixes misunderstanding of the error messageArthur Schiwon2019-05-161-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Check if password can be changed for the users backend in OCS apiJulius Härtl2019-03-051-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #13412 from nextcloud/forward-password-policyRoeland Jago Douma2019-01-301-1/+5
|\ | | | | forward error message from password policy
| * forward error message from password policyRobin Appelman2019-01-071-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Expose subadmin to OCPRoeland Jago Douma2019-01-291-10/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | ignore non existing users when retrieving details of group membersArthur Schiwon2019-01-172-11/+26
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Fix doc blockJoas Schilling2019-01-101-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* do not offer to change display name or password, if not possible.Arthur Schiwon2018-11-071-0/+9
| | | | | | Fixes #12319 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Properly query the methodreflectorRoeland Jago Douma2018-11-021-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Get l10n within NewUserMailHelper to ensure it always uses the new user's ↵zulan2018-10-152-9/+1
| | | | | | | | | language. Some related tests had to be changed because they relied on internals, see also from the PHPUnit documentation: "Exercise caution when using [the at] matcher as it can lead to brittle tests which are too closely tied to specific implementation details." Signed-off-by: Zulan <git@zulan.net>
* Fix user and group listing with users that have an integer user idJoas Schilling2018-09-123-16/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add optional "displayName" parameter to add user endpointDaniel Calviño Sánchez2018-07-311-0/+6
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix tests / mistakes made during rebaseGeorg Ehrke2018-06-272-13/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* handle config.php valuesThomas Citharel2018-06-271-0/+4
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix review & testsThomas Citharel2018-06-271-1/+3
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Allow user to choose localeThomas Citharel2018-06-271-0/+20
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* show error message when group existsRobin Appelman2018-06-261-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* New user support, provisionning api and design fixesJohn Molakvoæ (skjnldsv)2018-06-191-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Keep userids as keys on group searchJohn Molakvoæ (skjnldsv)2018-06-151-3/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Return groups IDs and not NamesJohn Molakvoæ (skjnldsv)2018-06-151-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow 0 quota by provisioning apiJohn Molakvoæ (skjnldsv)2018-06-072-5/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Disabled fix since new users listJohn Molakvoæ (skjnldsv)2018-05-243-2/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Added disabled count per groupsJohn Molakvoæ (skjnldsv)2018-05-241-1/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* move log constants to ILoggerArthur Schiwon2018-04-261-4/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #9162 from nextcloud/allow-lang-ocs-apiRoeland Jago Douma2018-04-171-1/+7
|\ | | | | Add language support for user creation
| * Fixed testsJohn Molakvoæ (skjnldsv)2018-04-161-1/+2
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Add language support for user creationJohn Molakvoæ (skjnldsv)2018-04-161-1/+6
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Return proper boolean user enabled state apiJohn Molakvoæ (skjnldsv)2018-04-161-1/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Revert "Add language support for user creation in api"Morris Jobke2018-04-121-6/+1
|