summaryrefslogtreecommitdiffstats
path: root/lib/private/files/view.php
Commit message (Collapse)AuthorAgeFilesLines
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-241-2058/+0
|
* lib: Fix typos (found by codespell)Stefan Weil2016-04-071-1/+1
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Lock the mountpoint while removingJoas Schilling2016-03-241-0/+4
|
* Map MaciLukas Reschke2016-03-011-1/+1
|
* Block shares that dont have the correct source permissionsRobin Appelman2016-01-291-2/+3
|
* Merge pull request #21117 from owncloud/owner-file-existsThomas Müller2016-01-151-2/+31
|\ | | | | Only return an owner if the file exists + improved getUidAndFilename
| * Typo in error messageLukas Reschke2016-01-111-3/+3
| |
| * de-deplicate getUidAndFilenameRobin Appelman2016-01-111-1/+24
| |
| * dont return an owner for files that don't existRobin Appelman2016-01-111-2/+7
| |
* | only trigger locking on lockingstoragesRobin Appelman2016-01-141-16/+25
| |
* | Return a class from cache operations instead of an arrayRobin Appelman2016-01-141-3/+4
| |
* | Happy new year!Thomas Müller2016-01-121-3/+2
|/
* Merge pull request #21398 from owncloud/sharing-disabled-cacheThomas Müller2016-01-061-2/+3
|\ | | | | Cache isSharingDisabledForUser
| * Cache sharing disabled in the viewRobin Appelman2015-12-301-2/+3
| |
* | Cache usermanager instance in viewRobin Appelman2015-12-301-1/+4
|/
* Use TempManager instead of tmpFileMorris Jobke2015-12-181-1/+1
|
* Verify return typeLukas Reschke2015-12-091-1/+1
| | | | Can also be null. Silences another security warning...
* Fix mimetype filter in getDirectoryContentRobin Appelman2015-12-031-6/+2
|
* Make Cache\Updater per storageRobin Appelman2015-11-251-20/+43
|
* take the etag of child mounts into account for the folder etagRobin Appelman2015-11-191-6/+7
| | | | this replaces shared etag propagation
* Fix scanning of incomplete foldersRobin Appelman2015-11-191-1/+1
|
* use relative pathRobin Appelman2015-11-191-1/+1
|
* fix fileinfo for non existing filesRobin Appelman2015-11-191-0/+4
|
* Some more cleanup for getFIleInfo/getDirectoryContentRobin Appelman2015-11-191-39/+31
|
* Split getting cache entry and checking update to a seperate methodRobin Appelman2015-11-191-58/+46
|
* Handle non existing users as owner in the viewRobin Appelman2015-11-181-5/+20
|
* Add getOwner to FileInfoRobin Appelman2015-11-101-6/+13
|
* when a file is locked use old cache dataRobin Appelman2015-11-041-29/+37
|
* fix whitespaceRobin Appelman2015-11-041-2/+2
|
* only lock in getDirectoryContent if we need to update the cacheRobin Appelman2015-11-031-21/+17
|
* only lock in getFileInfo if we need to update the cacheRobin Appelman2015-11-031-18/+16
|
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Throw exception on `getPath` if file does not existLukas Reschke2015-10-251-4/+12
| | | | | | | | | | 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.
* Dont lock /$user/filesRobin Appelman2015-10-231-1/+1
|
* Removemount expects absolutePathRoeland Jago Douma2015-10-161-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Prevent moving mount point into already shared folder (outgoing)Vincent Petry2015-10-021-8/+29
| | | | | | | | It is already not allowed to share a folder containing mount points / incoming shares. This fixes an issue that made it possible to bypass the check by moving the incoming share mount point into an existing outgoing share folder.
* 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...
* | Merge pull request #19236 from owncloud/call_dot_directories_functionThomas Müller2015-09-231-1/+1
|\ \ | | | | | | Replaces if ($file === '.' || $file === '..') by public function call isIgnoredDir
| * | Replaces if ($file === '.' || $file === '..') by ↵Martin2015-09-221-1/+1
| |/ | | | | | | if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
* / catch excexptions during the copy operation and make sure that we free the ↵Bjoern Schiessle2015-09-221-42/+55
|/ | | | lock correctly
* 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
* | Fix removal of share permissions when share disabled for userVincent Petry2015-08-071-1/+1
| |
* | 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.
* Remove OC_LogThomas Müller2015-07-031-1/+1
|
* Merge pull request #17256 from ↵Vincent Petry2015-06-301-1/+4
|\ | | | | | | | | owncloud/locking-disablecallbackwrapperwhendisabled Do not set callback wrapper when locking is disabled
| * Do not set callback wrapper when locking is disabledVincent Petry2015-06-301-1/+4
| |
* | Unlock first path on rename if second path is lockedVincent Petry2015-06-291-1/+6
|/