summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests
Commit message (Collapse)AuthorAgeFilesLines
* Only prevent disabling encrytion via the APIJoas Schilling2019-07-161-14/+19
| | | | 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>
* changes the returned key from UserID to id, in accordance with getUserDataArthur Schiwon2019-06-211-6/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* uses "yes" and "no" for config switch over stringified numbersArthur Schiwon2019-06-211-3/+3
| | | | 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-4/+155
| | | | 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/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Expose subadmin to OCPRoeland Jago Douma2019-01-291-76/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* ignore non existing users when retrieving details of group membersArthur Schiwon2019-01-171-8/+76
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* do not offer to change display name or password, if not possible.Arthur Schiwon2018-11-071-4/+43
| | | | | | Fixes #12319 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Get l10n within NewUserMailHelper to ensure it always uses the new user's ↵zulan2018-10-151-66/+3
| | | | | | | | | 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>
* Add optional "displayName" parameter to add user endpointDaniel Calviño Sánchez2018-07-311-7/+64
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix tests / mistakes made during rebaseGeorg Ehrke2018-06-271-7/+7
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix review & testsThomas Citharel2018-06-271-5/+8
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* New user support, provisionning api and design fixesJohn Molakvoæ (skjnldsv)2018-06-191-2/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-06-151-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-05-241-2/+18
| | | | 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>
* Return proper boolean user enabled state apiJohn Molakvoæ (skjnldsv)2018-04-161-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix testsRoeland Jago Douma2018-04-111-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-04-091-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-04-052-40/+46
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-04-051-7/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Api, return users details by groupsJohn Molakvoæ (skjnldsv)2018-04-051-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #8865 from nextcloud/ocs-groups-displaynameJoas Schilling2018-03-231-0/+31
|\ | | | | Return groups displayname in provisioning api
| * Return groups displayname in provisioning apiJohn Molakvoæ (skjnldsv)2018-03-231-0/+31
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Allow admin to create users withoutpassword by sending mail automaticallyJohn Molakvoæ (skjnldsv)2018-03-221-10/+17
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | fixup! Check if groups is array, return empty do not throwJohn Molakvoæ (skjnldsv)2018-03-191-30/+3
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fixed tests and improved codeJohn Molakvoæ (skjnldsv)2018-03-161-28/+98
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix testsRoeland Jago Douma2018-02-272-8/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2018-01-261-3/+72
| | | | | | * Add factory for the federatedfilesharing app Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix risky tests without assertionsJoas Schilling2018-01-251-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-231-3/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-062-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocks of encryption appMorris Jobke2017-10-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-243-78/+79
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* throw 101 when an empty group string is providedArthur Schiwon2017-09-181-0/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix testsRoeland Jago Douma2017-08-011-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some app fixes of phpstorm inspectionsRoeland Jago Douma2017-07-242-2/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add unit tests for the new codeJoas Schilling2017-06-211-0/+180
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to force a language and set it via the ocs apiJoas Schilling2017-06-211-8/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't allow the user to set fields they can't seeJoas Schilling2017-06-021-2/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove dead argumentsJoas Schilling2017-04-241-21/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix similar issues with the group idJoas Schilling2017-04-241-1/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix the storage info and other checks when the user has wrong casingJoas Schilling2017-04-241-30/+78
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use RESPOND_NOT_FOUND for non existing userMorris Jobke2017-04-211-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust class referencesLukas Reschke2017-04-111-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-3/+3
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4244 from nextcloud/welcome-emailMorris Jobke2017-04-071-183/+55
|\ | | | | New layout for welcome email