Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | only create the file cache entry after the empty file was created ↵ | Bjoern Schiessle | 2017-11-17 | 1 | -14/+13 |
| | | | | | | successfully, otherwise file_exists() call on the initial file_put_content() will indicate that the file already exists Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org> | ||||
* | Use non empty files for object store touch | Robin Appelman | 2017-11-15 | 1 | -2/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix contructing headers for s3 download | Robin Appelman | 2017-11-15 | 1 | -1/+7 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Improve performance of UserMountCache with external storage folders | Dariusz Olszewski | 2017-11-09 | 1 | -1/+5 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Merge pull request #7082 from nextcloud/12-6974 | Morris Jobke | 2017-11-06 | 1 | -2/+22 |
|\ | | | | | [stable12] Fix seeking on object storage | ||||
| * | Fix seeking on object storage | Morris Jobke | 2017-11-06 | 1 | -2/+22 |
| | | | | | | | | | | | | Seeking is not needed if the $from is 0, because then the pointer is already at the correct position. Additionally another fallback is added, that if the fseek fails it just uses an fread to skip the beginning of the file until it is at the correct position. This skipping is done with a chunked fread. Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Merge pull request #7081 from nextcloud/12-6958 | Morris Jobke | 2017-11-06 | 2 | -1/+13 |
|\ \ | | | | | | | [stable12] Improve mimetype detection for object storages | ||||
| * | | Improve mimetype detection for object storages | Morris Jobke | 2017-11-06 | 2 | -1/+13 |
| |/ | | | | | | | | | | | Object storage instances always fall back to the content based mimetype detection, because the file name for object storage was always random due to the fact that it was temporarily storage in a generated temp file. This patch adds a check before that to make sure to use the original file name for this purpose and also remove possible other extensions like the versioning or part file extension. Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* / | use fopen directly when reading objects from s3 | Robin Appelman | 2017-11-06 | 1 | -5/+8 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix uninitialized variable $this->params | William Pain | 2017-10-25 | 1 | -2/+2 |
| | | | | Signed-off-by: William Pain <pain.william@gmail.com> | ||||
* | propagate multipart upload exception when aborting upload | Robin Appelman | 2017-10-17 | 1 | -0/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #6814 from nextcloud/upload-cache-path-12 | Roeland Jago Douma | 2017-10-15 | 1 | -1/+3 |
|\ | | | | | [12] also use configured 'cache_path' for new chunking | ||||
| * | also use configured 'cache_path' for new chunking | Robin Appelman | 2017-10-11 | 1 | -1/+3 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | set s3 part size to 500mb | Robin Appelman | 2017-10-11 | 1 | -1/+3 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Add tests for multipart upload | Robin Appelman | 2017-10-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | only do multipart upload for large files | Robin Appelman | 2017-10-09 | 1 | -0/+24 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | multipart upload for s3 object storage | Robin Appelman | 2017-10-09 | 1 | -5/+22 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix path style | Robin Appelman | 2017-10-03 | 1 | -3/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | reuse object read/write/delete logic in s3 implementations | Robin Appelman | 2017-10-03 | 2 | -49/+83 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | update aws sdk and move it to 3rdparty | Robin Appelman | 2017-10-03 | 2 | -40/+20 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Don't lock in the appdata_ directory | Joas Schilling | 2017-09-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Still throw a locked exception when the path is not relative to $user/files/ | Joas Schilling | 2017-09-11 | 1 | -5/+12 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix copy from jailed storage | Roeland Jago Douma | 2017-08-10 | 1 | -0/+6 |
| | | | | | | | If we have a jailed storage we must also fix the internal path on copy. Else we pass in the wrong path. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | [Stable 12] Removed cast to integer in getSize | Sebastian Kostka | 2017-07-29 | 1 | -1/+1 |
| | | | | | | Fixes - Wrong or no sizes of files/folders #5031 for 32-bit systems a direct cast to integer causes problems. Backport from #5744 Signed-off-by: Sebastian Kostka <sebastian.kostka@gmail.com> | ||||
* | Fix for mb strlen | Artem Kochnev | 2017-07-22 | 1 | -1/+1 |
| | | | Error with moving files with long names in UTF-8 | ||||
* | Merge pull request #5757 from nextcloud/mount-rename-12 | Morris Jobke | 2017-07-21 | 1 | -8/+12 |
|\ | | | | | [12] Fix renaming of non-renamble mounts | ||||
| * | non movable mounts can not be moved | Robin Appelman | 2017-07-17 | 1 | -8/+12 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Also repair storage id's when repairing invalid entries | Robin Appelman | 2017-07-19 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #5710 from nextcloud/nested-permissions-mask-12 | Morris Jobke | 2017-07-13 | 1 | -1/+1 |
|\ | | | | | [12] Fix scan permissions with nested permissions masks | ||||
| * | Fix scan permissions with nested permissions masks | Robin Appelman | 2017-07-13 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | fix moving folders out of a cache jail | Robin Appelman | 2017-07-13 | 1 | -1/+11 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix propagating changes within jail wrapper | Robin Appelman | 2017-07-11 | 2 | -0/+57 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | improved logging of objectore errors | Robin Appelman | 2017-07-04 | 1 | -5/+21 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fixed a crash caused by Local::copyFromStorage() not conforming to ↵ | Michael Munger | 2017-06-13 | 1 | -1/+1 |
| | | | | Common::copyFromStorage. Issue# 5071 | ||||
* | Merge pull request #4792 from nextcloud/fix-storage-wrappers-on-scanner | Lukas Reschke | 2017-05-19 | 3 | -2/+10 |
|\ | | | | | Make sure we use the passed-in storage when there is one | ||||
| * | use unmasked permissions during scanning | Robin Appelman | 2017-05-18 | 3 | -1/+6 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | Make sure we use the passed-in storage when there is one | Joas Schilling | 2017-05-10 | 1 | -1/+4 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Revert "fix permissions of mountpoints - take 2" | Morris Jobke | 2017-05-15 | 1 | -6/+2 |
| | | |||||
* | | Merge pull request #4685 from nextcloud/fix_4683 | Morris Jobke | 2017-05-15 | 1 | -2/+6 |
|\ \ | | | | | | | fix permissions of mountpoints - take 2 | ||||
| * | | Revert "Revert "fix permissions of mountpoints"" | Roeland Jago Douma | 2017-05-04 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | This reverts commit 70a0e9c2d39532f9de6c6e108ef7eaaebb856ed6. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | | | Fix variable names | Joas Schilling | 2017-05-15 | 1 | -6/+6 |
| | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | | Fix order of parameter and escaping | Joas Schilling | 2017-05-12 | 1 | -2/+2 |
| | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | | Actually we want to update the mimetype of all files ending with the suffix | Joas Schilling | 2017-05-11 | 1 | -3/+4 |
| | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | | don´t change folders with --repair-filecache | Rello | 2017-05-11 | 1 | -0/+4 |
| |/ |/| | | | check if folder is "httpd/unix-directory" and don´t perform here #27585 | ||||
* | | Proper exception for upload of .htaccess file via WebDAV | Morris Jobke | 2017-05-08 | 1 | -1/+5 |
|/ | | | | | | * fixes #2860 Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Revert "fix permissions of mountpoints" | Morris Jobke | 2017-05-04 | 1 | -6/+2 |
| | |||||
* | fix permissions of mountpoints | Robin Appelman | 2017-05-01 | 1 | -2/+6 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | allow apps to set custom mount types | Robin Appelman | 2017-04-28 | 1 | -0/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #4524 from nextcloud/downstream-27508 | Roeland Jago Douma | 2017-04-28 | 1 | -1/+1 |
|\ | | | | | Keep file id on move | ||||
| * | Moved unit tests from ObjectTree::move to Directory | Vincent Petry | 2017-04-26 | 1 | -1/+1 |
| | |