summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #20763 from nextcloud/backport/20710/stable18Roeland Jago Douma2020-05-011-0/+5
|\ | | | | [stable18] Fix Argon2 options checks
| * Fix Argon2 options checksMichaIng2020-05-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum. Options are now applied the following way: - If config.php contains the setting with an integer higher or equal to the minimum, it is applied. - If config.php contains the setting with an integer lower than the minimum, the minimum is applied. - If config.php does not contain the setting or with no integer value, the PHP default is applied. Signed-off-by: MichaIng <micha@dietpi.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Allow specifying a default expiration dateRoeland Jago Douma2020-05-011-0/+1
|/ | | | | | This overrides the max expiration date. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20512 from nextcloud/backport/20246/stable18Roeland Jago Douma2020-04-202-4/+11
|\ | | | | [stable18] Provide the proper language to the mailer
| * Provide the proper language to the mailerRoeland Jago Douma2020-04-182-4/+11
| | | | | | | | | | | | | | Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix jsunit testsDaniel Kesselberg2020-04-181-6/+0
| | | | | | | | | | | | JSUnit tests are failing for some reason. It seems to be related to a new karma-coverage version published a few hours ago. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | add DB tests for credentials managerArthur Schiwon2020-04-161-0/+3
|/ | | | | | | these are actually expected to FAIL, because NULL as a userid is not allowed in the schema, but documented to be used on the source Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix absolute redirectJohn Molakvoæ (skjnldsv)2020-04-151-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Check the user on remote wipeJoas Schilling2020-03-251-13/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove admin_notifications since it is obsolete since Nextcloud 14Julius Härtl2020-03-241-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #20051 from nextcloud/backport/20049/stable18Roeland Jago Douma2020-03-211-2/+2
|\ | | | | [stable18] Force compatible dependency versions in acceptance tests
| * Force compatible dependency versions in acceptance testsDaniel Calviño Sánchez2020-03-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | behat/mink 1.8 and behat/mink-selenium2-driver 1.4 introduced behaviour changes that broke the acceptance tests. Until the tests are updated to work with the newer versions the last known versions are forced. Note that some acceptance tests still fail after enforcing the compatible versions, although that is caused by changes in the Nextcloud server itself. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance test for accepting an incoming shareDaniel Calviño Sánchez2020-03-202-0/+71
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix timeout cappingDaniel Calviño Sánchez2020-03-201-1/+1
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Revert (partially) "Accept incoming shares in acceptance tests"Daniel Calviño Sánchez2020-03-202-23/+18
|/ | | | | | | | | This reverts commit f402e234480cd9d18c6c90ef011968eb7abcd5dc. Since eb4c42d3d1fda02895d35a360bceb08379f328c2 now shares are accepted by default, so no notification is shown to accept them. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add message for DoesNotExistExceptionDaniel Kesselberg2020-03-021-0/+17
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Strip of users home path from share api messageJoas Schilling2020-02-221-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* when we receive intentional empty whats new info, do not try to show itArthur Schiwon2020-02-141-0/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* disable timeout on app install via cliArthur Schiwon2020-02-121-4/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add test to trigger "Trying to access array offset on value of type int"Daniel Kesselberg2020-02-061-0/+62
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow selecting the hashing algorithmRoeland Jago Douma2020-02-041-2/+63
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make sure to catch php errors during job executionDaniel Kesselberg2020-02-031-0/+21
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Do not encode contacts menu mailto linksChristoph Wurst2020-01-301-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add hub bundle for easy post-installationArthur Schiwon2020-01-271-1/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Adjust unit test for #19017Joas Schilling2020-01-211-12/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* CHeck if file already exists during file creationJulius Härtl2020-01-141-0/+15
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* AppFetcher: Distinguish between fileName and endpointNameGeorg Ehrke2020-01-121-1305/+1387
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Clean up 2FA provider registry when a user is deletedChristoph Wurst2020-01-092-0/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18644 from nextcloud/harden/csrf_endpointRoeland Jago Douma2020-01-071-1/+12
|\ | | | | Only allow requesting new CSRF tokens if it passes the SameSite Cooki…
| * Only allow requesting new CSRF tokens if it passes the SameSite Cookie testRoeland Jago Douma2020-01-031-1/+12
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix the LoggerTests for phpunitRoeland Jago Douma2020-01-061-21/+21
| | | | | | | | | | | | Less deprecation warnings. YAY. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix CIKim Brose2020-01-031-1/+1
|/ | | Signed-off-by: Kim Brose <kim.brose@rwth-aachen.de>
* Modify regex to match some other chromium browsersDaniel Kesselberg2019-12-271-5/+26
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Restore old behavior allowing to set custom appstoreGeorg Ehrke2019-12-222-1/+18
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* fix the folder shareGretaD2019-12-191-4/+4
| | | | | Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Return empty template for default creatorsJulius Härtl2019-12-161-1/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #17018 from ↵Joas Schilling2019-12-162-24/+34
|\ | | | | | | | | nextcloud/feature/noid/allow-to-force-enable-via-cli Allow to force enable apps via CLI
| * Allow to force enable apps via CLIJoas Schilling2019-12-132-24/+34
| | | | | | | | | | | | Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #18384 from ↵Roeland Jago Douma2019-12-161-43/+57
|\ \ | | | | | | | | | | | | nextcloud/fix/18255/global_config_to_always_accept config.php setting to always accept internal shares
| * | config.php setting to always accept internal sharesRoeland Jago Douma2019-12-161-43/+57
| |/ | | | | | | | | | | Part of #18255 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #17494 from nextcloud/fix/16340/ignore-invalid-jsonblizzz2019-12-131-7/+12
|\ \ | | | | | | Return a default user record if json is broken
| * | Log critical fallback to user default if we can't parse the JSONChristoph Wurst2019-12-131-7/+12
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Add typed events for the filesystem/scannerChristoph Wurst2019-12-132-9/+11
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17784 from nextcloud/enh/disable-clear-site-data-via-configRoeland Jago Douma2019-12-121-0/+28
|\ | | | | Disable Clear-Site-Data for Chrom* (and Opera, Brave, etc)
| * Send Clear-Site-Data expect for ChromeDaniel Kesselberg2019-11-301-0/+28
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Move users management to multi lineGreta Doci2019-12-122-36/+73
| | | | | | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* | Merge pull request #18236 from ↵Roeland Jago Douma2019-12-121-42/+77
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/always-detect-mimetype-by-content-in-workflows Allow to detect mimetype by content
| * | REVERT ME: comment out failing gz detection testRoeland Jago Douma2019-12-121-1/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Update the unit test to dataProvidersJoas Schilling2019-12-101-42/+77
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix testsJohn Molakvoæ (skjnldsv)2019-12-101-2/+7
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>