summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/getstoragestats.php
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Updating license headers"Morris Jobke2015-02-261-23/+1
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-1/+23
|
* Manually type-case all AJAX filesLukas Reschke2015-02-131-1/+1
| | | | | | This enforces proper types on POST and GET arguments where I considered it sensible. I didn't update some as I don't know what kind of values they would support :see_no_evil: Fixes https://github.com/owncloud/core/issues/14196 for core
* Add error handling to getstoragestats.phpRobin Appelman2015-01-061-1/+5
|
* kill OC::$sessionJörn Friedrich Dreyer2014-08-291-1/+1
| | | | | | | | | | | | maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession restore order os OC::$session and OC::$CLI remove unneded initialization of dummy session write back session when $useCustomSession is true log warning when deprecated app is used
* Merge branch 'master' into load-apps-proper-masterThomas Müller2014-03-211-0/+1
|\ | | | | | | | | | | | | Conflicts: apps/files/ajax/rawlist.php cron.php ocs/v1.php
| * close the session on all file operationsThomas Müller2014-03-101-0/+1
| |
* | remove superfluous $RUNTIME_APPTYPESThomas Müller2014-02-061-3/+0
|/
* Fixed storage stats to be based on current directoryVincent Petry2013-11-061-1/+7
| | | | | | | | Previously, the storage statistics were always for the root dir. This means that the upload button would always show the limit for the root dir, even when uploading to a shared dir or external storage. This fix adds a "dir" argument to getstoragestats.php.
* remove unneccessary lib in namespaceJörn Friedrich Dreyer2013-09-201-1/+1
|
* namespaces use upcasefirst partsJörn Friedrich Dreyer2013-09-201-1/+1
| | | | | when _ is left in namespace and files are named after their classes the autoloader will also find classes in the lib folder of an app its magic!
* introducing class OCA/files/lib/Helper with new function to build an array ↵Thomas Mueller2013-01-191-8/+1
| | | | | | | with storage stats DRYing the code by using \OCA\files\lib\Helper::buildFileStorageStatistics() now returning used space percent on each ajax call
* adding a ajax call to get the current file storage stats like free spaceThomas Mueller2013-01-111-0/+16
logic to call it every 5 minutes make use of visibility API/jquery-visibility to perform the ajax call only if the browser is visible/in use