summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests, add test for the new featureCôme Chilliet2023-09-181-13/+77
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #40167 from nextcloud/backport/40108/stable26Arthur Schiwon2023-09-061-1/+42
|\ | | | | [stable26] feat: add switch to disable dns pinning
| * feat: add switch to disable dns pinningDaniel Kesselberg2023-08-301-1/+42
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | cleanup di for share permissions wrapperRobin Appelman2023-09-042-12/+28
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* tests: Add test for CacheEntry gettersFerdinand Thiessen2023-08-171-0/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Add instance category while checking new updatesBenjamin Gaussorgues2023-07-211-7/+20
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix: also run phpunit on `apps/theming/css` modified filesJohn Molakvoæ2023-07-131-0/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #39031 from nextcloud/backport/38917/stable26Arthur Schiwon2023-07-101-0/+9
|\ | | | | [stable26] fix(l10n): Fix plural issue with different locale and language
| * fix(l10n): Fix plural issue with different locale and languageJoas Schilling2023-06-271-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>
* | fix(dav): Abort requests with 429 instead of waitingJoas Schilling2023-07-101-5/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #38977 from nextcloud/backport/38625/stable26Arthur Schiwon2023-07-041-3/+5
|\ \ | |/ |/| [stable26] fix: expect interface, not a specific implementation
| * chore: ugly type jugglingArthur Schiwon2023-06-231-3/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | try to fix testsSimon L2023-06-261-10/+27
|/ | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Merge pull request #37230 from nextcloud/backport/36033/stable26Arthur Schiwon2023-06-151-0/+44
|\ | | | | [stable26] invalidate existing tokens when deleting an oauth client
| * unit tests for Manager::invalidateTokensOfUserArtur Neumann2023-05-191-0/+44
| | | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* | redis: move lua scripts to class and add type hintsVarun Patil2023-05-311-3/+1
| | | | | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* | add test to verify redis lua script hashesRobin Appelman2023-05-311-0/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Clear generated avatar cachesjld31032023-05-161-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #38275 from nextcloud/backport/38274/stable26Joas Schilling2023-05-161-3/+3
|\ | | | | [stable26] 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-3/+3
| | | | | | | | | | | | 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 #37549 from nextcloud/backport/37520/stable26Joas Schilling2023-05-091-2/+21
|\ | | | | [stable26] fix DBAL exception handling in setValues
| * fix DBAL exception handling in setValuesArthur Schiwon2023-04-031-2/+21
| | | | | | | | | | | | | | | | | | This seems to be a left over after abstracting DBAL. Nowadays, IQueryBuilder::executeStatement() only throws a \OCP\DB\Exception, where previously original DBAL exceptions where thrown. These are now wrapped, the orignal classes are now mapped to a reason. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | tests: Adapt node related unit tests mocks to required root viewJulius Härtl2023-05-084-126/+66
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: Use proper path when creating node instancesJulius Härtl2023-05-081-0/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Cover expire_date with unit testsVitor Mattos2023-05-031-2/+28
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Migrate metadata as JSON to value as STRINGLouis Chemineau2023-04-061-8/+8
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(initial-state): Log an error when initial-state can not be JSON encodedJoas Schilling2023-04-041-5/+26
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CIJoas Schilling2023-04-031-0/+9
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add label for logo linkChristopher Ng2023-03-302-70/+53
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore(tests): add tests for handleLoginFailedDaniel Kesselberg2023-03-151-0/+97
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add chunking in SystemTagObjectMapper::getTagIdsForObjectsCôme Chilliet2023-03-141-5/+16
| | | | | | This avoids crashing on Oracle with more than 1000 objects Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(CI): Fix acceptance test password field selector after @nextcloud/vue ↵Joas Schilling2023-03-071-2/+2
| | | | | | lib update Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #36803 from nextcloud/fix/sqlite-commentsblizzz2023-03-021-0/+24
|\ | | | | [db]: Remove not supported column comments for SQLite
| * tests(db): Add test case to ensure column comments workFerdinand Thiessen2023-02-281-0/+24
| | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | Merge pull request #36471 from nextcloud/fix/theming-keep-imagesJohn Molakvoæ2023-03-012-0/+0
|\ \
| * | Add webp and large jpg test assetsFerdinand Thiessen2023-02-202-0/+0
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | | Fix SystemTagManagerTest#createTag testMarcel Klehr2023-02-241-1/+1
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | Update tests/lib/SystemTag/SystemTagManagerTest.phpMarcel Klehr2023-02-241-5/+2
| | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | fix(SystemTagManager): Truncate overlong tag namesMarcel Klehr2023-02-241-4/+12
| |/ |/| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-211-0/+72
| |
* | feat(directediting): Allow opening by file idJulius Härtl2023-02-201-0/+80
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not set up filesystem on every callAnna Larch2023-02-171-72/+0
| | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* Revert the token scope to not end up with storing the user used in the sessionJulius Härtl2023-02-171-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #36396 from nextcloud/fix/corsJulius Härtl2023-02-171-1/+35
|\
| * fix(CORS): CORS should only be bypassed on `PublicPage` if not logged in to ↵Ferdinand Thiessen2023-02-161-1/+35
| | | | | | | | | | | | prevent CSRF attack vectors Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | Merge pull request #36735 from nextcloud/fix/32635/fix-vcf-contactsLouis2023-02-161-1/+1
|\ \ | | | | | | fix the contacts-menu vcf-contact avatars
| * | fix the contacts-menu vcf-contact avatarsSimon L2023-02-151-1/+1
| | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | Change X-Robots-Tag header from "none" to "noindex, nofollow"MichaIng2023-02-154-4/+4
|/ / | | | | | | | | | | | | | | | | | | While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240 Signed-off-by: MichaIng <micha@dietpi.com>
* | Merge pull request #36656 from nextcloud/route-instrumentationJulius Härtl2023-02-142-7/+57
|\ \