summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* Merge pull request #16322 from owncloud/trash-viewMorris Jobke2015-05-201-12/+25
|\ | | | | dont go trough the view when moving to trash
| * add tests for copyFromStorage with same storageRobin Appelman2015-05-191-12/+25
| |
* | Merge pull request #16075 from owncloud/skeleton-copy-delayVincent Petry2015-05-202-5/+4
|\ \ | | | | | | wait with copying the skeleton untill login and setupfs are done
| * | fix testsRobin Appelman2015-05-181-5/+1
| | |
| * | fix testsRobin Appelman2015-05-181-1/+3
| | |
| * | fix testsRobin Appelman2015-05-181-0/+1
| | |
* | | Add support for disallowing domains to the ContentSecurityPolicyLukas Reschke2015-05-201-0/+216
| | | | | | | | | | | | | | | | | | For enhanced security it is important that there is also a way to disallow domains, including the default ones. With this commit every method gets added a new "disallow" function.
* | | Merge pull request #16446 from owncloud/fix-url-generationLukas Reschke2015-05-201-1/+2
|\ \ \ | | | | | | | | Fix URL generation
| * | | Added unit tests for download URL in public sharing pageVincent Petry2015-05-191-1/+2
| | | |
* | | | Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-05-192-2/+0
|/ / / | | | | | | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* | | Merge pull request #16420 from owncloud/update-useconfigtableprefixMorris Jobke2015-05-191-1/+28
|\ \ \ | | | | | | | | Add unit test for migrator with different prefix
| * | | Add unit test for migrator with different prefixVincent Petry2015-05-191-1/+28
| | | |
* | | | Merge pull request #15965 from owncloud/conditional-loggingThomas Müller2015-05-191-3/+27
|\ \ \ \ | |/ / / |/| | | Conditional logging
| * | | Conditional loggingMorris Jobke2015-05-081-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Log condition for log level increase based on conditions. Once one of these conditions is met, the required log level is set to debug. This allows to debug specific requests, users or apps * Supported conditions (setting `log_condition` in `config.php`): - `shared_secret`: if a request parameter with the name `log_secret` is set to this value the condition is met - `users`: if the current request is done by one of the specified users, this condition is met - `apps`: if the log message is invoked by one of the specified apps, this condition is met * fix unit test and add app log condition test
* | | | Merge pull request #16412 from owncloud/jknockaert-patch-1Björn Schießle2015-05-181-2/+10
|\ \ \ \ | |_|_|/ |/| | | fix #16356
| * | | add a unit test to make sure that we don't try to read a file during a write ↵Bjoern Schiessle2015-05-181-2/+10
| | | | | | | | | | | | | | | | operation
* | | | Merge pull request #16399 from owncloud/enc_rmdir_fixClark Tomlinson2015-05-181-7/+74
|\ \ \ \ | |/ / / |/| | | [encryption] only try to delete file keys if it is a valid path
| * | | only try to delete file keys if it is a valid pathBjoern Schiessle2015-05-181-7/+74
| | | |
* | | | Merge pull request #15980 from owncloud/jknockaert-patch-1Björn Schießle2015-05-181-10/+11
|\ \ \ \ | |_|_|/ |/| | | fix bug #15973
| * | | correct testSeekjknockaert2015-05-181-4/+4
| | | |
| * | | work on testsjknockaert2015-05-181-10/+11
| | | | | | | | | | | | Tests reorganised and extended
* | | | Merge pull request #16243 from owncloud/error_if_download_failedVincent Petry2015-05-182-3/+9
|\ \ \ \ | | | | | | | | | | redirect to error page if download failed
| * | | | a new approach to display the error messageBjoern Schiessle2015-05-182-3/+9
| | |/ / | |/| |
* | | | Merge pull request #16364 from owncloud/add-warning-webdavMorris Jobke2015-05-181-0/+65
|\ \ \ \ | |/ / / |/| | | Add notice that WebDAV interface is not intended for browsers
| * | | Add unit tests for \OC\Connector\Sabre\DummyGetResponsePluginLukas Reschke2015-05-151-0/+65
| | | |
* | | | Merge pull request #15978 from owncloud/feature/fix-encryption-tooltipsThomas Müller2015-05-151-9/+9
|\ \ \ \ | | | | | | | | | | [enc2]fixing recovery tooltip
| * | | | fixing testClark Tomlinson2015-05-111-9/+9
| | | | |
* | | | | Merge pull request #16176 from owncloud/fix-provisioning-api-set-quotaVincent Petry2015-05-151-9/+10
|\ \ \ \ \ | | | | | | | | | | | | Validate the quota value to be a correct value
| * | | | | Validate the quota value to be a correct valueThomas Müller2015-05-071-9/+10
| | |_|_|/ | |/| | |
* | | | | Merge pull request #15811 from owncloud/exception-on-lost-ldap-connectionThomas Müller2015-05-151-0/+3
|\ \ \ \ \ | | | | | | | | | | | | throw exception when LDAP Connection was lost
| * | | | | do not execute integration tests when executing autotest.shThomas Müller2015-05-151-0/+3
| | | | | |
* | | | | | Merge pull request #16292 from owncloud/webdav-storage-fireprehooksJoas Schilling2015-05-152-38/+306
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fire prehooks when uploading directly to storage
| * | | | | | Fire prehooks when uploading directly to storageVincent Petry2015-05-132-38/+306
| | | | | | |
* | | | | | | Properly log out test users in unit testsVincent Petry2015-05-151-0/+2
| |_|_|_|/ / |/| | | | |
* | | | | | Merge pull request #16276 from owncloud/dav-quota-rootRobin Appelman2015-05-131-1/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | | fix webdav quota check for the root of the dav endpoint
| * | | | | Added unit test to quota plugin for free_space argumentVincent Petry2015-05-131-1/+4
| | | | | |
* | | | | | Merge pull request #16228 from owncloud/enc_fix_restoreBjörn Schießle2015-05-122-14/+112
|\ \ \ \ \ \ | |/ / / / / |/| | | | | use hooks to update encryption keys
| * | | | | use hooks to update encryption keys instead of the storage wrapper if a file ↵Bjoern Schiessle2015-05-112-14/+112
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | gets renamed/restored, as long as we are in the storage wrapper the file cache isn't up-to-date
* | | | | Merge pull request #16233 from owncloud/enc_fix_check_if_file_is_excludedMorris Jobke2015-05-121-0/+1
|\ \ \ \ \ | | | | | | | | | | | | fix check if a file is excluded from encryption
| * | | | | fix check if file is excluded from encryptionBjoern Schiessle2015-05-111-0/+1
| |/ / / /
* | | | | Use insertIfNotExists to avoid problems with parallel callsJoas Schilling2015-05-111-4/+6
| | | | |
* | | | | Add a test for parallel insertJoas Schilling2015-05-111-12/+29
| | | | |
* | | | | Always test the object and the legacy classJoas Schilling2015-05-111-59/+127
|/ / / /
* | | | \OC\Connector\Sabre\CopyEtagHeaderPlugin constructor does not take arguments.Andreas Fischer2015-05-071-1/+1
| | | |
* | | | Merge pull request #16035 from ↵Thomas Müller2015-05-072-15/+37
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | owncloud/issue-15975-occ-encryption-enable-warning-no-module Display a message when there is a problem with the default module
| * | | | Display a message when there is a problem with the default moduleJoas Schilling2015-05-042-15/+37
| | | | |
* | | | | Fix missing types on doc block and deduplicate the method nameJoas Schilling2015-05-061-1/+1
| | | | |
* | | | | move/copy from storageBjoern Schiessle2015-05-061-9/+10
| | | | |