summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* No void in php7.0Roeland Jago Douma2019-12-121-5/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update the unit test to dataProvidersJoas Schilling2019-12-121-42/+77
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* adjust testsArthur Schiwon2019-09-091-41/+53
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* treat sensitive config keys by patternArthur Schiwon2019-07-261-0/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Unify the permission checking in one place onlyJoas Schilling2019-07-031-4/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Better check reshare permissions when creating a shareJoas Schilling2019-07-031-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check for free space on touchJulius Härtl2019-05-281-0/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Check the actual status code for 204 and 304Roeland Jago Douma2019-05-241-10/+9
| | | | | | | | | | The header is the full http header like: HTTP/1.1 304 Not Modified So comparing this to an int always yields false This also makes the 304 RFC compliant as the resulting content length should otherwise be the length of the message and not 0. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix l10n for SettingsManager by injecting the l10n factoryMorris Jobke2019-05-211-1/+30
| | | | | | Fixes #10832 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use non-absolute logout URL to fix wrong URL in reverse proxy scenarioMorris Jobke2019-05-081-11/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #14597 from nextcloud/backport/14425/stable15Morris Jobke2019-03-081-0/+38
|\ | | | | [stable15] Do not calculate folder size for parent that also needs proper scan, fixes #3524
| * Avoid calculating folder size for parent that needs scan.Ari Selseng2019-03-081-0/+38
| | | | | | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* | Remove "socialsharing_googleplus" from Social Sharing BundleMarius Blüm2019-03-081-1/+0
|/ | | Signed-off-by: Marius Blüm <marius@lineone.io>
* two item => two itemsDaniel Kesselberg2019-02-271-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Parse multiple navigation itemsDaniel Kesselberg2019-02-272-13/+23
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Correctly determinate the owner in case of shared external storagesJoas Schilling2019-02-191-16/+30
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update CRL to contain revoked files_external_dropbox, passman & paybackMorris Jobke2019-02-141-40/+40
| | | | | | | * see https://github.com/nextcloud/app-certificate-requests/pull/221 * see https://github.com/nextcloud/app-certificate-requests/pull/219#issuecomment-463577509 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix the thorrtler whitelist bitmaskRoeland Jago Douma2019-02-121-0/+29
| | | | | | Before we actually didn't check each bit of the bitmask. Now we do. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* always use multipart uploader for s3 uploadsRobin Appelman2019-01-291-3/+28
| | | | | | the multipart uploader handles non seekable streams while `upload` does not Signed-off-by: Robin Appelman <robin@icewind.nl>
* cleanup shared lock if changing to exclusive lock failedRobin Appelman2019-01-221-0/+31
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #13036 from nextcloud/objectstore-write-exists-15Roeland Jago Douma2019-01-144-1/+122
|\ | | | | [15] upload new files in objectstore to a .part path first
| * upload new files in objectstore to a .part path firstRobin Appelman2018-12-123-1/+107
| | | | | | | | | | | | | | | | This prevent the object store and cache from getting out of sync when an objectstore silently fails or the php process get's killed during the upload without giving us the chance to cleanup Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Add objectExists to objectstore interfaceRobin Appelman2018-12-121-0/+15
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | CSP: Allow fonts to be provided in dataRoeland Jago Douma2019-01-075-63/+63
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use a case insensitive search for emailRoeland Jago Douma2018-12-201-2/+3
| | | | | | | | | | | | | | | | Fixes #7084 Now entering wrongly cased email (roeland@ instead of Roeland@) for password reset etc. Will also work. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Only trust the X-FORWARDED-HOST header for trusted proxiesRoeland Jago Douma2018-12-191-53/+90
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Log and continue on Dav reader failureJohn Molakvoæ (skjnldsv)2018-12-051-2/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #12692 from nextcloud/storage-no-encryption-interface-15Morris Jobke2018-11-291-7/+1
|\ | | | | [15] Add interface to allow storages from opting out of encryption
| * update encryption wrapper testsRobin Appelman2018-11-291-7/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add testcases for pipe modeDaniel Kesselberg2018-11-292-12/+44
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Fix folder path containing leading slash when getting mount root by idRobin Appelman2018-11-281-0/+48
|/ | | | | | | | This fixes collabora on public link shared groupfolders Fixes https://github.com/nextcloud/groupfolders/issues/225 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow empty strings in getAbsoluteURLJoas Schilling2018-11-201-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the URLGenerator test to current state of artJoas Schilling2018-11-201-32/+30
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add test for non existing file by idRobin Appelman2018-11-191-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #11942 from nextcloud/techdebt/noid/use-count-functionMorris Jobke2018-11-125-5/+5
|\ | | | | Use the defined func()->count() instead of manual counting
| * Use the defined func()->count() instead of manual countingJoas Schilling2018-11-085-5/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #12371 from ↵Morris Jobke2018-11-121-2/+1
|\ \ | | | | | | | | | | | | nextcloud/bugfix/12369/catch-unique-constraint-violation-exception-in-insertIfNotExist Catch UniqueConstraintViolationException inside insertIfNotExist
| * | Exception is not thrown anymoreMorris Jobke2018-11-121-2/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Make sure to always load the latest icons-vars.css fileJulius Härtl2018-11-121-1/+6
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #12313 from nextcloud/generated-avatar-major-cleanupRoeland Jago Douma2018-11-081-0/+82
|\ | | | | Clear avatar cache with frontend repair
| * Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)2018-11-081-0/+82
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #11836 from ↵Morris Jobke2018-11-071-2/+5
|\ \ | | | | | | | | | | | | nextcloud/bugfix/2443/comment-mentions-with-spaces Comment mentions with spaces
| * | Match mentions when the username is wrapped in quotesJoas Schilling2018-11-071-2/+5
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Add test that unique constraint is workingDaniel Kesselberg2018-11-061-0/+13
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #12185 from nextcloud/cleanup/dicontainerMorris Jobke2018-11-052-17/+7
|\ | | | | Cleanup the DIContainer
| * Fix testsRoeland Jago Douma2018-11-022-17/+7
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12071 from nextcloud/addressbook-uid-check-migrationRoeland Jago Douma2018-11-021-0/+121
|\ \ | |/ |/| Addressbook uid check migration
| * Merge branch 'addressbook-uid-check-migration' of ↵John Molakvoæ (skjnldsv)2018-11-018-35/+228
| |\ | | | | | | | | | | | | | | | https://github.com/nextcloud/server into addressbook-uid-check-migration Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| | * TestsJohn Molakvoæ (skjnldsv)2018-11-011-0/+121
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fix phpunitJohn Molakvoæ (skjnldsv)2018-11-011-20/+20
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>