]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
9 years agoadding user setup test and adding 4 tests to keymanager
Clark Tomlinson [Mon, 6 Apr 2015 19:08:09 +0000 (15:08 -0400)]
adding user setup test and adding 4 tests to keymanager

9 years agoadding recoverFileTest
Clark Tomlinson [Mon, 6 Apr 2015 15:49:18 +0000 (11:49 -0400)]
adding recoverFileTest

9 years agoadding recovery tests
Clark Tomlinson [Fri, 3 Apr 2015 15:37:54 +0000 (11:37 -0400)]
adding recovery tests

9 years agofixing unit test execution - test dummy module was behaving wrong
Thomas Müller [Fri, 3 Apr 2015 09:42:25 +0000 (11:42 +0200)]
fixing unit test execution - test dummy module was behaving wrong

9 years agofixing unit test execution
Thomas Müller [Thu, 2 Apr 2015 16:12:20 +0000 (18:12 +0200)]
fixing unit test execution

9 years agoPHPDoc cleanup - clean code \o/
Thomas Müller [Thu, 2 Apr 2015 15:53:40 +0000 (17:53 +0200)]
PHPDoc cleanup - clean code \o/

9 years agouserRecovery() was replaced by setRecoveryForUser()
Bjoern Schiessle [Thu, 2 Apr 2015 15:36:51 +0000 (17:36 +0200)]
userRecovery() was replaced by setRecoveryForUser()

9 years agocomment change as it broke unit tests
Thomas Müller [Thu, 2 Apr 2015 15:21:47 +0000 (17:21 +0200)]
comment change as it broke unit tests

9 years agoEncryption storage wrapper is enabled by default - necessary to detect encrypted...
Thomas Müller [Thu, 2 Apr 2015 15:16:27 +0000 (17:16 +0200)]
Encryption storage wrapper is enabled by default - necessary to detect encrypted files even if encryption was disabled after files have been encrypted - prevents data corruption

9 years agofix versions tests
Bjoern Schiessle [Thu, 2 Apr 2015 14:53:38 +0000 (16:53 +0200)]
fix versions tests

9 years agoadd unit tests to the keystorage
Bjoern Schiessle [Thu, 2 Apr 2015 14:42:28 +0000 (16:42 +0200)]
add unit tests to the keystorage

9 years agoimplement webdav copy
Bjoern Schiessle [Thu, 2 Apr 2015 14:25:01 +0000 (16:25 +0200)]
implement webdav copy

9 years agoUsing stream_get_contents in file_get_contents implementation + close handle
Thomas Müller [Thu, 2 Apr 2015 14:18:10 +0000 (16:18 +0200)]
Using stream_get_contents in file_get_contents implementation + close handle

9 years agoAdjusting count on read
jknockaert [Thu, 2 Apr 2015 14:17:25 +0000 (16:17 +0200)]
Adjusting count on read

9 years agoProperly set size and unencrypted size in the stream unit tests
Thomas Müller [Thu, 2 Apr 2015 14:16:06 +0000 (16:16 +0200)]
Properly set size and unencrypted size in the stream unit tests

9 years agoremove unused code
Bjoern Schiessle [Thu, 2 Apr 2015 13:30:02 +0000 (15:30 +0200)]
remove unused code

9 years agofix versions download and previews
Bjoern Schiessle [Thu, 2 Apr 2015 13:29:10 +0000 (15:29 +0200)]
fix versions download and previews

9 years agoAdding unit test for read and write of big file
Thomas Müller [Thu, 2 Apr 2015 13:19:09 +0000 (15:19 +0200)]
Adding unit test for read and write of big file

9 years agoFixing encryption stream wrapper seek - thanks @jknockaert
jknockaert [Thu, 2 Apr 2015 12:52:54 +0000 (14:52 +0200)]
Fixing encryption stream wrapper seek - thanks  @jknockaert

9 years agoFixing encryption storage wrapper tests
Thomas Müller [Thu, 2 Apr 2015 12:44:58 +0000 (14:44 +0200)]
Fixing encryption storage wrapper tests

