| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| | | |
| | | | |
Add mount option to disable sharing
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Block shares that dont have the correct source permissions
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Comments WebDAV adjustements
|
| | | | | |
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Share hook expirationdate
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Make enable_avatars setting more robust
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* handles the setting in the same way everywhere
* fixes #21949
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add public API to give developers the possibility to adjust the global CSP defaults
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
defaults
Allows to inject something into the default content policy. This is for
example useful when you're injecting Javascript code into a view belonging
to another controller and cannot modify its Content-Security-Policy itself.
Note that the adjustment is only applied to applications that use AppFramework
controllers.
To use this from your `app.php` use `\OC::$server->getContentSecurityPolicyManager()->addDefaultPolicy($policy)`,
$policy has to be of type `\OCP\AppFramework\Http\ContentSecurityPolicy`.
To test this add something like the following into an `app.php` of any enabled app:
```
$manager = \OC::$server->getContentSecurityPolicyManager();
$policy = new \OCP\AppFramework\Http\ContentSecurityPolicy(false);
$policy->addAllowedFrameDomain('asdf');
$policy->addAllowedScriptDomain('yolo.com');
$policy->allowInlineScript(false);
$manager->addDefaultPolicy($policy);
$policy = new \OCP\AppFramework\Http\ContentSecurityPolicy(false);
$policy->addAllowedFontDomain('yolo.com');
$manager->addDefaultPolicy($policy);
$policy = new \OCP\AppFramework\Http\ContentSecurityPolicy(false);
$policy->addAllowedFrameDomain('banana.com');
$manager->addDefaultPolicy($policy);
```
If you now open the files app the policy should be:
```
Content-Security-Policy:default-src 'none';script-src yolo.com 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src yolo.com 'self';connect-src 'self';media-src 'self';frame-src asdf banana.com 'self'
```
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Add path filter to OCS Share API shared_with_me=true
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
This allows all clients to quickly get the share info for a given path.
Instead of returning everything and filtering it then manually on the
client side.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Add fallback moveFromCache implementation
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
[Share 2.0] When deleting a group share delete children
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
For group shares we can have children. Those are custom shares when a
user has moved or deleted a group share. Those also have to be deleted
if the group share is removed.
|
|/ / / |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
add IUserMountCache->getMountsForFileId
|
| | | | |
|
| |/ / |
|
| | |
| | |
| | |
| | | |
Those should only ever be set by the providers
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Made comments more clear
* Removed unneeded methods
* IShares shareTime is now a proper DateTime object
* IShares getPath -> getNode & setPath -> setNode
* Fix unit tests
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
ownCloud might not yet be setup. This causes an issue as the user config requires a setup ownCloud. Thus this needs a block whether ownCloud is installed or not.
Fixes https://github.com/owncloud/core/issues/21955
|
|\ \ \
| | | |
| | | | |
Fix errors after install
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When installing ownCloud the first time the first thing that an admin saw was an error message:
> Error PHP touch(): Unable to create file owncloud.log because Permission denied at /var/www/owncloud/lib/private/log/owncloud.php#48
Or something related. This lead to a lot confusion as can be seen in our forum and in our issue tracker. This change should make the error messages disappear in most cases (e.g. where the file can actually be written). To test this:
1. On master install ownCloud and check owncloud.log => Error message
2. On this branch install ownCloud and check owncloud.log => No error message
Fixes https://github.com/owncloud/core/issues/13736 and https://github.com/owncloud/core/issues/12893
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
owncloud/share2_do_not_returned_removed_group_shares
[Share 2.0] Properly handle user deleted group shares
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a user deletes a group share we create a special share entry. To the
API this is just a normal group share for that user with permissions 0.
But we should not return this.
|
| | | |
| | | |
| | | |
| | | | |
message
|
|\ \ \ \
| | | | |
| | | | | |
Move methods to the factory that are not related to translating, but to guessing/finding the language
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[Sharing 2.0] update share
|