-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(FilesView): Update files view upon share creation/delete #46030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| /** | ||
| * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors | ||
| * SPDX-License-Identifier: AGPL-3.0-or-later | ||
| */ | ||
| import { davGetClient, davGetDefaultPropfind, davResultToNode, davRootPath } from '@nextcloud/files' | ||
| import type { FileStat, ResponseDataDetailed } from 'webdav' | ||
| import type { Node } from '@nextcloud/files' | ||
|
|
||
| export const client = davGetClient() | ||
|
|
||
| export const fetchNode = async (node: Node): Promise<Node> => { | ||
| const propfindPayload = davGetDefaultPropfind() | ||
| const result = await client.stat(`${davRootPath}${node.path}`, { | ||
| details: true, | ||
| data: propfindPayload, | ||
| }) as ResponseDataDetailed<FileStat> | ||
| return davResultToNode(result.data) | ||
| } |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,6 +30,7 @@ SPDX-FileCopyrightText: Julius Härtl <[email protected]> | |
| SPDX-FileCopyrightText: Joyent | ||
| SPDX-FileCopyrightText: Jordan Harband <[email protected]> | ||
| SPDX-FileCopyrightText: Jordan Harband | ||
| SPDX-FileCopyrightText: Jonas Schade <[email protected]> | ||
| SPDX-FileCopyrightText: John-David Dalton <[email protected]> (http://allyoucanleet.com/) | ||
| SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <[email protected]> | ||
| SPDX-FileCopyrightText: Jerry Bendy <[email protected]> | ||
|
|
@@ -45,11 +46,13 @@ SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) | |
| SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <[email protected]> (https://cure53.de/) | ||
| SPDX-FileCopyrightText: Denis Pushkarev | ||
| SPDX-FileCopyrightText: David Clark | ||
| SPDX-FileCopyrightText: Christoph Wurst <[email protected]> | ||
| SPDX-FileCopyrightText: Christoph Wurst | ||
| SPDX-FileCopyrightText: Chen Fengyuan | ||
| SPDX-FileCopyrightText: Arnout Kazemier | ||
| SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu> | ||
| SPDX-FileCopyrightText: Andris Reinman | ||
| SPDX-FileCopyrightText: Alkemics | ||
| SPDX-FileCopyrightText: @nextcloud/dialogs developers | ||
|
|
||
|
|
||
|
|
@@ -81,6 +84,12 @@ This file is generated from multiple sources. Included packages: | |
| - @nextcloud/event-bus | ||
| - version: 3.3.1 | ||
| - license: GPL-3.0-or-later | ||
| - @nextcloud/l10n | ||
| - version: 3.1.0 | ||
| - license: GPL-3.0-or-later | ||
| - @nextcloud/files | ||
| - version: 3.5.1 | ||
| - license: AGPL-3.0-or-later | ||
| - @nextcloud/initial-state | ||
| - version: 2.2.0 | ||
| - license: GPL-3.0-or-later | ||
|
|
@@ -147,6 +156,9 @@ This file is generated from multiple sources. Included packages: | |
| - call-bind | ||
| - version: 1.0.7 | ||
| - license: MIT | ||
| - cancelable-promise | ||
| - version: 4.3.1 | ||
| - license: MIT | ||
| - charenc | ||
| - version: 0.0.2 | ||
| - license: BSD-3-Clause | ||
|
|
@@ -309,6 +321,9 @@ This file is generated from multiple sources. Included packages: | |
| - toastify-js | ||
| - version: 1.12.0 | ||
| - license: MIT | ||
| - typescript-event-target | ||
| - version: 1.1.1 | ||
| - license: MIT | ||
| - unist-builder | ||
| - version: 4.0.0 | ||
| - license: MIT | ||
|
|
||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 1345-1345.js.license |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,6 @@ SPDX-FileCopyrightText: Roeland Jago Douma | |
| SPDX-FileCopyrightText: Richie Bendall | ||
| SPDX-FileCopyrightText: Raynos <[email protected]> | ||
| SPDX-FileCopyrightText: Philipp Kewisch | ||
| SPDX-FileCopyrightText: Perry Mitchell <[email protected]> | ||
| SPDX-FileCopyrightText: Paul Vorbach <[email protected]> (http://paul.vorba.ch) | ||
| SPDX-FileCopyrightText: Paul Vorbach <[email protected]> (http://vorb.de) | ||
| SPDX-FileCopyrightText: OpenJS Foundation and other contributors | ||
|
|
@@ -110,9 +109,6 @@ This file is generated from multiple sources. Included packages: | |
| - @nextcloud/l10n | ||
| - version: 3.1.0 | ||
| - license: GPL-3.0-or-later | ||
| - @nextcloud/sharing | ||
| - version: 0.2.2 | ||
| - license: GPL-3.0-or-later | ||
| - @nextcloud/files | ||
| - version: 3.5.1 | ||
| - license: AGPL-3.0-or-later | ||
|
|
@@ -587,9 +583,6 @@ This file is generated from multiple sources. Included packages: | |
| - web-namespaces | ||
| - version: 2.0.1 | ||
| - license: MIT | ||
| - webdav | ||
| - version: 5.6.0 | ||
| - license: MIT | ||
| - which-typed-array | ||
| - version: 1.1.14 | ||
| - license: MIT | ||
|
|
||
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,6 @@ SPDX-FileCopyrightText: Stefan-Gabriel Muscalu <[email protected] | |
| SPDX-FileCopyrightText: Sindre Sorhus | ||
| SPDX-FileCopyrightText: Roman Shtylman <[email protected]> | ||
| SPDX-FileCopyrightText: Raynos <[email protected]> | ||
| SPDX-FileCopyrightText: Perry Mitchell <[email protected]> | ||
| SPDX-FileCopyrightText: Matt Zabriskie | ||
| SPDX-FileCopyrightText: Joyent | ||
| SPDX-FileCopyrightText: Jordan Harband <[email protected]> | ||
|
|
@@ -58,9 +57,6 @@ This file is generated from multiple sources. Included packages: | |
| - @nextcloud/l10n | ||
| - version: 3.1.0 | ||
| - license: GPL-3.0-or-later | ||
| - @nextcloud/sharing | ||
| - version: 0.2.2 | ||
| - license: GPL-3.0-or-later | ||
| - @nextcloud/files | ||
| - version: 3.5.1 | ||
| - license: AGPL-3.0-or-later | ||
|
|
@@ -256,9 +252,6 @@ This file is generated from multiple sources. Included packages: | |
| - vue | ||
| - version: 2.7.16 | ||
| - license: MIT | ||
| - webdav | ||
| - version: 5.6.0 | ||
| - license: MIT | ||
| - which-typed-array | ||
| - version: 1.1.14 | ||
| - license: MIT | ||
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.