aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js/files_trashbin.js
Commit message (Collapse)AuthorAgeFilesLines
* Delete outdated bundlesJohn Molakvoæ (skjnldsv)2022-01-081-80/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-301-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Compile JS codeOrzu Ionut2021-11-101-1/+1
| | | | Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
* Fixed grammarrakekniven2021-11-011-2/+2
| | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Bump @babel/core from 7.14.3 to 7.14.6dependabot[bot]2021-07-181-3/+3
| | | | | | | | | | | | | | | | | Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.3 to 7.14.6. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.6/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump css-loader from 5.2.6 to 5.2.7dependabot[bot]2021-07-171-1/+1
| | | | | | | | | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.6 to 5.2.7. - [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/v5.2.6...v5.2.7) --- updated-dependencies: - dependency-name: css-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump css-loader from 5.2.0 to 5.2.6dependabot[bot]2021-05-271-1/+1
| | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.0 to 5.2.6. - [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/v5.2.0...v5.2.6) Signed-off-by: dependabot[bot] <support@github.com>
* Replace node-sass with sassJohn Molakvoæ (skjnldsv)2021-05-271-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/browserslist-config from 1.0.0 to 2.1.0dependabot-preview[bot]2021-05-251-3/+3
| | | | | | | | | Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 1.0.0 to 2.1.0. - [Release notes](https://github.com/nextcloud/browserslist-config/releases) - [Commits](https://github.com/nextcloud/browserslist-config/compare/v1.0.0...v2.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Compile nodeJohn Molakvoæ (skjnldsv)2021-03-311-1/+79
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix TerserPluginJohn Molakvoæ (skjnldsv)2021-03-171-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump css-loader from 3.6.0 to 5.0.1dependabot-preview[bot]2020-11-061-1/+1
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 5.0.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.6.0...v5.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Sort deleted files by most recently deleted firstJan C. Borchardt2020-10-131-1/+1
| | | | | | Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-201-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Compile assetsnpmbuildbot[bot]2020-07-141-1/+2
| | | | Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump bundlesJulius Härtl2020-07-071-2/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Bump css-loader from 3.4.1 to 3.5.2dependabot-preview[bot]2020-04-131-1/+1
| | | | | | | | | | 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-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-081-1/+1
| | | | | | | | | 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-221-1/+1
| | | | | 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-051-1/+1
| | | | | | | | | | 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-301-1/+1
| | | | | | | | | | 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 css-loader from 3.2.1 to 3.3.2dependabot-preview[bot]2019-12-161-1/+1
| | | | | | | | | | 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-071-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* allow trash backends to overwrite the tooltip for trash itemsRobin Appelman2019-10-051-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-011-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump webpack from 4.39.3 to 4.40.1dependabot-preview[bot]2019-09-131-1/+1
| | | | | | | | | 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-021-1/+1
| | | | | | | | | 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-251-1/+1
| | | | | | | | | | 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 style-loader from 0.23.1 to 1.0.0dependabot-preview[bot]2019-08-111-1/+1
| | | | | | | | | | 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.35.0 to 4.35.2dependabot-preview[bot]2019-07-081-1/+1
| | | | | | | | | 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-251-1/+1
| | | | | | | | | | 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-161-1/+1
| | | | | | For #14639 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Compile assetsRoeland Jago Douma2019-02-141-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move files_trashbin to webpackRoeland Jago Douma2019-02-131-0/+2
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>