summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-14 20:00:27 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-14 20:00:27 +0200
commitbd8662b691e8b64ae15965bc154f810195faa53a (patch)
treedd5950758304e29aa530d1488a5220d683ec36c0 /includes
parent1467d177c950617c290cec2193c690da7fa6a4e9 (diff)
downloadgigologadmin-bd8662b691e8b64ae15965bc154f810195faa53a.tar.gz
gigologadmin-bd8662b691e8b64ae15965bc154f810195faa53a.tar.bz2
gigologadmin-bd8662b691e8b64ae15965bc154f810195faa53a.zip
Switch to Reuse for license handling.
Run `reuse lint` to verify that all material is licensed.
Diffstat (limited to 'includes')
-rw-r--r--includes/admin/helpfiles/instr_photog.php73
-rw-r--r--includes/admin/helpfiles/instr_reviewers.php37
-rw-r--r--includes/admin/helpfiles/instrunctions.php37
-rw-r--r--includes/admin/register_db_tables.php5
-rw-r--r--includes/admin/views/giglog_admin_page.php21
-rw-r--r--includes/admin/views/giglog_import_gigs.php21
-rw-r--r--includes/band.php21
-rw-r--r--includes/concert.php21
-rw-r--r--includes/concertlogs.php21
-rw-r--r--includes/css/main.css7
-rw-r--r--includes/public/shortcodes/giglog_bands.php5
-rw-r--r--includes/public/shortcodes/giglog_display_unprocessed.php5
-rw-r--r--includes/public/shortcodes/giglog_photographers.php5
-rw-r--r--includes/public/shortcodes/giglog_process_files.php5
-rw-r--r--includes/venue.php21
15 files changed, 74 insertions, 231 deletions
diff --git a/includes/admin/helpfiles/instr_photog.php b/includes/admin/helpfiles/instr_photog.php
index 510b95d..0750557 100644
--- a/includes/admin/helpfiles/instr_photog.php
+++ b/includes/admin/helpfiles/instr_photog.php
@@ -1,74 +1,9 @@
<?php
-
-
-/*
-
-
-
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
-
-
-
- *
-
-
-
- * 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 <http://www.gnu.org/licenses/>.
-
-
-
- */
-
-
-
-
-
-
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists( 'Instructions_Photogs' ) ) {
diff --git a/includes/admin/helpfiles/instr_reviewers.php b/includes/admin/helpfiles/instr_reviewers.php
index b8d43d5..e00a432 100644
--- a/includes/admin/helpfiles/instr_reviewers.php
+++ b/includes/admin/helpfiles/instr_reviewers.php
@@ -1,38 +1,9 @@
<?php
-/*
-
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
-
- *
-
- * 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 <http://www.gnu.org/licenses/>.
-
- */
-
-
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists( 'Instructions_Reviewers' ) ) {
diff --git a/includes/admin/helpfiles/instrunctions.php b/includes/admin/helpfiles/instrunctions.php
index 52019b5..49b77fe 100644
--- a/includes/admin/helpfiles/instrunctions.php
+++ b/includes/admin/helpfiles/instrunctions.php
@@ -1,38 +1,9 @@
<?php
-/*
-
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
-
- *
-
- * 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 <http://www.gnu.org/licenses/>.
-
- */
-
-
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists( 'Instructions_Page' ) ) {
diff --git a/includes/admin/register_db_tables.php b/includes/admin/register_db_tables.php
index ce1ea07..7f00ac0 100644
--- a/includes/admin/register_db_tables.php
+++ b/includes/admin/register_db_tables.php
@@ -1,3 +1,8 @@
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
<?php
if (!function_exists('giglogadmin_populate_countries')) {
function giglogadmin_populate_countries()
diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php
index 5f43331..b59ade3 100644
--- a/includes/admin/views/giglog_admin_page.php
+++ b/includes/admin/views/giglog_admin_page.php
@@ -1,20 +1,9 @@
<?php
-/*
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
- *
- * 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 <http://www.gnu.org/licenses/>.
- */
+
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) {
require_once __DIR__ . '/../../venue.php';
diff --git a/includes/admin/views/giglog_import_gigs.php b/includes/admin/views/giglog_import_gigs.php
index a5fb72e..c2dfd2a 100644
--- a/includes/admin/views/giglog_import_gigs.php
+++ b/includes/admin/views/giglog_import_gigs.php
@@ -1,20 +1,9 @@
<?php
-/*
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
- *
- * 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 <http://www.gnu.org/licenses/>.
- */
+
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists( 'GiglogAdmin_ImportGigsPage' ) ) {
require_once __DIR__ . '/../../band.php';
diff --git a/includes/band.php b/includes/band.php
index 357a40c..f631b08 100644
--- a/includes/band.php
+++ b/includes/band.php
@@ -1,20 +1,9 @@
<?php
-/*
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
- *
- * 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 <http://www.gnu.org/licenses/>.
- */
+
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists('GiglogAdmin_Band') ) {
class GiglogAdmin_Band
diff --git a/includes/concert.php b/includes/concert.php
index 3084eb4..89d28bd 100644
--- a/includes/concert.php
+++ b/includes/concert.php
@@ -1,20 +1,9 @@
<?php
-/*
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
- *
- * 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 <http://www.gnu.org/licenses/>.
- */
+
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists('GiglogAdmin_Concert') ) {
class GiglogAdmin_Concert
diff --git a/includes/concertlogs.php b/includes/concertlogs.php
index b7748a0..409a454 100644
--- a/includes/concertlogs.php
+++ b/includes/concertlogs.php
@@ -1,20 +1,9 @@
<?php
-/*
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
- *
- * 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 <http://www.gnu.org/licenses/>.
- */
+
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists( 'GiglogAdmin_Concertlogs' ) )
{
diff --git a/includes/css/main.css b/includes/css/main.css
index 56fb365..27ecbef 100644
--- a/includes/css/main.css
+++ b/includes/css/main.css
@@ -1,3 +1,10 @@
+/*
+ * SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+ * SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
div.takenby {
background-color: #FFFFE0;
padding: 20px;
diff --git a/includes/public/shortcodes/giglog_bands.php b/includes/public/shortcodes/giglog_bands.php
index b299644..dc0d8a1 100644
--- a/includes/public/shortcodes/giglog_bands.php
+++ b/includes/public/shortcodes/giglog_bands.php
@@ -1,3 +1,8 @@
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
<?php
/*
* code used for giglogadmin for the open page where everyone sees the list of
diff --git a/includes/public/shortcodes/giglog_display_unprocessed.php b/includes/public/shortcodes/giglog_display_unprocessed.php
index dad05f2..6c61e34 100644
--- a/includes/public/shortcodes/giglog_display_unprocessed.php
+++ b/includes/public/shortcodes/giglog_display_unprocessed.php
@@ -1,3 +1,8 @@
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
<?php
/*
* I kinda overloaded this snippet. Added comments for each function. But this
diff --git a/includes/public/shortcodes/giglog_photographers.php b/includes/public/shortcodes/giglog_photographers.php
index c26eb84..0c36817 100644
--- a/includes/public/shortcodes/giglog_photographers.php
+++ b/includes/public/shortcodes/giglog_photographers.php
@@ -1,3 +1,8 @@
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
<?php
/*
* code used for giglogadmin for the page where users such as photographers/concert reviewers
diff --git a/includes/public/shortcodes/giglog_process_files.php b/includes/public/shortcodes/giglog_process_files.php
index 69a9a26..9919a51 100644
--- a/includes/public/shortcodes/giglog_process_files.php
+++ b/includes/public/shortcodes/giglog_process_files.php
@@ -1,3 +1,8 @@
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
<?php
/*
* snippet used to upload files with concerts. File is tab delimited file.
diff --git a/includes/venue.php b/includes/venue.php
index 5c3e7ab..9b4a3af 100644
--- a/includes/venue.php
+++ b/includes/venue.php
@@ -1,20 +1,9 @@
<?php
-/*
- * Copyright (C) 2021 Harald Eilertsen, Andrea Chirulescu
- *
- * 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 <http://www.gnu.org/licenses/>.
- */
+
+// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
if ( !class_exists('GiglogAdmin_Venue') ) {
class GiglogAdmin_Venue