forked from nextcloud/server
-
Notifications
You must be signed in to change notification settings - Fork 0
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 nextcloud#45848 from nextcloud/fix/comment-deletin…
…g-with-activities Fix/comment deleting with activities installed
- Loading branch information
Showing
20 changed files
with
115 additions
and
18 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
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,28 @@ | ||
/** | ||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors | ||
* SPDX-License-Identifier: AGPL-3.0-or-later | ||
*/ | ||
|
||
import { defineStore } from 'pinia' | ||
|
||
export const useDeletedCommentLimbo = defineStore('deletedCommentLimbo', { | ||
state: () => ({ | ||
idsInLimbo: [], | ||
}), | ||
actions: { | ||
addId(id) { | ||
this.idsInLimbo.push(id) | ||
}, | ||
|
||
removeId(id) { | ||
const index = this.idsInLimbo.indexOf(id) | ||
if (index > -1) { | ||
this.idsInLimbo.splice(index, 1) | ||
} | ||
}, | ||
|
||
checkForId(id) { | ||
this.idsInLimbo.includes(id) | ||
}, | ||
}, | ||
}) |
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 |
---|---|---|
|
@@ -41,11 +41,13 @@ SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs> | |
SPDX-FileCopyrightText: Irakli Gozalishvili <[email protected]> (http://jeditoolkit.com) | ||
SPDX-FileCopyrightText: Hypercontext | ||
SPDX-FileCopyrightText: Guillaume Chau <[email protected]> | ||
SPDX-FileCopyrightText: Guillaume Chau | ||
SPDX-FileCopyrightText: GitHub Inc. | ||
SPDX-FileCopyrightText: Feross Aboukhadijeh | ||
SPDX-FileCopyrightText: Evan You | ||
SPDX-FileCopyrightText: Eugene Sharygin <[email protected]> | ||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) | ||
SPDX-FileCopyrightText: Eduardo San Martin Morote | ||
SPDX-FileCopyrightText: Dylan Piercey <[email protected]> | ||
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <[email protected]> (https://cure53.de/) | ||
SPDX-FileCopyrightText: David Clark | ||
|
@@ -96,6 +98,9 @@ This file is generated from multiple sources. Included packages: | |
- @nextcloud/vue | ||
- version: 8.14.0 | ||
- license: AGPL-3.0-or-later | ||
- @vue/devtools-api | ||
- version: 6.6.1 | ||
- license: MIT | ||
- @vueuse/components | ||
- version: 10.11.0 | ||
- license: MIT | ||
|
@@ -279,6 +284,9 @@ This file is generated from multiple sources. Included packages: | |
- path | ||
- version: 0.12.7 | ||
- license: MIT | ||
- pinia | ||
- version: 2.1.7 | ||
- license: MIT | ||
- possible-typed-array-names | ||
- version: 1.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 |
---|---|---|
|
@@ -41,11 +41,13 @@ SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs> | |
SPDX-FileCopyrightText: Irakli Gozalishvili <[email protected]> (http://jeditoolkit.com) | ||
SPDX-FileCopyrightText: Hypercontext | ||
SPDX-FileCopyrightText: Guillaume Chau <[email protected]> | ||
SPDX-FileCopyrightText: Guillaume Chau | ||
SPDX-FileCopyrightText: GitHub Inc. | ||
SPDX-FileCopyrightText: Feross Aboukhadijeh | ||
SPDX-FileCopyrightText: Evan You | ||
SPDX-FileCopyrightText: Eugene Sharygin <[email protected]> | ||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) | ||
SPDX-FileCopyrightText: Eduardo San Martin Morote | ||
SPDX-FileCopyrightText: Dylan Piercey <[email protected]> | ||
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <[email protected]> (https://cure53.de/) | ||
SPDX-FileCopyrightText: David Clark | ||
|
@@ -96,6 +98,9 @@ This file is generated from multiple sources. Included packages: | |
- @nextcloud/vue | ||
- version: 8.14.0 | ||
- license: AGPL-3.0-or-later | ||
- @vue/devtools-api | ||
- version: 6.6.1 | ||
- license: MIT | ||
- @vueuse/components | ||
- version: 10.11.0 | ||
- license: MIT | ||
|
@@ -279,6 +284,9 @@ This file is generated from multiple sources. Included packages: | |
- path | ||
- version: 0.12.7 | ||
- license: MIT | ||
- pinia | ||
- version: 2.1.7 | ||
- license: MIT | ||
- possible-typed-array-names | ||
- version: 1.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 |
---|---|---|
|
@@ -41,11 +41,13 @@ SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs> | |
SPDX-FileCopyrightText: Irakli Gozalishvili <[email protected]> (http://jeditoolkit.com) | ||
SPDX-FileCopyrightText: Hypercontext | ||
SPDX-FileCopyrightText: Guillaume Chau <[email protected]> | ||
SPDX-FileCopyrightText: Guillaume Chau | ||
SPDX-FileCopyrightText: GitHub Inc. | ||
SPDX-FileCopyrightText: Feross Aboukhadijeh | ||
SPDX-FileCopyrightText: Evan You | ||
SPDX-FileCopyrightText: Eugene Sharygin <[email protected]> | ||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) | ||
SPDX-FileCopyrightText: Eduardo San Martin Morote | ||
SPDX-FileCopyrightText: Dylan Piercey <[email protected]> | ||
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <[email protected]> (https://cure53.de/) | ||
SPDX-FileCopyrightText: David Clark | ||
|
@@ -96,6 +98,9 @@ This file is generated from multiple sources. Included packages: | |
- @nextcloud/vue | ||
- version: 8.14.0 | ||
- license: AGPL-3.0-or-later | ||
- @vue/devtools-api | ||
- version: 6.6.1 | ||
- license: MIT | ||
- @vueuse/components | ||
- version: 10.11.0 | ||
- license: MIT | ||
|
@@ -279,6 +284,9 @@ This file is generated from multiple sources. Included packages: | |
- path | ||
- version: 0.12.7 | ||
- license: MIT | ||
- pinia | ||
- version: 2.1.7 | ||
- license: MIT | ||
- possible-typed-array-names | ||
- version: 1.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 |
---|---|---|
|
@@ -41,11 +41,13 @@ SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs> | |
SPDX-FileCopyrightText: Irakli Gozalishvili <[email protected]> (http://jeditoolkit.com) | ||
SPDX-FileCopyrightText: Hypercontext | ||
SPDX-FileCopyrightText: Guillaume Chau <[email protected]> | ||
SPDX-FileCopyrightText: Guillaume Chau | ||
SPDX-FileCopyrightText: GitHub Inc. | ||
SPDX-FileCopyrightText: Feross Aboukhadijeh | ||
SPDX-FileCopyrightText: Evan You | ||
SPDX-FileCopyrightText: Eugene Sharygin <[email protected]> | ||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris) | ||
SPDX-FileCopyrightText: Eduardo San Martin Morote | ||
SPDX-FileCopyrightText: Dylan Piercey <[email protected]> | ||
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <[email protected]> (https://cure53.de/) | ||
SPDX-FileCopyrightText: David Clark | ||
|
@@ -96,6 +98,9 @@ This file is generated from multiple sources. Included packages: | |
- @nextcloud/vue | ||
- version: 8.14.0 | ||
- license: AGPL-3.0-or-later | ||
- @vue/devtools-api | ||
- version: 6.6.1 | ||
- license: MIT | ||
- @vueuse/components | ||
- version: 10.11.0 | ||
- license: MIT | ||
|
@@ -279,6 +284,9 @@ This file is generated from multiple sources. Included packages: | |
- path | ||
- version: 0.12.7 | ||
- license: MIT | ||
- pinia | ||
- version: 2.1.7 | ||
- license: MIT | ||
- possible-typed-array-names | ||
- version: 1.0.0 | ||
- license: MIT | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.