-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46030 from nextcloud/fix/44961/shared-state-file-…
…list fix(FilesView): Update files view upon share creation/delete
- Loading branch information
Showing
124 changed files
with
241 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1345-1345.js.license |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Oops, something went wrong.
Oops, something went wrong.