From 9607b482cc68d24ef700b4777c557b33f84426c0 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 13 Jan 2024 16:33:53 +0100 Subject: [PATCH] [chore/docs] Replace specific year range of copyright notice (#2520) --- README.md | 2 +- example/config.yaml | 31 +++++++++++----------- internal/config/testdata/test.yaml | 16 ------------ internal/db/bundb/migrations/README.md | 33 ++++++++++++------------ internal/db/bundb/statusbookmark_test.go | 33 ++++++++++++------------ internal/db/bundb/statusfave_test.go | 33 ++++++++++++------------ mkdocs.yml | 2 +- web/source/css/_colors.css | 3 ++- web/source/css/about.css | 3 ++- web/source/css/base.css | 3 ++- web/source/css/index.css | 3 ++- web/source/css/page.css | 3 ++- web/source/css/profile.css | 3 ++- web/source/css/status.css | 3 ++- web/source/css/tag.css | 3 ++- web/source/css/thread.css | 3 ++- 16 files changed, 84 insertions(+), 93 deletions(-) diff --git a/README.md b/README.md index af299fa92..4d5f87dca 100644 --- a/README.md +++ b/README.md @@ -382,6 +382,6 @@ If you modify the GoToSocial source code, and run that modified code in a way th > \[I\]f you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. -Copyright (C) 2021-2023 GoToSocial Authors +Copyright (C) GoToSocial Authors (I'm adding this here to take the crown of having the 1000th commit ~ kim) diff --git a/example/config.yaml b/example/config.yaml index a0abb592d..e3f4d1694 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -1,18 +1,19 @@ -# GoToSocial -# Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org - -# 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 . +# GoToSocial +# Copyright (C) GoToSocial Authors admin@gotosocial.org +# SPDX-License-Identifier: 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 . ########################### ##### GENERAL CONFIG ###### diff --git a/internal/config/testdata/test.yaml b/internal/config/testdata/test.yaml index c2d902944..09762215d 100644 --- a/internal/config/testdata/test.yaml +++ b/internal/config/testdata/test.yaml @@ -1,19 +1,3 @@ -# GoToSocial -# Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org - -# 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 . - ########################### ##### GENERAL CONFIG ###### ########################### diff --git a/internal/db/bundb/migrations/README.md b/internal/db/bundb/migrations/README.md index 31fc2c704..e71e4ff74 100644 --- a/internal/db/bundb/migrations/README.md +++ b/internal/db/bundb/migrations/README.md @@ -7,23 +7,22 @@ As a template, take one of the existing migration files and modify it, or use the below code snippet: ```go -/* - GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org - - 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 . -*/ +// GoToSocial +// Copyright (C) GoToSocial Authors admin@gotosocial.org +// SPDX-License-Identifier: 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 . package migrations diff --git a/internal/db/bundb/statusbookmark_test.go b/internal/db/bundb/statusbookmark_test.go index 35ed4a9da..2196cff79 100644 --- a/internal/db/bundb/statusbookmark_test.go +++ b/internal/db/bundb/statusbookmark_test.go @@ -1,20 +1,19 @@ -/* - GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org - - 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 . -*/ +// GoToSocial +// Copyright (C) GoToSocial Authors admin@gotosocial.org +// SPDX-License-Identifier: 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 . package bundb_test diff --git a/internal/db/bundb/statusfave_test.go b/internal/db/bundb/statusfave_test.go index 9c99d795b..5d83369a6 100644 --- a/internal/db/bundb/statusfave_test.go +++ b/internal/db/bundb/statusfave_test.go @@ -1,20 +1,19 @@ -/* - GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org - - 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 . -*/ +// GoToSocial +// Copyright (C) GoToSocial Authors admin@gotosocial.org +// SPDX-License-Identifier: 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 . package bundb_test diff --git a/mkdocs.yml b/mkdocs.yml index 776ae1a09..deb9a4c6e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -19,7 +19,7 @@ theme: name: Switch to dark mode repo_url: https://github.com/superseriousbusiness/gotosocial edit_uri: edit/main/docs/ -copyright: GoToSocial is licensed under the GNU AGPL v3 LICENSE. Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org +copyright: GoToSocial is licensed under the GNU AGPL v3 LICENSE. Copyright (C) GoToSocial Authors admin@gotosocial.org plugins: - search: lang: en diff --git a/web/source/css/_colors.css b/web/source/css/_colors.css index 87022c559..c050dfe40 100644 --- a/web/source/css/_colors.css +++ b/web/source/css/_colors.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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 diff --git a/web/source/css/about.css b/web/source/css/about.css index 0a2ac763f..80bca999f 100644 --- a/web/source/css/about.css +++ b/web/source/css/about.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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 diff --git a/web/source/css/base.css b/web/source/css/base.css index 5198ce6b8..b9e3737ff 100644 --- a/web/source/css/base.css +++ b/web/source/css/base.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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 diff --git a/web/source/css/index.css b/web/source/css/index.css index 4ea3b78e1..c2090f6d2 100644 --- a/web/source/css/index.css +++ b/web/source/css/index.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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 diff --git a/web/source/css/page.css b/web/source/css/page.css index d60dbe9c8..ae7ee1843 100644 --- a/web/source/css/page.css +++ b/web/source/css/page.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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 diff --git a/web/source/css/profile.css b/web/source/css/profile.css index 06c93e6e0..649638fe0 100644 --- a/web/source/css/profile.css +++ b/web/source/css/profile.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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 diff --git a/web/source/css/status.css b/web/source/css/status.css index 009dd9f2b..249033e02 100644 --- a/web/source/css/status.css +++ b/web/source/css/status.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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 diff --git a/web/source/css/tag.css b/web/source/css/tag.css index 98a129874..2f1c9db98 100644 --- a/web/source/css/tag.css +++ b/web/source/css/tag.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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 diff --git a/web/source/css/thread.css b/web/source/css/thread.css index fca998b3c..f421d82a7 100644 --- a/web/source/css/thread.css +++ b/web/source/css/thread.css @@ -1,6 +1,7 @@ /* GoToSocial - Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org + Copyright (C) GoToSocial Authors admin@gotosocial.org + SPDX-License-Identifier: 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