aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
* feat(files_trashbin): add cypress testsskjnldsv2024-12-121-0/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): protect filelist actions with try...catchskjnldsv2024-12-121-6/+47
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_trashbin): update @nextcloud/files and adjust api + l10n fixskjnldsv2024-12-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): Right-align list actionsChristopher Ng2024-12-121-12/+21
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): throttle favorite with max 5 simultaneous requestsskjnldsv2024-12-111-1/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #49694 from nextcloud/bugfix/fix-service-worker-scopeJohn Molakvoæ2024-12-111-2/+3
|\
| * fix: Fix ServiceWorker scope when Nextcloud installed in subfolderKostiantyn Miakshyn2024-12-061-2/+3
| | | | | | | | Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
* | fix(files): failsafe when executing actions methodsskjnldsv2024-12-112-16/+48
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(files): cancel renaming on enter if no file name changesskjnldsv2024-12-101-0/+4
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Remove unused iconChristopher Ng2024-12-031-2/+0
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Update caption for screen readers when uploading is not possibleChristopher Ng2024-12-032-22/+19
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): properly update paths and folder children on node moveskjnldsv2024-12-033-57/+112
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(templates): make second click as confirmation on templates pickerLuka Trovic2024-12-022-1/+14
| | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* fix(files): Restore page title (folder - view - product)Ferdinand Thiessen2024-11-211-1/+13
| | | | | | | | * Folder: Current folder if not root * View: Name of current view * Product: Nextcloud Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Provide `useFileListWidth` composableFerdinand Thiessen2024-11-2012-84/+155
| | | | | | | | Replace the mixin with a composable, this is better typed and works in both: Options- and Composition API. Also added component tests for it. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: add confirmation dialog for file extension changesnfebe2024-11-191-1/+78
| | | | | | | - Introduced a dialog to confirm if users want to proceed with changing the file extension. - Added handling for dialog visibility to prevent recursion. (Since it looks like use must press escape to stop rename???) Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files): improve delete display name when trashbin is disabledfix/files/delete-display-no-trashbinRichard Steinmetz2024-11-191-14/+14
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: lint fixchore/force-style-lintskjnldsv2024-11-191-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(styles): Adjust code style in SCSS sources to match our stylelint ↵Ferdinand Thiessen2024-11-197-23/+17
| | | | | | config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Replace deprecated `Types` enum for share typesFerdinand Thiessen2024-11-181-11/+15
| | | | | | | Replace with `ShareType` enum. Also fix some small Typescript issues in `FilesList.vue`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Adjust `useNavigation` composable to enforce active viewFerdinand Thiessen2024-11-166-25/+31
| | | | | | | | | In some cases it is guaranteed that we have a proper active view, e.g. when the file list is loaded (so within FileEntry* components). This does not change anything but the Typescript types, so the `currentView` is typed as `View` instead of `View | null´. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Make injected actions reactiveFerdinand Thiessen2024-11-151-3/+3
| | | | | | | Provided values are not reactive by default and by design, we must need computed to make them reactive. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): ensure valid mtime and fallback to crtime if definedskjnldsv2024-11-141-1/+15
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files): replace `@skjnldsv/sanitize-svg` with `DOMPurify`chore/drop-skjnldsv/sanitize-svgskjnldsv2024-11-141-5/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): Add support for file list actionsChristopher Ng2024-11-131-1/+30
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Revert CSS causing the file name to have no bounding boxFerdinand Thiessen2024-11-112-4/+3
| | | | | | Instead add the direction only to the filename wrapper not the button. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix file names alignment in Files List in UI RTL mode.Faisal Alghamdi2024-11-091-1/+1
| | | | Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
* fix(files): check that node is in user root folder for view-in-folder actionskjnldsv2024-11-092-0/+17
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): edit locally buttonsskjnldsv2024-11-081-8/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): open sidebar on sharing tab by default for filesskjnldsv2024-11-082-3/+39
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): multiselect and filters store declarationskjnldsv2024-11-071-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Do not jump to top when fileId is set to currentFolderartonge/fix/file_list_jump_on_viewer_closeLouis Chemineau2024-10-291-0/+5
| | | | | | Fix https://github.com/nextcloud/server/issues/48545 Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(systemtags): add cypress tests and fix a few logic issuesskjnldsv2024-10-293-2/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): add title for files list table header buttonGrigorii K. Shartsev2024-10-251-0/+1
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* refactor(files): migrate to @nextcloud/sharingGrigorii K. Shartsev2024-10-252-21/+3
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): handle empty view with errorGrigorii K. Shartsev2024-10-252-6/+63
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore(files): migrate davUtils to TSGrigorii K. Shartsev2024-10-253-15/+24
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Adjust NavigationQuota for Nextcloud 30 designFerdinand Thiessen2024-10-212-9/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(code-style): Adjust JS code to our code styleFerdinand Thiessen2024-10-162-4/+4
| | | | | | This resolves 68 ESLint warnings about invalid code style. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure renaming state is correctly resetFerdinand Thiessen2024-10-152-60/+93
| | | | | | | | | | | | | Problem: Is a node is renamed and the new name is out of the current visible list of nodes the component will be recycled, this means the props will change, so when the `onRename` functions is about to reset the state the `this.source` will point to a different node. To fix this, but also to separate business logic from visual representation, the logic is moved into the renaming store and the component is only responsible for rendering. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(sidebar): Show node owner in metadata sublinefenn-cs2024-10-073-24/+70
| | | | | | Resolves: https://github.com/nextcloud/server/issues/46178 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files): Fix folders not being selectable in the smart pickerChristopher Ng2024-10-011-12/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Add more visual move / copy notificationfix/files-add-move-infoFerdinand Thiessen2024-09-303-4/+36
| | | | | | | | * Resolves: https://github.com/nextcloud/server/issues/46645 This adds loading toast notification while the move operation is running. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Make the files download action use WebDAV zip downloadFerdinand Thiessen2024-09-282-42/+58
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Show storage full warning when storage is actually fullartonge/fix/storage_full_warningLouis Chemineau2024-09-251-2/+2
| | | | | | | < 0 values for "free" do not mean that the storage is full: https://github.com/nextcloud/server/blob/6befdd6dd7cd20fe7f7036e4665bcfbb783d6803/lib/public/Files/FileInfo.php#L31-L42 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Fix having to resolve conflicts twice when dropping filesChristopher Ng2024-09-242-13/+14
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(translations): Changed grammarrakekniven2024-09-231-1/+1
| | | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* chore(files): Remove legacy UI scripts now that everything is migrated to VueFerdinand Thiessen2024-09-201-5/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(files): Add tests for path handlingFerdinand Thiessen2024-09-201-0/+130
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure children are removed from folder and not duplicatedFerdinand Thiessen2024-09-202-13/+64
| | | | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/47904 We need to make sure that we only add one source (unique!) once as a child, this is ensured by simply use a native `Set`. Also we need to remove children on from folders when the `files:node:deleted` event is emitted. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>