aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller/AUserData.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(provisioning_api): Rename AUserData to AUserDataOCSController to ↵provokateurin2025-01-061-291/+0
| | | | | | 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-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: Clean upChristopher Ng2024-10-081-33/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Return correct list of managers for a userChristopher Ng2024-10-081-2/+36
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-171-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegationLouis2024-07-241-1/+3
|\ | | | | feat(users): Add users and group management to admin delegation
| * feat(users): Add support for admin delegation for users and groups managementLouis Chemineau2024-07-221-1/+3
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | feat: let users configure their first day of weekRichard Steinmetz2024-07-221-0/+1
|/ | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: Add SPDX headerAndy Scherzinger2024-06-021-26/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-7/+7
| | | | | 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>
* provisioning_api: Add OpenAPI specjld31032023-07-311-5/+10
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* feat(users): Store and load a user's managerChristoph Wurst2023-05-121-0/+3
| | | | | Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use implementations instead of interfaces for accessing private methodsjld31032023-03-301-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Always set displayname and display-name for user datajld31032023-02-101-0/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #36094 from ↵Joas Schilling2023-01-161-9/+12
|\ | | | | | | | | nextcloud/bugfix/noid/user-info-api-exclude-storage Only expose storage location to admins
| * Only expose storage location to adminsVincent Petry2023-01-131-9/+12
| | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Tear down in catch of an ExceptionCôme Chilliet2023-01-121-0/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Catch Exceptions when loading storage data of usersCôme Chilliet2023-01-121-0/+10
|/ | | | | | | | This avoids having the whole userlist crashing because a user external storage fails to load. With this change only the problematic user storage/quota information will be empty. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #34940 from nextcloud/feat/add-mastodonCarl Schwan2022-11-221-0/+1
|\ | | | | Add mastodon and reorganize profile info section
| * Fix testsCarl Schwan2022-11-221-0/+1
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Don't use quota cache through user managementVincent Petry2022-11-211-1/+1
|/ | | | | | | When querying the free space through user management APIs, don't use the cached quota value. The latter is only there to accelerate PROPFINDs. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add new account propertiesChristopher Ng2021-10-191-0/+5
| | | | | | | | | | | | | | - New properties - Organisation - Role - Headline - Biography - Profile Enabled property - Fix errors with building default account properties - Fix L10N factory method `getLanguage` not public error - Update tests Signed-off-by: Christopher Ng <chrng8@gmail.com>
* use specific email getter where necessaryArthur Schiwon2021-09-091-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* enable the user to set a primary (notification) email address (backend)Arthur Schiwon2021-09-091-5/+13
| | | | | | | - specific getters and setters on IUser and implementation - new notify_email field in provisioning API Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix small issues in UsersController handlingArthur Schiwon2021-06-301-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports additional emails on getUserArthur Schiwon2021-06-301-0/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* provAPI to use only public API of IAccountManagerArthur Schiwon2021-05-081-24/+30
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Expose avatarScope through provisioning APIVincent Petry2021-03-261-0/+6
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* OCS allow reading and writing account property scopesVincent Petry2021-03-261-6/+23
| | | | | | | Extends the provisioning API to allow a user to get and set their own account property scopes. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Cleanup appinfo usageJoas Schilling2021-02-161-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make code strictJoas Schilling2020-12-071-6/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the new method everywhereJoas Schilling2020-07-031-11/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix languages empty arrayGretaD2020-05-081-1/+1
| | | | Signed-off-by: GretaD <gretadoci@gmail.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-4/+3
| | | | | | | | | | | | | | | 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>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-7/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * 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>
* ignore non existing users when retrieving details of group membersArthur Schiwon2019-01-171-1/+12
| | | | 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-0/+9
| | | | | | Fixes #12319 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-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix tests / mistakes made during rebaseGeorg Ehrke2018-06-271-0/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.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-071-2/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Disabled fix since new users listJohn Molakvoæ (skjnldsv)2018-05-241-2/+2
| | | | 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>
* The integrationtests expect a stringRoeland Jago Douma2018-04-101-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>