summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
Commit message (Collapse)AuthorAgeFilesLines
* Fix trashed file name corruption when rerendering trashbin listVincent Petry2016-06-231-0/+2
| | | | | | | The trashbin code does some gymnastics with the file data at render time. This fix makes sure that the modifications done on the file data are only local to the rendering code and doesn't affect the actual file data from the file list.
* filter hidden files on the web interfaceChristoph Wurst2016-04-191-1/+2
| | | | | | | | | | | | | | | | | | add checkbox to toggle show/hide hidden files persist show hidden setting fix settings menu layout test ApiController::showHiddenFiles don't show hidden files by default Store config in Backbone model and inject it into FileList Filter files only temporarily when rending the file list Fix file rename validation
* Return false on 401 in file list + trash file listVincent Petry2016-03-031-0/+4
| | | | | This gives a chance to the global ajax error handler to do its work if the session expired.
* Make file actions use icon CSS classesRoeland Jago Douma2016-02-251-4/+2
| | | | This makes theming of file actions possible
* Properly join path sectionsVincent Petry2015-11-221-4/+1
| | | | | This prevents double slashes that can mess up path comparisons in some cases.
* Make files app use Webdav for most operationsVincent Petry2015-11-221-1/+71
|
* Fix scrollto= parameter in trashbin viewJoas Schilling2015-11-021-1/+3
|
* Merge pull request #19647 from owncloud/trashbin-removesidebarThomas Müller2015-10-141-1/+2
|\ | | | | Remove sidebar for trashbin view
| * Remove sidebar for trashbin viewVincent Petry2015-10-081-1/+2
| |
* | Make trashbin's "Restore" an inline actionVincent Petry2015-10-121-13/+21
|/
* display checkboxes properly after file restoreHendrik Leppelsack2015-10-011-2/+2
|
* Properly translate file actionsVincent Petry2015-09-221-0/+1
|
* Fix trashbin sidebarVincent Petry2015-08-251-0/+10
| | | | | Do not display size as it is not available. Use display name instead of name to remove the ".d123456" suffix.
* Implement file actions dropdownVincent Petry2015-08-101-1/+0
| | | | | | File actions now have two types "inline" and "dropdown". The default is "dropdown". The file actions will now be shown in a dropdown menu.
* l10n: delete permanently fixVolkan Gezer2015-01-111-2/+2
|
* fix accessibility for deleted filesJan-Christoph Borchardt2014-12-181-0/+1
|
* Merge pull request #12527 from owncloud/js-pluginsystemRobin Appelman2014-12-121-0/+1
|\ | | | | Simple Plugin system for Javascript
| * Simple Plugin system for JavascriptVincent Petry2014-12-011-0/+1
| |
* | Merge pull request #12696 from owncloud/trashbin-selected-deleteRobin Appelman2014-12-081-0/+4
|\ \ | | | | | | Fix deleting selected files in the trashbin
| * | Fix deleting selected files in the trashbinRobin Appelman2014-12-081-0/+4
| |/
* / Improve FileActions JS to allow for custom renderingVincent Petry2014-11-241-15/+28
|/ | | | | | | | | | This improves the OCA.Files.FileActions class to support passing a "render" function in the action object. The default function "_defaultRenderFunction" is used by default and renders actions in the usual actions container. Moved "Rename" and "Delete" to custom render functions.
* Improved Javascript docs for JSDocVincent Petry2014-10-312-3/+22
| | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.
* correct progress-icon to icon-loading-smallJan-Christoph Borchardt2014-09-222-4/+4
|
* correct delete-icon to icon-delete, fix #11128Jan-Christoph Borchardt2014-09-222-4/+4
|
* Distinguish legacy file actions from regular file actionsVincent Petry2014-05-302-12/+10
| | | | | | | | | | | | | | Legacy file actions are registered by legacy apps through window.FileActions.register(). These actions can only be used by the main file list ("all files") because legacy apps can only deal with a single list / container. New file actions of compatible apps must be registered through OCA.Files.fileActions. These will be used for other lists like the sharing overview. Fixed versions and sharing actions to use OCA.Files.fileActions, which makes them available in the sharing overview list.
* Fixed file actions for sharing viewsVincent Petry2014-05-301-2/+4
| | | | | | | | FileActions can now be clone to be use for separate file list views without having the side-effect of affecting the main file list view. Added "Open" action in sharing overview file lists to redirect to the regular file list when clicking on a folder.
* Fixed many issues, clean upVincent Petry2014-05-153-34/+27
| | | | | | | | | | | | | | | - fixed upload and storage statistics - fixed infinite scroll to use the correct contain for scroll detection - fixed unit test that sometimes fail for rename case - controls are now sticky again - fixed selection overlay to be aligned with the table - fixed "select all" checkbox that had id conflicts - fixed public page - fixed global actions permissions detection - fix when URL contains an invalid view id - viewer mode now hides the sidebar (ex: text editor) - added unit tests for trashbin - clean up storage info in template (most is retrieved via ajax call now)
* Namespacing for FileList, FileActions and trashbin appVincent Petry2014-05-155-292/+307
| | | | | | | | | | | | | | | | | - FileList is now an instantiable class - FileActions is now in namespace - added App class for trashbin app - moved trashbin overrides into classes extending FileList - replaced many static calls with "this." or "self." to make the classes reusable/extendable - new URL parameter "view" to specify which view is shown, for example "files" or "trashbin" - added OC.Util.History utility class in core for handling history - moved URL handling/routing to OCA.Files.App - popstate will correctly update the current view and notify the view of the URL change so it can update the current dir - added JS unitt tests for the trashbin app - fixed public app to work with the new namespaces
* Set default sort of trashbin to timestamp descendingVincent Petry2014-04-281-0/+1
|
* Cleanup and fix trashbin "clear all files" operationVincent Petry2014-04-281-1/+1
|
* Fixed selection to be based on FileList.filesVincent Petry2014-04-281-2/+2
| | | | | | | | | | The file selection is now based on the internal model array FileList.files instead of the visible checkboxes. This makes it possible to virtually select files that haven't been rendered yet (select all, then deselect a visible one) Added more unit tests for selection (with shift and ctrl as well)
* Fix trashbin previews and "delete selected"Vincent Petry2014-04-281-3/+3
|
* Fix file selection for infinite scrollingVincent Petry2014-04-282-161/+128
| | | | | | | - moved file selection code to FileList - fix selection summary when all files are selected - nextPage now auto-selects files if "select all" checkbox is checked - fixed trashbin to use the same selection logic as FileList
* Fix file summary to use the whole file listVincent Petry2014-04-281-2/+4
| | | | | | - moved the summary code into a new class FileSummary - FileSummary is calculated only once, then updated with add/remove - added new OC.Util namespace for JS utility functions
* Fix localization issues of files_trashbinVolkan Gezer2014-04-171-4/+4
|
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-023-103/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Do not retrieve storage stats for trash binVincent Petry2014-03-281-0/+5
|
* Fixed trashbin titleVincent Petry2014-02-201-1/+31
|
* Trashbin select all now doesn't send file listVincent Petry2014-02-171-64/+77
| | | | | | | | - Fixed "delete" and "restore" actions to not send the file list when all files are selected - When some files are selected, sends the current dir - Removed "dirListing" attribute as the backend is able to compute the value based on the current dir
* Fixed various file name escaping issues in core appsVincent Petry2014-01-101-7/+7
| | | | | | | - Refactored file tr lookup into FileList.findFileEl that uses filterAttr to avoid escaping issues in jQuery selectors - Fixed versions and sharing app to properly escape file names in attributes
* toggle select all checkboxBjoern Schiessle2013-12-121-0/+8
|
* make it possible to select foldersBjoern Schiessle2013-12-021-35/+6
|
* fix delete files from trash binBjoern Schiessle2013-12-021-2/+3
|
* fix restore from files in sub-foldersBjoern Schiessle2013-11-291-2/+2
|
* Deleting all files in trash now only sends a single flagVincent Petry2013-11-112-10/+45
| | | | | | | | To prevent having to send the list of all files for deletion, only set a flag "allfiles". This should make it a bit smoother when deleting 5000+ files. Also fixes some "empty trash" message issues.
* Fixed clicking on the "Home" breadcrumb in the trash appVincent Petry2013-10-281-5/+0
| | | | | Clicking on the "home" breadcrumb now correctly brings the user back to the files app.
* update file summary after group delete/restoreBjoern Schiessle2013-10-091-0/+2
|
* fix checkboxBjoern Schiessle2013-10-091-37/+15
|
* fix indentionBjoern Schiessle2013-10-091-99/+99
|
* fix group delete/restoreBjoern Schiessle2013-10-091-18/+17
|