aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src/filelist.js
Commit message (Collapse)AuthorAgeFilesLines
* chore(files_trashbin): cleanup old legacy filesJohn Molakvoæ2023-04-071-348/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(eslint): replace node/no-missing-import by n/no-missing-importJohn Molakvoæ2023-03-231-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: Limit trashbin restore/delete to 2 concurrent request to avoid locking ↵Julius Härtl2023-02-021-12/+12
| | | | | | in the backend Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix preview cropJohn Molakvoæ2023-01-041-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Replace files app ids to classesVincent Petry2022-07-261-3/+3
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace license information to SPDX expressionLouis Chemineau2022-01-111-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Show most recently deleted files first in trash canOrzu Ionut2021-11-091-1/+1
| | | | Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
* Fixed grammarrakekniven2021-11-011-3/+3
| | | | | | | 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 js licensesJohn Molakvoæ (skjnldsv)2021-03-311-5/+23
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Sort deleted files by most recently deleted firstJan C. Borchardt2020-10-131-1/+3
| | | | | | 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>
* 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>
* 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-011-231/+231
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move files_trashbin to webpackRoeland Jago Douma2019-02-131-0/+321
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>