| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
misc: Fix some typos
|
| |
| |
| |
| |
| |
| | |
Some of them were found by codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|/ |
|
|
|
|
| |
Add unit testing capabilities for templates
|
|
|
|
|
|
|
|
| |
The hook now calls the share manager that will call the responsible
shareProvider to do the proper cleanup.
* Unit tests added
Again nothing should change it is just to cleanup old code
|
|\
| |
| | |
Remove pre/post_addToGroup hooks for shares
|
| |
| |
| |
| |
| | |
There is no need to perform the checks for unique targets on add to
group as we have to do this all when mounting the shares anyway.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Make lock ttl configurable
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
If we do not allow public upload we should limit the permissions on
links shares upon retrieval.
* Added unit test
* Allow fetching federated shares by token as well
|
|\ \
| |/
|/| |
Migrate post_userDelete hook to share manager
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes the post_userDelete hook call the sharemanager. This will
cleanup to and from this user.
* All shares owned by this user
* All shares with this user (user)
* All custom group shares
* All link share initiated by this user (to avoid invisible link shares)
Unit tests are added for the defaultshare provider as well as the
federated share provider
|
| |
| |
| |
| |
| |
| | |
Fix also a small grammar issue.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|\ \
| | |
| | | |
Drop JS based acceptance tests - we have our behat based integration …
|
| | |
| | |
| | |
| | | |
which are activly maintained
|
|\ \ \
| | | |
| | | | |
Move OC/Core completely to PSR-4
|
| |/ / |
|
|/ / |
|
|/ |
|
|\
| |
| | |
Make sure that the encrypted version is set
|
| |
| |
| |
| |
| |
| |
| |
| | |
The code path called when using external storage with WebDAV is using `\OC\Files\Storage\Wrapper\Encryption::getMetaData` which did not contain the actual encrypted version inside the cache entry version. This lead to the following:
1. User uploaded a file
2. File is created and `\OC\Files\Storage\Wrapper\Encryption::getMetaData` is called. It has an empty `encryptedVersion` but sets `encrypted` to either `true` or `false`.
3. The call when updating the file cache will use the old version.
|
|\ \
| | |
| | |
| | |
| | | |
owncloud/fix_encryption_versions_on_external_storages
fix creation of versions of encrypted files on external storages
|
| |/
| |
| |
| |
| |
| | |
in order to create a 1:1 copy of a file if a version gets created
we need to store this information on copyBetweenStorage(). This
allows us to by-pass the encryption wrapper if we read the source file.
|
| |
| |
| |
| | |
Add some unit tests for setting the internal id and the provider id
|
|/
|
|
|
|
| |
Fixes #23337
We only allow the id to be set once!
|
|\
| |
| | |
only remove avatars from the folder we store them in
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Fixes #23536
The new sharing code is much stricter in checking permissions. However
for non moveable mounts the permissions UPDATE+DELETE are not reported
on the mount point.
This is just a quick fix.
* Updated unit tests
|
|\
| |
| | |
dont die when we cant save the resized avatar, log instead
|
| | |
|
|\ \
| | |
| | | |
Query the cache when checking if a node exists
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove support for old shares in the default share provider
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In 9.0 we converted the old shares to the new shares. So for 9.1 we can
savely remove the fallback code.
This code was required when there was no initiator set.
* Fixed unit tests
|
|\ \ \ \
| |/ / /
|/| | | |
Read available l10n files also from theme folder
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The old behaviour was that only languages could be used for an app
that are already present in the apps/$app/l10n folder. If there is
a themed l10n that is not present in the apps default l10n folder
the language could not be used and the texts are not translated.
With this change this is possible and also the l10n files are
loaded even if the default l10n doesn't contain the l10n file.
|
| | |
| | |
| | |
| | | |
* Fix tests
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case of a move operation from an unencrypted to an encrypted
storage the old encrypted version would stay with "0" while the
correct value would be "1". Thus we manually set the value to "1"
for those cases.
See also https://github.com/owncloud/core/issues/23078
|
|\ \
| | |
| | | |
remove old share propagation entries from appconfig
|
| | | |
|
|\ \ \
| | | |
| | | | |
Prevent certain DBs throwing exceptions on same-value updates
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A PreconditionNotMetException must only be thrown if explicit
preconditions are specified for setValues(), not if the value is merely
the same as was already in the DB.
|
|\ \ \ \
| |/ / /
|/| | | |
Fix several .htaccess and .user.ini related problems
|