9 years agoIntroducing trait LocalTempFileTrait
Thomas Müller [Thu, 2 Apr 2015 12:44:25 +0000 (14:44 +0200)]
Introducing trait LocalTempFileTrait

9 years agoreset init status before login
Bjoern Schiessle [Thu, 2 Apr 2015 11:28:18 +0000 (13:28 +0200)]
reset init status before login

9 years agocleanup
Thomas Müller [Thu, 2 Apr 2015 11:12:05 +0000 (13:12 +0200)]
cleanup

9 years agofixing unit tests for encryption stream wrapper seek
Thomas Müller [Thu, 2 Apr 2015 10:48:41 +0000 (12:48 +0200)]
fixing unit tests for encryption stream wrapper seek

9 years agofix re-shares with encryption
Bjoern Schiessle [Thu, 2 Apr 2015 10:03:37 +0000 (12:03 +0200)]
fix re-shares with encryption

9 years agostore init status per user
Bjoern Schiessle [Thu, 2 Apr 2015 10:02:32 +0000 (12:02 +0200)]
store init status per user

9 years agouse loginHelper from base class
Bjoern Schiessle [Thu, 2 Apr 2015 09:08:02 +0000 (11:08 +0200)]
use loginHelper from base class

9 years agofixing unit tests for stream wrapper
Thomas Müller [Thu, 2 Apr 2015 09:07:07 +0000 (11:07 +0200)]
fixing unit tests for stream wrapper

9 years agoreset storage for each unit test
Bjoern Schiessle [Thu, 2 Apr 2015 08:54:51 +0000 (10:54 +0200)]
reset storage for each unit test

9 years agofixing unit test execution
Thomas Müller [Thu, 2 Apr 2015 08:26:40 +0000 (10:26 +0200)]
fixing unit test execution

9 years agoadding util test and reducing keymanager instances to one in test
Clark Tomlinson [Wed, 1 Apr 2015 17:07:54 +0000 (13:07 -0400)]
adding util test and reducing keymanager instances to one in test

9 years agoadd more descriptive message to the exception, will be displayed to the user
Bjoern Schiessle [Wed, 1 Apr 2015 15:46:33 +0000 (17:46 +0200)]
add more descriptive message to the exception, will be displayed to the user

9 years agoremove encryption specific code from files app
Bjoern Schiessle [Wed, 1 Apr 2015 15:46:09 +0000 (17:46 +0200)]
remove encryption specific code from files app

9 years agofixing unencrypted file size
Thomas Müller [Wed, 1 Apr 2015 15:42:56 +0000 (17:42 +0200)]
fixing unencrypted file size

9 years agodon't wrap share storages
Bjoern Schiessle [Wed, 1 Apr 2015 15:22:29 +0000 (17:22 +0200)]
don't wrap share storages

9 years agoadd priority to trashbin storage wrapper so that he is always on top
Bjoern Schiessle [Wed, 1 Apr 2015 15:22:04 +0000 (17:22 +0200)]
add priority to trashbin storage wrapper so that he is always on top

9 years agocleaning up exception mess
Thomas Müller [Wed, 1 Apr 2015 14:36:08 +0000 (16:36 +0200)]
cleaning up exception mess

9 years agoin case the file exists we require the explicit module as specified in the file heade...
Thomas Müller [Wed, 1 Apr 2015 14:35:46 +0000 (16:35 +0200)]
in case the file exists we require the explicit module as specified in the file header - otherwise we need to fail hard to prevent data loss on client side

9 years agowork arround to make sure that shares are initialized only once
Bjoern Schiessle [Wed, 1 Apr 2015 14:12:49 +0000 (16:12 +0200)]
work arround to make sure that shares are initialized only once

9 years agoSet human readable module ids
Thomas Müller [Wed, 1 Apr 2015 13:42:08 +0000 (15:42 +0200)]
Set human readable module ids

