aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/helper.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix folder name for storage rootRobin Appelman2014-06-061-1/+1
|
* Merge pull request #8435 from owncloud/fix-8322-masterThomas Müller2014-05-191-12/+4
|\ | | | | Expose permission via WebDAV
| * - Introduce isShared() and isMounted() on FileInfo classThomas Müller2014-05-021-13/+4
| | | | | | | | | | | | - Reuse these methods on determineIcon() - Generate permission string for the desktop client - expose {http://owncloud.org/ns}permissions as additional WebDAV property containing the permission string
* | Fix PHPDoc in /appsRobin McCorkell2014-05-161-1/+1
| |
* | typos, indentation and remove of unused codeThomas Müller2014-04-281-6/+5
| |
* | Added unit test in files app for sort function in helper classVincent Petry2014-04-281-6/+15
| | | | | | | | | | Added unit test for the Helper class in the files app that tests the different sort orders.
* | Add sorting to files list, trashbin and public filesVincent Petry2014-04-281-3/+52
|/
* always allow to rename the share mount pointBjoern Schiessle2014-04-231-0/+3
|
* don't overwrite shared folder iconBjoern Schiessle2014-04-231-2/+1
|
* make max. text translatableVolkan Gezer2014-04-211-1/+1
|
* adding parentId to file info arrayThomas Müller2014-04-071-1/+2
|
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-43/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files app: - removed file list template, now rendering list from JSON response - FileList.addFile/addDir is now FileList.add() and takes a JS map with all required arguments instead of having a long number of function arguments - added unit tests for many FileList operations - fixed newfile.php, newfolder.php and rename.php to return the file's full JSON on success - removed obsolete/unused undo code - removed download_url / loading options, now using Files.getDownloadUrl() for that - server side now uses Helper::getFileInfo() to prepare file JSON response - previews are now client-side only Breadcrumbs are now JS only: - Added BreadCrumb class to handle breadcrumb rendering and events - Added unit test for BreadCrumb class - Moved all relevant JS functions to the BreadCrumb class Public page now uses ajax to load the file list: - Added Helper class in sharing app to make it easier to authenticate and retrieve the file's real path - Added ajax/list.php to retrieve the file list - Fixed FileActions and FileList to work with the ajax list Core: - Fixed file picker dialog to use the same list format as files app
* Improve sorting performance of large lists of filesRobin Appelman2014-03-191-6/+9
|
* Fix svg icons for public shares and external/shared filesRobin Appelman2014-02-191-3/+3
|
* Show svg mime icons when no preview is availableRobin Appelman2014-02-191-6/+8
|
* use a FileInfo object of the directory when generting the filelistRobin Appelman2014-02-181-22/+0
|
* merge master into storagestatistics-reuseRobin Appelman2014-02-051-0/+1
|\
| * Use $storageInfo['free']Pellaeon Lin2014-01-291-2/+1
| |
| * Fix namespacePellaeon Lin2014-01-151-1/+1
| |
| * Update #free_space on getstoragestats AJAX callPellaeon Lin2013-12-111-0/+2
| |
* | Reuse the calculated free_space in buildFileStorageStatisticsRobin Appelman2014-01-271-4/+4
|/
* Fixed folder icon for home storageVincent Petry2013-11-061-1/+1
| | | | Fixes #5713
* Append file etag to preview URLsVincent Petry2013-10-281-1/+1
| | | | Fixes #5534
* Merge branch 'master' into appframework-masterThomas Müller2013-09-251-5/+5
|\ | | | | | | | | | | Conflicts: apps/files/lib/helper.php apps/files_trashbin/lib/helper.php
| * fix previews in shared foldersGeorg Ehrke2013-09-231-2/+2
| |
| * remove unneccessary lib in namespaceJörn Friedrich Dreyer2013-09-201-3/+3
| |
| * namespaces use upcasefirst partsJörn Friedrich Dreyer2013-09-201-3/+3
| | | | | | | | | | 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!
* | use \OC::$server->getPreviewManager() instead of \OCP\PreviewThomas Müller2013-09-171-1/+1
|/
* Fixed ajax support to also update the current dir permissionsVincent Petry2013-09-131-0/+22
|
* Ajax calls for "files" and "files_trashbin" appsVincent Petry2013-09-131-0/+65
| | | | | | | | | | | | | Frontend: - The files app list now uses ajax calls to refresh the list. - Added support the browser back button (history API). - Added mask + spinner while loading file list Backend: - Added utility function in core JS for parsing query strings. - Moved file list + breadcrumb template data code to helper functions - Fixed some file paths in trashbin app to be similar to the files app
* added determineIcon to \OCA\files\lib\HelperThomas Müller2013-09-121-0/+29
|
* storage information is path specificThomas Müller2013-08-271-1/+1
|
* introducing class OCA/files/lib/Helper with new function to build an array ↵Thomas Mueller2013-01-191-0/+20
with storage stats DRYing the code by using \OCA\files\lib\Helper::buildFileStorageStatistics() now returning used space percent on each ajax call