summaryrefslogtreecommitdiffstats
path: root/lib/private/files/filesystem.php
Commit message (Collapse)AuthorAgeFilesLines
* update license headers and authorsMorris Jobke2015-06-251-2/+1
|
* Merge pull request #17110 from owncloud/share-error-handlingMorris Jobke2015-06-241-0/+1
|\ | | | | [sharing] handle shares of users that aren't available anymore
| * [sharing] handle shares of users that aren't available anymoreMorris Jobke2015-06-231-0/+1
| | | | | | | | | | * properly handle the case where an abandoned share is left and simply skip it
* | Added error message on initMountpoints exceptionMorris Jobke2015-06-231-1/+1
|/
* phpdoc, strict and type hintsRobin Appelman2015-06-021-0/+6
|
* only use mount provider if we have a valid userRobin Appelman2015-06-021-2/+4
|
* call mount providers that are registered after the filesystem is setupRobin Appelman2015-06-021-7/+34
|
* throw exception when backends don't provide a user instead of creating ↵Jörn Friedrich Dreyer2015-04-101-31/+31
| | | | legacy local storages
* setup mount manager before wrappersRobin Appelman2015-04-021-1/+1
|
* add priority to storage wrappersRobin Appelman2015-03-261-2/+4
|
* Update license headersJenkins for ownCloud2015-03-261-4/+33
|
* Merge pull request #13893 from owncloud/create-cachedir-on-userMorris Jobke2015-03-111-8/+1
|\ | | | | Only make sure the cache directory exists when we use it
| * Only make sure the cache directory exists when we use itRobin Appelman2015-02-041-8/+1
| |
* | Revert "Updating license headers"Morris Jobke2015-02-261-31/+25
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | Updating license headersJenkins for ownCloud2015-02-231-25/+31
| |
* | Ensure that passed argument is always a stringLukas Reschke2015-02-131-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 processingLukas Reschke2015-02-061-4/+6
|/
* Fix resolving paths for views rooted in a fileRobin Appelman2015-01-291-1/+1
|
* Apply wrappers to existing mounts before registering itRobin Appelman2015-01-231-7/+3
|
* removeStorageWrapper to unregister a storage wrapperVincent Petry2015-01-231-0/+10
|
* Do not call wrapStorage if storate with same name added twiceVincent Petry2015-01-221-1/+4
|
* Use json_encode on stringLukas Reschke2015-01-131-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 Jobke2015-01-101-1/+1
|\ | | | | | | | | owncloud/simplify-is-valid-path-and-add-unit-tests Simplify isValidPath and add unit tests
| * Simplify isValidPath and add unit testsLukas Reschke2015-01-101-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 Reschke2015-01-101-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 searchByTagsVincent Petry2014-12-121-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 cacheVincent Petry2014-12-111-0/+8
|
* Add public api for mount configurationsRobin Appelman2014-12-041-6/+11
|
* Make it possible to cleanPath() absolute Windows pathsJoas Schilling2014-11-171-2/+11
|
* Reset the users setup after clearing mountsRobin Appelman2014-10-281-0/+1
|
* Only mount the storages for the user onceRobin Appelman2014-10-271-1/+5
|
* Added failing unit tests for mount config hooksVincent Petry2014-10-081-0/+5
|
* Don't automatically setup the filesystem the moment we load OC\Files\FileSystemRobin Appelman2014-09-021-2/+0
|
* move to public namespaceMorris Jobke2014-08-191-3/+0
|
* Use tabs for indentation.Stephan Peijnik2014-08-191-3/+3
| | | | Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
* Fix STORAGE_* constants usage by moving those constants into ↵Stephan Peijnik2014-08-191-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 compositionJörn Friedrich Dreyer2014-06-181-17/+21
|
* only use one config option 'objectstore' for root and home storage configurationJörn Friedrich Dreyer2014-06-181-2/+2
|
* move creation of / and users 'files' from storage constructor to setupFS / ↵Jörn Friedrich Dreyer2014-06-181-0/+8
| | | | mount initialization
* fix fallback config for default home storageJörn Friedrich Dreyer2014-06-181-4/+6
|
* allow configuring objectstore as home and root storageJörn Friedrich Dreyer2014-06-181-4/+13
|
* name the storage wrapper to make sure that we don't apply the wrapper ↵Bjoern Schiessle2014-06-041-2/+2
| | | | multiple times
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-3/+3
| | | | * test case added to avoid adding them later
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-2/+2
|
* Fix @return array PHPDocs, in /libRobin McCorkell2014-05-131-1/+1
|
* Emit a new hook, when a file is being updated onlyJoas Schilling2014-04-291-0/+16
| | | | | | The write-hook also is triggered for created files Fix #8131
* Fix error when viewing expired linkRobin Appelman2014-04-231-0/+3
|
* Remove unused setUserVars utility methodVincent Petry2014-03-261-11/+0
| | | | | That method was moved to the external storage recently so isn't needed here any more.
* Cache folder is now configurableVincent Petry2014-03-241-0/+36
| | | | | | When using an external cache folder, it is automatically mounted in FileSystem::initFileSystem so that any app can use it transparently by creating a view on the "/$user/cache" directory.
* Moved external storage mounting code to files_external appVincent Petry2014-03-191-70/+0
| | | | | | Moved the mounting code for external storage from OC\Filesystem::initMountPoint to files_external using the post_initMountPoints hook