aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersJenkins for ownCloud2015-03-264-27/+76
|
* Revert "Updating license headers"Morris Jobke2015-02-264-73/+32
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-234-32/+73
|
* Move displaying of files related activities to files appJoas Schilling2015-02-131-0/+278
|
* Catch exception properlyLukas Reschke2015-02-041-7/+12
| | | | | | `\OCA\Files\Helper::buildFileStorageStatistics` might throw an exception from `OC_Helper::getStorageInfo`, previously this lead to a uncatched exception being thrown when invoking this methods. This was user triggable by for example calling `/index.php/apps/files/ajax/delete.php` with a not existing dir (for example `dir=asdf/../&allfiles=true`)
* Fix PHP doc and enforce typeLukas Reschke2015-01-131-3/+3
|
* Return path attribute for ajax rename operationsVincent Petry2015-01-121-0/+1
| | | | | | | This fixes an issue when renaming files from a flat list view like "Favorites" or "Shared with you", in which case the path needs to be present in the response to make sure the data-path attribute is properly set in the JS side.
* Return tags after renameVincent Petry2015-01-121-2/+3
| | | | | | To make it possible for the web UI to correctly display the tag/favorite information after a rename, this information is now returned in the rename response
* Only populate tags in main file listVincent Petry2014-12-181-1/+0
| | | | | | Moved populateTags to be done on the main file list. This prevents the public file list to go through the same code and cause an error when there is no user.
* Added favorites feature to the files appVincent Petry2014-12-151-0/+25
|
* Merge remote-tracking branch 'upstream/master'brumsel2014-12-032-5/+7
|\
| * Only show undelete capability if files_trashbin is enabledLukas Reschke2014-11-181-1/+0
| | | | | | | | Fixes the OCS capability API at /ocs/v1.php/cloud/capabilities
| * Add type hinting to functionsLukas Reschke2014-10-241-4/+7
| | | | | | | | It's only reasonable to have proper type hinting here which might even help us to catch bugs.
* | Fix timestamp comparator return valuebrumsoel2014-10-081-1/+1
|/
* Fix file size comparator return valuebrumsoel2014-10-081-1/+1
|
* Merge pull request #7254 from owncloud/core-sortalgoLukas Reschke2014-09-161-1/+1
|\ | | | | Fixed JS sort comparator to be consistent between JS and PHP
| * Fixed file list sortingVincent Petry2014-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Now using a natural sort algorithm that is more consistent between JS and PHP (although not perfect in some corner cases) - added OC.Util.naturalSortComparator that uses the same algo that was used for the user list - changed user list and files list to use OC.Util.naturalSortComparator - removed toLowerCase() and changed the comparator to use String.localeCompare() - added unit tests - added OC_NaturalSort that is used by OCP\Util::naturalSortCompare()
* | Show original path information in trashbin and sharing viewsRobin McCorkell2014-09-111-0/+3
| | | | | | | | Path will only be shown if in subdirectory, not in root.
* | add error message if user wants to rename a file which no longer existsBjoern Schiessle2014-08-111-4/+14
|/
* Use svg mimeicons for empty text filesRobin Appelman2014-07-301-2/+2
|
* Added mountType attribute and adapted Delete action textVincent Petry2014-07-141-0/+13
| | | | | | | | | | | | | | Added mountType attribute for files/folder to indicated whether they are regular, external or shared. The client side then adapts the "Delete" action hint text based on this information. Only the mount roots must have the delete icon hint adapted. To make this detectable on the client side, the mountType can now be null, "shared", "shared-root", "external" or "external-root". This also gives room to icon customization on the client side.
* 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
| |
* | Added navigation manager in files app for the sidebarVincent Petry2014-05-151-0/+17
| | | | | | | | | | | | | | Apps can now register navigation items into the sidebar of the files app. For every sidebar item there is a container. The container's content is rendered based on the script name given at registration time.
* | 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
|
* we no longer need to handle the Shared folder different from any other folderBjoern Schiessle2014-04-231-9/+2
|
* 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-022-62/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-052-2/+13
|\
| * Merge branch 'master' into pr-exceed_upload_limit_msgPellaeon Lin2014-01-301-2/+12
| |\ | | | | | | | | | | | | | | | Conflicts: apps/files/templates/index.php apps/files_sharing/templates/public.php
| | * Added error message for when target folder was removedVincent Petry2014-01-291-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whent trying to upload/rename/create files in a folder that was removed or rename, the correct error message is now shown. In the case of upload of multiple files, the upload is cancelled. This situation can happen if the target folder was renamed or removed from another browser window or client.
| | * Fix warnings in logs when renaming over the web UIVincent Petry2014-01-291-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | The determineIcon() method was expecting attributes to be set which caused warnings about undefined indices in the error log. This fix pre-initializes the array with 'directory' and 'isPreviewAvailable' to make them disappear.
| * | 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 directory icon after renameVincent Petry2013-11-281-0/+6
|
* Update file list entry on renameVincent Petry2013-11-271-5/+12
| | | | | | Whenever a file is renamed, if the extension changes, the mime type and preview might change. This fix passes the updated info to the client that updates it.
* Fixed folder icon for home storageVincent Petry2013-11-061-1/+1
| | | | Fixes #5713