aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add type hints for mappersjld31032023-04-071-6/+6
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(tests): acceptanceJohn Molakvoæ2023-04-061-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #37595 from jtrees/add-some-tests-to-lost-controllerArthur Schiwon2023-04-061-0/+36
|\ | | | | Add some tests for input trimming in LostController.php
| * Add some tests for input trimming in LostController.phpJoshua Trees2023-04-051-0/+36
| | | | | | | | Signed-off-by: Joshua Trees <me@jtrees.io>
* | Merge pull request #36836 from nextcloud/fix/view-type-cleanupCôme Chilliet2023-04-051-2/+1
|\ \ | | | | | | Tidy up typing in OC\Files\View
| * | Remove unused method getLocalFolderCôme Chilliet2023-04-031-1/+0
| | | | | | | | | | | | | | | | | | It’s not used and not in any OCP interface/class. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Tidy up typing in OC\Files\ViewCôme Chilliet2023-04-031-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Fix types for reading and writing config valuesjld31032023-04-052-14/+14
| | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | 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>
* | | Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_valueLouis2023-04-041-8/+8
|\ \ \ | |_|/ |/| | Migrate metadata JSON column to new value TEXT column
| * | Migrate metadata as JSON to value as STRINGLouis Chemineau2023-04-031-8/+8
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #37542 from ↵Joas Schilling2023-04-031-0/+9
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/allow-to-opt-out-of-ratelimit-for-testing feat(security): Allow to opt-out of ratelimit protection, e.g. for te…
| * | | 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>
* / | fix DBAL exception handling in setValuesArthur Schiwon2023-03-311-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>
* | Add label for logo linkChristopher Ng2023-03-292-70/+53
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Fix testsGit'Fellow2023-03-281-25/+4
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Merge pull request #36057 from nextcloud/feat/esm-js-scriptsJulius Härtl2023-03-222-12/+93
|\ \
| * | feat(OC/Template): Add `type="module"` for ES6 scriptsFerdinand Thiessen2023-02-221-0/+29
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
| * | feat(template): Allow `JSResourceLocator` to find ES6 scriptsFerdinand Thiessen2023-02-221-12/+64
| | | | | | | | | | | | | | | | | | | | | | | | Enable module js (ES6) support on the `JSResourceLocator`. This changes `JSResourceLocator` to look for `.mjs` files first to allow applications to provide a fallback `.js` for older Nextcloud versions. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | | Fix BackgroundCleanupJobTestCôme Chilliet2023-03-201-2/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #36928 from ↵Joas Schilling2023-03-161-64/+198
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/bruteforce-protection-attribute feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple
| * | | Add a debug message when throttling without definingJoas Schilling2023-03-081-6/+33
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute ↵Joas Schilling2023-03-081-61/+168
| | |/ | |/| | | | | | | | | | | | | and allow multiple Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #37227 from nextcloud/h1-dav-brute-force-protectionArthur Schiwon2023-03-151-0/+97
|\ \ \ | | | | | | | | chore: use local variable for remote address
| * | | chore(tests): add tests for handleLoginFailedDaniel Kesselberg2023-03-101-0/+97
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | unit tests for Manager::invalidateTokensOfUserArtur Neumann2023-03-141-0/+44
| | | | | | | | | | | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* | | | Merge pull request #37029 from ↵Côme Chilliet2023-03-131-5/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/fix/chunk-objectids-in-systemtagobjectmapper Add chunking in SystemTagObjectMapper::getTagIdsForObjects
| * | | | Add chunking in SystemTagObjectMapper::getTagIdsForObjectsCôme Chilliet2023-03-131-5/+16
| | |/ / | |/| | | | | | | | | | | | | | | | | | This avoids crashing on Oracle with more than 1000 objects Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / | | Introduced app enable/disable/update typed eventsThomas Citharel2023-03-132-7/+25
|/ / / | | | | | | | | | | | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | 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>
* | | feat(appframework): ⌚ Make ITimeFactory extend \PSR\Clock\ClockInterfaceJoas Schilling2023-03-031-0/+49
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #36941 from ↵Joas Schilling2023-03-031-0/+1207
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/prevent-error-with-oracle-database Split the comments ids by chunks
| * | | Split the comments ids by chunksVitor Mattos2023-03-011-0/+1207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split the comments ids by chunks to prevent error with Oracle database that can't do a query with more than 1000 parameters. https://github.com/nextcloud/spreed/issues/8287 Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | 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
|\ \