aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
Commit message (Collapse)AuthorAgeFilesLines
* refactor(styles): Adjust code style in SCSS sources to match our stylelint ↵Ferdinand Thiessen2024-11-194-8/+6
| | | | | | config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Adjust `useNavigation` composable to enforce active viewFerdinand Thiessen2024-11-164-13/+16
| | | | | | | | | 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>
* 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): 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-251-3/+3
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore(files): migrate davUtils to TSGrigorii K. Shartsev2024-10-251-1/+1
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Adjust NavigationQuota for Nextcloud 30 designFerdinand Thiessen2024-10-211-5/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure renaming state is correctly resetFerdinand Thiessen2024-10-151-58/+12
| | | | | | | | | | | | | 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>
* fix(files): Add more visual move / copy notificationfix/files-add-move-infoFerdinand Thiessen2024-09-301-1/+2
| | | | | | | | * 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>
* 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: Restore missing dot in FilesListVirtual.vueartonge/fix/missing_dotLouis Chemineau2024-09-151-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat: Reset route if neither the Viewer of the Sidebar is openLouis Chemineau2024-09-141-7/+23
| | | | | | | | | | When the viewer or the sidebar is opened, we add the fileid to the route. When both of them are closed, we do not remove the fileid from the route. This means that, upon reload, the sidebar will be opened even though it was closed previously. This PR ensure that the fileid is removed from the route when both the Sidebar and the Viewer are closed. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Make `openMenu` watcher null safeFerdinand Thiessen2024-09-111-3/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Reset context menu position on closeFerdinand Thiessen2024-09-101-0/+17
| | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/46934 Ensure that after a right-click the context menu position is resetted, so that pressing the "actions"-menu button it is displayed on the correct location. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fallback icons should fill the containerFerdinand Thiessen2024-09-061-2/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Do not add click listener if there is no default action on ↵Ferdinand Thiessen2024-09-061-11/+14
| | | | | | public shares Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): "New folder" menu entry requires read permissionFerdinand Thiessen2024-09-061-5/+7
| | | | | | This will disable "New folder" menu entry for file-drop shares. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow to download files on public sharesFerdinand Thiessen2024-09-061-12/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix file previews for public sharesFerdinand Thiessen2024-09-061-7/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 appsskjnldsv2024-09-041-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Fix navigating with breadcrumbs not highlighting navigation entryChristopher Ng2024-09-031-1/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Node loading information should be accessibleFerdinand Thiessen2024-08-311-1/+6
| | | | | | | The loading icon visually informs that the node is currently loading, but there is no non-visual information (accessible information). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(files): Fix remaining TypeScript errors in FileEntryPreviewFerdinand Thiessen2024-08-291-7/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Use the blurhash in FilesLouis Chemineau2024-08-292-11/+68
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Remove margin and width to not break layoutLouis Chemineau2024-08-291-2/+0
| | | | | | | | | In grid view, this was messing with the reported available list width which was breaking the computed layout. Fix https://github.com/nextcloud/server/issues/47599 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: Adjust more places for logical positionFerdinand Thiessen2024-08-291-17/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-296-19/+20
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-273-12/+100
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): fix list gap at bottomElizabeth Danzberger2024-08-271-1/+1
| | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Reset drop notice on firefoxFerdinand Thiessen2024-08-261-7/+32
| | | | | | | | | | | On firefox there is an old bug where when you move a dragged file outside the window the `dragleave` event is never emitted. So we just use a timeout to reset the drag over state. Also a small change: Use the ID of the main container instead of relying on tag name and class. (The ID is guranteed as other APIs rely on it, while the class is just used internally). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Remove huge margin on bottomFerdinand Thiessen2024-08-262-13/+6
| | | | | | Instead make it relative to screen size. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: use empty template by default when pressing enterElizabeth Danzberger2024-08-211-0/+4
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Access node owner by top level `owner` propertyFerdinand Thiessen2024-08-171-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* perf(files): Cache `getContents` function used for uploaderFerdinand Thiessen2024-08-141-1/+1
| | | | | | | | Instead of trigger a PROPFIND for every new-menu entry clicks, or conflict handling of uploads, we can just use the cached content from the file store. If we do not have any cache entry we fetch new, but otherwise this is not needed. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Drop unneeded initial stateFerdinand Thiessen2024-08-141-11/+20
| | | | | | | The initial state is no longer used, it was only used in legacy UI and in the f2v rewrite it was only used for the `id` which can be loaded just from the URL. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): trim names on new node creationskjnldsv2024-08-091-4/+4
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat: Load limited depth treeChristopher Ng2024-08-081-3/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): file name and header sort buttons alignmentsskjnldsv2024-08-072-2/+3
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): show folder sharing overlay on received sharesskjnldsv2024-08-021-0/+2
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Minimize `min-height` of dialog formjulia.kirschenheuter2024-08-021-1/+1
| | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Fix root crumb not marking navigation entry as activeChristopher Ng2024-08-011-0/+7
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: Navigate via folder treeChristopher Ng2024-08-013-2/+190
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): empty folder pending sizeskjnldsv2024-08-011-2/+2
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* refactor(files): Resort imports and fix doc commentFerdinand Thiessen2024-08-012-11/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Migrate logger util to TypescriptFerdinand Thiessen2024-08-0111-12/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>