* Resolving CVE-2022-46169
* Provide a restrictive option
* QA: Further restrict allowed headers to those defined in config only
Co-authored-by: TheWitness <thewitness@cacti.net>
This commit also introduces expansion settings so that
log expansion can be turned off. Some users may have
logs too large to cope with expansion.
The default will be full expansion to allow this feature
to work by default (see LOG_EXPAND_FULL and the 'log_expand'
configuration option)
Closes#3679
This commit moves the delete button for collectors from the listing page
to the edit page for safety. It also prevents accident deletion of
multiple collectors at the same time.
Closes#3677
- Adds a new field 'created' to the host table
- Fixes some issues ihe git source timestamp checks
- Adds support for datetime/date to use CURRENT_TIMESTAMP
Closes#3260
- When a developer uses backtracing, HTML output can be seen from command line bug confirmed
- When using `input_validate_xxx`, calls to `die_html_input_error()` do not pass variable name bug confirmed
Closes#3559Closes#3560
Update loadPage calls to be loadUrl
Update loadPageNoHeader calls to be loadUrl calls
Also includes changes to make logout adhere to new html_auth_xxx functions
Any call to get_cacti_version() will simply return the CACTI_VERSION
define and add a warning to the cacti.log file. To prevent this
warning change
```php
$v = get_cacti_version();
```
to
```php
$v = CACTI_VERSION;
```
This can be made version independant by using the following code
to detect 1.3 and above or fall back to the older 1.2 and below
method:
```php
if (defined('CACTI_VERSION')) {
$v = CACTI_VERSION;
} else {
$v = get_cacti_Version();
}
```
- Update FontAwesome to v5.8
- Add some new themes
- Allow dynamic theme selection via newtheme parameter (newtheme=carrot)
- Fix up some Auth dialog issues
By introducing CACTI_DEV_VERSION, any development / git version of the website will only request an upgrade if the timestamp
is greater than the database timestamped version. Any non-development version will be treated as per the original method of
complete version difference.