summaryrefslogtreecommitdiffstats
path: root/lib/files/view.php
Commit message (Collapse)AuthorAgeFilesLines
* Give storages the option to implement the getById behaviour for View->getPathRobin Appelman2014-04-031-5/+11
|
* Merge pull request #5934 from owncloud/stable5-excludeextstoragefromquotaVincent Petry2013-11-221-2/+4
|\ | | | | [Stable5] Exclude ext storage from quota
| * External storage space is now not counted in total spaceVincent Petry2013-11-191-2/+4
| | | | | | | | | | | | | | Added argument to getFileInfo() to disable adding the size of mountpoints to a directory's size. Backport of 614e4d485c8b74f6879c401f8cbb93e9335bf9b3
* | Emulate touch() for backends that don't support itRobin Appelman2013-11-211-1/+5
|/ | | | Backport of 9738fae3cf1ad18593d21eb62e138e00c01f5f36
* backport of https://github.com/owncloud/core/pull/5247Bjoern Schiessle2013-10-211-1/+4
| | | | ensure the view's root is a subfolder of the the default root, not only starting the same
* the path need to be normalized before putting it into resolvePath()Thomas Müller2013-10-101-1/+3
| | | | | | | otherwise the returned internalPath will not match followup calls to e.g. Cache::getID() Conflicts: tests/lib/files/view.php
* also emit hooks for views that are a subfolder of the user folderRobin Appelman2013-09-101-32/+57
|
* Check variable type before using readdir to avoid surprises and fix #4667 ↵Arthur Schiwon2013-09-021-3/+5
| | | | #4658 and #4613
* use strict equals in readdir loops to prevent issues with '0' filesRobin Appelman2013-08-211-1/+1
| | | | | | | Conflicts: apps/files_external/lib/amazons3.php apps/files_trashbin/index.php lib/connector/sabre/objecttree.php
* Only retrieve the current user's permissionsMichael Gapczynski2013-07-061-1/+1
|
* Cache: provide a function to get the permissions of all files in a folder ↵Robin Appelman2013-07-061-9/+9
| | | | | | | with one query Conflicts: lib/files/view.php
* Merge pull request #3905 from owncloud/emit_signals_for_part_filesThomas Müller2013-07-021-3/+21
|\ | | | | Emit signals for part files
| * don't run hooks for .part filesBjörn Schießle2013-07-011-1/+1
| |
| * if a part file gets renamed to a real file, that this was the second step of ↵Björn Schießle2013-07-011-2/+20
| | | | | | | | a write operation, hence emit a write signal
* | Public upload featureRoman Geber2013-07-011-1/+1
|/ | | | | Conflicts: apps/files/js/filelist.js
* Backport #2919Michael Gapczynski2013-06-071-6/+8
|
* backport file cache changes from master to stable5, needed for encryption appBjörn Schießle2013-05-241-0/+3
|
* Switch to calling deleteAll via storage to avoid emitting delete hookMichael Gapczynski2013-05-231-1/+2
|
* Fix undefined variable for copying empty foldersMichael Gapczynski2013-05-231-1/+1
|
* Add support for copying/moving folders between storages, move isIgnoredDir() ↵Michael Gapczynski2013-05-231-8/+24
| | | | | | | to Filesystem Conflicts: lib/files/cache/scanner.php
* don't emit rename hooks on partial file renamesJörn Friedrich Dreyer2013-05-101-2/+2
|
* rename isIgnoredFile to isPartialFile, remove check of blacklisted files in ↵Jörn Friedrich Dreyer2013-05-101-5/+11
| | | | isPartialFile, correct usage of isPartialFile and isFileBlacklisted
* Files: also check if the source path is valid when doing a rename or copy ↵Robin Appelman2013-04-231-15/+23
| | | | operation
* supress write hook for .part filesJörn Friedrich Dreyer2013-03-281-3/+3
|
* Merge pull request #2189 from owncloud/versioning_sync_clientBernhard Posselt2013-03-081-1/+9
|\ | | | | fix versioning for the sync client - distinguish between touch and write operation
| * remove some debug output; move code to the right functionBjörn Schießle2013-03-081-1/+1
| |
| * distinguish between touch and writeBjörn Schießle2013-03-071-1/+9
| |
* | Fix fetching source path of shared filesMichael Gapczynski2013-03-071-1/+1
|/
* Chunk size comment should say kB, not MBMichael Gapczynski2013-03-031-1/+1
|
* return both, count and result if the operation succeeded or failed. Maybe in ↵Björn Schießle2013-02-221-4/+4
| | | | some cases it is useful to know how much bytes where copied
* using the number of writen bytes as indicator if streamCopy() was ↵Björn Schießle2013-02-221-2/+1
| | | | successfully. Instead check if fwrite returns the number of bytes or false
* Style-fix: Breakup long linesBart Visscher2013-02-141-5/+11
|
* know your libraries ;-)Thomas Müller2013-02-091-5/+1
| | | | strrpos fails in cases the file in the path has no dot but the parent folder
* Merge pull request #1436 from owncloud/cache_check_pathThomas Müller2013-02-041-0/+6
|\ | | | | Cache: check for invalid paths in getFileInfo/getDirectoryContent
| * Cache: fix copy-paste errorsRobin Appelman2013-02-041-2/+2
| |
| * Cache: check for invalid paths in getFileInfo/getDirectoryContentRobin Appelman2013-02-031-0/+6
| |
* | Add getOwner to Filesystem and View classesMichael Gapczynski2013-02-021-0/+10
|/
* Filesystem: use the updated Mount::findById in getPath to ensure we get the ↵Robin Appelman2013-01-281-3/+11
| | | | correct path if the storage is also mounted outside the view
* Filesystem: add View->getPath to the cache apiRobin Appelman2013-01-271-0/+15
|
* Don't check for updates for sub storages, these scans should be done in the ↵Michael Gapczynski2013-01-261-3/+0
| | | | background
* Cache: make mounts overwrite existing folders, prevents duplicate entriesRobin Appelman2013-01-221-0/+8
|
* Merge branch 'filesystem' into filesystem-etagsMichael Gapczynski2013-01-111-18/+28
|\
| * Switch scan to scanFile for root of mount pointsMichael Gapczynski2013-01-101-2/+2
| |
| * Scan mount points in root before adding a entryMichael Gapczynski2013-01-101-18/+28
| |
| * Fix permissions for mount pointMichael Gapczynski2013-01-071-1/+1
| |
* | Merge branch 'filesystem' into filesystem-etagsMichael Gapczynski2013-01-071-28/+44
|\| | | | | | | | | Conflicts: lib/files/cache/cache.php
| * Cache: normalize mimetypesRobin Appelman2013-01-071-1/+1
| |
| * Cache: split permission cache scanning and cache scanningRobin Appelman2013-01-071-8/+22
| |
| * Use the sub storage's permission cache for retrieving the correct permissionMichael Gapczynski2013-01-021-13/+15
| |
| * Cache: provide path hints to getCache/etc where availableRobin Appelman2013-01-011-14/+14
| |