9 years agoFix shouldEncrypt and don't throw exception id fileKey not present - can happen
Thomas Müller [Wed, 1 Apr 2015 13:41:31 +0000 (15:41 +0200)]
Fix shouldEncrypt and don't throw exception id fileKey not present - can happen

9 years agomake recovery key work
Bjoern Schiessle [Wed, 1 Apr 2015 12:24:56 +0000 (14:24 +0200)]
make recovery key work

9 years agogetUidAndFilename() always get uid from path
Bjoern Schiessle [Wed, 1 Apr 2015 12:24:42 +0000 (14:24 +0200)]
getUidAndFilename() always get uid from path

9 years agoFinally fixing encryption with public share
Thomas Müller [Wed, 1 Apr 2015 11:59:29 +0000 (13:59 +0200)]
Finally fixing encryption with public share

9 years agoonly encrypt files and files_versions
Thomas Müller [Wed, 1 Apr 2015 11:58:50 +0000 (13:58 +0200)]
only encrypt files and files_versions

9 years agofix exception handling
Thomas Müller [Wed, 1 Apr 2015 11:58:23 +0000 (13:58 +0200)]
fix exception handling

9 years agoHook: fixing error message in exception case
Thomas Müller [Wed, 1 Apr 2015 10:35:42 +0000 (12:35 +0200)]
Hook: fixing error message in exception case

9 years agofile_put_contents has to return the number of written bytes
Thomas Müller [Wed, 1 Apr 2015 10:35:12 +0000 (12:35 +0200)]
file_put_contents has to return the number of written bytes

9 years agoPHPDoc
Thomas Müller [Wed, 1 Apr 2015 10:31:28 +0000 (12:31 +0200)]
PHPDoc

9 years agopass file helper to encryption wrapper
Bjoern Schiessle [Wed, 1 Apr 2015 08:37:48 +0000 (10:37 +0200)]
pass file helper to encryption wrapper

9 years agofix hook registration
Bjoern Schiessle [Wed, 1 Apr 2015 08:19:07 +0000 (10:19 +0200)]
fix hook registration

9 years agoremove useless setup base class
Clark Tomlinson [Tue, 31 Mar 2015 18:50:58 +0000 (14:50 -0400)]
remove useless setup base class

9 years agoadding hook manager test
Clark Tomlinson [Tue, 31 Mar 2015 18:50:23 +0000 (14:50 -0400)]
adding hook manager test

9 years agokeyManagerTest: remove code which is no longer needed
Bjoern Schiessle [Tue, 31 Mar 2015 18:32:50 +0000 (20:32 +0200)]
keyManagerTest: remove code which is no longer needed

9 years agocleanup keymanager test and add some additional tests
Bjoern Schiessle [Tue, 31 Mar 2015 18:30:54 +0000 (20:30 +0200)]
cleanup keymanager test and add some additional tests

9 years agodelete recovery keys on disable
Bjoern Schiessle [Tue, 31 Mar 2015 17:24:52 +0000 (19:24 +0200)]
delete recovery keys on disable

9 years agofixing test helper and undoing fubar in class...
Clark Tomlinson [Tue, 31 Mar 2015 16:21:30 +0000 (12:21 -0400)]
fixing test helper and undoing fubar in class...

9 years ago:100:% coverage for session class
Clark Tomlinson [Tue, 31 Mar 2015 16:17:01 +0000 (12:17 -0400)]
:100:% coverage for session class

9 years agolet user enable recovery key
Bjoern Schiessle [Tue, 31 Mar 2015 15:13:36 +0000 (17:13 +0200)]
let user enable recovery key

9 years agoadd helper class accessible for encryption modules to ask for a list of users with...
Bjoern Schiessle [Tue, 31 Mar 2015 14:23:31 +0000 (16:23 +0200)]
add helper class accessible for encryption modules to ask for a list of users with access to a file, needed to apply the recovery key to all files

9 years agoAdding app icon and fixing admin setting
Thomas Müller [Tue, 31 Mar 2015 12:50:31 +0000 (14:50 +0200)]
Adding app icon and fixing admin setting

