aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src
Commit message (Collapse)AuthorAgeFilesLines
* feat(trashbin): Show original location of deleted fileChristopher Ng2024-04-032-3/+39
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(dav): multiple fixes in usage of webdav libraryVarun Patil2024-02-281-6/+19
| | | | | | | | 1. Refresh token on update 2. Fix some very weird imports 3. Patch fetch instead of request to prevent accessing impl details Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* fix(files): encoded source path on actions requestsJohn Molakvoæ2023-10-032-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: encode uri for delete, restore and favoriteDaniel Kesselberg2023-09-282-2/+3
| | | | | | To encode # and other characters properly Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: avoid side-effect importsJohn Molakvoæ (skjnldsv)2023-09-211-4/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix: encode basename in restore actionDaniel Kesselberg2023-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat: migrate FileAction from serverJohn Molakvoæ2023-08-232-7/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: use Navigation from `@nextcloud/files`John Molakvoæ2023-08-233-12/+9
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(files): add Headers, remove legacy methods and cleanupJohn Molakvoæ2023-08-171-2/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(f2v): migrate FilesJohn Molakvoæ2023-08-171-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): default emptycontent messageJohn Molakvoæ2023-07-181-0/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: add modified columnJohn Molakvoæ2023-07-052-3/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): restore action tslintJohn Molakvoæ2023-07-051-3/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): favoritesJohn Molakvoæ2023-07-051-11/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): standardize `files:node:event` event syntaxJohn Molakvoæ2023-04-141-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(files_trashbin): cleanup old legacy filesJohn Molakvoæ2023-04-072-500/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(eslint): clean and fixJohn Molakvoæ2023-04-064-10/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): add FileAction serviceJohn Molakvoæ2023-04-061-1/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: improved preview handlingJohn Molakvoæ2023-04-061-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): move userconfig to dedicated store and fix crop previewsJohn Molakvoæ2023-04-061-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): batch actionsJohn Molakvoæ2023-04-061-16/+26
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): propagate restore and delete eventsJohn Molakvoæ2023-04-061-4/+10
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(accessibility): add files table caption and summaryJohn Molakvoæ2023-04-061-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): fix custom render components reactivityJohn Molakvoæ2023-04-061-1/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): implement sorting per viewJohn Molakvoæ2023-04-061-2/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): actions apiJohn Molakvoæ2023-04-063-5/+71
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): custom columnsJohn Molakvoæ2023-04-062-1/+24
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files_trashbin): previews crop supportJohn Molakvoæ2023-04-061-1/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files_trashbin): migrate to vueJohn Molakvoæ2023-04-064-29/+147
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-231-2/+2
| | | | 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-262-4/+4
| | | | | | | | | | | 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-113-3/+3
| | | | 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>
* Fixed grammarrakekniven2021-10-311-2/+2
| | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* Bump js licensesJohn Molakvoæ (skjnldsv)2021-03-313-11/+67
| | | | 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>
* Bump compiled filesJohn Molakvoæ (skjnldsv)2020-07-311-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-201-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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>