aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into remove-user-storage-entryRobin Appelman2014-02-101-1/+2
|\
| * close statement in MimeType detection is executed [#7069]Jens-Christian Fischer2014-02-041-1/+2
| | | | | | | | | | close statement was never executed due to it being after a return statement.
* | Also clean up the filecache table when deleting a storage entryRobin Appelman2014-02-031-0/+6
| |
* | Also remove the user's home storage from the storage table when deleting a userRobin Appelman2014-01-211-0/+13
|/
* Reuse the data retrieved from the cache in checkUpdateRobin Appelman2014-01-202-4/+7
|
* Fixed quota wrapper to not wrap failed fopen streamsVincent Petry2014-01-191-1/+1
| | | | | | | | | | | | When calling fopen() on some storage types, these return false instead of throwing an exception. This fix makes sure that in case the stream wasn't opened (for example when a file doesn't exist any more) the stream isn't wrapped. Also added 'rb' as another case that doesn't need to be wrapped. Fixes #6832
* Merge pull request #6768 from owncloud/scanner-use-storage-mtimeVincent Petry2014-01-151-1/+1
|\ | | | | Use storage_mtime when determining if we can reuse cached data while scanning
| * Use storage_mtime when determining if we can reuse cached data while scanningRobin Appelman2014-01-141-1/+1
| |
* | Fix calculated folder size to use unencrypted sizeVincent Petry2014-01-091-5/+17
|/ | | | | | The encrypted size was used when calculating folder sizes. This fix now also sums up the unencrypted size and shows that one when available.
* Prevent deleting storage rootVincent Petry2014-01-081-0/+13
| | | | | | | | Storage mount points are not deletable, so make sure that the unlink operation and its hooks aren't run in such cases. Note that some storages might recursively delete their contents when calling unlink on their root. This fix prevents that as well.
* Now also preventing to override "files" dir size with -1Vincent Petry2014-01-071-1/+1
| | | | Fixes #6526
* Return SPACE_UNKNOWN if disk_free_space is disabled when getting the free ↵Robin Appelman2014-01-021-1/+1
| | | | space on a local storage
* Merge pull request #6201 from owncloud/backgroundscan-reuse-etagVincent Petry2013-12-061-1/+1
|\ | | | | reuse etags when doing a background scan
| * reuse etags when doing a background scanRobin Appelman2013-12-051-1/+1
| |
* | Users of getFolderContent are mostly interested in the unecrypted file sizeBart Visscher2013-12-061-0/+4
|/
* Merge pull request #6168 from owncloud/extstorage-testtestmethodFrank Karlitschek2013-12-031-0/+8
|\ | | | | Added unit test for the test() method of ext storage
| * Added unit test for the test() methodVincent Petry2013-12-031-0/+8
| | | | | | | | This is to make sure that method isn't broken
* | check if a directory exists before we try to remove itRobin Appelman2013-12-021-2/+6
|/
* Merge pull request #6099 from owncloud/fix_source_not_found_warningsMorris Jobke2013-11-281-1/+5
|\ | | | | make sure that we don't try to access an already deleted files
| * correctFolder() already resolves the dirname internallyBjoern Schiessle2013-11-281-1/+1
| |
| * make sure that we don't try to access an already deleted files, fixes some ↵Bjoern Schiessle2013-11-281-2/+6
| | | | | | | | file source not found warnings
* | Redetect mime type whenever extension is renamedVincent Petry2013-11-271-0/+6
|/
* Merge pull request #5874 from owncloud/fix-5845Thomas Müller2013-11-242-2/+2
|\ | | | | Fix file uploads on Windows with SQL Server
| * Compare dirname() results to DIRECTORY_SEPARATOR, not '/'ringmaster2013-11-141-1/+1
| |
| * Alias the aggregate columns so SQL Server doesn't combine them.ringmaster2013-11-141-1/+1
| |
* | Moved default isReadable/isUpdatable impl into Common classVincent Petry2013-11-221-0/+13
| | | | | | | | | | Also adjusted all ext storage backends to not override these when the default behavior is expected.
* | Now using the "Home" storage detection approach for quotaVincent Petry2013-11-211-0/+17
| | | | | | | | | | To find out whether to apply a quota, we now try and detect whether the storage to wrap is a "Home" storage.
* | Change default mimetype detection for storage backends to only use filenameRobin Appelman2013-11-204-37/+7
| |
* | 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
| | | | |