9 years agoregister settings and hooks only once
Bjoern Schiessle [Tue, 31 Mar 2015 12:26:38 +0000 (14:26 +0200)]
register settings and hooks only once

9 years agofix set recovery key and implement change password
Bjoern Schiessle [Tue, 31 Mar 2015 11:48:03 +0000 (13:48 +0200)]
fix set recovery key and implement change password

9 years agoFix double registration of encryption module
Thomas Müller [Tue, 31 Mar 2015 11:48:27 +0000 (13:48 +0200)]
Fix double registration of encryption module

9 years agoAdding renameKeys to IStorage
Thomas Müller [Tue, 31 Mar 2015 11:25:35 +0000 (13:25 +0200)]
Adding renameKeys to IStorage

9 years agoSetting up the encryption wrapper in a setup hook - temporarily fixes the wrapping...
Thomas Müller [Tue, 31 Mar 2015 11:25:11 +0000 (13:25 +0200)]
Setting up the encryption wrapper in a setup hook - temporarily fixes the wrapping order

9 years agoRemove old encryption left overs from trashbin
Thomas Müller [Tue, 31 Mar 2015 10:11:46 +0000 (12:11 +0200)]
Remove old encryption left overs from trashbin

9 years agoFix settings
Thomas Müller [Tue, 31 Mar 2015 10:06:36 +0000 (12:06 +0200)]
Fix settings

9 years agoRemoving left overs from old encryption app
Thomas Müller [Tue, 31 Mar 2015 09:50:53 +0000 (11:50 +0200)]
Removing left overs from old encryption app

9 years agoadding function getSecureRandom(); to IServerContainer
Thomas Müller [Tue, 31 Mar 2015 09:13:46 +0000 (11:13 +0200)]
adding function getSecureRandom(); to IServerContainer

9 years agouse password change logic to userhooks to avoid recursions
Bjoern Schiessle [Tue, 31 Mar 2015 10:01:51 +0000 (12:01 +0200)]
use password change logic to userhooks to avoid recursions

9 years agoadd session class to handle all session operations
Bjoern Schiessle [Tue, 31 Mar 2015 09:15:47 +0000 (11:15 +0200)]
add session class to handle all session operations

9 years agoupdate unit tests after ctor signature change of \OC\Encryption\Util
Thomas Müller [Mon, 30 Mar 2015 21:19:35 +0000 (23:19 +0200)]
update unit tests after ctor signature change of \OC\Encryption\Util

9 years agomoving methods to their final places
Clark Tomlinson [Mon, 30 Mar 2015 21:01:50 +0000 (17:01 -0400)]
moving methods to their final places

and updating test some.

9 years agokill OC_FileProxy :boom:
Thomas Müller [Mon, 30 Mar 2015 20:45:58 +0000 (22:45 +0200)]
kill OC_FileProxy :boom:

9 years agoFurther cleanup of files_encryption
Thomas Müller [Mon, 30 Mar 2015 20:36:48 +0000 (22:36 +0200)]
Further cleanup of files_encryption

9 years agoRemoving files_encryption left overs
Thomas Müller [Mon, 30 Mar 2015 20:10:04 +0000 (22:10 +0200)]
Removing files_encryption left overs

9 years agoFix - public sharing: in case on user is available - get it from the path
Thomas Müller [Mon, 30 Mar 2015 19:44:28 +0000 (21:44 +0200)]
Fix - public sharing: in case on user is available - get it from the path

9 years agoremove old encryption app
Bjoern Schiessle [Mon, 30 Mar 2015 15:29:07 +0000 (17:29 +0200)]
remove old encryption app

9 years agoremove unencrypted_size from the cache, size will contain the unencrypted size
Bjoern Schiessle [Mon, 30 Mar 2015 15:29:05 +0000 (17:29 +0200)]
remove unencrypted_size from the cache, size will contain the unencrypted size

