summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/app.php
Commit message (Collapse)AuthorAgeFilesLines
* Move Files app to PSR-4 (#24569)Joas Schilling2016-05-121-47/+0
| | | | | | * Move lib/ of Files app to PSR-4 * Move tests to PSR-4
* Happy new year!Thomas Müller2016-01-121-3/+1
|
* Make files app use Webdav for most operationsVincent Petry2015-11-221-87/+1
|
* Check target name on rename with web UIVincent Petry2015-05-291-0/+11
| | | | | | | | When renaming over the web UI, check early that the target name is valid. This prevents nonsensical error messages when renaming to a name with a trailing backslash.
* Update license headersJenkins for ownCloud2015-03-261-13/+16
|
* Revert "Updating license headers"Morris Jobke2015-02-261-16/+15
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-15/+16
|
* 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
* add error message if user wants to rename a file which no longer existsBjoern Schiessle2014-08-111-4/+14
|
* 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.
* we no longer need to handle the Shared folder different from any other folderBjoern Schiessle2014-04-231-9/+2
|
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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.
* 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.
* avoid usage of brand name 'ownCloud'Thomas Müller2013-10-281-1/+1
|
* adding PHPDoc commentsThomas Müller2013-10-221-0/+7
|
* prevent user from creating or renaming sth. to an existing filenameJörn Friedrich Dreyer2013-10-221-1/+9
| | | | | | | | - show tooltip when violating naming constraints while typing - when target filename exists on server fallback to dialog to interrupt the users flow because something unexpected went wrong - fixes #5062 - also fixes some whitespace and codestyle issues in files js - uses css selector over filterAttr in touched js files
* Add _many_ newlines at the end of fileskondou2013-08-181-1/+1
|
* if rename of file fails, the rename is undone in the view - #fix 2820Morris Jobke2013-06-151-1/+1
| | | | | | | | Changes: * OC.dialog -> OC.Notification * Added test * Fixed OC.Notification.show() issue for queued items * Highlight failed item and show notification
* [files] add private declaration of $viewMorris Jobke2013-05-141-0/+1
|
* [files] rename lib to "App"Morris Jobke2013-05-121-0/+78