From be205540e3f86cb65674ca1c5473543329da6b3c Mon Sep 17 00:00:00 2001 From: Banana Date: Sun, 4 Aug 2024 11:47:38 +0200 Subject: [PATCH] license update to files Signed-off-by: Banana --- client/go-cli/scientia/cmd/add.go | 15 ++++++++++----- client/go-cli/scientia/cmd/config.go | 15 ++++++++++----- client/go-cli/scientia/cmd/config_edit.go | 15 ++++++++++----- client/go-cli/scientia/cmd/config_init.go | 15 ++++++++++----- client/go-cli/scientia/cmd/config_read.go | 15 ++++++++++----- client/go-cli/scientia/cmd/edit.go | 15 ++++++++++----- client/go-cli/scientia/cmd/list.go | 15 ++++++++++----- client/go-cli/scientia/cmd/root.go | 21 +++++++++++++++++++++ client/go-cli/scientia/lib/helpers.go | 21 +++++++++++++++++++++ client/go-cli/scientia/main.go | 21 +++++++++++++++++++++ webroot/add.php | 15 ++++++++++----- webroot/config/config.php.default | 17 +++++++++++------ webroot/get.php | 15 ++++++++++----- webroot/index.php | 15 ++++++++++----- webroot/lib/entry.class.php | 17 +++++++++++------ webroot/lib/i18n.class.php | 15 ++++++++++----- webroot/lib/summoner.class.php | 15 ++++++++++----- webroot/view/entry/entry.php | 17 +++++++++++------ webroot/view/list/list.php | 17 +++++++++++------ 19 files changed, 227 insertions(+), 84 deletions(-) diff --git a/client/go-cli/scientia/cmd/add.go b/client/go-cli/scientia/cmd/add.go index 4529a8e..d4bd661 100644 --- a/client/go-cli/scientia/cmd/add.go +++ b/client/go-cli/scientia/cmd/add.go @@ -20,13 +20,18 @@ import ( * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ func init() { diff --git a/client/go-cli/scientia/cmd/config.go b/client/go-cli/scientia/cmd/config.go index 30acec0..1e73553 100644 --- a/client/go-cli/scientia/cmd/config.go +++ b/client/go-cli/scientia/cmd/config.go @@ -12,13 +12,18 @@ import ( * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ var configCmd = &cobra.Command { diff --git a/client/go-cli/scientia/cmd/config_edit.go b/client/go-cli/scientia/cmd/config_edit.go index 7b5a5f1..4213085 100644 --- a/client/go-cli/scientia/cmd/config_edit.go +++ b/client/go-cli/scientia/cmd/config_edit.go @@ -17,13 +17,18 @@ import ( * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ // Subcommand of config diff --git a/client/go-cli/scientia/cmd/config_init.go b/client/go-cli/scientia/cmd/config_init.go index 632746a..4f8b96b 100644 --- a/client/go-cli/scientia/cmd/config_init.go +++ b/client/go-cli/scientia/cmd/config_init.go @@ -15,13 +15,18 @@ import ( * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ // Subcommand of config diff --git a/client/go-cli/scientia/cmd/config_read.go b/client/go-cli/scientia/cmd/config_read.go index f96b060..2c2751f 100644 --- a/client/go-cli/scientia/cmd/config_read.go +++ b/client/go-cli/scientia/cmd/config_read.go @@ -16,13 +16,18 @@ import ( * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ // Subcommand of config diff --git a/client/go-cli/scientia/cmd/edit.go b/client/go-cli/scientia/cmd/edit.go index dadc1c0..d0248a1 100644 --- a/client/go-cli/scientia/cmd/edit.go +++ b/client/go-cli/scientia/cmd/edit.go @@ -15,13 +15,18 @@ import ( * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ var editCmd = &cobra.Command { diff --git a/client/go-cli/scientia/cmd/list.go b/client/go-cli/scientia/cmd/list.go index 680e3ee..d0d52e6 100644 --- a/client/go-cli/scientia/cmd/list.go +++ b/client/go-cli/scientia/cmd/list.go @@ -17,13 +17,18 @@ import ( * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ diff --git a/client/go-cli/scientia/cmd/root.go b/client/go-cli/scientia/cmd/root.go index d29855d..a5d8bd9 100644 --- a/client/go-cli/scientia/cmd/root.go +++ b/client/go-cli/scientia/cmd/root.go @@ -10,6 +10,27 @@ import ( Helper "scientia/lib" ) +/** + * scientia + * + * Copyright 2023 - 2024 Johannes Keßler + * + * https://www.bananas-playground.net/projekt/scientia/ + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. + */ + // FlagVerbose is a global flag var FlagVerbose bool diff --git a/client/go-cli/scientia/lib/helpers.go b/client/go-cli/scientia/lib/helpers.go index c221475..e2ea839 100644 --- a/client/go-cli/scientia/lib/helpers.go +++ b/client/go-cli/scientia/lib/helpers.go @@ -5,6 +5,27 @@ import ( "math/rand" ) +/** + * scientia + * + * Copyright 2023 - 2024 Johannes Keßler + * + * https://www.bananas-playground.net/projekt/scientia/ + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. + */ + const Version string = "1.0" const Website string = "https://www.bananas-playground.net/projekt/scientia/" diff --git a/client/go-cli/scientia/main.go b/client/go-cli/scientia/main.go index 1a07ec2..bc05b6c 100644 --- a/client/go-cli/scientia/main.go +++ b/client/go-cli/scientia/main.go @@ -4,6 +4,27 @@ import ( "scientia/cmd" ) +/** + * scientia + * + * Copyright 2023 - 2024 Johannes Keßler + * + * https://www.bananas-playground.net/projekt/scientia/ + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. + */ + // Using cobra here. See cmd/root for more func main() { diff --git a/webroot/add.php b/webroot/add.php index 763ecd7..255dd44 100644 --- a/webroot/add.php +++ b/webroot/add.php @@ -6,13 +6,18 @@ * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ /** diff --git a/webroot/config/config.php.default b/webroot/config/config.php.default index 7911865..7c7bec7 100644 --- a/webroot/config/config.php.default +++ b/webroot/config/config.php.default @@ -2,17 +2,22 @@ /** * scientia * - * Copyright 2022 - 2024 Johannes Keßler + * Copyright 2023 - 2024 Johannes Keßler * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ # set to true if you need debug messages in error log file diff --git a/webroot/get.php b/webroot/get.php index aaa0cd8..7f9f90f 100644 --- a/webroot/get.php +++ b/webroot/get.php @@ -6,13 +6,18 @@ * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ /** diff --git a/webroot/index.php b/webroot/index.php index 4de0689..25afdcc 100644 --- a/webroot/index.php +++ b/webroot/index.php @@ -6,13 +6,18 @@ * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ mb_http_output('UTF-8'); diff --git a/webroot/lib/entry.class.php b/webroot/lib/entry.class.php index 5c49531..c5ea207 100644 --- a/webroot/lib/entry.class.php +++ b/webroot/lib/entry.class.php @@ -2,17 +2,22 @@ /** * scientia * - * Copyright 2022 - 2024 Johannes Keßler + * Copyright 2023 - 2024 Johannes Keßler * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ /** diff --git a/webroot/lib/i18n.class.php b/webroot/lib/i18n.class.php index 2678898..f39d901 100644 --- a/webroot/lib/i18n.class.php +++ b/webroot/lib/i18n.class.php @@ -6,13 +6,18 @@ * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ class I18n { diff --git a/webroot/lib/summoner.class.php b/webroot/lib/summoner.class.php index d05407a..dcbe8dd 100644 --- a/webroot/lib/summoner.class.php +++ b/webroot/lib/summoner.class.php @@ -6,13 +6,18 @@ * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ /** diff --git a/webroot/view/entry/entry.php b/webroot/view/entry/entry.php index 1dbe0fb..7a50ebb 100644 --- a/webroot/view/entry/entry.php +++ b/webroot/view/entry/entry.php @@ -2,17 +2,22 @@ /** * scientia * - * Copyright 2022 - 2024 Johannes Keßler + * Copyright 2023 - 2024 Johannes Keßler * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ require_once 'lib/entry.class.php'; diff --git a/webroot/view/list/list.php b/webroot/view/list/list.php index 705f8a3..b8aa002 100644 --- a/webroot/view/list/list.php +++ b/webroot/view/list/list.php @@ -2,17 +2,22 @@ /** * scientia * - * Copyright 2022 - 2024 Johannes Keßler + * Copyright 2023 - 2024 Johannes Keßler * * https://www.bananas-playground.net/projekt/scientia/ * - * * This program is free software: you can redistribute it and/or modify - * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE + * it under the terms of the GNU 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 General Public License for more details. * - * You should have received a copy of the - * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - * along with this program. If not, see http://www.sun.com/cddl/cddl.html + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. */ $TemplateData['entries'] = array(); -- 2.39.5