summaryrefslogtreecommitdiffstats
path: root/lib/private/files
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #16479 from owncloud/core-fixgetrelativepathwrongmatchesThomas Müller2015-09-241-1/+4
|\ | | | | Prevent wrong matches in getRelativePath
| * Prevent wrong matches in getRelativePathVincent Petry2015-09-221-1/+4
| | | | | | | | | | Before this fix, the root "/files" with path "/files_trashbin" would return "_trashbin" as relative path...
* | Revert "use correct variable"Jörn Friedrich Dreyer2015-09-231-1/+1
| | | | | | | | This reverts commit 52cbaff061b93cb1a5e81623e58e14867c818810.
* | use correct variableJörn Friedrich Dreyer2015-09-231-1/+1
| | | | | | wow ... just wow ...
* | Merge pull request #19236 from owncloud/call_dot_directories_functionThomas Müller2015-09-234-5/+5
|\ \ | | | | | | Replaces if ($file === '.' || $file === '..') by public function call isIgnoredDir
| * | Replaces if ($file === '.' || $file === '..') by ↵Martin2015-09-224-5/+5
| | | | | | | | | | | | if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
* | | Merge pull request #19247 from owncloud/fix_locking_copy_operationThomas Müller2015-09-231-42/+55
|\ \ \ | |/ / |/| | locking: handle exceptions correctly during copy operation
| * | catch excexptions during the copy operation and make sure that we free the ↵Bjoern Schiessle2015-09-221-42/+55
| |/ | | | | | | lock correctly
* / Move mimetype files into /resources/config/Lukas Reschke2015-09-221-13/+22
|/
* dont download the existing file for webdav if we're going to overwrite itRobin Appelman2015-09-211-2/+7
|
* Explicitly cast number to integerRobin McCorkell2015-09-161-1/+1
|
* Merge pull request #18915 from owncloud/node-getfoldercontents-use-view-logicRobin Appelman2015-09-152-70/+11
|\ | | | | Use the view logic for getFolderContent for the node api
| * Use the view logic for getFolderContent for the node apiRobin Appelman2015-09-082-70/+11
| |
* | Use integer for availability instead of boolRobin McCorkell2015-09-151-3/+5
| |
* | Merge pull request #18653 from owncloud/dav-stream-guzzleLukas Reschke2015-09-111-62/+31
|\ \ | | | | | | stream webdav downloads using http client
| * | also use httpclient for uploadFileRobin Appelman2015-09-011-35/+18
| | |
| * | stream webdav downloads using http clientRobin Appelman2015-08-291-29/+15
| | |
* | | Add reset method to mimetype loaderRobin McCorkell2015-09-112-1/+9
| |/ |/| | | | | Used to solve concurrency issues
* | Split mimetype handling to new classRobin McCorkell2015-09-042-80/+181
| |
* | Allow access to full alias and mapping arraysRobin McCorkell2015-09-011-8/+22
| |
* | Check result of storage wrappersRobin Appelman2015-08-301-0/+3
|/
* Merge pull request #18423 from owncloud/occ_encrypt_allBjörn Schießle2015-08-281-29/+15
|\ | | | | occ command line tool to encrypt all files
| * copy always file by file to encrypt/decrypt it if neededBjoern Schiessle2015-08-261-29/+15
| |
* | Prevent scanner going crazy with unavailable storagesVincent Petry2015-08-241-4/+14
| |
* | Merge pull request #17501 from tbartenstein/patch-1Vincent Petry2015-08-241-1/+1
|\ \ | | | | | | Update fileinfo.php
| * | Update fileinfo.phptbartenstein2015-07-081-1/+1
| | | | | | | | | Edits isMounted() to remove the check for 'local' prefix, so that folder icons are displayed correctly (see issue #10712)
* | | Revert "Fix mounting wrapped storages resulting in many-layered wrapping"Robin McCorkell2015-08-191-6/+1
| | | | | | | | | | | | This reverts commit 75a5e6e12b18a9f5b7b113cd7e2c9c56c204084d.
* | | Implement password authentication mechanismsRobin McCorkell2015-08-191-0/+4
| |/ |/| | | | | | | | | | | | | | | | | | | Introduces the basic password authentication mechanism, along with a mechanism based on ownCloud credentials stored in the user session. Change to lib/private is an extension of PermissionsMask, as isSharable() override was missing. Session credentials auth mechanism now disables sharing on applied storages, as credentials will not be available.
* | Merge pull request #17932 from owncloud/fix_move_filesThomas Müller2015-08-111-2/+7
|\ \ | | | | | | make sure that hooks are emitted properly on file move operation
| * | make sure that we emit the hooks if a file gets moved from a subfolder to ↵Bjoern Schiessle2015-07-291-2/+7
| | | | | | | | | | | | the root folder with the nodes API
* | | Merge pull request #14779 from owncloud/use-iterator-directoryRobin McCorkell2015-08-073-7/+4
|\ \ \ | | | | | | | | Use the new IteratorDirectory instead of the fakedir wrapper
| * | | Use the new IteratorDirectory instead of the fakedir wrapperRobin Appelman2015-07-153-7/+4
| | | |
* | | | Merge pull request #18124 from owncloud/share-permwrongvarMorris Jobke2015-08-071-1/+1
|\ \ \ \ | | | | | | | | | | Fix removal of share permissions when share disabled for user
| * | | | Fix removal of share permissions when share disabled for userVincent Petry2015-08-071-1/+1
| | | | |
* | | | | Merge pull request #13641 from owncloud/cache-storage-statusVincent Petry2015-08-075-11/+543
|\ \ \ \ \ | |/ / / / |/| | | | Store storage availability in database
| * | | | Fix mounting wrapped storages resulting in many-layered wrappingRobin McCorkell2015-07-201-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This usually doesn't cause issues, but in unit tests sometimes a wrapped storage is passed to Filesystem::mount() and gets rewrapped, hitting the XDebug function nesting level limit when used.
| * | | | Store storage availability in databaseRobin McCorkell2015-07-204-10/+537
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | always update file cache, the cache can handle partial data correctly if the ↵Bjoern Schiessle2015-07-311-5/+4
| | | | | | | | | | | | | | | | | | | | file doesn't already exists in the file cache
* | | | | Merge pull request #17981 from owncloud/correct-regexThomas Müller2015-07-301-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Correct regular expressions
| * | | | | Correct regular expressionsLukas Reschke2015-07-301-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | Previously the regex was only matching on single characters. Meaning that file names such as ":+1:.txt" where possible while ":+1:" alone never was. This check apparently never worked as expected.
* | | | | Merge pull request #17950 from ↵Robin McCorkell2015-07-291-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | owncloud/config-dontdetectfschangesinrootbydefault Disable filesystem_check_changes by default
| * | | | 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.
* | | | | Merge pull request #15543 from rullzer/mimetypedetectorMorris Jobke2015-07-281-3/+124
|\ \ \ \ \ | |/ / / / |/| | | | Mimetypedetector
| * | | | Pass config dir as parameter to detection classRoeland Jago Douma2015-07-271-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to properly test the mimetype function: * constructor takes path to configdir * Added unit tests for mimetype (only if vfsStream is available)
| * | | | Proper deprecate methodsRoeland Jago Douma2015-07-271-2/+1
| | | | |
| * | | | Loading of mapping/aliases is done in classRoeland Jago Douma2015-07-271-12/+47
| | | | |
| * | | | Move mimetypedetection to files/type/detectionRoeland Jago Douma2015-07-271-85/+42
| | | | |
| * | | | Added mimetype detectorRoeland Jago Douma2015-07-271-1/+126
| |/ / / | | | | | | | | | | | | * Copied unit tests from old functions
* | | | Merge pull request #17902 from owncloud/fix_17898Vincent Petry2015-07-271-1/+2
|\ \ \ \ | | | | | | | | | | get header size before we open the file to avoid locking exception
| * | | | get header size before we open the file to avoid locking exceptionBjoern Schiessle2015-07-271-1/+2
| | | | |