summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #27733 from ↵Julius Härtl2021-10-054-119/+136
|\ | | | | | | PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl
| * Fix UrlGeneratorTestDaniel Rudolf2021-08-051-19/+9
| | | | | | | | | | | | And again... :unamused: Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * Merge branch 'master' into enhancement/noid/IURLGenerator-linkToDefaultPageUrlDaniel Rudolf2021-08-0415-32/+169
| |\
| * | Fix UrlGeneratorTestDaniel Rudolf2021-08-041-28/+44
| | | | | | | | | | | | | | | | | | Again... :unamused: Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | Fix UrlGeneratorTest::testGetDefaultPageUrlWithDefaultApps()Daniel Rudolf2021-07-011-0/+2
| | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | Move UtilTest::testDefaultApps() to UrlGeneratorTestDaniel Rudolf2021-07-012-62/+73
| | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | Fix UtilTest::testDefaultApps()Daniel Rudolf2021-07-011-16/+3
| | | | | | | | | | | | | | | | | | Oh wow... This definitly was no best practice... :unamused: Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | Deprecate RedirectToDefaultAppResponseDaniel Rudolf2021-07-012-9/+21
| | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | Remove unused importsDaniel Rudolf2021-06-301-1/+0
| | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | Add IUrlGenerator::linkToDefaultPageUrl()Daniel Rudolf2021-06-304-40/+40
| | | | | | | | | | | | | | | | | | Replaces the deprecated \OC_Util::getDefaultPageUrl() and makes this API public. Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* | | Make AppsEnableTest and AppsDisableTest independet of the app version numberDaniel Kesselberg2021-10-012-22/+22
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #28189 from nextcloud/work/carl/admin-delegationCarl Schwan2021-09-292-10/+33
|\ \ \ | | | | | | | | Implement Admin Delegation
| * | | Add admin privilege delegation for admin settingsCarl Schwan2021-09-292-10/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Fix unit testsJoas Schilling2021-09-292-16/+16
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Remove tests that just prove mocked calls and don't actually validate ↵Julius Härtl2021-09-272-82/+0
| | | | | | | | | | | | | | | | | | anything useful Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Run oci tests against phpunit9/php8Julius Härtl2021-09-271-0/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Bump @nextcloud/vueJohn Molakvoæ2021-09-162-3/+3
| | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | Add email addresses to contacts menuDaniel Kesselberg2021-09-151-1/+3
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #28792 from nextcloud/fix/noid/lost-password-missing-prefixJohn Molakvoæ2021-09-141-2/+5
|\ \ \ | | | | | | | | fixes missing prefix to validate password reset token
| * | | fixes missing prefix to validate password reset tokenArthur Schiwon2021-09-101-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | - also fixes the test which missed asserting the presence of it Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #28728 from nextcloud/add-database-backend-limiterLukas Reschke2021-09-132-36/+19
|\ \ \ \ | |/ / / |/| | | Add database ratelimiting backend
| * | | Adjust testsLukas Reschke2021-09-062-16/+12
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | Adjust logic to store period instead of current timestampLukas Reschke2021-09-062-20/+7
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | use specific email getter where necessaryArthur Schiwon2021-09-091-1/+21
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | enable the user to set a primary (notification) email address (backend)Arthur Schiwon2021-09-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - specific getters and setters on IUser and implementation - new notify_email field in provisioning API Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | add a job to clean up expired verification tokensArthur Schiwon2021-09-091-2/+39
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | implement verification for additional mailsArthur Schiwon2021-09-091-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - mails added by (sub)admins are automatically verified - provisioning_api controller as verification endpoint - IAccountProperty gets a locallyVerified property - IPropertyCollection gets a method to fetch an IAccountProperty by value - an remove equivalent was already present - AccountManager always initiates mail verification on update if necessary - add core success template for arbitrary title and message Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | move verification token logic out of lost password controllerArthur Schiwon2021-09-092-258/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - to make it reusable - needed for local email verification Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #28725 from nextcloud/disallow-public-page-in-2fa-flowLukas Reschke2021-09-071-27/+0
|\ \ \ \ | | | | | | | | | | Remove 2FA exemption from PublicPage annotation
| * | | | Adjust testsLukas Reschke2021-09-061-27/+0
| |/ / / | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* / / / Resolve absolute path in testsLukas Reschke2021-09-061-1/+1
|/ / / | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Refactor writeObject to only use MultipartUpload when requiredBernd Rederlechner2021-08-202-0/+105
| | | | | | | | | | | | | | | | | | Signed-off-by: Bernd Rederlechner <Bernd.Rederlechner@t-systems.com> Co-authored-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #27294 from pjft/patch-2Christoph Wurst2021-08-191-0/+5
|\ \ \ | | | | | | | | Update TwoFactorChallengeController.php
| * | | Add logging to 2FA failurepjft2021-06-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For security reasons, we may want to monitor failures of 2FA challenges in order to ban attackers who might try to access compromised accounts but are stopped by the 2FA challenge. Right now, the only hindrance is rate-limiting, but it's probably not enough. Added dependency injection. Signed-off-by: pjft <paulo.j.tavares@gmail.com>
* | | | Use IURLGenerator function to get value of `\OC::$WEBROOT` globalJonas Meurer2021-08-161-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | | Merge pull request #28220 from ↵John Molakvoæ2021-08-091-68/+30
|\ \ \ \ | |_|_|/ |/| | | | | | | nextcloud/get-by-id-multiple-mounts-single-storage
| * | | fix Folder->getById() when a single storage is mounted multiple timesRobin Appelman2021-07-281-68/+30
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | refs #21045 add app config to disable unlimited quota and to set max quotaJulien Veyssier2021-07-291-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid unlimited quota as default_quota fallback value if unlimited quota is not allowed avoid getting/setting/displaying unlimited default quota if not allowed implement tests for unlimited quota restrictions Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | | | Merge pull request #28175 from nextcloud/jail-search-rootJulius Härtl2021-07-291-0/+18
|\ \ \ \ | |/ / / |/| | |
| * | | add test for searching within a "root jail"Robin Appelman2021-07-281-0/+18
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #28075 from nextcloud/enh/noid/admin_audit-report-full-pathJulius Härtl2021-07-261-0/+1
|\ \ \ \ | | | | | | | | | | Admin Audit - Sharing: createShare - report the full path
| * | | | Admin Audit - Sharing: createShare - report the full pathszaimen2021-07-221-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | | | Let memory limit set in tests fit the used amountJulius Härtl2021-07-221-4/+3
|/ / / / | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Allow to get a local cloud id without going through the contacts managerJulius Härtl2021-07-143-12/+31
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Add a unit test to check for casting a IQueryFunctionJoas Schilling2021-07-071-0/+34
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #27198 from nextcloud/tests/run-s3-testsLukas Reschke2021-07-053-10/+11
|\ \ \ | | | | | | | | Run s3 tests again
| * | | Use minio for s3 testsJulius Härtl2021-07-012-4/+10
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Run s3 tests againJulius Härtl2021-06-301-6/+1
| | |/ | |/| | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / | Migrate HintException to OCPGary Kim2021-06-304-6/+6
|/ / | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | adjust internal data handling logic to fix store and loadArthur Schiwon2021-06-301-146/+109
| | | | | | | | | | | | - format as stored previously in oc_accounts table is kept Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>