summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #16767 from owncloud/webdav-preventdeleterootLukas Reschke2015-06-051-24/+15
|\ | | | | Prevent deleting Webdav root
| * Fix sabre directory test casesVincent Petry2015-06-051-24/+15
| | | | | | | | | | | | | | - rely on a mock subfolder instead of the root - remove obsolete "Shared" limitation tests which did pass but not for the right reasons - added test for the prevention of root deletion
* | Merge pull request #16765 from owncloud/fix-chunked-upload-jenkinsThomas Müller2015-06-051-0/+78
|\ \ | |/ |/| Fix chunked upload jenkins
| * fix unit testThomas Müller2015-06-051-29/+22
| |
| * Bring back unit tests for \OC\Cache\FileThomas Müller2015-06-051-0/+85
| |
* | Add unit tests for InvalidPath Exception being thrownJoas Schilling2015-06-051-1/+27
|/
* Merge pull request #15895 from owncloud/dav-getremoteetagJoas Schilling2015-06-031-0/+18
|\ | | | | Get etag from remote OC server
| * Disable update check test when testing wrappersVincent Petry2015-06-021-0/+3
| | | | | | | | | | The checkUpdate test is intended for testing real storages, not wrappers.
| * Added storage backend test for checkUpdateVincent Petry2015-06-021-0/+15
| | | | | | | | | | This helps testing whether checkUpdate properly returns false when no change exists
* | Fix unit testsLukas Reschke2015-06-031-2/+2
| | | | | | | | | | | | | | | | | | Regression caused by https://github.com/owncloud/core/pull/16721 Failed the unit tests as per https://ci.owncloud.org/job/server-master-linux/database=sqlite,label=SLAVE/1994/testReport/junit/(root)/Test_Encryption_ManagerTest/testGetEncryptionModuleUnknown/: ``` Test\Encryption\ManagerTest::testGetEncryptionModuleUnknown Failed asserting that exception message 'Module with id: unknown does not exist.' contains 'Module with id: unknown does not exists.' ```
* | use not deprecated method in testsMorris Jobke2015-06-031-1/+1
| |
* | Merge pull request #16714 from owncloud/fix-cors-testLukas Reschke2015-06-031-0/+7
|\ \ | | | | | | Fix #16713
| * | fix #16713Bernhard Posselt2015-06-031-0/+7
| | |
* | | Merge pull request #16708 from owncloud/enc_fix_move_to_trashMorris Jobke2015-06-031-0/+39
|\ \ \ | | | | | | | | make sure that we always use the correct owner for both source and target
| * | | make sure that we always use the correct owner for both source and targetBjoern Schiessle2015-06-031-0/+39
| |/ /
* / / Move the helpful method to the TestCase classJoas Schilling2015-06-0324-73/+87
|/ /
* / Add unit tests for wrapStorageJoas Schilling2015-06-021-0/+45
|/
* Merge pull request #16200 from owncloud/kill-globalfilecacheMorris Jobke2015-06-024-259/+40
|\ | | | | Drop file caching
| * add repair steps to get rid of old background jobsArthur Schiwon2015-05-121-0/+40
| |
| * remove file cache classes and its testsArthur Schiwon2015-05-083-259/+0
| |
* | Merge pull request #16672 from owncloud/tests-xmlupdateThomas Müller2015-06-012-10/+4
|\ \ | | | | | | Fix phpunit xml
| * | Fix phpunit xmlVincent Petry2015-06-012-10/+4
| | | | | | | | | | | | Rename/remove obsolete paths
* | | Merge pull request #16663 from owncloud/no-sense-to-check-for-cliJoas Schilling2015-06-011-7/+0
|\ \ \ | | | | | | | | Remove check for RAW_POPULATE_POST_DATA for unit tests
| * | | Remove check for RAW_POPULATE_POST_DATA for unit testsLukas Reschke2015-06-011-7/+0
| |/ / | | | | | | | | | We do have a work around meanwhile and for CLI this is not relevant at all. Can be removedWe do have a work around meanwhile and for CLI this is not relevant at all. Can be removed.
* | | add method to atomically change between shared and exclusive lockRobin Appelman2015-06-011-0/+53
| | |
* | | unit test for releaseallRobin Appelman2015-06-011-0/+24
| | |
* | | release all locks after testRobin Appelman2015-06-011-0/+1
| | |
* | | fix testRobin Appelman2015-06-011-2/+2
| | |
* | | high level locking wipRobin Appelman2015-06-011-0/+27
|/ /
* | Merge pull request #16517 from owncloud/remove-logo-wideThomas Müller2015-05-296-883/+13
|\ \ | | | | | | replace logo-wide on share page as well with better icon + text
| * | change tests back to check for logo-wide, make them pass againJan-Christoph Borchardt2015-05-281-3/+3
| | |
| * | remove logo-wide from testsJan-Christoph Borchardt2015-05-217-886/+16
| | |
* | | Only use quota stream wrapper on "files"Vincent Petry2015-05-281-11/+23
| | | | | | | | | | | | | | | Prevent using the quota stream wrapper on trashbin folders and other metadata folders
* | | Merge pull request #16501 from owncloud/enc_fix_move_versions_between_storagesVincent Petry2015-05-282-16/+73
|\ \ \ | | | | | | | | [encryption] fix move versions between storages
| * | | copy keys before we move a file between storages to make sure that the new ↵Bjoern Schiessle2015-05-221-4/+45
| | | | | | | | | | | | | | | | target file reuses the old file key, otherwise versions will break
| * | | distinguish between source and target mount point to allow copy/rename ↵Bjoern Schiessle2015-05-211-12/+28
| |/ / | | | | | | | | | between system wide mount points and user specific mountpoints
* | | improve error messages displayed to the userBjoern Schiessle2015-05-271-1/+5
| | |
* | | Merge pull request #16565 from owncloud/add-urandom-checkThomas Müller2015-05-261-1/+7
|\ \ \ | | | | | | | | Add check for availability of /dev/urandom
| * | | Add check for availability of /dev/urandomLukas Reschke2015-05-261-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without /dev/urandom being available to read the medium RNG will rely only on the following components on a Linux system: 1. MicroTime: microtime() . memory_get_usage() as seed and then a garbage collected microtime for loop 2. MTRand: chr((mt_rand() ^ mt_rand()) % 256) 3. Rand: chr((rand() ^ rand()) % 256) 4. UniqId: Plain uniqid() An adversary with the possibility to predict the seed used by the PHP process may thus be able to predict future tokens which is an unwanted behaviour. One should note that this behaviour is documented in our documentation to ensure that users get aware of this even without reading our documentation this will add a post setup check to the administrative interface. Thanks to David Black from d1b.org for bringing this again to our attention.
* | | | Merge pull request #16561 from owncloud/add-default-timeout-backBjörn Schießle2015-05-261-2/+73
|\ \ \ \ | | | | | | | | | | Add connection timeout to default POST options
| * | | | Add connection timeout to default POST optionsLukas Reschke2015-05-261-2/+73
| |/ / / | | | | | | | | | | | | Fixes https://github.com/owncloud/core/issues/16560
* | | | Merge pull request #16532 from owncloud/cors-no-cookie-authVincent Petry2015-05-261-4/+71
|\ \ \ \ | | | | | | | | | | Disallow cookie auth for cors requests
| * | | | disallow cookie auth for cors requestsBernhard Posselt2015-05-221-4/+71
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testing ... fixes fix test add php doc fix small mistake add another phpdoc remove not working cors annotations from files app
* | | | Merge pull request #16452 from owncloud/enc_ftp_uploadBjörn Schießle2015-05-262-3/+84
|\ \ \ \ | | | | | | | | | | always write file, if fseek doesn't work we write the whole file
| * | | | test to simulate a non-seekable stream wrapperBjoern Schiessle2015-05-212-3/+84
| | | | |
* | | | | Merge pull request #16339 from owncloud/master-override-channelThomas Müller2015-05-261-0/+47
|\ \ \ \ \ | | | | | | | | | | | | Allow change update channel via public API
| * | | | | Test overriding channelVictor Dubiniuk2015-05-151-0/+47
| | | | | |
* | | | | | Merge pull request #16526 from owncloud/enc_fix_versions_webdav_uploadVincent Petry2015-05-222-1/+23
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | remove part file extension before we read a filekey
| * | | | | remove part file extension before we read a filekey to reuse a existing key ↵Bjoern Schiessle2015-05-222-1/+23
| | |_|/ / | |/| | | | | | | | | | | | | if possible, otherwise stuff like versioning will break
* / | | | Get correct mimetype when moving and changing extensionVincent Petry2015-05-211-7/+19
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issue when restoring folders from trash cross-storage, as such folders have an extension ".d12345678". Fixes issue when moving folders between storages and at the same time changing their extension.