diff --git a/.babelrc.js b/.babelrc.js index 8be4fc38b..bd37c0eb9 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 e14687028..b9d7a6d86 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/.gitignore b/.gitignore index c9656c24c..ee89182d5 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 c557d7edf..bff24ea19 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 8a0cb43c8..636887aa4 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/Makefile b/Makefile index 8f8e77de2..e7d45deb1 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/appinfo/info.xml b/appinfo/info.xml index ea14db79b..a3f9ce175 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 8be4fc38b..a6dea40aa 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 7c46f6ade..1271c6fdf 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 cd41fb26d..8eb5c8a9e 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 d940c5bac..597bcd3f5 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/dockerNode.ts b/cypress/dockerNode.ts index 2509a0003..c142b1eb2 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 bea305fa1..bc0292a47 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 4e14d4fe8..23bcc0645 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 9c42486f6..2cb0efb94 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 9d0a3bc3c..9f9513688 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 0abe38761..0d71ad312 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/src/components/ActorAvatar.vue b/src/components/ActorAvatar.vue index 890399c4f..921fbe2eb 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 +-->