diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b2bcdc..8a73471 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + +- LibreJS-compatible licence identifiers +- SPDX licence identifiers + ## [2.0.0] - 2021-08-29 ### Added diff --git a/src/index.html b/src/index.html index f677316..56b486c 100644 --- a/src/index.html +++ b/src/index.html @@ -1,4 +1,6 @@ diff --git a/src/main.js b/src/main.js index ee41d96..97f770e 100644 --- a/src/main.js +++ b/src/main.js @@ -1,20 +1,30 @@ /*! - toot - Cross-instance share page for Mastodon - Copyright (C) 2020-2021 Nikita Karamov - - 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 . -*/ + * @source: https://github.com/NickKaramoff/toot/blob/main/src/main.js + * + * @licstart The following is the entire license notice for the + * JavaScript code in this page. + * + * toot - Cross-instance share page for Mastodon + * Copyright (C) 2020-2021 Nikita Karamov + * + * 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 . + * + * @licend The above is the entire license notice + * for the JavaScript code in this page. + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ const INSTANCE_LIST_URL = "https://api.joinmastodon.org/servers"; diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index 6a6000d..5e39742 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -1,20 +1,24 @@ /* - toot - Cross-instance share page for Mastodon - Copyright (C) 2020-2021 Nikita Karamov - - 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 . -*/ + * @source: https://github.com/NickKaramoff/toot/blob/main/src/scss/_variables.scss + * + * toot - Cross-instance share page for Mastodon + * Copyright (C) 2020-2021 Nikita Karamov + * + * 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-License-Identifier: AGPL-3.0-or-later + */ $text-font: "Roboto", sans-serif; diff --git a/src/scss/style.scss b/src/scss/style.scss index 3607e94..339b767 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -1,20 +1,24 @@ /*! - toot - Cross-instance share page for Mastodon - Copyright (C) 2020-2021 Nikita Karamov - - 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 . -*/ + * @source: https://github.com/NickKaramoff/toot/blob/main/src/scss/style.scss + * + * toot - Cross-instance share page for Mastodon + * Copyright (C) 2020-2021 Nikita Karamov + * + * 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-License-Identifier: AGPL-3.0-or-later + */ @use "sass:color"; @import "variables";