Commit Graph
917 Commits
Author SHA1 Message Date
Mark Brugnoli-Vinten 3f79913928 QA Errors modifying graph template (#5081)
Adds some additional typing to functions.php more to come
2022-12-13 01:07:06 +00:00
Jing Chen 993fb9b83b Fixed two files (#5077) 2022-12-12 12:23:57 +00:00
Mark Brugnoli-Vinten 06512fa933 LDAP configuration should only use 'user_domains_ldap' (#2166)
Closes #2166
2022-12-11 01:50:54 +00:00
netniV d6e5b764c4 QA: device debug does run (#5063) 2022-12-10 11:30:31 +00:00
netniV 7fbaf93aac QA: Add option to display grants used 2022-12-09 23:18:09 +00:00
Mark Brugnoli-Vinten 15d9300aff QA: Datasources are double tagged 2022-12-09 22:28:21 +00:00
Mark Brugnoli-Vinten 22ae5bccec Allow admin emails to utilise CLOG-style ID to name/link replacements (#4157)
Closes #4157
2022-12-09 20:32:49 +00:00
Mark Brugnoli-Vinten 4a89c75402 QA: web installer not working (#5070) 2022-12-09 12:27:26 +00:00
TheWitness 79ae59e0ae QA on CSS inclusion 2022-12-08 07:21:03 -05:00
TheWitness e469c3ddad Fixing Issue #5041 - Missing files warning
md5_file error in custom theme after updating to 1.2.23
2022-12-08 06:59:51 -05:00
Mark Brugnoli-VintenandTheWitness b43f13ae7f Merge pull request from GHSA-6p93-p743-35gf
* 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>
2022-12-05 08:41:01 +00:00
TheWitness 04a6ede554 Fixing #5033 Deprecatin Warnings
Installer shows deprecated messages on PHP 8.1.2
2022-12-04 13:07:01 -05:00
TheWitness 95faa1f624 QA: Provide a stricter get_client_addr() function 2022-12-03 14:14:40 -05:00
TheWitness 9e459f9bd0 QA: Take another approach for device row cache
This changes the expiry method to be performed in one call instead of spread around at the device level.
2022-12-01 18:47:58 -05:00
TheWitness 0e1176e7ca PHP7.4 Compatibility 2022-11-30 15:46:40 -05:00
Mark Brugnoli-Vinten 08079722e8 Update check_all_pages to allow options to adjust checks 2022-11-30 10:37:38 +00:00
TheWitness 6528174e22 QA: Add missing function
This is a function that was specifically written for the package plugin.
2022-11-27 18:54:26 -05:00
netniV 24927242a1 Allow form input validation to be reported to GUI (#5021)
Closes #5021
2022-11-27 22:48:49 +00:00
netniV 4b6163f40e Allow null returns from filter_value 2022-11-27 16:03:42 +00:00
netniV 98dc9acb65 Some fixups during testing 2022-11-27 15:52:13 +00:00
Mark Brugnoli-Vinten d1102e8688 Testing fixes 2022-11-27 03:39:03 +00:00
netniV 9eb99489ae Fix up some minor issues with versioning 2022-11-27 03:10:15 +00:00
TheWitness 18a995964d Make audit_database.php work for cross checkin
Just checking the schema against the audit.  Finding some discrepancies.
2022-11-27 02:58:57 +00:00
TheWitness 4322829940 Fixing issue where php throws error due to empty request variable 2022-11-27 02:43:31 +00:00
TheWitness 678dc77601 Fix syntax error in functions 2022-11-27 02:30:21 +00:00
netniV 57ce74c8b6 Fixing #4336 2022-11-27 02:12:18 +00:00
netniV bd2e340ff8 Allow CDEF to be used as a filter for Graph/Graph Templates (#2439)
Closes #2439
2022-11-27 01:55:53 +00:00
netniV 77bb4ddc21 Ability to disable a site (#3740)
Closes #3740
2022-11-27 01:46:10 +00:00
netniV c010873918 Fix issue with update_host_status 2022-11-27 01:17:16 +00:00
netniV 4d877ad8c8 Fix email issues 2022-11-27 01:15:54 +00:00
netniV e03d0fc617 Fix issue with new theme detection 2022-11-27 01:09:05 +00:00
netniV e0b479d090 Fix up clean up functions to allow for nulls 2022-11-27 00:04:29 +00:00
TheWitness 4e4db97012 More issues with mixed input variable types 2022-11-26 23:57:20 +00:00
TheWitness ab3628ecb8 Third argument to array_rekey is mixed 2022-11-26 23:54:17 +00:00
TheWitness 8b17d58871 Fix Functions for GUI to Work Again and Misc Others
- Fixing some typing
- Remove spurious debug statement
- Change some alignment
2022-11-26 23:47:35 +00:00
netniV 2e1c16387f Make changelog more accessible for future feature changes 2022-11-26 23:23:07 +00:00
netniV 550b697678 Fix depreciated get_cacti_version() usage and add backtrace info 2022-11-26 22:34:28 +00:00
netniV 187c691c68 Minor QA on web log filtering 2022-11-26 21:23:53 +00:00
netniV cbad48ca9e Allow searching logs by name, not just id (#3679)
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
2022-11-26 20:54:50 +00:00
netniV 18b5221da3 Relocate the delete button for collectors (#3677)
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
2022-11-26 19:52:30 +00:00
netniV 2968aad3a2 Add 'created' to host and QA on versioning
- 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
2022-11-26 19:39:12 +00:00
netniV 371f8b5253 Fix issues with backtracing and input validation (#3559, #3560)
- 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 #3559
Closes #3560
2022-11-26 18:28:29 +00:00
netniV fd44f394a0 Remove the need for header=false
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
2022-11-26 13:58:49 +00:00
netniV 78a8999d63 Reintroduce get_cacti_version() as depreciated
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();
}
```
2022-11-25 22:39:17 +00:00
netniV ca7f543fa1 Revert "PHP recommendations always see memory limit as unlimited"
This reverts commit 3f9586f1b3.
2022-11-25 22:14:50 +00:00
netniV 7ba4b4f4b0 Contains the following changes:
- Upgrading development versions now works
- Added extra language logging info
- Destroys the correct cookie (urlpath now used)
2022-11-25 20:55:33 +00:00
netniV 3912cdba57 Style update!
- Update FontAwesome to v5.8

- Add some new themes

- Allow dynamic theme selection via newtheme parameter (newtheme=carrot)

- Fix up some Auth dialog issues
2022-11-25 19:43:24 +00:00
Mark Brugnoli-Vinten 6ba054b6a8 Minor fixes after 4e381cf48 2022-11-25 15:32:34 +00:00
netniV df63b0109d Allow users to enable 2FA with Google Authenticator/Authy 2022-11-25 15:18:38 +00:00
netniV 61842eb1a0 Reduce number of development upgrade requests
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.
2022-11-25 02:44:10 +00:00