summaryrefslogtreecommitdiffstats
path: root/lib/private/files
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5927 from owncloud/quota-excludeextstorageMorris Jobke2013-11-182-4/+8
|\ | | | | External storage space is now not counted in total space
| * External storage space is now not counted in total spaceVincent Petry2013-11-182-4/+8
| | | | | | | | | | | | | | Added argument to getFileInfo() to disable adding the size of mountpoints to a directory's size. Fixes #5924
* | Root size for home storage is now size of "files" subdirVincent Petry2013-11-181-0/+13
|/ | | | Fixes #4593
* Fixed normalizePath() to strip out single dot dirsVincent Petry2013-11-141-3/+17
| | | | Now removing "/./" and trailing "/." from the paths when normalizing.
* Now using HomeStorage for legacy home storage idsVincent Petry2013-11-122-4/+24
| | | | | Legacy home storage ids with the format "local://path/to/datadir/user1" are now also wrapped by the HomeStorage.
* Now calling parent method when path is not rootVincent Petry2013-11-121-16/+8
|
* Do not use -1 as the size for the root folder of the home storageRobin Appelman2013-11-123-5/+60
|
* Merge pull request #5701 from owncloud/sharing-updateownerfoldersizesMorris Jobke2013-11-111-3/+6
|\ | | | | Fixed watcher to also update the owner's folder sizes
| * Fixed watcher to also update the owner's folder sizesVincent Petry2013-11-051-3/+6
| | | | | | | | Note that the root folder size is mandatory for quota calculation.
* | Add post hooks for filesystem scannerRobin Appelman2013-11-071-0/+5
| |
* | Merge pull request #5673 from owncloud/oc6-windows-server-mssql-masterThomas Müller2013-11-051-4/+3
|\ \ | |/ |/| Oc6 windows server mssql master
| * WIN: fixing Fatal error: Call to a member function logicToPhysical() on a ↵Thomas Mueller2013-11-021-4/+3
| | | | | | | | non-object in C:\jenkins2\workspace\server-stable5-windows\database\mssql\label\WINDOWS\lib\files\storage\mappedlocal.php on line 311
* | Merge pull request #5540 from owncloud/scanner-enhancments-masterThomas Müller2013-11-042-3/+17
|\ \ | |/ |/| Scanner enhancments master
| * set log level to DEBUGThomas Müller2013-11-041-2/+4
| |
| * using array_diff_assoc to detect diffs in values as wellThomas Müller2013-10-251-1/+1
| |
| * cast storage_mtime to intThomas Müller2013-10-251-0/+1
| |
| * log the data arraysThomas Müller2013-10-241-1/+3
| |
| * some logging added ....Thomas Müller2013-10-241-2/+11
| |
* | Merge branch 'master' into home-storageThomas Müller2013-10-303-14/+69
|\ \
| * \ Merge branch 'master' into update-parent-storage-mtimeRobin Appelman2013-10-303-14/+49
| |\ \ | | | | | | | | | | | | | | | | Conflicts: lib/private/files/cache/updater.php
| | * \ Merge branch 'master' into fix_file_cache_updater_masterBjoern Schiessle2013-10-292-2/+10
| | |\ \
| | | * | Map empty mimetypes to octet-stream for Oracle DBMS.Andreas Fischer2013-10-291-0/+4
| | | | |
| | | * | Return early if fileinfo is there.Andreas Fischer2013-10-291-0/+1
| | | | |
| | | * | Reset mimetype to application/octet-stream on empty reply from file command.Andreas Fischer2013-10-291-0/+4
| | | | |
| | | * | Do not calculate $isWrapped if not needed.Andreas Fischer2013-10-291-2/+1
| | | | |
| | * | | make sure that also the storage etag gets changedBjoern Schiessle2013-10-291-4/+7
| | | | |
| | * | | make getUidAndFilename() privateBjoern Schiessle2013-10-291-1/+1
| | | | |
| | * | | backport of https://github.com/owncloud/core/pull/5513Bjoern Schiessle2013-10-291-12/+36
| | |/ /
| * / / Update the parent folders storage_mtime on write and delete to prevent rescansRobin Appelman2013-10-291-1/+21
| |/ /
* | | dont use the home storage for non-existing usersRobin Appelman2013-10-291-2/+2
| | |
* | | use the new home storage backend when no existing local storage backend ↵Robin Appelman2013-10-292-2/+21
| | | | | | | | | | | | exists for the user's home
* | | add specialized storage backend for home foldersRobin Appelman2013-10-291-0/+31
|/ /
* | Added comment for clarification about fseek() call in quota.phpVincent Petry2013-10-251-0/+2
| |
* | Fixed quota stream to not wrap read-only fopen callsVincent Petry2013-10-251-1/+1
| |
* | Fixed quota stream's fseek methodVincent Petry2013-10-251-2/+12
|/ | | | | | - Added missing return statement - Added missing support for SEEK_END - Fixes #5524
* Catch duplicate insertion errors while scanning filesVincent Petry2013-10-232-14/+38
| | | | | | | | | | | | | | | | When two scanning processed run at the same time, for example when scan.php and list.php were called at the same time on an external storage mountpoint, duplicate insertion errors can occurs. These errors are now logged and ignored. Since both scans are running in parallel transactions, they don't see each other's changes directly in the DB which can cause duplicate insertion errors for mime types as well, but those mime types can't be selected yet. The solution to this is to force-reload the mimetypes list after the transaction is finished. Fixes #5199
* Prevent renaming/deleting mount pointsVincent Petry2013-10-151-1/+2
| | | | | | | Fixed permissions returned for mount points to not include update and delete permissions. Fixes #5291
* Merge pull request #5263 from owncloud/fixing-5255-masterVicDeo2013-10-101-1/+3
|\ | | | | Proper behavior of resolvePath()
| * 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()
* | merge master into hooks-view-same-startRobin Appelman2013-10-102-280/+2
|\|
| * Merge pull request #5221 from owncloud/fixing-5217-masterVicDeo2013-10-101-279/+0
| |\ | | | | | | fixing php 5.3 compatibility
| | * php 5.3 compatibility for \OC\Files\StorageThomas Müller2013-10-081-279/+0
| | |
| * | don't trigger the create hooks when if the file already exists for ↵Robin Appelman2013-10-091-1/+2
| |/ | | | | | | file_put_contents
* / ensure the view's root is a subfolder of the the default root, not only ↵Robin Appelman2013-10-091-1/+4
|/ | | | starting the same
* Check result only onceVictor Dubiniuk2013-10-041-3/+5
|
* Make mimetypes static. Jenkis will be happyVictor Dubiniuk2013-10-041-11/+11
|
* Load all mimetypes in one goVictor Dubiniuk2013-10-041-17/+20
|
* only perform files upgrade in case there are actually entries in the old ↵Thomas Müller2013-10-021-1/+9
| | | | fscache table
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-3037-0/+8317
Conflicts: lib/private/vcategories.php