aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * fix typo in commentBjoern Schiessle2013-11-251-1/+1
| | |
| * | Merge branch 'encryption_work_with_public_gallery' into ↵Bjoern Schiessle2013-11-211-4/+10
| |\ \ | | | | | | | | | | | | encryption_enable_public_upload
| | * | check HTTP Referer to check if we come from public.php or from a internal page.Bjoern Schiessle2013-11-211-4/+10
| | |/ | | | | | | | | | Necessary to detect public access also if a user is logged in.
| * | Merge branch 'encryption_work_with_public_gallery' into ↵Bjoern Schiessle2013-11-211-1/+1
| |\| | | | | | | | | | encryption_enable_public_upload
| | * fix getFileKey() callBjoern Schiessle2013-11-211-1/+1
| | |
| * | Merge branch 'encryption_work_with_public_gallery' into ↵Bjoern Schiessle2013-11-214-13/+15
| |\| | | | | | | | | | encryption_enable_public_upload
| | * Merge branch 'master' into encryption_work_with_public_galleryBjoern Schiessle2013-11-214-13/+15
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: apps/files_encryption/lib/keymanager.php apps/files_encryption/lib/stream.php apps/files_encryption/lib/util.php apps/files_encryption/tests/crypt.php
| * | | Merge branch 'encryption_work_with_public_gallery' into ↵Bjoern Schiessle2013-11-212-29/+34
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | encryption_enable_public_upload Conflicts: apps/files_encryption/lib/stream.php
| | * | better distinction between userID and keyIdBjoern Schiessle2013-11-212-28/+32
| | | |
| * | | public upload now also works with encryption enabledBjoern Schiessle2013-11-214-22/+17
| |/ /
| * | make sure that we always use the correct user idBjoern Schiessle2013-11-203-11/+21
| | |
| * | fix some getShareKey() and getFileKey() callsBjoern Schiessle2013-11-201-3/+3
| | |
| * | [wip] make encryption work with public gallery sharingBjoern Schiessle2013-11-205-56/+65
| | |
* | | with the latest changes in master $this-userID is always the correct ID, so ↵Bjoern Schiessle2013-11-271-24/+20
| | | | | | | | | | | | we no longer need the extra parameter
* | | fix typo in var nameBjoern Schiessle2013-11-261-1/+1
| | |
* | | show a message at the log-in screen if inital encryption take placeBjoern Schiessle2013-11-251-5/+11
| |/ |/|
* | Merge pull request #5967 from owncloud/encryption-extstorage-fixsizeresetVincent Petry2013-11-202-1/+5
|\ \ | | | | | | Fix for extstorage + encryption where unencrypted size is not kept
| * | Fix for extstorage + encryption where unencrypted size is not keptVincent Petry2013-11-202-1/+5
| |/ | | | | | | | | | | | | Fix for external storage with encryption where the unencrypted size is first written in the DB, then set back to zero, causing performance issue because the file needs to be reopened every time to find out the unencrypted size (and potentially needs a full redownload)
* | check if it is a cached file or a version to resolve the correct path to the ↵Bjoern Schiessle2013-11-201-1/+5
| | | | | | | | file key
* | only check if the key file exists to decide if it is an encrypted file or not.Bjoern Schiessle2013-11-203-18/+10
|/ | | | This solves problems with external storage which doesn't support fseek
* make sure that the owners home is mounted correctlyBjoern Schiessle2013-11-191-0/+4
|
* Merge pull request #5908 from owncloud/fix_errorpage_callVincent Petry2013-11-181-1/+1
|\ | | | | [encryption] fix redirectToErrorPage() call
| * call error page with session as parameterBjoern Schiessle2013-11-171-1/+1
| |
* | Merge pull request #5833 from owncloud/encryption_fixesBjörn Schießle2013-11-152-22/+25
|\ \ | | | | | | [encryption] preserve timestamps and etags during encryption/decryption
| * | Merge branch 'master' into encryption_fixesBjoern Schiessle2013-11-134-55/+53
| |\|
| * | fixPartialFilePath() is now stripPartialFileExtension()Bjoern Schiessle2013-11-121-1/+1
| | |
| * | only update file cache if the file is already indexed to avoid that we ↵Bjoern Schiessle2013-11-121-11/+14
| | | | | | | | | | | | create a incomplete file cache entry
| * | make sure that we keep the correct timestamp and etag after ↵Bjoern Schiessle2013-11-121-11/+11
| | | | | | | | | | | | encryoption/decryption
* | | instead of writing etmp files we write the dummy file to data/user/cache to ↵Bjoern Schiessle2013-11-143-15/+50
| |/ |/| | | | | avoid that etmp files show up in the users files list
* | Merge pull request #5447 from owncloud/fixing-5117-masterVincent Petry2013-11-134-55/+53
|\ \ | |/ |/| No data corruption duriing parallel upload
| * rename fixPartialFilePath() to stripPartialFileExtension(), this name ↵Bjoern Schiessle2013-11-123-6/+6
| | | | | | | | describes better what the method actually does
| * fixing tests for the new part file handlingBjoern Schiessle2013-11-123-25/+25
| |
| * let encryption app detect transfer id in path and handle it correctlyBjoern Schiessle2013-11-113-36/+34
| |
* | Fixed encryption migration when entry is missing in DBVincent Petry2013-10-251-1/+12
| | | | | | | | | | | | | | | | | | | | When resetting the DB and some users still have encrypted files, the migration state isn't read properly becaue the migration entries are missing. This causes the wrong file size to be returned. This fix inserts the missing migration entry when this condition is met. Fixes #5541
* | files_encryption: Fix getFileSize()Markus Goetz2013-10-231-2/+9
| | | | | | | | | | | | | | | | | | 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
* | set the init status to "NOT_INITIALIZED" if the encryption app gets enabledBjoern Schiessle2013-10-222-1/+2
|/
* Merge pull request #5329 from owncloud/enc_fix_unencrypted_sizeBjörn Schießle2013-10-161-2/+19
|\ | | | | try to fix unencrypted file size if it doesn't look plausible
| * revert last changesBjoern Schiessle2013-10-161-3/+1
| |
| * added another test, if unencrypted size and encrypted size are equal we can ↵Bjoern Schiessle2013-10-151-1/+3
| | | | | | | | also assume that something is wrong
| * fix array keyBjoern Schiessle2013-10-141-1/+1
| |
| * try to fix unencrypted file size if it doesn't look plausibleBjoern Schiessle2013-10-141-2/+19
| |
* | check if we are writing to user/files, otherwise skip encryptionBjoern Schiessle2013-10-141-1/+2
|/
* block file access if share keys are missingBjoern Schiessle2013-10-113-13/+35
|
* don't cache if the encryption is enabled, this can lead to problems during ↵Bjoern Schiessle2013-10-101-27/+1
| | | | unit testing
* only encrypt file to users with encryption keysBjoern Schiessle2013-10-091-1/+2
|
* Merge pull request #4877 from owncloud/ocs_share_apiBjörn Schießle2013-10-041-1/+1
|\ | | | | OCS Share API
| * check if encryption app is enabled before trying to calculate file sizeBjoern Schiessle2013-09-261-1/+1
| |
* | Merge branch 'master' into encryption_improved_error_messages_4617Bjoern Schiessle2013-09-302-5/+7
|\|
| * fix check if app is enabledBjoern Schiessle2013-09-251-4/+3
| |
| * check if key exists before reading itBjoern Schiessle2013-09-251-1/+4
| |