From 5af3b9dedd74943e41f877fbca3f8748472db04a Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 25 Aug 2024 08:45:08 +0200 Subject: [PATCH] REUSE more work on bin and view directories --- REUSE.toml | 52 ++++++++++++++++--- bin/dev/autotest.sh | 4 ++ bin/dev/make_credits.py | 4 ++ bin/dev/minifyjs.sh | 4 ++ bin/dev/vagrant_provision.sh | 4 ++ bin/dev/vagrant_vhost.sh | 6 ++- view/js/country.js | 4 ++ view/js/dropzone-factory.js | 4 ++ view/js/linkPreview.js | 2 +- view/js/main.js | 4 ++ view/theme/duepuntozero/deriv/comix.css | 6 +++ view/theme/duepuntozero/deriv/darkzero.css | 6 +++ view/theme/duepuntozero/deriv/easterbunny.css | 6 +++ view/theme/duepuntozero/deriv/greenzero.css | 6 +++ view/theme/duepuntozero/deriv/purplezero.css | 6 +++ view/theme/duepuntozero/deriv/slackr.css | 6 +++ view/theme/duepuntozero/style.css | 6 +++ view/theme/frio/css/dropzone.frio.css | 6 +++ view/theme/frio/css/dropzone.min.frio.css | 6 +++ view/theme/frio/css/font-awesome.custom.css | 6 +++ view/theme/frio/css/hovercard.css | 6 +++ view/theme/frio/css/mod_admin.css | 6 +++ view/theme/frio/css/style.css | 6 +++ view/theme/frio/js/compose.js | 4 ++ view/theme/frio/js/hovercard.js | 4 ++ view/theme/frio/js/jot.js | 4 ++ view/theme/frio/js/mod_admin.js | 4 ++ view/theme/frio/js/mod_circle.js | 4 ++ view/theme/frio/js/mod_contacts.js | 4 ++ view/theme/frio/js/mod_display.js | 4 ++ view/theme/frio/js/mod_events.js | 4 ++ view/theme/frio/js/mod_notifications.js | 4 ++ view/theme/frio/js/mod_photos.js | 4 ++ view/theme/frio/js/modal.js | 4 ++ view/theme/frio/js/module/admin/logs/view.js | 4 ++ view/theme/frio/js/textedit.js | 4 ++ view/theme/frio/js/theme.js | 4 ++ view/theme/frio/scheme/black.css | 6 +++ view/theme/frio/scheme/dark.css | 6 +++ view/theme/quattro/icons.less | 6 +++ view/theme/quattro/js/quattro.js | 4 ++ view/theme/quattro/quattro.less | 6 +++ 42 files changed, 242 insertions(+), 8 deletions(-) diff --git a/REUSE.toml b/REUSE.toml index 3a2afd25fe..4a8e5c273c 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -9,11 +9,18 @@ path = [ "spec/*", "src/**/README.md", "mods/**", + "static/*.jsonld", ".github/ISSUE_TEMPLATE/*", "view/theme/frio/README.md", "view/theme/vier/README.md", "view/theme/quattro/TODO", - "view/theme/quattro/**Makefile" + "view/theme/quattro/**Makefile", + "images/icons/**", + "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" @@ -84,17 +91,50 @@ path = [ SPDX-FileCopyrightText = "modernizrJS" SPDX-License-Identifier = "MIT OR BSD-3-Clause" -[[annotations]] -path = "view/theme/frio/frameworks/jquery-scrollspy/*" -SPDX-FileCopyrightText = "2011 Samual Alexander, 2015 SoftwareSpot" -SPDX-License-Identifier = "MIT" - [[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/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 @@ //