aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/common.php
Commit message (Collapse)AuthorAgeFilesLines
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-241-697/+0
|
* cache the scanner/updater/cache in the wrapper storageRobin Appelman2016-04-191-12/+12
|
* Don't calculate permissions twice (#23917)Roeland Douma2016-04-121-1/+1
| | | | There is no need to calculate the permissions twice. Saves some is_dir and file_exists calls.
* lib: Fix typos (found by codespell)Stefan Weil2016-04-071-1/+1
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Check delete permission before attemping copy+deleteVincent Petry2016-02-191-0/+4
| | | | | | | | Some move operations when cross-storage will be replaced by copy and delete. Before attempting this, first check whether the source storage has delete permissions. This also prevents renaming system-wide external storages.
* No more staticJoas Schilling2016-02-181-5/+4
|
* cache result for getownerRobin Appelman2016-02-171-1/+7
|
* remove unused Storage->getLocalFolderRobin Appelman2016-02-051-6/+0
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2016-02-051-1/+1
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* split locking related methods to their own interfaceRobin Appelman2016-01-141-1/+2
|
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* Use TempManager instead of tmpFolderMorris Jobke2015-12-181-1/+1
|
* Use proper public API for OC_Helper::getFileNameMimeTypeMorris Jobke2015-12-171-1/+1
|
* Compute share permissions in the viewVincent Petry2015-12-081-4/+0
| | | | | The share permissions are now computed in the View/FileInfo instead of storing them directly/permanently on the storage
* Make Cache\Updater per storageRobin Appelman2015-11-251-0/+12
|
* Merge pull request #20439 from owncloud/etag-propagate-in-storageThomas Müller2015-11-251-0/+18
|\ | | | | Take submount etag into account for folder etags
| * take the etag of child mounts into account for the folder etagRobin Appelman2015-11-191-0/+18
| | | | | | | | this replaces shared etag propagation
* | Use mocks when testing isSharingDisabledForUserThomas Müller2015-11-191-1/+1
|/
* Remove $ETagFunction - it was never usedThomas Müller2015-10-161-7/+1
|
* Consolidate webdav code - move all to one appThomas Müller2015-10-161-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Replaces if ($file === '.' || $file === '..') by ↵Martin2015-09-221-2/+2
| | | | if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
* Merge pull request #13641 from owncloud/cache-storage-statusVincent Petry2015-08-071-0/+19
|\ | | | | Store storage availability in database
| * Store storage availability in databaseRobin McCorkell2015-07-201-0/+19
| | | | | | | | | | | | | | | | Storage status is saved in the database. Failed storages are rechecked every 10 minutes, while working storages are rechecked every request. Using the files_external app will recheck all external storages when the settings page is viewed, or whenever an external storage is saved.
* | Disable filesystem_check_changes by defaultVincent Petry2015-07-291-1/+1
|/ | | | | | | | | | This will prevent detecting remote changes done in the data folder / root storage by default. In the rare cases where the data folder is shared with other apps/users outside ownCloud and change detection is needed, the admin will have to set the option explicitly from now on. Note that this doesn't affect external storages which have their own setting in the mount options.
* add changeLock to the storage apiRobin Appelman2015-06-011-0/+9
|
* Use md5 + prefix for file locking keys in memcacheVincent Petry2015-06-011-2/+2
| | | | | Also trim slashes from paths to make sure the locks are based on the same paths.
* Use md5 for lock keyVincent Petry2015-06-011-2/+2
|
* add locking to the storage apiRobin Appelman2015-06-011-0/+20
|
* Merge pull request #16516 from owncloud/fix-phpdoc-traitJoas Schilling2015-05-221-0/+2
|\ | | | | Fix PHPDoc
| * Fix PHPDocLukas Reschke2015-05-221-0/+2
| | | | | | | | Use correct parameters
* | use copy when doing a crossStorageCopy on the same storageRobin Appelman2015-05-191-3/+12
|/
* update 'encrypted'-flag in file cache according to the storage settingsBjoern Schiessle2015-05-061-0/+5
|
* move permission related code into getMetaData()Thomas Müller2015-04-201-0/+8
|
* Introduce Storage::getMetaData() to allow storage implementations more ↵Thomas Müller2015-04-201-1/+1
| | | | control over the data array
* Introduce Storage::getData() to allow storage implementations more control ↵Thomas Müller2015-04-201-0/+17
| | | | over the data array
* Properly handle copy/move failures in cross storage copy/moveRobin Appelman2015-04-131-3/+10
|
* properly return false if we cant delete the source fileRobin Appelman2015-04-131-2/+2
|
* Move cross storage copy logic to the storageRobin Appelman2015-04-131-0/+48
|
* Introducing trait LocalTempFileTraitThomas Müller2015-04-071-40/+3
|
* Merge pull request #15240 from owncloud/storage-wrapper-priorityThomas Müller2015-03-271-3/+2
|\ | | | | add priority to storage wrappers
| * add priority to storage wrappersRobin Appelman2015-03-261-3/+2
| |
* | Merge pull request #14925 from owncloud/ext-mountoptions-uiRobin McCorkell2015-03-261-1/+1
|\ \ | |/ |/| Mount options GUI for external storage
| * Make sure mountOptions keep their data typeVincent Petry2015-03-261-1/+1
| | | | | | | | | | | | | | | | str_replace for $user substitution was converting the data type of mountOptions to string. This fix prevents this to happen by making sure only strings are processed by substitution. Also added a int conversion when reading the watcher policy
* | Update license headersJenkins for ownCloud2015-03-261-4/+31
|/
* Merge pull request #14704 from owncloud/storage-wrapper-mountRobin Appelman2015-03-191-1/+20
|\ | | | | pass mountpoint to storage wrapper callback
| * Allow setting the watcher policy as mount optionRobin Appelman2015-03-111-1/+2
| |
| * Copy mount options to the storageRobin Appelman2015-03-111-0/+18
| |
* | Use `FILTER_UNSAFE_RAW` instead of `FILTER_SANITIZE_STRING`Lukas Reschke2015-03-171-1/+1
| | | | | | | | `FILTER_SANITIZE_STRING` will still encode everything else.
* | verify the file name length not to exceed 255 characters + verify path ↵Thomas Müller2015-03-121-0/+5
|/ | | | during rename