summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix app fetcher php comparison to allow wider rangesChristoph Wurst2021-01-261-0/+8
| | | | | | | | | | | When app app specifies php 7.4 as upper limit we have to allow the installation on php>7.4.0. The previous version check didn't do that. This adjusts the regexes to discard any irrelevant suffix after the three version numbers so that we can use more fine granular checks than php's version_compare can do out of the box, like for php 7.4 we only compare the major and minor version numbers and ignore the patch level. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Convert 2FA token type to stringChristoph Wurst2021-01-221-5/+5
| | | | | | | | The IConfig service is documented to handle its data as strings, hence this changes the code a bit to ensure we store keys as string and convert them back when reading. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Re-use fetched dependencies in lib/base.phpMorris Jobke2021-01-201-1/+1
| | | | | | | | Reduces calls to DI container by reusing already fetched dependencies. For status.php it went from 355 to 344. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #25153 from ↵Roeland Jago Douma2021-01-191-2/+0
|\ | | | | | | | | nextcloud/bugfix/noid/force-signature-verification-on-occ Force signature verification of apps on occ
| * Cleanup the constructorJoas Schilling2021-01-181-2/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add "composer.lock" for acceptance tests to gitDaniel Calviño Sánchez2021-01-172-3/+2774
|/ | | | | | | | | | As "composer.lock" was not versioned the dependencies had to be resolved everytime that the acceptance tests run, which took some precious time. Besides that the dependency versions were also tightened for better control. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #25036 from nextcloud/fix/noid/limitied-allowed-items-db-in_2blizzz2021-01-141-6/+82
|\ | | | | respect DB restrictions on number of arguments in statements and queries
| * DB: warn on parameter number constraintsArthur Schiwon2021-01-111-6/+82
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Allow installing/updating of apps againRoeland Jago Douma2021-01-121-5/+5
| | | | | | | | | | | | The Guzzle API changed. We shall now use sink Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #25038 from nextcloud/bugfix/noid/install-mysql8-with-php8blizzz2021-01-111-2/+10
|\ \ | | | | | | Don't try a transaction for the migrator on MySQL
| * | Only rollback when not MySQLJoas Schilling2021-01-111-2/+10
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Bump scssphp/scssphp from 1.0.3 to 1.4.0Christoph Wurst2021-01-111-7/+14
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Rollback failed transactions in TestCase.php to not break followup testsChristoph Wurst2021-01-081-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-0822-108/+116
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Properly handle result when copying with failure and throw in testsJulius Härtl2021-01-051-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix writeStream mockingJulius Härtl2021-01-051-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* jsunit: Remove warnings during test runsJulius Härtl2020-12-291-8/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* jsunit: Run jsunit with chromium/puppeteer on github actionsJulius Härtl2020-12-291-11/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #19942 from ACTom/add-mindmap-iconChristoph Wurst2020-12-282-3/+13
|\ | | | | Add mindmap type file icon
| * Readd test getOnlyDefaultAliases()ACTom2020-12-282-3/+117
| | | | | | | | Signed-off-by: ACTom <i@actom.me>
| * fix php-cs check fail(tests/lib/IntegrityCheck/CheckerTest.php)ACTom2020-10-181-2/+2
| | | | | | | | Signed-off-by: ACTom <i@actom.me>
| * fix Test\IntegrityCheck\CheckerTest tests failACTom2020-10-181-111/+7
| | | | | | | | Signed-off-by: ACTom <i@actom.me>
* | deleteChildren only returns arrayMaxence Lange2020-12-231-0/+4
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #24702 from nextcloud/enhancement/well-known-handler-apiChristoph Wurst2020-12-184-0/+410
|\ \ | | | | | | Add well known handlers API
| * | Add well known handlers APIChristoph Wurst2020-12-164-0/+410
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | use a consistent default value for sharing.maxAutocompleteResultsArthur Schiwon2020-12-151-3/+4
|/ / | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Show unique displayname context in the sharing inputJulius Härtl2020-12-142-23/+23
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #23044 from nextcloud/migration-10.5Roeland Jago Douma2020-12-104-0/+696
|\ \ | | | | | | Handle owncloud migration to latest release
| * | Readd repair steps that are relevant when migrating from ownCloudJulius Härtl2020-12-094-0/+696
| | | | | | | | | | | | | | | | | | This reverts commit d9b1492e03ab9fe58bb87baaeba745790ca15c53. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #24605 from nextcloud/enh/share-deckRoeland Jago Douma2020-12-101-0/+6
|\ \ \ | | | | | | | | Add deck share provider support
| * | | Extend dummy factory in testsJulius Härtl2020-12-091-0/+6
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #24247 from nextcloud/bugfix/noid/ocm-providerId-stringJulius Härtl2020-12-091-0/+49
|\ \ \
| * | | Add temporary test for migrating int to stringJulius Härtl2020-12-081-0/+49
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Skip the test if Imagick is misconfiguredJoas Schilling2020-12-091-0/+4
| |/ / |/| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #24486 from nextcloud/feature/noid/phone-number-validationJoas Schilling2020-12-082-20/+60
|\ \ \ | |/ / |/| | Phone number validation and search
| * | Add and fix unit testsJoas Schilling2020-12-071-6/+45
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Make code strictJoas Schilling2020-12-071-14/+15
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | php cs fixRoeland Jago Douma2020-12-074-5/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | fix appconfig testsRoeland Jago Douma2020-12-071-3/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix filesystem testsRoeland Jago Douma2020-12-071-1/+5
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Make sure we can also run with escapedshell argsRoeland Jago Douma2020-12-071-0/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Make sure we just check for the keysRoeland Jago Douma2020-12-071-5/+5
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Do not run image tests on php8Roeland Jago Douma2020-12-071-0/+69
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Do not run on php8Roeland Jago Douma2020-12-072-0/+8
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Move to new phpunitRoeland Jago Douma2020-12-071-2/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Don't check on php8Roeland Jago Douma2020-12-072-0/+12
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Avatar fixesRoeland Jago Douma2020-12-071-2/+25
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix test traits for phpunit 9Roeland Jago Douma2020-12-072-4/+4
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix vsprint parameterRoeland Jago Douma2020-12-031-1/+1
| | | | | | | | | | | | | | %2\$; is not valid. On php7 this is just ignored but on php8 it gives an error. %2\$s; works. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add notification for user limitMorris Jobke2020-12-021-1/+31
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>