| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The encryption webdav tests are too broad and do not qualify as unit
test. Also, since the sabre upgrade they are not fixable.
The matching functionality is already tested in other classes on a
smaller scale.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- VObject fixes for Sabre\VObject 3.3
- Remove VObject property workarounds
- Added prefetching for tags in sabre tags plugin
- Moved oc_properties logic to separate PropertyStorage backend (WIP)
- Fixed Sabre connector namespaces
- Improved files plugin to handle props on-demand
- Moved allowed props from server class to files plugin
- Fixed tags caching for files that are known to have no tags
(less queries)
- Added/fixed unit tests for Sabre FilesPlugin, TagsPlugin
- Replace OC\Connector\Sabre\Request with direct call to
httpRequest->setUrl()
- Fix exception detection in DAV client when using Sabre\DAV\Client
- Added setETag() on Node instead of using the static FileSystem
- Also preload tags/props when depth is infinity
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are a lot of clients that support multiple WebDAV accounts in the same application. However, they resent all the cookies they received from one of the accounts also to the other one. In the case of ownCloud this means that we will always show the user from the session and not the user that is specified in the basic authentication header.
This patch adds a workaround the following way:
1. If the user authenticates via the Sabre Auth Connector add a hint to the session that this was authorized via Basic Auth (this is to prevent logout CSRF)
2. If the request contains this hint and the username specified in the basic auth header differs from the one in the session relogin the user using basic auth
Fixes https://github.com/owncloud/core/issues/11400 and https://github.com/owncloud/core/issues/13245 and probably some other issues as well.
This requires proper testing also considering LDAP / Shibboleth and whatever instances.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
all keys are now in files_encryption/key/path_to_file/filename/
share keys are named: user.shareKey
file key is named: fileKey
|
| |
|
|
|
|
| |
take care of this
|
| |
|
| |
|
| |
|
|
|
|
| |
Updating SabreDAV namespaces
|
| |
|
|
|
|
| |
* test case added to avoid adding them later
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Do not use realpath() on includes.
|
| |
| |
| |
| | |
This is possible because we require PHP 5.3 or higher.
|
| |
| |
| |
| |
| |
| |
| | |
If the file does not exist, realpath() returns false and "include false;"
produces "Failed opening '' for inclusion" which is a useless error message.
'include' works just fine with symlinks, "./" and "../".
|
|\ \
| | |
| | | |
Enable user to decrypt files again after encryption app was disabled
|
| |/ |
|
|/ |
|
|\
| |
| |
| |
| | |
Conflicts:
apps/files_encryption/hooks/hooks.php
|
| | |
|
|/ |
|
|
|
|
| |
reformat code to meet coding guidelines
|
|
|
|
|
|
| |
- fixed testPermanentDeleteFile sometimes failed
- speed optimization
- reformat code
|
|
|