aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #38775 from ↵Côme Chilliet2023-06-261-1/+6
|\ | | | | | | | | fsamapoor/constructor_property_promotion_in_core_command_part9 Uses PHP8's constructor property promotion in core/Command and /
| * Fixes testcase error.Faraz Samapoor2023-06-241-1/+6
| | | | | | | | Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* | Merge pull request #38958 from nextcloud/enh/noid/use-getsystemvalue-mailerSimon L2023-06-261-18/+25
|\ \ | |/ |/| use getsystemvalue-functions in Mailer.php
| * try to fix testsSimon L2023-06-231-18/+25
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | Merge pull request #38625 from nextcloud/fix/noid/querysearchehelper-narrow-typeArthur Schiwon2023-06-241-3/+5
|\ \ | |/ |/| fix: expect interface, not a specific implementation
| * chore: ugly type jugglingArthur Schiwon2023-06-211-3/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #38917 from ↵Joas Schilling2023-06-221-0/+9
|\ \ | | | | | | | | | | | | nextcloud/bugfix/talk-9558/plural-issue-with-some-language-locale-combinations fix(l10n): Fix plural issue with different locale and language
| * | fix(l10n): Fix plural issue with different locale and languageJoas Schilling2023-06-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to use the language code here instead of the locale, because Symfony does not distinguish between the two and would otherwise e.g. with locale "Czech" and language "German" try to pick a non-existing plural rule, because Czech has 4 plural forms and German only 2. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | enh(a11y): New user modalChristopher Ng2023-06-212-6/+6
| |/ |/| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | feat: prepare jest upgrade and ts testingJohn Molakvoæ2023-06-211-23/+0
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow stdClass in XML responsesjld31032023-06-131-1/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* chore(appframework)!: Drop ↵Christoph Wurst2023-06-124-43/+5
| | | | | | \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #38524 from nextcloud/chore/app/clear-unused-cache-keyArthur Schiwon2023-06-051-10/+0
|\ | | | | chore(app): Do not clear unused cache key
| * chore(app): Do not clear unused cache keyChristoph Wurst2023-05-301-10/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | refactor: migrate OC_EventSource to dependency injectionDaniel Kesselberg2023-06-032-5/+37
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | fix(dispatcher): Migrate to OCP event dispatcher before ↵Joas Schilling2023-06-022-1/+8
| | | | | | | | | | | | symfony/event-dispatcher upgrade Signed-off-by: Joas Schilling <coding@schilljs.com>
* | chore: Drop \OC_App::getAppInfoChristoph Wurst2023-06-011-1/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore: Drop \OC_App::getAppVersionChristoph Wurst2023-06-011-1/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore: Drop app code checker test dataChristoph Wurst2023-05-3122-187/+0
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "Fix table view"julia.kirschenheuter2023-05-251-3/+3
| | | | | | This reverts commit cb852ef6 Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Merge pull request #37758 from nextcloud/redis-atomicSimon L2023-05-191-0/+6
|\ | | | | redis: use atomic operations everywhere
| * redis: move lua scripts to class and add type hintsVarun Patil2023-05-101-3/+1
| | | | | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
| * add test to verify redis lua script hashesRobin Appelman2023-04-171-0/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #38143 from nextcloud/fix/generated-avatars-cacheSimon L2023-05-161-1/+1
|\ \ | | | | | | Fix generated avatars cache
| * | Clear generated avatar cachesjld31032023-05-151-1/+1
| | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | Merge pull request #38274 from ↵Joas Schilling2023-05-161-7/+7
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/reach-max-delay-in-afterController fix(middleware): Also abort the request when reaching max delay in af…
| * | | fix(middleware): Also abort the request when reaching max delay in ↵Joas Schilling2023-05-151-7/+7
| |/ / | | | | | | | | | | | | | | | afterController Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / fix(tests): Adjust unit testsJoas Schilling2023-05-151-8/+8
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #38207 from nextcloud/fix/jsresourcelocator-l10n-handlingJohn Molakvoæ2023-05-121-0/+22
|\ \
| * | fix(JSResourceLocator): Handle missing translations silentlyFerdinand Thiessen2023-05-111-0/+22
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Fix table viewjulia.kirschenheuter2023-05-111-3/+3
|/ / | | | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* | Merge pull request #37691 from nextcloud/object-store-background-scanJohn Molakvoæ2023-05-111-16/+26
|\ \
| * | repair -1 folder sizes for object store background scanRobin Appelman2023-05-101-16/+26
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #37838 from nextcloud/event-logger-httpRobin Appelman2023-05-091-1/+11
|\ \ \ | |/ / |/| | log performance events for http requests
| * | log performance events for http requestsRobin Appelman2023-04-281-1/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix(dav): Abort requests with 429 instead of waitingJoas Schilling2023-05-031-5/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #38024 from nextcloud/fix/fix-32bits-ciArthur Schiwon2023-05-031-6/+3
|\ \ \ | | | | | | | | Fix 32bits ci
| * | | Put back file cleanups, and remove dead code in ↵Côme Chilliet2023-05-021-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | tests/lib/Template/JSResourceLocatorTest.php Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Remove the array_pop failing tests on 32bit CICôme Chilliet2023-05-021-3/+1
| |/ / | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #33106 from nextcloud/feature/update-expire-dateArthur Schiwon2023-05-031-2/+28
|\ \ \ | | | | | | | | Update expire_date column of table comments
| * | | Cover expire_date with unit testsVitor Mattos2023-04-261-2/+28
| |/ / | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | Fix tests, and fix Group::searchUsers to avoid duplicatesCôme Chilliet2023-05-022-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | Also went back to searchUsers indexing the array by uid as it was the previous behavior and the IGroup phpdoc does not say anything about the keys. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Clear up return typesCôme Chilliet2023-04-272-3/+3
| | | | | | | | | | | | | | | | | | usersInGroup index by int for BC, searchInGroup index by uid (string). Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Optimize retrieving display name when searching for users in a groupCarl Schwan2023-04-273-63/+62
|/ / | | | | | | | | | | | | | | | | This is recurrent scenario that we are searching for users and then for each users we fetch the displayName. This is inefficient, so instead try to do one query to fetch everything (e.g. Database backend) or use the already existing DisplayNameCache helper. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #37905 from ↵Joas Schilling2023-04-258-250/+801
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/add-attributes-for-remaining-security-annotations feat(security): Add PHP \Attribute for remaining security annotations
| * | feat(security): Add PHP \Attribute for remaining security annotationsJoas Schilling2023-04-258-250/+801
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #37835 from nextcloud/feat/background-allow-parallel-runsCôme Chilliet2023-04-254-9/+101
|\ \ \ | |/ / |/| | feat(BackgroundJobs): Allow preventing parallel runs for a job class
| * | JobListTest: Fix JobList constructor callMarcel Klehr2023-04-241-1/+3
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | Update tests/lib/BackgroundJob/DummyJobList.phpMarcel Klehr2023-04-241-2/+2
| | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | Run cs:FixMarcel Klehr2023-04-231-4/+4
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>