Commit Graph
936 Commits
Author SHA1 Message Date
Mark Brugnoli-Vinten 6ad0512b45 Some light function documentation and src alignment 2023-01-08 00:59:25 +00:00
netniV 276a7ab38c QA Bug fixes and features (#5146, #5148, #5149)
This corrects issues with the host edit form's availabity settings

Feature: enable/disable menu options

This introduces a new feature of disabling and/or enabling of
menu options with an option function to run a value check after
options have been updated.

Feature #5148: theme-based includes with master location

This introduces a new feature of specifying a path, theme and
file to be included.  This allows multiple locations to be
checked for the existence of a file, including the original path
or a subfolder of a theme location (see get_theme_paths).

Feature #5149: Async CSS loading

This introduces a new feature of allowing CSS files to be
loaded async by the browser.  By specifying the CSS files are
for print media only, the browser will delay loading them
speeding up initial load.  Using the javascript 'onload'
event, we then switch them back to being for all media

Closes #5148, #5149
2023-01-08 00:03:25 +00:00
TheWitness 85c11f54fc Fixing #5147 - Language Processing
Error 500 on apache when changing languages
2023-01-07 14:04:00 -05:00
Mark Brugnoli-Vinten 32ba2f19f4 Update copyright year for 2023 2023-01-03 20:34:26 +00:00
Mark Brugnoli-Vinten 24c0400a7c QA on #5104 email sending 2023-01-02 14:07:12 +00:00
Mark Brugnoli-Vinten 8b29d12cc9 Define cacti system paths as constants for better code checking (#5120)
This also provides a full run of src-fixer against all files to
ensure all code is now in alignment.

Closes #5120
2023-01-01 01:03:15 +00:00
Mark Brugnoli-Vinten 66cab888b3 Update text_substitute to allow for nulls 2022-12-23 13:14:35 +00:00
Mark Brugnoli-Vinten 3fbc091699 Fix cacti_compare_version() issue 2022-12-21 11:24:57 +00:00
Mark Brugnoli-Vinten c8157e3cbb Switch to constants for common session/cookie options 2022-12-21 10:53:53 +00:00
Mark Brugnoli-Vinten f1401a455b Workaround git security blockers 2022-12-21 00:37:31 +00:00
Mark Brugnoli-Vinten d60788f7d0 Fix some installation issues since recent changes 2022-12-21 00:17:11 +00:00
Mark Brugnoli-Vinten a0fc0021b2 Some light PSR/QA on user settings 2022-12-19 16:11:57 +00:00
Mark Brugnoli-Vinten 3b02184180 Some light PSR/QA on user settings 2022-12-19 15:25:41 +00:00
Mark Brugnoli-Vinten 5873905a90 Some light PSR/QA on user settings 2022-12-19 15:13:15 +00:00
Mark Brugnoli-Vinten 2f676930d6 Some light PSR/QA on user settings 2022-12-19 15:10:41 +00:00
Mark Brugnoli-Vinten e17cd11ba3 Minor QA on #5104 2022-12-18 22:39:29 +00:00
Mark Brugnoli-Vinten 4ecf066879 Fix up some versioning issues 2022-12-18 22:28:13 +00:00
TheWitness b435cd54ee Correct strict typing issue 2022-12-18 16:46:17 -05:00
TheWitness 66c78e4a42 Unwinding a few things for the moment
QA: Bypass upgrade for the moment to at least have it functional.
2022-12-17 15:07:23 -05:00
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