From cdc0c751b96a6bafbe79bb178de4124cfd320dfa Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Sun, 8 Sep 2024 16:27:01 +0200 Subject: [PATCH 1/4] chore: Add SPDX header Signed-off-by: Andy Scherzinger --- .babelrc.js | 4 + .eslintrc.js | 4 + .github/ISSUE_TEMPLATE/Bug_report.md.license | 2 + .../ISSUE_TEMPLATE/Feature_request.md.license | 2 + .github/dependabot.yml | 2 + .github/pull_request_template.md.license | 2 + .../workflows/lint-eslint-when-unrelated.yml | 4 +- .github/workflows/node-when-unrelated.yml | 4 +- .../phpunit-summary-when-unrelated.yml | 3 + .gitignore | 2 + .nextcloudignore | 2 + .php-cs-fixer.dist.php | 5 + LICENSES/CC0-1.0.txt | 121 ++++++++++++++++++ Makefile | 3 +- REUSE.toml | 24 ++++ appinfo/info.xml | 4 + babel.config.js | 4 + css/dashboard.css | 21 +-- cypress.config.ts | 5 +- cypress/.eslintrc.js | 4 + cypress/docker-compose.yml | 2 + cypress/dockerNode.ts | 21 +-- cypress/e2e/post.cy.ts | 21 +-- cypress/e2e/setup.cy.ts | 21 +-- cypress/support/commands.ts | 21 +-- cypress/support/e2e.ts | 4 + cypress/utils/index.ts | 21 +-- docs/3rd-party-fediverse-clients.md | 4 + docs/List-of-occ-commands.md | 4 + docs/Testing-the-API.md | 4 + docs/occ_social-reset.png.license | 2 + docs/test_first-run.png.license | 2 + docs/test_ok.json.license | 2 + img/screenshot.png.license | 2 + src/components/ActorAvatar.vue | 24 +--- src/components/Composer/Composer.vue | 25 +--- src/components/Composer/PreviewGrid.vue | 5 +- src/components/Composer/PreviewGridItem.vue | 4 + .../Composer/SubmitStatusButton.vue | 25 +--- src/components/Emoji.vue | 4 + src/components/EmptyContent.vue | 24 +--- src/components/FollowButton.vue | 24 +--- src/components/MediaAttachment.vue | 4 + src/components/MessageContent.js | 5 + src/components/PostAttachment.vue | 4 + src/components/ProfileInfo.vue | 24 +--- src/components/Search.vue | 24 +--- src/components/TimelineAvatar.vue | 4 + src/components/TimelineEntry.vue | 4 + src/components/TimelineList.vue | 24 +--- src/components/TimelinePost.vue | 4 + src/components/UserEntry.vue | 24 +--- .../Visibility/VisibilitiesInfos.js | 5 + src/components/Visibility/VisibilityIcon.vue | 24 +--- .../Visibility/VisibilitySelect.vue | 25 +--- src/directives/focusOnCreate.js | 21 +-- src/mixins/accountMixins.js | 22 +--- src/mixins/currentUserMixin.js | 21 +-- src/mixins/popoverMenu.js | 21 +-- src/mixins/serverData.js | 22 +--- src/services/logger.js | 20 +-- src/services/notifications.js | 5 + src/store/account.js | 21 +-- src/store/index.js | 22 +--- src/store/settings.js | 23 +--- src/store/timeline.js | 22 +--- src/types/ActivityPub.js | 21 +-- src/types/Mastodon.js | 21 +-- src/views/Dashboard.vue | 24 +--- src/views/OAuth2Authorize.vue | 20 +-- src/views/OStatus.vue | 4 + src/views/Profile.vue | 24 +--- src/views/ProfileFollowers.vue | 24 +--- src/views/ProfilePageIntegration.vue | 4 + src/views/ProfileTimeline.vue | 24 +--- src/views/Timeline.vue | 4 + src/views/TimelineSinglePost.vue | 4 + stylelint.config.js | 4 + tests/drone-server-install.sh | 4 + tests/drone-server-setup.sh | 5 +- webpack.common.js | 6 +- 81 files changed, 381 insertions(+), 695 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/Bug_report.md.license create mode 100644 .github/ISSUE_TEMPLATE/Feature_request.md.license create mode 100644 .github/pull_request_template.md.license create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 docs/occ_social-reset.png.license create mode 100644 docs/test_first-run.png.license create mode 100644 docs/test_ok.json.license create mode 100644 img/screenshot.png.license 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/.gitignore b/.gitignore index c9656c24..ee89182d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later js/ \.idea/ node_modules/ diff --git a/.nextcloudignore b/.nextcloudignore index c557d7ed..bff24ea1 100644 --- a/.nextcloudignore +++ b/.nextcloudignore @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later /.babelrc.js /.codecov.yml /.drone.yml diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 8a0cb43c..636887aa 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -2,6 +2,11 @@ declare(strict_types=1); +/** + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + require_once './vendor/autoload.php'; use Nextcloud\CodingStandard\Config; diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt new file mode 100644 index 00000000..0e259d42 --- /dev/null +++ b/LICENSES/CC0-1.0.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/Makefile b/Makefile index 8f8e77de..e7d45deb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ - +# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later app_name=social diff --git a/REUSE.toml b/REUSE.toml index dac5d36f..4beaeedd 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -5,6 +5,12 @@ SPDX-PackageName = "Nextcloud Social" SPDX-PackageSupplier = "Nextcloud " SPDX-PackageDownloadLocation = "https://github.com/nextcloud/social" +[[annotations]] +path = ["package-lock.json", "package.json", "composer.json", "composer.lock", ".tx/config"] +precedence = "aggregate" +SPDX-FileCopyrightText = "none" +SPDX-License-Identifier = "CC0-1.0" + [[annotations]] path = "l10n/*" precedence = "aggregate" @@ -17,6 +23,24 @@ precedence = "aggregate" SPDX-FileCopyrightText = "2016 Nextcloud GmbH" SPDX-License-Identifier = "LicenseRef-NextcloudTrademarks" +[[annotations]] +path = ["context/*.json", "tests/phpunit.xml"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2019 Nextcloud GmbH and Nextcloud contributors" +SPDX-License-Identifier = "AGPL-3.0-or-later" + +[[annotations]] +path = ["psalm.xml", "tests/psalm-baseline.xml", "tests/stub.phpstub"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2022 Nextcloud GmbH and Nextcloud contributors" +SPDX-License-Identifier = "AGPL-3.0-or-later" + +[[annotations]] +path = "cypress/tsconfig.json" +precedence = "aggregate" +SPDX-FileCopyrightText = "2023 Nextcloud GmbH and Nextcloud contributors" +SPDX-License-Identifier = "AGPL-3.0-or-later" + [[annotations]] path = ["img/add_user.svg", "img/boost.svg", "img/emoji.svg", "img/favicon.ico", "img/notifications.svg", "img/reply.svg", "img/social-dark.svg", "img/social-promo.png", "img/social.svg", "img/social_dark.svg"] precedence = "aggregate" diff --git a/appinfo/info.xml b/appinfo/info.xml index ea14db79..a3f9ce17 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -1,4 +1,8 @@ + social diff --git a/babel.config.js b/babel.config.js index 8be4fc38..a6dea40a 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2022 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/css/dashboard.css b/css/dashboard.css index 7c46f6ad..1271c6fd 100644 --- a/css/dashboard.css +++ b/css/dashboard.css @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2020 Julien Veyssier - * - * @author Julien Veyssier - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ .icon-social { diff --git a/cypress.config.ts b/cypress.config.ts index cd41fb26..8eb5c8a9 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -1,4 +1,7 @@ - +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ import { configureNextcloud, startNextcloud, diff --git a/cypress/.eslintrc.js b/cypress/.eslintrc.js index d940c5ba..597bcd3f 100644 --- a/cypress/.eslintrc.js +++ b/cypress/.eslintrc.js @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ module.exports = { env: { 'cypress/globals': true, diff --git a/cypress/docker-compose.yml b/cypress/docker-compose.yml index 2de0e346..35131377 100644 --- a/cypress/docker-compose.yml +++ b/cypress/docker-compose.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later version: '3.7' services: diff --git a/cypress/dockerNode.ts b/cypress/dockerNode.ts index 2509a000..c142b1eb 100644 --- a/cypress/dockerNode.ts +++ b/cypress/dockerNode.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2022 John Molakvoæ - * - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* eslint-disable no-console */ /* eslint-disable n/no-unpublished-import */ diff --git a/cypress/e2e/post.cy.ts b/cypress/e2e/post.cy.ts index bea305fa..bc0292a4 100644 --- a/cypress/e2e/post.cy.ts +++ b/cypress/e2e/post.cy.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2018 Julius Härtl - * - * @author Julius Härtl - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { User } from "@nextcloud/cypress" diff --git a/cypress/e2e/setup.cy.ts b/cypress/e2e/setup.cy.ts index 4e14d4fe..23bcc064 100644 --- a/cypress/e2e/setup.cy.ts +++ b/cypress/e2e/setup.cy.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2023 Louis Chmn - * - * @author Louis Chmn - * - * @license AGPL-3.0-or-later - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ describe('Social app setup', () => { diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 9c42486f..2cb0efb9 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2019 John Molakvoæ - * - * @author John Molakvoæ - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import axios from '@nextcloud/axios' diff --git a/cypress/support/e2e.ts b/cypress/support/e2e.ts index 9d0a3bc3..9f951368 100644 --- a/cypress/support/e2e.ts +++ b/cypress/support/e2e.ts @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ // *********************************************************** // This example support/e2e.js is processed and // loaded automatically before your test files. diff --git a/cypress/utils/index.ts b/cypress/utils/index.ts index 0abe3876..0d71ad31 100644 --- a/cypress/utils/index.ts +++ b/cypress/utils/index.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2019 John Molakvoæ - * - * @author John Molakvoæ - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export function getSearchParams (url) { diff --git a/docs/3rd-party-fediverse-clients.md b/docs/3rd-party-fediverse-clients.md index 7156c110..63104566 100644 --- a/docs/3rd-party-fediverse-clients.md +++ b/docs/3rd-party-fediverse-clients.md @@ -1,3 +1,7 @@ + # 3rd party fediverse clients A decent number of clients for Mastodon and other Fediverse network are available on almost all devices/OS. This is a list of tested ones. diff --git a/docs/List-of-occ-commands.md b/docs/List-of-occ-commands.md index 2f39364b..4f08ad4e 100644 --- a/docs/List-of-occ-commands.md +++ b/docs/List-of-occ-commands.md @@ -1,3 +1,7 @@ + # List of occ commands ## ./occ social:cache:refresh diff --git a/docs/Testing-the-API.md b/docs/Testing-the-API.md index c98e4818..00736237 100644 --- a/docs/Testing-the-API.md +++ b/docs/Testing-the-API.md @@ -1,3 +1,7 @@ + # Testing the API ## Creating the App diff --git a/docs/occ_social-reset.png.license b/docs/occ_social-reset.png.license new file mode 100644 index 00000000..3e87d1c6 --- /dev/null +++ b/docs/occ_social-reset.png.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/docs/test_first-run.png.license b/docs/test_first-run.png.license new file mode 100644 index 00000000..7e235b60 --- /dev/null +++ b/docs/test_first-run.png.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/docs/test_ok.json.license b/docs/test_ok.json.license new file mode 100644 index 00000000..7e235b60 --- /dev/null +++ b/docs/test_ok.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/img/screenshot.png.license b/img/screenshot.png.license new file mode 100644 index 00000000..3e87d1c6 --- /dev/null +++ b/img/screenshot.png.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/src/components/ActorAvatar.vue b/src/components/ActorAvatar.vue index 890399c4..921fbe2e 100644 --- a/src/components/ActorAvatar.vue +++ b/src/components/ActorAvatar.vue @@ -1,25 +1,7 @@ - + - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + - SPDX-License-Identifier: AGPL-3.0-or-later +-->