diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 15e19ed3b9..f3dfabae7c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,6 +6,11 @@ labels: 'bug,unverified' assignees: '' --- + # Describe the bug A clear and concise description of what the bug is. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 0763053971..043f232fdf 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -6,6 +6,12 @@ labels: 'enhancement' assignees: '' --- + + # Feature Request ## Is your feature request related to a problem? Please describe diff --git a/.gitignore b/.gitignore index 0cf47c2210..570bd03e86 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ # Ignore vim swap files *.swp +*.rnd # Ignore Cacti config include/config.php # Ignore Cacti log files/folders @@ -49,5 +50,9 @@ include/themes/custom.css !include/themes/midwinter # Ignore any mac DS_Store files .DS_Store +# Ignore locales locales/po/*.mo +# Ignore CSRF secret include/vendor/csrf/csrf-secret.php +# Ignore visual studio code +.vscode/** diff --git a/README.md b/README.md index 1ae0c0e0ca..1e63f2c498 100644 --- a/README.md +++ b/README.md @@ -327,4 +327,4 @@ Cacti supports most RRDtool graphing abilities including: - Text alignment ----------------------------------------------------------------------------- -Copyright (c) 2004-2022 - The Cacti Group, Inc. +Copyright (c) 2004-2023 - The Cacti Group, Inc. diff --git a/about.php b/about.php index 1bf9126713..fce20f0a6e 100644 --- a/about.php +++ b/about.php @@ -1,7 +1,7 @@ - ServerAdmin webmaster@localhost - DocumentRoot /var/www/html - - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - - - - # 2.4.10+ can proxy to unix socket - SetHandler "proxy:unix:/var/run/php/php-fpm.sock|fcgi://localhost" - - -Alias /cacti GITHUB_WORKSPACE - -# Generic Entries -AddType text/html .php -AddType application/x-httpd-php .php -DirectoryIndex index.php - - - Options Indexes FollowSymLinks MultiViews - AllowOverride None - Order allow,deny - Allow from all - Require all granted - - - php_flag magic_quotes_gpc Off - php_flag short_open_tag On - php_flag register_globals Off - php_flag register_argc_argv On - php_flag track_vars On - # this setting is necessary for some locales - php_value mbstring.func_overload 0 - php_value include_path . - - +# +-------------------------------------------------------------------------+ +# | Copyright (C) 2004-2023 The Cacti Group | +# | | +# | 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 2 | +# | 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. | +# +-------------------------------------------------------------------------+ +# | Cacti: The Complete RRDTool-based Graphing Solution | +# +-------------------------------------------------------------------------+ +# | This code is designed, written, and maintained by the Cacti Group. See | +# | about.php and/or the AUTHORS file for specific developer information. | +# +-------------------------------------------------------------------------+ +# | http://www.cacti.net/ | +# +-------------------------------------------------------------------------+ + + + ServerAdmin webmaster@localhost + DocumentRoot /var/www/html + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + + # 2.4.10+ can proxy to unix socket + SetHandler "proxy:unix:/var/run/php/php-fpm.sock|fcgi://localhost" + + +Alias /cacti GITHUB_WORKSPACE + +# Generic Entries +AddType text/html .php +AddType application/x-httpd-php .php +DirectoryIndex index.php + + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + Order allow,deny + Allow from all + Require all granted + + + php_flag magic_quotes_gpc Off + php_flag short_open_tag On + php_flag register_globals Off + php_flag register_argc_argv On + php_flag track_vars On + # this setting is necessary for some locales + php_value mbstring.func_overload 0 + php_value include_path . + + diff --git a/tests/tools/check_all_pages.sh b/tests/tools/check_all_pages.sh index 43b16b71e4..c95b10837f 100755 --- a/tests/tools/check_all_pages.sh +++ b/tests/tools/check_all_pages.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # +-------------------------------------------------------------------------+ -# | Copyright (C) 2004-2022 The Cacti Group | +# | Copyright (C) 2004-2023 The Cacti Group | # | | # | This program is free software; you can redistribute it and/or | # | modify it under the terms of the GNU General Public License | diff --git a/tests/tools/check_cli_version.sh b/tests/tools/check_cli_version.sh index 0ae3f2558d..a44fe37cb6 100755 --- a/tests/tools/check_cli_version.sh +++ b/tests/tools/check_cli_version.sh @@ -1,6 +1,6 @@ #!/bin/bash #+-------------------------------------------------------------------------+ -#| Copyright (C) 2004-2022 The Cacti Group | +#| Copyright (C) 2004-2023 The Cacti Group | #| | #| This program is free software; you can redistribute it and/or | #| modify it under the terms of the GNU General Public License | diff --git a/tests/tools/check_install_code.php b/tests/tools/check_install_code.php index b0aebdafc2..c12b1f49fe 100644 --- a/tests/tools/check_install_code.php +++ b/tests/tools/check_install_code.php @@ -1,7 +1,7 @@