summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #20939 from nextcloud/enh/middleware/not_modifiedRoeland Jago Douma2020-05-133-41/+107
|\ | | | | Move not modified check to the middleware
| * Move the notmodified check to middleware where it belongsRoeland Jago Douma2020-05-133-41/+107
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20897 from nextcloud/bugfix/httpcacheRoeland Jago Douma2020-05-131-1/+1
|\ \ | |/ |/| Proxy server could cache http response when it is not private
| * Fix http cache testClement Wong2020-05-121-1/+1
| | | | | | | | Signed-off-by: Clement Wong <git@clement.hk>
* | Merge pull request #20270 from nextcloud/enh/appframework/gzipRoeland Jago Douma2020-05-121-0/+163
|\ \ | | | | | | Add AppFramework compression middleware to gzip responses
| * | Add AppFramework GZip middleware to gzip responsesRoeland Jago Douma2020-05-121-0/+163
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Use random_bytesRoeland Jago Douma2020-05-111-4/+11
|/ / | | | | | | | | | | | | Since we don't care if it is human readbale. The code is backwards compatible with the old format. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Adjust tests to only return group IDsMorris Jobke2020-05-081-32/+15
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #20722 from nextcloud/enh/20693/etag-capabilitiesMorris Jobke2020-05-041-0/+2
|\ \ | | | | | | Set etag for capabilities endpoint
| * | Set etag for capabilities endpointDaniel Kesselberg2020-04-291-0/+2
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Update education bundleRoeland Jago Douma2020-05-011-2/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #20380 from nextcloud/design/notification-mailsRoeland Jago Douma2020-05-013-138/+117
|\ \ \ | | | | | | | | Fix design and layout of notification mails
| * | | Fix notification mail testsJan-Christoph Borchardt2020-05-013-138/+117
| |/ / | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | Fix getDirectoryContent implementation for Jail wrapperRobin Appelman2020-04-301-0/+15
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix Argon2 options checksMichaIng2020-04-301-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>
* | Merge pull request #19793 from nextcloud/bugfix/noid/link-to-federated-reshareMorris Jobke2020-04-271-18/+0
|\ \ | | | | | | Fix resharing of federated shares that were created out of links
| * | Remove unneeded test since links have resharing permissions by defaultJulius Härtl2020-04-211-18/+0
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #19514 from sndrr/already-enabled-appsMorris Jobke2020-04-271-0/+1
|\ \ \ | | | | | | | | Already enabled apps
| * | | Updated test to check for already enabled appsSander Ruitenbeek2020-04-241-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
* | | | Merge pull request #19084 from nextcloud/bug/13556/wrong-paths-for-svgMorris Jobke2020-04-274-4/+92
|\ \ \ \ | |_|_|/ |/| | | Make it possible to resolve svg's outside \OC::$SERVERROOT
| * | | Add test to ensure that symlinked apps_paths are not resolvedDaniel Kesselberg2020-04-241-0/+29
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | Make it possible to resolve svg for apps_paths outside the document rootDaniel Kesselberg2020-04-243-4/+63
| | | | | | | | | | | | | | | | | | | | | | | | Previous implementation assumes the app path is always a child \OC::$SERVERROOT. That's not always true. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Allow specifying a default expiration dateRoeland Jago Douma2020-04-241-0/+1
| |/ / |/| | | | | | | | | | | | | | This overrides the max expiration date. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Do not create remember me cookieJulius Härtl2020-04-231-1/+24
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix new routing in settings etcRoeland Jago Douma2020-04-221-2/+2
| | | | | | | | | | | | | | | | | | Also prefix resources Unify the prefix handling Handle urls with and without slash Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20114 from ↵Roeland Jago Douma2020-04-211-87/+50
|\ \ | |/ |/| | | | | nextcloud/techdebt/noid/allow-some-apps-to-have-root-urls Allow some apps to have root URLs in their own routing file
| * Extend tests for root urlJoas Schilling2020-04-181-87/+50
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Move to subfolders for preview filesRoeland Jago Douma2020-04-191-26/+70
|/ | | | | | | | | | | Else the number of files can grow very large very quickly in the preview folder. Esp on large systems. This generates the md5 of the fileid. And then creates folders of the first 7 charts. In that folder is then a folder with the fileid. And inside there are the previews. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix mailer testRoeland Jago Douma2020-04-171-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20447 from liamjack/fix/13287/welcome_emailJohn Molakvoæ2020-04-172-2/+2
|\ | | | | Increase max-height on button in welcome email template
| * Fix testsMorris Jobke2020-04-172-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #20505 from nextcloud/fix/noid/system-credsblizzz2020-04-161-0/+33
|\ \ | | | | | | do not advertise nulled userId for for systemwide credentials
| * | fix credentialsManager documentation and ensure userId to be used as stringArthur Schiwon2020-04-151-3/+3
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | add DB tests for credentials managerArthur Schiwon2020-04-151-0/+33
| | | | | | | | | | | | | | | | | | | | | 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>
* | | Provide the proper language to the mailerRoeland Jago Douma2020-04-162-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>
* | | Run cs:fix and fix HashWrapper codeMorris Jobke2020-04-151-1/+3
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #20138 from ↵Joas Schilling2020-04-152-11/+126
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/make-remote-checking-more-generic Make remote checking more generic
| * | Fix unit testsJoas Schilling2020-04-151-2/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Check all remotes for local accessJoas Schilling2020-04-141-9/+122
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #20401 from nextcloud/fix/login-sso-redirctRoeland Jago Douma2020-04-151-4/+4
|\ \ \ | | | | | | | | Fix absolute redirect
| * | | Fix absolute redirectJohn Molakvoæ (skjnldsv)2020-04-101-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #19351 from nextcloud/dav-upload-hashRoeland Jago Douma2020-04-151-0/+55
|\ \ \ \ | |_|/ / |/| | | Return hashes of uploaded content for dav uploads
| * | | Return hashes of uploaded content for dav uploadsRobin Appelman2020-04-131-0/+55
| | |/ | |/| | | | | | | | | | | | | | | | | | | hashes are set in "X-Hash-MD5", "X-Hash-SHA1" and "X-Hash-SHA256" headers. these headers are set for file uploads and the MOVE request at the end of a multipart upload. Signed-off-by: Robin Appelman <robin@icewind.nl>
* / | Fix jsunit testsDaniel Kesselberg2020-04-141-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>
* | Merge pull request #20426 from nextcloud/techdebt/psr2John Molakvoæ2020-04-1143-163/+163
|\ \ | | | | | | It is done
| * | Add visibility to all constantsChristoph Wurst2020-04-107-22/+22
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Add visibility to all methods and position of static keywordChristoph Wurst2020-04-1034-128/+128
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Add visibility to all properties and move static keywordChristoph Wurst2020-04-105-13/+13
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #20419 from nextcloud/dependabot/npm_and_yarn/variousJohn Molakvoæ2020-04-111-4/+4
|\ \ \ | |/ / |/| | Bump p-limit from 2.2.2 to 2.3.0, @nextcloud/auth from 1.2.2 to 1.2.3, @babel/preset-env from 7.8.7 to 7.9.5, @nextcloud/event-bus from 1.1.3 to 1.1.4, @nextcloud/password-confirmation from 1.0.0 to 1.0.1, @nextcloud/l10n from 1.2.2 to 1.2.3, @nextcloud/initial-state from 1.1.1 to 1.1.2, core-js from 3.6.4 to 3.6.5 …
| * | Bump acceptance testsJohn Molakvoæ (skjnldsv)2020-04-101-4/+4
| |/ | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>