Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unneeded semicolon and parentheses | Morris Jobke | 2018-01-26 | 1 | -2/+2 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Merge pull request #8054 from nextcloud/substr-use-index | Morris Jobke | 2018-01-26 | 1 | -3/+3 |
|\ | | | | | Use index based string access for substr with length of 1 | ||||
| * | Use index based string access for substr with length of 1 | Morris Jobke | 2018-01-26 | 1 | -3/+3 |
| | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Return value immediately instead of assigning to a one-time variable | Morris Jobke | 2018-01-26 | 1 | -6/+3 |
|/ | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Properly log the full exception instead of only the message | Morris Jobke | 2018-01-23 | 1 | -6/+5 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | handle not found mounts when cleaning avatars | Robin Appelman | 2017-12-11 | 1 | -0/+6 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #7014 from nextcloud/rename-locks | Morris Jobke | 2017-11-09 | 1 | -83/+86 |
|\ | | | | | Unlock files even if an exception occurs while renaming | ||||
| * | Unlock files even if an exception occurs | korelstar | 2017-11-03 | 1 | -83/+86 |
| | | | | | | | | Signed-off-by: Kristof Hamann <korelstar@users.noreply.github.com> | ||||
* | | Update license headers | Morris Jobke | 2017-11-06 | 1 | -2/+0 |
| | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Fix seeking on object storage | Morris Jobke | 2017-10-27 | 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> | ||||
* | Don't lock in the appdata_ directory | Joas Schilling | 2017-08-10 | 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-08-10 | 1 | -5/+12 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Merge pull request #5596 from nextcloud/mount-rename | Morris Jobke | 2017-07-21 | 1 | -8/+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> | ||||
* | | Remove unused functions | Lukas Reschke | 2017-07-19 | 1 | -9/+0 |
| | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | | Run phan over code base | Lukas Reschke | 2017-07-19 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | 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> | ||||
* | | 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> | ||||
* | Moved unit tests from ObjectTree::move to Directory | Vincent Petry | 2017-04-26 | 1 | -1/+1 |
| | |||||
* | Remove unused use statements | Morris Jobke | 2017-04-22 | 1 | -2/+0 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | round the mtime in touch | Robin Appelman | 2017-03-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Move error message to log entry | Lukas Reschke | 2017-03-20 | 1 | -1/+12 |
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Fix malformed logging in exception | kdslkdsaldsal | 2017-03-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Redirect unlink to rmdir (#27101) | Vincent Petry | 2017-03-16 | 1 | -1/+5 |
| | | | | | | | Many API callers will call unlink even for directories and it can mess up with some wrappers like the encryption wrapper Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Prevent PHP request to get killed when using fclose callback (#26775) | Vincent Petry | 2017-01-23 | 1 | -0/+2 |
| | | | | | | | | * Prevent PHP request to get killed when using fclose callback * Add ignore_user_abort everywhere where the time limit is set to 0 Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | log a warning when trying to use a non basic fopen mode | Robin Appelman | 2017-01-05 | 1 | -14/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | only update the cache if the storage operation succeeds | Robin Appelman | 2016-12-02 | 1 | -3/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Prevent endless loop in \OC\Files\View::createParentDirectories | Lukas Reschke | 2016-12-01 | 1 | -5/+10 |
| | | | | | | | | \OC\Files\View::createParentDirectories was previously prone to an endless loop. If a path such as /foo/existingfile.txt/bar/foo was passed and existingfile.txt existed in foo the loop was never left and running until the PHP process timed out. This commit changes the logic to a foreach loop over an array and additionally additional error handling using is_file. Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Move the validation into one place only | Joas Schilling | 2016-11-21 | 1 | -26/+14 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | close the file handle after readfile | Robin Appelman | 2016-11-18 | 1 | -0/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | only query substorages to calculate the final mtime/size/etag lazily | Robin Appelman | 2016-11-10 | 1 | -11/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #1820 from nextcloud/4byte-filenames | Roeland Jago Douma | 2016-10-24 | 1 | -3/+5 |
|\ | | | | | Allow 4byte unicode filenames on supported platforms | ||||
| * | Allow 4byte unicode filenames on supported platforms | Robin Appelman | 2016-10-20 | 1 | -3/+5 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Move OC\Files\Storage\Shared to the right namespace | Joas Schilling | 2016-10-20 | 1 | -1/+1 |
|/ | |||||
* | Update with robin | Joas Schilling | 2016-07-21 | 1 | -1/+1 |
| | |||||
* | Fix others | Joas Schilling | 2016-07-21 | 1 | -3/+5 |
| | |||||
* | fix swift primary object store test (#25281) | Thomas Müller | 2016-07-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | * Wait for socket to be open * Fix call on null * Allow DB access for MountProviderTest Makes unit tests pass when using object store, since their FS access is actually oc_filecache DB access. It is currently not possible to mock or bypass the logic from "SharedMount::verifyMountPoint()" triggered by this test. | ||||
* | Fire hooks for mkdir for folder upload | karakayasemi | 2016-06-21 | 1 | -1/+22 |
| | | | | | | fromTmpFile function, usual mkdir call is only working for file's parent directory. Does not care upper parent folders. I added a recursive function that creates parent non-existing folders with usual mkdir. | ||||
* | return success when deleting ghost files | Robin Appelman | 2016-06-03 | 1 | -1/+3 |
| | |||||
* | allow deleting "ghost files" trough the View and Node api | Robin Appelman | 2016-06-03 | 1 | -15/+28 |
| | |||||
* | Update license headers | Lukas Reschke | 2016-05-26 | 1 | -3/+6 |
| | |||||
* | Code style and doc fix | Piotr Filiciak | 2016-05-23 | 1 | -4/+4 |
| | |||||
* | Http Range requests support in downloads | Piotr Filiciak | 2016-05-20 | 1 | -0/+34 |
| | | | | Http range requests support is required for video preview | ||||
* | Merge branch 'patch-1' of https://github.com/weits/core into weits-patch-1 | Thomas Müller | 2016-04-25 | 1 | -1/+1 |
| | |||||
* | Move \OC\Files to PSR-4 | Roeland Jago Douma | 2016-04-24 | 1 | -0/+2058 |