summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix shouldEncrypt() method and improved decryptAll() unit testsBjoern Schiessle2014-04-281-9/+50
|
* merge master into webdav-injectionRobin Appelman2014-04-253-46/+33
|\
| * fix encryption tests after the removal of the shared folderBjoern Schiessle2014-04-233-46/+33
| |
* | Prevent error if previously cached data doesn't have an etagRobin Appelman2014-04-221-0/+1
| |
* | merge master into webdav-injectionRobin Appelman2014-04-151-3/+3
|\|
| * Remember before change works betterBart Visscher2014-04-011-3/+3
| |
* | merge master into webdav-injectionRobin Appelman2014-03-261-0/+20
|\|
| * Return unencrypted_size of folder when queriedVincent Petry2014-03-071-0/+20
| | | | | | | | | | | | This fixes the "used space" to be based on the unencrypted size, not encrypted size, to be consistent with how quota/space is handled when encryption is enabled
* | merge master into webdav-injectionRobin Appelman2014-03-061-2/+2
|\|
| * use assertSame and assertNotSame for etag checksJörn Friedrich Dreyer2014-02-271-2/+2
| |
* | Fix encryption webdav testsRobin Appelman2014-03-052-6/+19
|/
* add test case if a file gets moved out from the shared folderBjoern Schiessle2014-02-242-0/+125
|
* Merge branch 'master' into scrutinizer_documentation_patchesThomas Müller2014-02-182-8/+85
|\ | | | | | | | | Conflicts: lib/private/migration/content.php
| * Merge pull request #7190 from owncloud/appconfig-legacy-appsThomas Müller2014-02-181-6/+6
| |\ | | | | | | Remove usage of legacy OC_Appconfig
| | * Remove usage of legacy OC_AppconfigRobin Appelman2014-02-131-6/+6
| | |
| * | catch errors during decryptionBjoern Schiessle2014-02-171-2/+79
| | |
* | | Merge branch 'master' into scrutinizer_documentation_patchesThomas Müller2014-02-143-14/+14
|\| | | | | | | | | | | | | | Conflicts: lib/private/appconfig.php
| * | fileinfo is no longer a arrayBjoern Schiessle2014-02-141-1/+1
| | |
| * | Merge pull request #6748 from owncloud/fileinfoicewind19912014-02-142-11/+11
| |\ \ | | |/ | |/| Add a FileInfo class which holds all info of a file ...
| | * merge master into fileinfoRobin Appelman2014-01-297-35/+35
| | |\
| | * | remove more is_array from encryptionRobin Appelman2014-01-172-11/+11
| | | |
| * | | name users after testBjoern Schiessle2014-02-071-2/+2
| | | |
* | | | polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-063-2/+6
|/ / /
* | | add function to extract filename from sharekey name + testsBjoern Schiessle2014-02-031-0/+20
| | |
* | | added tests for the delete hooks if the trash bin is disabledBjoern Schiessle2014-02-013-65/+300
| |/ |/|
* | Replaced time() with uniqid() to make sure the file name is uniqueVincent Petry2014-01-217-35/+35
|/ | | | | | | | | The cache isn't cleared properly because unlink() doesn't remove the cache entry which caused side-effects when reusing the same file name (which randomly happens when time() returns the same value) This fix first makes sure the unit tests don't fail any more. The unlink() case with the cache will be investigated separately.
* Merge pull request #6507 from owncloud/enc_fix_getUserBjörn Schießle2013-12-192-0/+43
|\ | | | | [encryption] fix getUser Helper
| * tests addedBjoern Schiessle2013-12-192-0/+43
| |
* | add test for the stream wrapper to read encrypted files from the system ↵Bjoern Schiessle2013-12-181-0/+39
| | | | | | | | folder /tmp
* | test for isEncryptedPath()Bjoern Schiessle2013-12-181-0/+35
|/
* only remove encryption keys if a real file gets deleted, skip this method if ↵Bjoern Schiessle2013-12-161-7/+62
| | | | a file outside of /data/user/files was deleted
* call set password hook because it doesn't get triggered during test ↵Bjoern Schiessle2013-12-161-3/+12
| | | | execution and fix paths
* enable more testsBjoern Schiessle2013-12-041-8/+4
|
* Merge branch 'master' into encryption_enable_public_uploadBjoern Schiessle2013-11-272-3/+3
|\ | | | | | | | | | | | | | | | | Conflicts: apps/files_encryption/lib/helper.php apps/files_encryption/lib/keymanager.php apps/files_encryption/lib/stream.php apps/files_encryption/lib/util.php apps/files_encryption/tests/keymanager.php
| * some small changes according to the review commentsBjoern Schiessle2013-11-272-3/+3
| |
* | public upload now also works with encryption enabledBjoern Schiessle2013-11-211-1/+3
|/
* adapt tests to the new codeBjoern Schiessle2013-11-201-9/+13
|
* Merge pull request #5833 from owncloud/encryption_fixesBjörn Schießle2013-11-151-0/+58
|\ | | | | [encryption] preserve timestamps and etags during encryption/decryption
| * remove debug outputBjoern Schiessle2013-11-141-6/+0
| |
| * test encryptAll() and decryptAll() to make sure that mtime and etag stay the ↵Bjoern Schiessle2013-11-141-0/+64
| | | | | | | | same
* | tests addedBjoern Schiessle2013-11-151-1/+14
|/
* Merge pull request #5447 from owncloud/fixing-5117-masterVincent Petry2013-11-132-17/+54
|\ | | | | No data corruption duriing parallel upload
| * rename fixPartialFilePath() to stripPartialFileExtension(), this name ↵Bjoern Schiessle2013-11-121-6/+6
| | | | | | | | describes better what the method actually does
| * missed some replacements... now tests should workBjoern Schiessle2013-11-121-13/+6
| |
| * fixing tests for the new part file handlingBjoern Schiessle2013-11-122-17/+61
| |
* | files_encryption: Fix getFileSize()Markus Goetz2013-10-231-1/+29
|/ | | | | | | | | For certain file sizes, we rounded to the wrong chunk number and the returned bogus results. This should fix https://github.com/owncloud/mirall/issues/1009 Conflicts: apps/files_encryption/tests/util.php
* fix commentBjoern Schiessle2013-10-151-1/+1
|
* added simple test for getFileSize proxyBjoern Schiessle2013-10-151-216/+106
|
* Merge pull request #4537 from owncloud/no-realpathThomas Müller2013-08-227-75/+75
|\ | | | | Do not use realpath() on includes.
| * Use __DIR__ instead of dirname(__FILE__).Andreas Fischer2013-08-217-75/+75
| | | | | | | | This is possible because we require PHP 5.3 or higher.