summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-09-08 17:52:40 +0200
committerGitHub <noreply@github.com>2024-09-08 17:52:40 +0200
commita0a09ffb75378e10ae424932443e92544a5b6b30 (patch)
treeaaf441048a3f8cfa4d44684a1d6c4ef007b94c19
parentafe36ef8e65a1ba0597f78eb2b5152d218cdddce (diff)
parent1323a9aefd38306b910abd85c83e9bef976055bb (diff)
Merge pull request #1906 from nextcloud/chore/noid/spdx
Add SPDX header
-rw-r--r--.babelrc.js4
-rw-r--r--.eslintrc.js4
-rw-r--r--.github/ISSUE_TEMPLATE/Bug_report.md.license2
-rw-r--r--.github/ISSUE_TEMPLATE/Feature_request.md.license2
-rw-r--r--.github/dependabot.yml2
-rw-r--r--.github/pull_request_template.md.license2
-rw-r--r--.github/workflows/lint-eslint-when-unrelated.yml4
-rw-r--r--.github/workflows/node-when-unrelated.yml4
-rw-r--r--.github/workflows/phpunit-summary-when-unrelated.yml3
-rw-r--r--.github/workflows/reuse.yml22
-rw-r--r--.gitignore2
-rw-r--r--.nextcloudignore2
-rw-r--r--.php-cs-fixer.dist.php5
-rw-r--r--LICENSES/CC0-1.0.txt121
-rw-r--r--Makefile3
-rw-r--r--README.md2
-rw-r--r--REUSE.toml24
-rw-r--r--appinfo/info.xml4
-rw-r--r--babel.config.js4
-rw-r--r--css/dashboard.css21
-rw-r--r--cypress.config.ts5
-rw-r--r--cypress/.eslintrc.js4
-rw-r--r--cypress/docker-compose.yml2
-rw-r--r--cypress/dockerNode.ts21
-rw-r--r--cypress/e2e/post.cy.ts21
-rw-r--r--cypress/e2e/setup.cy.ts21
-rw-r--r--cypress/support/commands.ts21
-rw-r--r--cypress/support/e2e.ts4
-rw-r--r--cypress/utils/index.ts21
-rw-r--r--docs/3rd-party-fediverse-clients.md4
-rw-r--r--docs/List-of-occ-commands.md4
-rw-r--r--docs/Testing-the-API.md4
-rw-r--r--docs/occ_social-reset.png.license2
-rw-r--r--docs/test_first-run.png.license2
-rw-r--r--docs/test_ok.json.license2
-rw-r--r--img/screenshot.png.license2
-rw-r--r--src/components/ActorAvatar.vue24
-rw-r--r--src/components/Composer/Composer.vue25
-rw-r--r--src/components/Composer/PreviewGrid.vue5
-rw-r--r--src/components/Composer/PreviewGridItem.vue4
-rw-r--r--src/components/Composer/SubmitStatusButton.vue25
-rw-r--r--src/components/Emoji.vue4
-rw-r--r--src/components/EmptyContent.vue24
-rw-r--r--src/components/FollowButton.vue24
-rw-r--r--src/components/MediaAttachment.vue4
-rw-r--r--src/components/MessageContent.js5
-rw-r--r--src/components/PostAttachment.vue4
-rw-r--r--src/components/ProfileInfo.vue24
-rw-r--r--src/components/Search.vue24
-rw-r--r--src/components/TimelineAvatar.vue4
-rw-r--r--src/components/TimelineEntry.vue4
-rw-r--r--src/components/TimelineList.vue24
-rw-r--r--src/components/TimelinePost.vue4
-rw-r--r--src/components/UserEntry.vue24
-rw-r--r--src/components/Visibility/VisibilitiesInfos.js5
-rw-r--r--src/components/Visibility/VisibilityIcon.vue24
-rw-r--r--src/components/Visibility/VisibilitySelect.vue25
-rw-r--r--src/directives/focusOnCreate.js21
-rw-r--r--src/mixins/accountMixins.js22
-rw-r--r--src/mixins/currentUserMixin.js21
-rw-r--r--src/mixins/popoverMenu.js21
-rw-r--r--src/mixins/serverData.js22
-rw-r--r--src/services/logger.js20
-rw-r--r--src/services/notifications.js5
-rw-r--r--src/store/account.js21
-rw-r--r--src/store/index.js22
-rw-r--r--src/store/settings.js23
-rw-r--r--src/store/timeline.js22
-rw-r--r--src/types/ActivityPub.js21
-rw-r--r--src/types/Mastodon.js21
-rw-r--r--src/views/Dashboard.vue24
-rw-r--r--src/views/OAuth2Authorize.vue20
-rw-r--r--src/views/OStatus.vue4
-rw-r--r--src/views/Profile.vue24
-rw-r--r--src/views/ProfileFollowers.vue24
-rw-r--r--src/views/ProfilePageIntegration.vue4
-rw-r--r--src/views/ProfileTimeline.vue24
-rw-r--r--src/views/Timeline.vue4
-rw-r--r--src/views/TimelineSinglePost.vue4
-rw-r--r--stylelint.config.js4
-rw-r--r--tests/drone-server-install.sh4
-rw-r--r--tests/drone-server-setup.sh5
-rw-r--r--webpack.common.js6
83 files changed, 405 insertions, 695 deletions
diff --git a/.babelrc.js b/.babelrc.js
index 8be4fc38..bd37c0eb 100644
--- a/.babelrc.js
+++ b/.babelrc.js
@@ -1,3 +1,7 @@
+/**
+ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
const babelConfig = require('@nextcloud/babel-config')
module.exports = babelConfig
diff --git a/.eslintrc.js b/.eslintrc.js
index e1468702..b9d7a6d8 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,3 +1,7 @@
+/**
+ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
module.exports = {
extends: [
'@nextcloud',
diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md.license b/.github/ISSUE_TEMPLATE/Bug_report.md.license
new file mode 100644
index 00000000..3e87d1c6
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/Bug_report.md.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+SPDX-License-Identifier: AGPL-3.0-or-later
diff --git a/.github/ISSUE_TEMPLATE/Feature_request.md.license b/.github/ISSUE_TEMPLATE/Feature_request.md.license
new file mode 100644
index 00000000..3e87d1c6
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/Feature_request.md.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+SPDX-License-Identifier: AGPL-3.0-or-later
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 3480423a..2222a065 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
version: 2
updates:
- package-ecosystem: npm
diff --git a/.github/pull_request_template.md.license b/.github/pull_request_template.md.license
new file mode 100644
index 00000000..3e87d1c6
--- /dev/null
+++ b/.github/pull_request_template.md.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+SPDX-License-Identifier: AGPL-3.0-or-later
diff --git a/.github/workflows/lint-eslint-when-unrelated.yml b/.github/workflows/lint-eslint-when-unrelated.yml
index 7a2e9f05..92a83a90 100644
--- a/.github/workflows/lint-eslint-when-unrelated.yml
+++ b/.github/workflows/lint-eslint-when-unrelated.yml
@@ -3,8 +3,8 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
-# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
-# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
+# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: MIT
name: Lint eslint
diff --git a/.github/workflows/node-when-unrelated.yml b/.github/workflows/node-when-unrelated.yml
index db32b0db..d8380f01 100644
--- a/.github/workflows/node-when-unrelated.yml
+++ b/.github/workflows/node-when-unrelated.yml
@@ -3,8 +3,8 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
-# Use node together with node-when-unrelated to make eslint a required check for GitHub actions
-# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
+# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: MIT
name: Node
diff --git a/.github/workflows/phpunit-summary-when-unrelated.yml b/.github/workflows/phpunit-summary-when-unrelated.yml
index 484fdbb5..5d631863 100644
--- a/.github/workflows/phpunit-summary-when-unrelated.yml
+++ b/.github/workflows/phpunit-summary-when-unrelated.yml
@@ -2,6 +2,9 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+#
+# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: MIT
name: PHPUnit summary
diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml
new file mode 100644
index 00000000..031e80a8
--- /dev/null
+++ b/.github/workflows/reuse.yml
@@ -0,0 +1,22 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
+#
+# SPDX-License-Identifier: CC0-1.0
+<