Age | Commit message (Collapse) | Author |
|
[stable9] Prevent certain DBs throwing exceptions on same-value updates
|
|
Fixes https://github.com/owncloud/core/issues/23168
|
|
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.
|
|
|
|
|
|
[stable9] Add DAV authenticated also to other scopes
|
|
|
|
[stable 9] Do not check all chunks of a chunked upload if we do not need to
|
|
[9.0] Correctly escape join statements and use selectAlias
|
|
owncloud/backport-23218-memcached-exceptions-on-success
[9.0] Fix errors in memcached implementation
|
|
[stable9] Verify the getResponse returns a ResponseInterface
|
|
[stable9] Use proper URLs for search results
|
|
backport of #23222
|
|
fixes #23197
* Updated unit test
|
|
|
|
Fixes https://github.com/owncloud/core/issues/22893
|
|
Fixes https://github.com/owncloud/core/issues/23136
|
|
[9.0] don't hide server not available exception, fixes #20536
|
|
Can also return `null` as per PHPDoc. Regression added by https://github.com/owncloud/core/commit/97f5c095f4018119e15d7c612a685da1dc91a340
Fixes https://github.com/owncloud/core/issues/23145
|
|
[stable9] Add base rewrite rule only when RewriteBase is defined
|
|
|
|
|
|
The setup uses `\OCP\IRequest::getInsecureServerHost` which in some cases can also include a port. This makes the trusted domain check fail thus.
I've decided to add this here that way because adjusting the setup would require parsing the host properly. This is not something that can be done very good in PHP. Check the following example for why `parse_url` is not our friend: https://3v4l.org/k501Z
|
|
As per https://github.com/owncloud/core/issues/23098 and https://github.com/owncloud/core/issues/23117
|
|
[stable9] Fix call to disk_free_space when a file is provided
|
|
[9.0] Do not set response status in CLI in case of error
|
|
|
|
[stable 9] Select queries in the default share provider should query for file/folder
|
|
|
|
In case Apache is configured with an `Alias` such as with the ownCloud packages the rewrite rules will fail when no valid RewriteBase is configured.
|
|
In the case of shared files, we have to call free_space() on the file
name. This has the side-effect that when uploading to a local storage
without quota set, it will call disk_free_space with the file name,
which fails.
This fix uses the parent folder in case the given path is a file.
|
|
The SabreDAV release in 9.0 requires XMLReader, while this is usually compiled in by default some distributions like Gentoo don't.
Without this ownCloud gives a fatal 500 error instead of telling people to enable XMLReader.
Fixes https://github.com/owncloud/core/issues/23003
|
|
Fixes #22601
Before we did a full test on all chunks to verify if a chunked upload
was completed. This is unneeded since if we are missing one chunk we can
already fail.
Also we look from back to front since it is much more likely that we
find a missing chunk thus can error out early.
|
|
There can be leftover calendar and contacts shares in the oc_share
table. We need to filter those out properly.
|
|
owncloud/backport-22904-group-manager-wrong-return
[9.0] Make sure that the return value is an array
|
|
[stable9] Remove double URL encoding
|
|
|
|
|
|
ZipStreamer as bundled with 9.0 will properly encode the filename already.
Fixes https://github.com/owncloud/core/issues/22836#issuecomment-193336245
|
|
|
|
* fixes #22819
The old way fired a DELETE statement on each destruction of the
DBLockingProvider. Which could cause a lot of queries. It's enough
to run this every 5 minutes in a background job, which in the end
could result in file locks that exists 5 minutes longer - in the
worst case and for not properly released locks.
This makes the DB based locking a lot more performant and could
result in a similar performance to the Redis based locking provider.
|
|
[9.0] allow availability recheck for external storages
|
|
|
|
[stable9] Exclude the assets folder from integrity check
|
|
|
|
|
|
We should not scan the assets folder as this can contain user specific content. Partially addresses https://github.com/owncloud/core/issues/22803
|
|
When calling `\OC\Files\View::copy` we should also keep the version to ensure that the file will always have the correct version attached and can be successfully decrypted.
To test this the following steps are necessary (from https://github.com/owncloud/core/issues/22781#issuecomment-191328982):
1. setup a new ownCloud 9.0 beta2
2. enable encryption
2. upload a docx (5.7MB large)
3. upload the same file again and overwrite the existing file
4. I can download the original file and the first version
5. I restore the first version
6. restored version can no longer be downloaded with the error described above
The manual cache operation in `\OCA\Files_Versions\Storage` is unfortunately necessary since `\OCA\Files_Versions\Storage::copyFileContents` is not using `\OCP\Files\Storage::moveFromStorage` in the case when an object storage is used. Due to the workaround added in https://github.com/owncloud/core/commit/54cea05271b887f1c8062c034741df869bc0f055 the stream is directly copied and thus bypassing the FS.
|
|
Update copyright information and author file
|
|
|