diff --git a/LICENSES/BSD-3-Clause.txt b/LICENSES/BSD-3-Clause.txt new file mode 100644 index 0000000000..ea890afbc7 --- /dev/null +++ b/LICENSES/BSD-3-Clause.txt @@ -0,0 +1,11 @@ +Copyright (c) . + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/WTFPL.txt b/LICENSES/WTFPL.txt new file mode 100644 index 0000000000..7a3094a826 --- /dev/null +++ b/LICENSES/WTFPL.txt @@ -0,0 +1,11 @@ +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +Version 2, December 2004 + +Copyright (C) 2004 Sam Hocevar + +Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. + +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/REUSE.toml b/REUSE.toml index 46a455bf4b..d2e13f7272 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -7,9 +7,23 @@ SPDX-PackageDownloadLocation = "https://friendi.ca" path = [ "doc/**", "spec/*", + "tests/**", + "**/.gitignore", "src/**/README.md", "mods/**", - ".github/ISSUE_TEMPLATE/*" + "static/*.jsonld", + ".github/ISSUE_TEMPLATE/*", + "view/theme/frio/README.md", + "view/theme/vier/README.md", + "view/theme/quattro/TODO", + "view/theme/quattro/**Makefile", + "images/icons/**", + "view/install/*.png", + "view/theme/quattro/icons/*", + "view/theme/smoothly/images/*", + "images/screenshots/*", + "view/theme/frio/img/**", + "config/local-sample.config.php" ] SPDX-FileCopyrightText = "2010-2024 The Friendica Project" SPDX-License-Identifier = "CC0-1.0" @@ -19,6 +33,19 @@ path = "view/lang/**/strings.php" SPDX-FileCopyrightText = "2010-2024 The Friendica Project" SPDX-License-Identifier = "AGPL-3.0-or-later" +[[annotations]] +path = [ + "view/theme/vier/css/font-awesome*.css", + "view/theme/vier/css/font2.css" +] +SPDX-FileCopyrightText = "Dave Gandy" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "view/theme/vier/font/*" +SPDX-FileCopyrightText = "Dave Gandy" +SPDX-License-Identifier = "OFL-1.1" + [[annotations]] path = "view/theme/frio/font/open_sans/**" SPDX-FileCopyrightText = "2010 Steve Matteson, Google LLC" @@ -58,3 +85,59 @@ SPDX-License-Identifier = "MIT" path = "view/js/fancybox/**" SPDX-FileCopyrightText = "2019 fancyApps" SPDX-License-Identifier = "GPL-3.0-only" + +[[annotations]] +path = [ + "view/theme/smoothly/js/modernizr.custom.2.5.3.*js", + "view/js/modernizr.js" +] +SPDX-FileCopyrightText = "modernizrJS" +SPDX-License-Identifier = "MIT OR BSD-3-Clause" + +[[annotations]] +path = "view/theme/frio/frameworks/flexMenu/*" +SPDX-FileCopyrightText = "2012-2014 352 Inc. & Contributors" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = [ + "view/theme/quattro/jquery.tools.min.js", + "view/theme/frio/js/jquery.tools.min.js" +] +SPDX-FileCopyrightText = "NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE. http://flowplayer.org/tools/" +SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +path = "view/theme/frio/php/PHPColors/*" +SPDX-FileCopyrightText = "Arlo Carreon" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "view/theme/frio/frameworks/autosize/*" +SPDX-FileCopyrightText = "Jack Moore" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "view/theme/frio/frameworks/sticky-kit/jquery.sticky-kit.min.js" +SPDX-FileCopyrightText = "2015 Leaf Corcoran" +SPDX-License-Identifier = "WTFPL" + +[[annotations]] +path = "view/theme/frio/frameworks/jquery-scrollspy/*" +SPDX-FileCopyrightText = "2011 Samuel Alexander, 2015 SoftwareSpot" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "view/theme/frio/frameworks/ekko-lightbox/*" +SPDX-FileCopyrightText = "2013 Ashley White" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "view/theme/frio/frameworks/awesome-bootstrap-checkbox/*" +SPDX-FileCopyrightText = "2014 Philip Daineka" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "view/js/vanillaEmojiPicker/*" +SPDX-FileCopyrightText = "2020, woody180 https://github.com/woody180/vanilla-javascript-emoji-picker" +SPDX-License-Identifier = "MIT" diff --git a/bin/dev/autotest.sh b/bin/dev/autotest.sh index a7a908327c..a3f01d9656 100755 --- a/bin/dev/autotest.sh +++ b/bin/dev/autotest.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash # +# SPDX-FileCopyrightText: 2010-2024 the Friendica project +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# # This script is used for autotesting the Friendica codebase with different # types of tests and environments. # diff --git a/bin/dev/make_credits.py b/bin/dev/make_credits.py index be7a52e322..8492f96eba 100755 --- a/bin/dev/make_credits.py +++ b/bin/dev/make_credits.py @@ -1,6 +1,10 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# SPDX-FileCopyrightText: 2010-2024 the Friendica project +# +# SPDX-License-Identifier: AGPL-3.0-or-later + """ This script will collect the contributors to friendica and its translations from * the git log of the friendica core and addons repositories diff --git a/bin/dev/minifyjs.sh b/bin/dev/minifyjs.sh index 2c38cf8801..22c02f80cc 100755 --- a/bin/dev/minifyjs.sh +++ b/bin/dev/minifyjs.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2010-2024 the Friendica project +# +# SPDX-License-Identifier: AGPL-3.0-or-later + command -v uglifyjs >/dev/null 2>&1 || { echo >&2 "I require UglifyJS but it's not installed. Aborting."; exit 1; } MINIFY_CMD=uglifyjs diff --git a/bin/dev/vagrant_provision.sh b/bin/dev/vagrant_provision.sh index 40d08cedb2..bf1d02f5ad 100755 --- a/bin/dev/vagrant_provision.sh +++ b/bin/dev/vagrant_provision.sh @@ -1,4 +1,8 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2010-2024 the Friendica project +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# # Script to setup the vagrant instance for running friendica # # DO NOT RUN on your physical machine as this won't be of any use diff --git a/bin/dev/vagrant_vhost.sh b/bin/dev/vagrant_vhost.sh index f26d8e14d7..bef5c0ed23 100755 --- a/bin/dev/vagrant_vhost.sh +++ b/bin/dev/vagrant_vhost.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2010-2024 the Friendica project +# +# SPDX-License-Identifier: AGPL-3.0-or-later + # Run this as sudo! # I move this file to /usr/local/bin/vhost and run command 'vhost' from anywhere, using sudo. @@ -174,4 +178,4 @@ else # Enable Site cd /etc/apache2/sites-available/ && a2ensite ${ServerName}.conf service apache2 reload -fi \ No newline at end of file +fi diff --git a/view/.htaccess b/view/.htaccess index 6871f09274..0ee2906ae0 100644 --- a/view/.htaccess +++ b/view/.htaccess @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2010-2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + #Apache 2.4 diff --git a/view/global.css b/view/global.css index 361a73585e..0215e6d4df 100644 --- a/view/global.css +++ b/view/global.css @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2010-2024 the Friendica project + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + /* General style rules .*/ .pull-right { float: right } diff --git a/view/install/style.css b/view/install/style.css index ab37a50555..8cc9b853d3 100644 --- a/view/install/style.css +++ b/view/install/style.css @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2010-2024 the Friendica project + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + /*** * Friendica Communication Server * diff --git a/view/js/country.js b/view/js/country.js index 65497fdbfc..924c2b2c05 100644 --- a/view/js/country.js +++ b/view/js/country.js @@ -1,5 +1,9 @@ //