aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src
Commit message (Collapse)AuthorAgeFilesLines
* Allow opening files for editing in new tabsAzul2020-04-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 eslint-config-nextcloud from 0.0.6 to 0.1.0dependabot-preview[bot]2019-12-191-20/+20
| | | | | | | | | | 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>
* 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-22/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-012-285/+284
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Trashbin: Delete => Delete permanentlyRoeland Jago Douma2019-03-161-2/+2
| | | | | | For #14639 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix trashbin restore translationRoeland Jago Douma2019-02-141-1/+1
| | | | | | The files app doesn't have this entry. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move files_trashbin to webpackRoeland Jago Douma2019-02-134-0/+485
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>