aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller/GroupsController.php
Commit message (Collapse)AuthorAgeFilesLines
* perf: use more optimized way to get user storage info in ocs user info when ↵Robin Appelman2025-01-061-1/+4
| | | | | | possible Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor(provisioning_api): Rename AUserData to AUserDataOCSController to ↵provokateurin2025-01-061-1/+1
| | | | | | allow openapi-extractor to detect it as OCS Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-051-14/+14
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-7/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Return correct list of managers for a userChristopher Ng2024-10-081-0/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* refactor(provisioning_api): Replace security annotations with respective ↵provokateurin2024-07-271-17/+12
| | | | | | attributes Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(users): Add support for admin delegation for users and groups managementLouis Chemineau2024-07-221-3/+12
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: Add SPDX headerAndy Scherzinger2024-06-021-28/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-8/+8
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* refactor: Rename OpenAPI type aliases to their namespacesjld31032023-11-021-4/+4
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Add single status code descriptions for OpenAPIjld31032023-09-271-0/+16
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* provisioning_api: Add OpenAPI specjld31032023-07-311-40/+62
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* to return correct code when group not foundAlexander Piskun2023-07-221-0/+3
| | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* Add support for Delegation Settings for more appsCarl Schwan2021-10-151-1/+2
| | | | | | | | | * This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Group may be null if backend doesn't support creating groupsDries Mys2021-06-051-0/+3
| | | | Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* Fixed indentationDries Mys2021-06-051-1/+1
| | | | Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* [ProvisioningAPI] Allow specifying group display name during creationDries Mys2021-06-051-2/+6
| | | | Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #26679 from ↵blizzz2021-05-131-2/+2
|\ | | | | | | | | nextcloud/bugfix/noid/fix-unauthorized-ocs-status-in-provisioning Fix unauthorized OCS status in provisioning
| * Fix unauthorized OCS status in provisioningJoas Schilling2021-05-121-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | provAPI to use only public API of IAccountManagerArthur Schiwon2021-05-081-2/+2
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove deprecated \OCP\APIRoeland Jago Douma2021-03-031-3/+4
| | | | | | | | Time to remove this forgood now. Remaining constant moved over The world is a tiny bit better Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* LoggerInterface for provisioning API ControllersRoeland Jago Douma2021-03-021-3/+3
| | | | | | | Sweep swoop swaap swuup away with the deprecated stuff Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the new method everywhereJoas Schilling2020-07-031-12/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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-101-9/+8
| | | | | | | | | | | | | | | 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-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-2/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-2/+2
| | | | | | | | | | | * 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>
* Allow to set the group display name in the database backendJoas Schilling2019-09-271-1/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* ignore non existing users when retrieving details of group membersArthur Schiwon2019-01-171-10/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix user and group listing with users that have an integer user idJoas Schilling2018-09-121-8/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>
* Disabled fix since new users listJohn Molakvoæ (skjnldsv)2018-05-241-0/+4
| | | | 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>
* Use abstract subclass so members can be definedJoas Schilling2018-04-051-25/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-04-051-9/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Trait bumpJohn Molakvoæ (skjnldsv)2018-04-051-14/+35
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-04-051-4/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Cast types directlyJohn Molakvoæ (skjnldsv)2018-04-051-27/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Limit and offsetJohn Molakvoæ (skjnldsv)2018-04-051-1/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Api, return users details by groupsJohn Molakvoæ (skjnldsv)2018-04-051-4/+62
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Return groups displayname in provisioning apiJohn Molakvoæ (skjnldsv)2018-03-231-0/+27
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Make the provisioning api app strictRoeland Jago Douma2018-02-271-6/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>