9 years agoinitializing some variables + update size after writing the headers
Thomas Müller [Mon, 30 Mar 2015 15:13:42 +0000 (17:13 +0200)]
initializing some variables + update size after writing the headers

9 years agohttps://github.com/owncloud/core/pull/15305#discussion_r27382305
Thomas Müller [Mon, 30 Mar 2015 11:36:56 +0000 (13:36 +0200)]
https://github.com/owncloud/core/pull/15305#discussion_r27382305

Conflicts:
lib/private/files/stream/encryption.php

9 years agoinitializing some variables
Thomas Müller [Mon, 30 Mar 2015 14:24:03 +0000 (16:24 +0200)]
initializing some variables

9 years agocall end() before closing the file
Bjoern Schiessle [Mon, 30 Mar 2015 14:07:41 +0000 (16:07 +0200)]
call end() before closing the file

9 years agoadding unit tests for stream wrapper
Thomas Müller [Mon, 30 Mar 2015 11:59:48 +0000 (13:59 +0200)]
adding unit tests for stream wrapper

9 years agovarious fixes & start to unit test the encryption storage wrapper
Thomas Müller [Mon, 30 Mar 2015 11:23:10 +0000 (13:23 +0200)]
various fixes & start to unit test the encryption storage wrapper

9 years agoApplying diff as of https://github.com/owncloud/core/pull/15303
jknockaert [Mon, 30 Mar 2015 10:21:59 +0000 (12:21 +0200)]
Applying diff as of https://github.com/owncloud/core/pull/15303

9 years agomake recovery settings work
Bjoern Schiessle [Mon, 30 Mar 2015 09:49:03 +0000 (11:49 +0200)]
make recovery settings work

9 years agofix unit test execution
Thomas Müller [Mon, 30 Mar 2015 09:01:06 +0000 (11:01 +0200)]
fix unit test execution

9 years agofix parameter declaration and class initialisation
Bjoern Schiessle [Mon, 30 Mar 2015 08:43:37 +0000 (10:43 +0200)]
fix parameter declaration and class initialisation

9 years agofix lib/private/encryption/util.php call
Bjoern Schiessle [Mon, 30 Mar 2015 08:37:31 +0000 (10:37 +0200)]
fix lib/private/encryption/util.php call

9 years agofix unit test execution, variable naming and kill no longer used $cacheFactory
Thomas Müller [Mon, 30 Mar 2015 07:59:28 +0000 (09:59 +0200)]
fix unit test execution, variable naming and kill no longer used $cacheFactory

9 years agoremove debug code from core
Bjoern Schiessle [Sat, 28 Mar 2015 10:27:21 +0000 (11:27 +0100)]
remove debug code from core

9 years agocheck if recovery key exists and encrypt the file with the recovery key if needed
Bjoern Schiessle [Sat, 28 Mar 2015 10:02:26 +0000 (11:02 +0100)]
check if recovery key exists and encrypt the file with the recovery key if needed

9 years agoadd public link share key to file if it was shared as public link
Bjoern Schiessle [Fri, 27 Mar 2015 17:10:32 +0000 (18:10 +0100)]
add public link share key to file if it was shared as public link

9 years agoadd setting templates
Bjoern Schiessle [Fri, 27 Mar 2015 14:01:46 +0000 (15:01 +0100)]
add setting templates

9 years agomake sharing and unsharing work
Bjoern Schiessle [Fri, 27 Mar 2015 10:43:02 +0000 (11:43 +0100)]
make sharing and unsharing work

9 years agoComment duplicate test methods
Thomas Müller [Fri, 27 Mar 2015 09:07:59 +0000 (10:07 +0100)]
Comment duplicate test methods

9 years agocleanup and removing cachefactory
Clark Tomlinson [Fri, 27 Mar 2015 00:35:36 +0000 (20:35 -0400)]
cleanup and removing cachefactory

9 years agoread encrypted files
Bjoern Schiessle [Thu, 26 Mar 2015 13:13:39 +0000 (14:13 +0100)]
read encrypted files