summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
Commit message (Collapse)AuthorAgeFilesLines
* Bump css-loader from 3.4.1 to 3.5.2dependabot-preview[bot]2020-04-132-2/+2
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.1 to 3.5.2. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.4.1...v3.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Allow opening files for editing in new tabsAzul2020-04-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a file list files with a default action have an href that will trigger the action. This way ctrl-click and middle button click open the default action in a new tab. In order to achieve this a new param `openfile` was introduced to the files app. It will make the files app trigger the default action for the file in question. This also allows linking to file content rather than just the details display. Introduce fileList.getDefaultActionUrl() to create a link with that param set. It's overwritten in the trashbin fileList so that anchors continue to have `#` as a href. Fix the link generation for subfolders of public shares: 58a87d0 was the last commit that touched the linkTo function in public.js. It included the params as arguments to the generateUrl function. Turns out this completely ignores the dir parameter now. The inclusion was reverted in other places so revert it here as well. Also change `dir` to `path` in the param as that is respected when following the link. Add Test for the new link url for files with default action. Remove test for multiple selects with ctrl-click as that is not what we are doing anymore. Signed-off-by: Azul <azul@riseup.net>
* Bump webpack from 4.41.6 to 4.42.0dependabot-preview[bot]2020-03-082-2/+2
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.41.6 to 4.42.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.41.6...v4.42.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Update webpack bundlesChristoph Wurst2020-02-222-2/+2
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump css-loader from 3.4.0 to 3.4.1dependabot-preview[bot]2020-01-052-2/+2
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.0 to 3.4.1. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.4.0...v3.4.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump css-loader from 3.3.2 to 3.4.0dependabot-preview[bot]2019-12-302-2/+2
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.0. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump eslint-config-nextcloud from 0.0.6 to 0.1.0dependabot-preview[bot]2019-12-191-1/+1
| | | | | | | | | | Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0. - [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases) - [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0) Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump css-loader from 3.2.1 to 3.3.2dependabot-preview[bot]2019-12-162-2/+2
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.2.1 to 3.3.2. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.2.1...v3.3.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Show Delete Icon in Breadcrumb in TrashbinGary Kim2019-10-072-2/+2
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* allow trash backends to overwrite the tooltip for trash itemsRobin Appelman2019-10-052-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-012-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump webpack from 4.39.3 to 4.40.1dependabot-preview[bot]2019-09-132-2/+2
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.39.2 to 4.39.3dependabot-preview[bot]2019-09-022-2/+2
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.2 to 4.39.3. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.2...v4.39.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump sass-loader from 7.2.0 to 7.3.1dependabot-preview[bot]2019-08-252-2/+2
| | | | | | | | | | Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.2.0 to 7.3.1. - [Release notes](https://github.com/webpack-contrib/sass-loader/releases) - [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.39.1 to 4.39.2dependabot-preview[bot]2019-08-181-1/+1
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.2. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump style-loader from 0.23.1 to 1.0.0dependabot-preview[bot]2019-08-112-2/+2
| | | | | | | | | | Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 0.23.1 to 1.0.0. - [Release notes](https://github.com/webpack-contrib/style-loader/releases) - [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/style-loader/compare/v0.23.1...v1.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.38.0 to 4.39.1dependabot-preview[bot]2019-08-041-1/+1
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.38.0 to 4.39.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.38.0...v4.39.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.35.0 to 4.35.2dependabot-preview[bot]2019-07-082-2/+2
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.35.0 to 4.35.2. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.35.0...v4.35.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump css-loader from 2.1.1 to 3.0.0dependabot-preview[bot]2019-06-252-2/+2
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 2.1.1 to 3.0.0. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v2.1.1...v3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Trashbin: Delete => Delete permanentlyRoeland Jago Douma2019-03-162-2/+2
| | | | | | For #14639 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Compile assetsRoeland Jago Douma2019-02-142-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move files_trashbin to webpackRoeland Jago Douma2019-02-134-458/+3
| | | | | | | Combine the 2 js files and the scss. This saves compiling the scss on the go. And going via Nextcloud storage to obtain it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Show original path in trashbin via extraDataMorris Jobke2019-02-051-2/+5
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix opening a section again in the Files appDaniel Calviño Sánchez2018-10-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When a section is open in the Files app a "show" event is triggered. File list objects handle that event by reloading themselves, but only if the file list was shown at least once. However, the file list objects of plugins are created when the "show" event is triggered for the first time for their section; as the file list objects register their handler for the "show" event when they are created they never handle the first triggered "show" event, as the handler is set while that event is being already handled. Therefore, from the point of view of the handler, the second time that a "show" event was triggered it was seen as if the file list was shown for the first time, and thus it was not reloaded. Now the "shown" property is explicitly set for those file lists that are created while handling a "show" event, which causes them to be reloaded as expected when opening their section again. Note that it is not possible to just reload the file list whenever it is shown; the file list is reloaded also when the directory changes, and this can happen when the web page is initially loaded and the URL is parsed. In that case, if file lists were reloaded when shown for the first time then it could be reloaded twice, one with the default parameters due to the "show" event and another one with the proper parameters once the URL was parsed, and the files that appeard in the list would depend on which response from the server was received the last. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* use dav trashbin api for restoreRobin Appelman2018-09-202-48/+33
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use dav trash api for removing from trashbinRobin Appelman2018-09-202-73/+67
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use trashbin dav endpoint to list trash in webuiRobin Appelman2018-09-201-43/+39
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix trashbin file actionsRobin Appelman2018-08-091-2/+0
| | | | | | Fixes #10491 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fixed scrolling containerJohn Molakvoæ (skjnldsv)2018-07-241-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixes the restore loading icon appearing continuously.Abijeet2018-06-181-1/+1
| | | | Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Fixes issues found during running of test cases.Abijeet2018-06-181-15/+5
| | | | Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Added a new action menu in files and trash list.Abijeet2018-06-181-1/+13
| | | | | | | | Uses the new file-multi-select-menu component. Towards #7647 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Previews on for all trashbin filesRoeland Jago Douma2018-06-051-1/+1
| | | | | | | | | | * Previews possible for all files in the trashbin * Set caching * Use the fileid to find the file * Fix test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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