summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
Commit message (Collapse)AuthorAgeFilesLines
* Fix php-cs formattingChristoph Wurst2020-04-141-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add tests for encoded group idJulius Härtl2020-04-111-10/+74
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make the groupId url encodedJulius Härtl2020-04-111-0/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1011-45/+28
| | | | | | | | | | | | | | | 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-103-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-094-12/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-093-3/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-094-7/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-316-2/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-264-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-252-361/+361
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update autoloaders for composer v1.10.1Christoph Wurst2020-03-191-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Fix app updatesRoeland Jago Douma2020-01-211-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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-0516-26/+66
| | | | 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>
* Mode to modern phpunitRoeland Jago Douma2019-11-275-249/+253
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-276-7/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-2210-13/+17
| | | | | | | | | | | * 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-052-1/+24
|\ | | | | Allow group displaynames in the database backend
| * Allow to set the group display name in the database backendJoas Schilling2019-09-272-1/+24
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Move settings to an appChristoph Wurst2019-09-283-3/+3
|/ | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Development is 18 now!Roeland Jago Douma2019-09-051-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Only prevent disabling encrytion via the APIJoas Schilling2019-07-162-18/+28
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update testsRoeland Jago Douma2019-07-091-4/+13
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make it possible to wipe all tokens/devices of a userChristoph Wurst2019-07-092-1/+39
| | | | 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-212-7/+7
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | uses "yes" and "no" for config switch over stringified numbersArthur Schiwon2019-06-212-5/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | makes users management page aware of the introduced optionsArthur Schiwon2019-06-192-4/+4
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | extends Provisioning API with optional userid and required emailArthur Schiwon2019-06-192-6/+179
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fixes misunderstanding of the error messageArthur Schiwon2019-05-162-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Bump versions of server and the requirements of appsJoas Schilling2019-04-111-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check if password can be changed for the users backend in OCS apiJulius Härtl2019-03-052-0/+7
| | | | 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-292-86/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | ignore non existing users when retrieving details of group membersArthur Schiwon2019-01-173-19/+102
| | | | | | | | 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>
* Bump versions of server and the requirements of appsJoas Schilling2018-11-231-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #12447 from nextcloud/bugfix/12446/fix-oracle-install-againMorris Jobke2018-11-151-1/+1
|\ | | | | Shorten index name of calendar changes table
| * Shorten index name of calendar changes tableJoas Schilling2018-11-141-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix interaction with groups that contain a slashJoas Schilling2018-11-151-4/+4
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* do not offer to change display name or password, if not possible.Arthur Schiwon2018-11-072-4/+52
| | | | | | Fixes #12319 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>