Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2015-12-07 | 1 | -1/+0 |
| | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com | ||||
* | Reduce OC_Config usage in lib/ | Morris Jobke | 2015-12-02 | 1 | -3/+3 |
| | | | | * replaced by proper public interfaces | ||||
* | Throw exception on `getPath` if file does not exist | Lukas Reschke | 2015-10-25 | 1 | -1/+3 |
| | | | | | | | | | | Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail. | ||||
* | expose the mount manager in the public api | Robin Appelman | 2015-07-01 | 1 | -2/+2 |
| | |||||
* | update license headers and authors | Morris Jobke | 2015-06-25 | 1 | -2/+1 |
| | |||||
* | Merge pull request #17110 from owncloud/share-error-handling | Morris Jobke | 2015-06-24 | 1 | -0/+1 |
|\ | | | | | [sharing] handle shares of users that aren't available anymore | ||||
| * | [sharing] handle shares of users that aren't available anymore | Morris Jobke | 2015-06-23 | 1 | -0/+1 |
| | | | | | | | | | | * properly handle the case where an abandoned share is left and simply skip it | ||||
* | | Added error message on initMountpoints exception | Morris Jobke | 2015-06-23 | 1 | -1/+1 |
|/ | |||||
* | phpdoc, strict and type hints | Robin Appelman | 2015-06-02 | 1 | -0/+6 |
| | |||||
* | only use mount provider if we have a valid user | Robin Appelman | 2015-06-02 | 1 | -2/+4 |
| | |||||
* | call mount providers that are registered after the filesystem is setup | Robin Appelman | 2015-06-02 | 1 | -7/+34 |
| | |||||
* | throw exception when backends don't provide a user instead of creating ↵ | Jörn Friedrich Dreyer | 2015-04-10 | 1 | -31/+31 |
| | | | | legacy local storages | ||||
* | setup mount manager before wrappers | Robin Appelman | 2015-04-02 | 1 | -1/+1 |
| | |||||
* | add priority to storage wrappers | Robin Appelman | 2015-03-26 | 1 | -2/+4 |
| | |||||
* | Update license headers | Jenkins for ownCloud | 2015-03-26 | 1 | -4/+33 |
| | |||||
* | Merge pull request #13893 from owncloud/create-cachedir-on-user | Morris Jobke | 2015-03-11 | 1 | -8/+1 |
|\ | | | | | Only make sure the cache directory exists when we use it | ||||
| * | Only make sure the cache directory exists when we use it | Robin Appelman | 2015-02-04 | 1 | -8/+1 |
| | | |||||
* | | Revert "Updating license headers" | Morris Jobke | 2015-02-26 | 1 | -31/+25 |
| | | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36. | ||||
* | | Updating license headers | Jenkins for ownCloud | 2015-02-23 | 1 | -25/+31 |
| | | |||||
* | | Ensure that passed argument is always a string | Lukas Reschke | 2015-02-13 | 1 | -0/+9 |
| | | | | | | | | | | | | Some code paths called the `normalizePath` functionality with types other than a string which resulted in unexpected behaviour. Thus the function is now manually casting the type to a string and I corrected the usage in list.php as well. | ||||
* | | Normalize before processing | Lukas Reschke | 2015-02-06 | 1 | -4/+6 |
|/ | |||||
* | Fix resolving paths for views rooted in a file | Robin Appelman | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | Apply wrappers to existing mounts before registering it | Robin Appelman | 2015-01-23 | 1 | -7/+3 |
| | |||||
* | removeStorageWrapper to unregister a storage wrapper | Vincent Petry | 2015-01-23 | 1 | -0/+10 |
| | |||||
* | Do not call wrapStorage if storate with same name added twice | Vincent Petry | 2015-01-22 | 1 | -1/+4 |
| | |||||
* | Use json_encode on string | Lukas Reschke | 2015-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | It's better to encode the string to prevent possible (yet unknown) bugs in combination with PHP's type juggling. Previously the boolean statements evaluated to either an empty string (false) or a not empty one (true, then it was 1). Not it always evaluates to false or true. This also removes a stray - that was not intended there but shouldn't have produced any bugs. Just to increase readability. Thanks @nickvergessen for spotting. Addresses https://github.com/owncloud/core/pull/13235/files#r22852319 | ||||
* | Merge pull request #13224 from ↵ | Morris Jobke | 2015-01-10 | 1 | -1/+1 |
|\ | | | | | | | | | owncloud/simplify-is-valid-path-and-add-unit-tests Simplify isValidPath and add unit tests | ||||
| * | Simplify isValidPath and add unit tests | Lukas Reschke | 2015-01-10 | 1 | -1/+1 |
| | | | | | | | | | | | | The check for invalid paths is actually over-complicated and performed twice resulting in a performance penalty. Additionally, I decided to add unit-tests to that function. Part of https://github.com/owncloud/core/issues/13221 | ||||
* | | Cache results of `normalizePath` | Lukas Reschke | 2015-01-10 | 1 | -1/+12 |
|/ | | | | | | | | `normalizePath` is a rather expensive operation and called multiple times for a single path for every file related operation. In my development installation with about 9GB of data and 60k files this leads to a performance boost of 24% - in seconds that are 1.86s (!) - for simple searches. With more files the impact will be even more noticeable. Obviously this affects every operation that has in any regard something to do with using OC\Files\Filesystem. Part of https://github.com/owncloud/core/issues/13221 | ||||
* | Make $userId mandatory for searchByTags | Vincent Petry | 2014-12-12 | 1 | -2/+3 |
| | | | | | | | $userId is now a mandatory parameter for searchByTags. Also fixed some places in the code where the argument was missing (Node API and View) | ||||
* | Added searchByTags to view, storage and cache | Vincent Petry | 2014-12-11 | 1 | -0/+8 |
| | |||||
* | Add public api for mount configurations | Robin Appelman | 2014-12-04 | 1 | -6/+11 |
| | |||||
* | Make it possible to cleanPath() absolute Windows paths | Joas Schilling | 2014-11-17 | 1 | -2/+11 |
| | |||||
* | Reset the users setup after clearing mounts | Robin Appelman | 2014-10-28 | 1 | -0/+1 |
| | |||||
* | Only mount the storages for the user once | Robin Appelman | 2014-10-27 | 1 | -1/+5 |
| | |||||
* | Added failing unit tests for mount config hooks | Vincent Petry | 2014-10-08 | 1 | -0/+5 |
| | |||||
* | Don't automatically setup the filesystem the moment we load OC\Files\FileSystem | Robin Appelman | 2014-09-02 | 1 | -2/+0 |
| | |||||
* | move to public namespace | Morris Jobke | 2014-08-19 | 1 | -3/+0 |
| | |||||
* | Use tabs for indentation. | Stephan Peijnik | 2014-08-19 | 1 | -3/+3 |
| | | | | Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com> | ||||
* | Fix STORAGE_* constants usage by moving those constants into ↵ | Stephan Peijnik | 2014-08-19 | 1 | -3/+4 |
| | | | | | | | | | | \OC\Files\Filesystem. As constants not defined within a class cannot be automatically found by the autoloader moving those constants into a class makes them accessible to code which uses them. Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com> | ||||
* | change architecture from inheritance to composition | Jörn Friedrich Dreyer | 2014-06-18 | 1 | -17/+21 |
| | |||||
* | only use one config option 'objectstore' for root and home storage configuration | Jörn Friedrich Dreyer | 2014-06-18 | 1 | -2/+2 |
| | |||||
* | move creation of / and users 'files' from storage constructor to setupFS / ↵ | Jörn Friedrich Dreyer | 2014-06-18 | 1 | -0/+8 |
| | | | | mount initialization | ||||
* | fix fallback config for default home storage | Jörn Friedrich Dreyer | 2014-06-18 | 1 | -4/+6 |
| | |||||
* | allow configuring objectstore as home and root storage | Jörn Friedrich Dreyer | 2014-06-18 | 1 | -4/+13 |
| | |||||
* | name the storage wrapper to make sure that we don't apply the wrapper ↵ | Bjoern Schiessle | 2014-06-04 | 1 | -2/+2 |
| | | | | multiple times | ||||
* | Remove all occurences of @brief and @returns from PHPDoc | Morris Jobke | 2014-05-19 | 1 | -3/+3 |
| | | | | * test case added to avoid adding them later | ||||
* | Fix all PHPDoc types and variable names, in /lib | Robin McCorkell | 2014-05-13 | 1 | -2/+2 |
| | |||||
* | Fix @return array PHPDocs, in /lib | Robin McCorkell | 2014-05-13 | 1 | -1/+1 |
| | |||||
* | Emit a new hook, when a file is being updated only | Joas Schilling | 2014-04-29 | 1 | -0/+16 |
| | | | | | | The write-hook also is triggered for created files Fix #8131 |