| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes https://github.com/owncloud/core/issues/23136
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
backport of #23222
|
| | |_|_|_|/ /
| |/| | | | | |
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fixes #23197
* Updated unit test
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
[9.0] don't hide server not available exception, fixes #20536
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[stable9] Add base rewrite rule only when RewriteBase is defined
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
As per https://github.com/owncloud/core/issues/23098 and https://github.com/owncloud/core/issues/23117
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
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.
|
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | | |
[stable9] Fix call to disk_free_space when a file is provided
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |_|_|/
|/| | | |
[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
|
| |/ /
| | |
| | |
| | |
| | | |
There can be leftover calendar and contacts shares in the oc_share
table. We need to filter those out properly.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | | |
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
|
| | |
|
| | |
|
| |
| |
| |
| | |
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
|
|/
|
|
|
|
|
|
|
|
|
|
| |
We should not scan any custom data directory in the integrity checker as well. Otherwise this would lead to a massive increased update time that may likely exceed the timeout.
To test this:
1. Install ownCloud 8.2.2, set as data dir another folder than `data` such as `data-asdf`. Make sure that folder lives in the web root as well.
2. Update that instance to 9.0.0 beta2 => Errors are shown in the code integrity check
3. Apply this patch and trigger the rescan in the admin settings => No errors are shown anymore (can also do a new update with that patch applied)
Fixes https://github.com/owncloud/core/issues/22698
|
|\
| |
| | |
Add autodiscovery support to server-to-server sharing implementation
|
| |
| |
| |
| | |
Adds autodiscovery support to server-to-server sharing as specified in the specification. If no discovery data is found it is using the fallback ownCloud endpoints for legacy support.
|
|\ \
| | |
| | | |
Disable app that bricks the server after enabling
|
| | |
| | |
| | |
| | |
| | |
| | | |
If an app is getting enabled in the web UI, an ajax call is now made to
make sure the server still works. If it doesn't, it sends an emergency
app disabling call to disable the breaking app.
|
|\ \ \
| | | |
| | | | |
Don't return quota when none set
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Returns -3 for unlimited quota in Webdav response.
Also adjusted personal page to show unlimited quota when set.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
owncloud/allow-to-overwrite-single-l10n-string-via-theme
Allow to overwrite a single language string via the theme folder
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
fix size propagation for new files
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
ignore encryption keys for propagation
|
| |/ / / |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Use IQueryBuilder::PARAM_* instead of \PDO::PARAM_*
|