| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* 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
|
| |/ |
|
|/
|
|
|
|
| |
fixes #23197
* Updated unit test
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
* Unit tests for OC_Filechunking to verify the isComplete function
* Intergration tests to show that shuffling chunks is all fine
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| | |
Relax rootfolder check
|
| |
| |
| |
| |
| | |
* Updated unit tests
* Added intergration test
|
|/
|
|
|
|
| |
If the default expiration date is not enebaled it can not be enforced.
* Added unit tests
|
|\
| |
| | |
Do not allow sharing of the users root folder
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sharing of the users root folder should not be allowed as it is very
weird UX. Also many of our clients have no proper way of displaying
this.
Added unit test
Also added intergration tests to make sure we won't allow it in the
future.
|
|\ \
| | |
| | | |
Set default expiration date if none given on share creation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When we create a share for the first time we should set the default
expiration date. If none is given.
Fixes #22642
|
|\ \ \
| |_|/
|/| | |
Fix verifyExpirationDate passwordSet argument
|
| |/
| |
| |
| |
| |
| | |
Password set should be false if the password is null.
Also updated the unit tests to tests this now.
|
|\ \
| |/
|/| |
Heal unencrypted file sizes at download time (second approach)
|
| |
| |
| |
| | |
not correct
|
|\ \
| | |
| | | |
Make sure we can store strings as per the interface
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
When (re-)sharing an incomming federated share set the corrent owner
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Incomming federated shares are a special kind. We mount them as normal
webdav shares but we do supply owner info with the federated cloud id of
the share owner.
Since we do not yet have the new resharing behaviour on federated shares
we need to set the correct owner. Which will allow sharing and proper
mounting for other users.
fixes #22500
|
|\ \
| |/
|/| |
Do not copy skeleton on avatar access
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #22119
Just try to get the folder of the user. If it is not there a
NotFoundException will be thrown. Which will be handled by the avatar
endpoint.
|
| | |
|
|\ \
| | |
| | | |
Return proper error string if sharing for this user is disabled
|
| | |
| | |
| | |
| | | |
Fixes #22402
|
|\ \ \
| |/ /
|/| | |
Allow more characters in filenames
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | | |
fix getNodeForPath for non existing part files
|
| |/ |
|
|\ \
| | |
| | | |
Do not getShare in deleteShare, it's already there when deleting
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Do not allow invisible link shares
|
| |/ |
|
|/ |
|
| |
|
|\
| |
| | |
Only set the default expiration date on share creation
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #19685
The default expiration date should only be set when we create a new
share. So if a share is created and the expiration date is unset. And
after that the password is updated the expiration date should remain
unset.
|
|\ \
| | |
| | | |
Limit comment message to 1k chars
|