aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Run cs:FixMarcel Klehr2023-04-231-4/+4
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Fix BackgroundJob testsMarcel Klehr2023-04-232-11/+20
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* JobListTest: clearJobsList before testHasReservedJobsMarcel Klehr2023-04-231-0/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(tests): Remove duplicated methodMarcel Klehr2023-04-231-21/+0
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobsMarcel Klehr2023-04-234-4/+105
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Merge branch 'master' into enh/type-iconfig-getter-callsCôme Chilliet2023-04-2013-162/+141
|\ | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * Merge pull request #37795 from nextcloud/techdebt/noid/improve-ciJoas Schilling2023-04-181-10/+10
| |\ | | | | | | fix(CI): Disable unstable test until someone can have a look at it
| | * fix(CI): Disable unstable test until someone can have a look at itJoas Schilling2023-04-181-10/+10
| | | | | | | | | | | | | | | | | | Passes locally 100% and on CI 50% of the time Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | feat(app-framework): Add native argument types for middlewareChristoph Wurst2023-04-181-8/+8
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Merge pull request #36617 from nextcloud/update/psr-containerSimon L2023-04-183-0/+6
| |\ | | | | | | chore: Update PSR container to 2.0.2
| | * fix: Adjust console formatter code to match with Symfony type hintsFerdinand Thiessen2023-04-173-0/+6
| | | | | | | | | | | | | | | | | | | | | Symfony has added type hints on the `OutputFormatterInterface`, so we must adjust our type hints to match with Symfony. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
| * | tests: Adapt node related unit tests mocks to required root viewJulius Härtl2023-04-174-126/+66
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | fix: Use proper path when creating node instancesJulius Härtl2023-04-171-0/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | adapt test to new workflowGlandos2023-04-171-12/+7
| |/ | | | | | | | | | | | | getDirectoryListing should return all files getFile is not called anymore Signed-off-by: Glandos <bugs-github@antipoul.fr>
| * 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>
* | | Adapt tests to config value typingCôme Chilliet2023-04-0536-304/+332
|/ / | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | 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>