summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4457 from nextcloud/fix-storage-info-with-wrong-casingMorris Jobke2017-04-242-84/+92
|\ | | | | Fix storage info with wrong casing
| * Remove dead argumentsJoas Schilling2017-04-242-45/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix similar issues with the group idJoas Schilling2017-04-242-4/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix the storage info and other checks when the user has wrong casingJoas Schilling2017-04-242-35/+83
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Remove unused use statementsMorris Jobke2017-04-221-1/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use RESPOND_NOT_FOUND for non existing userMorris Jobke2017-04-212-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update comments to NextcloudMorris Jobke2017-04-111-3/+3
| | | | | | | * based on PR by @Ardinis * see #4311 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-093-8/+9
| | | | | | | | | | | | | * 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-073-207/+81
|\ | | | | New layout for welcome email
| * Add support for themingLukas Reschke2017-04-073-207/+81
| | | | | | | | | | | | Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Allow to change account info via provisioning apiJoas Schilling2017-04-072-16/+37
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make deleting a group compatible with ocs v2Joas Schilling2017-03-231-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix provisioning API callJoas Schilling2017-03-201-1/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* OCS API endpoint to resend welcome messageMorris Jobke2017-02-283-1/+619
| | | | | | | | | | | | * send a POST request to ocs/v1.php/cloud/users/USERNAME/resendWelcomeMessage to trigger the welcome message to be send * fixes #3367 example curl statement: curl -i https://example.org/ocs/v1.php/cloud/users/USERNAME/welcome -H "OCS-APIRequest: true" -u admin:password -X POST Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Refactor provision api app's UserControllerTestChristoph Wurst2017-02-281-76/+67
| | | | | | | | * Replace deprecated getMock with createMock * Use createMock consistently * Use php's ::class references Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add groups to user info outputBjoern Schiessle2017-02-092-3/+36
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* make sure that 'getCurrentUser' gets an array in order to manipulate the ↵Bjoern Schiessle2017-01-262-36/+83
| | | | | | data to match the old API Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* unify endpoints form core and the the provisioning apiBjoern Schiessle2017-01-253-2/+112
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add data from the users profile to the provisioning apiBjoern Schiessle2017-01-242-4/+65
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Allow subadmins to add people to groups via provisioning apiJoas Schilling2017-01-182-7/+151
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure subadmins can not delete users from their last subadmin groupJoas Schilling2017-01-182-0/+76
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* No need to check the subadmin againJoas Schilling2017-01-182-21/+11
| | | | | | | The user needs to be a subadmin of the group, otherwise they are not allowed to remove anyone from the group Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adds provisioning middleware testsRoeland Jago Douma2016-12-301-0/+122
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update app versions and requirementsJoas Schilling2016-12-131-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Require sudo mode on the provisioning APIJoas Schilling2016-12-053-7/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use 11.0 instead 9.2Lukas Reschke2016-11-151-1/+1
| | | | | | As discussed we're changing the version from 9.2 to 11.0 to make some more sense. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use new appstore APILukas Reschke2016-10-312-24/+5
| | | | | | This change introduces the new appstore API in Nextcloud. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add unit testsJoas Schilling2016-10-212-5/+386
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make AppConfig part of the public APIJoas Schilling2016-10-212-8/+167
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Svgo optimizationskjnldsv2016-09-271-4/+1
| | | | Signed-off-by: John Molakvoæ <fremulon@protonmail.com>
* add viewBox to app icon for proper scaling in FirefoxMorris Jobke2016-08-171-1/+1
|
* Allow to retrieve the quota itself via the provisioning apiJoas Schilling2016-08-171-0/+1
|
* Move Apps to OCSControllerRoeland Jago Douma2016-08-143-64/+78
|
* Move Users to OCSControllerRoeland Jago Douma2016-08-143-625/+475
|
* Move Groups over to OCSControllerRoeland Jago Douma2016-08-143-214/+138
| | | | | * Take advantage of the AppFramework * Fix tests
* Add ProvisioningAPI middlewareRoeland Jago Douma2016-08-143-0/+103
| | | | | | | | | | The provisioning API has 3 access levels: * Admin * SubAdmin * User This middleware adds a check for the SubAdmin part.
* Increment the versions and adjust the capitilizationJoas Schilling2016-08-081-1/+1
|
* Also increase the min versionJoas Schilling2016-07-221-1/+1
|
* bumb compatible app versions for core appsRobin Appelman2016-07-221-1/+1
|
* Merge pull request #500 from nextcloud/bump_versionJoas Schilling2016-07-221-1/+1
|\ | | | | Bump version
| * Increase app versionsJoas Schilling2016-07-211-1/+1
| |
* | Fix apps/Joas Schilling2016-07-218-24/+30
|/
* Fix Warnings Provisioning APIRoeland Jago Douma2016-07-126-330/+417
| | | | | * OC_OCS_Result is deprecated * getMock is deprecated in phpunit 5.4
* Update license headersLukas Reschke2016-05-267-9/+10
|
* Move Provisioning api to PSR-4 (#24510)Joas Schilling2016-05-118-176/+194
| | | | | | | | * Move app to PSR-4 * Fix setUp method * Fix the tests
* Add provisioning api to enable and disable usersThomas Müller2016-05-023-19/+128
|
* Increase all versions on master which is now 9.1Joas Schilling2016-03-021-2/+2
|
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-011-1/+0
|
* Update author informationLukas Reschke2016-03-012-0/+2
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)