aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix(settings): Handle email change restriction separately from display name ↵provokateurin2025-04-021-10/+87
| | | | | | | | | change restriction Co-authored-by: provokateurin <kate@provokateurin.de> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-132-5/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #49476 from nextcloud/ocs-user-info-quota-optimizeRobin Appelman2025-01-162-3/+15
|\ | | | | perf: use more optimized way to get user storage info in ocs user info
| * perf: use more optimized way to get user storage info in ocs user info when ↵Robin Appelman2025-01-062-3/+15
| | | | | | | | | | | | possible Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(tests): Fix getLastLogin expectation in UsersControllerTestCôme Chilliet2025-01-071-3/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Return timestamps in unix format rather than millisecondsCôme Chilliet2025-01-071-3/+6
| | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | fix(tests): Adapt tests to firstLogin new featureCôme Chilliet2025-01-071-0/+15
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #48766 from ↵John Molakvoæ2024-10-291-0/+125
|\ | | | | | | nextcloud/fix/fix-disabled-user-list-for-subadmins
| * chore(provisioning_api): Add tests for getDisabledUserDetailsCôme Chilliet2024-10-171-0/+125
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-2/+3
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-154-59/+63
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* test: Fix testsfix/get-managers-as-subadminChristopher Ng2024-10-082-17/+13
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: provision api's status codesfix/provisionApi-status-codesHamza Mahjoubi2024-09-301-5/+5
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-171-2/+16
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-156-126/+126
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_AppCôme Chilliet2024-09-131-13/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-252-5/+5
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(provisioning): Support setting new app configs as wellJoas Schilling2024-08-221-14/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(ProvisioningAPI): set typed config values by via APIArthur Schiwon2024-08-201-3/+33
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* test(users): Adapt tests to new admin delegation checksLouis Chemineau2024-07-222-29/+51
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: Add SPDX headerAndy Scherzinger2024-06-027-171/+22
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Update UsersControllerTest.phprakekniven2024-02-041-1/+1
| | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(provisioning_api): Translate exceptions shown in the frontend + replace ↵Ferdinand Thiessen2024-02-011-22/+20
| | | | | | some deprecations Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fixesMaxence Lange2024-01-151-24/+16
| | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* lazy AppConfigMaxence Lange2024-01-151-4/+4
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-2/+2
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usageJoas Schilling2023-09-251-5/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.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>
* fix(provisioning_api): Don't allow to configure the same additional email ↵Joas Schilling2023-04-261-0/+157
| | | | | | multiple times Signed-off-by: Joas Schilling <coding@schilljs.com>
* adjust tests after #36665Julien Veyssier2023-03-231-1/+7
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Fix a few tests that were using too big int values for 32bitsCôme Chilliet2023-02-071-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Only expose storage location to adminsVincent Petry2023-01-131-8/+4
| | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix testsCarl Schwan2022-11-221-0/+14
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix errors from PHP 8.2 testingCôme Chilliet2022-11-141-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix test failure introduced in https://github.com/nextcloud/server/pull/33819Christopher Ng2022-09-161-0/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-011-1/+1
| | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix unit testsJoas Schilling2022-07-061-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix exception handling when profile data is too longJoas Schilling2022-06-091-26/+28
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #26725 from ↵John Molakvoæ2021-10-221-9/+15
|\ | | | | | | nextcloud/fix-federated-scope-not-shown-when-public-addressbook-upload-is-disabled
| * Split capabilityDaniel Calviño Sánchez2021-08-181-9/+15
| | | | | | | | | | | | | | The "federated" and "published" scopes are independent one from each other, so the capability that encompassed both needs to be split. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add new account propertiesChristopher Ng2021-10-191-10/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | Add support for Delegation Settings for more appsCarl Schwan2021-10-152-11/+62
| | | | | | | | | | | | | | | | | | * 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>
* | use specific email getter where necessaryArthur Schiwon2021-09-091-5/+8
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix UserController tests failing because of max_quota app value not provided ↵Julien Veyssier2021-07-301-0/+27
| | | | | | by mocks Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* cleanupArthur Schiwon2021-06-301-8/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports multiple mail as editable fieldArthur Schiwon2021-06-301-0/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports additional emails on getUserArthur Schiwon2021-06-301-3/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Effectively return a valid group as it would be the case in a realDries Mys2021-06-051-2/+6
| | | | | | | situation. Returned group object is now used to set the displayname if provided. Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-047-13/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>