Commit Graph
648 Commits
Author SHA1 Message Date
netniV 1fc476da8c Some QA fixes on the 0.8.8 fixes 2018-10-08 14:07:17 +00:00
cigamit 9719521f40 Allow clean upgrade from Cacti 0.8.x 2018-10-07 18:36:45 -05:00
cigamit fda483bee4 Minor QA Issues Related to #2028 2018-10-07 04:02:30 -05:00
cigamit 4a2837350a Resolving Issue #2028
[1.2.0] Move User Community and Documentation per Theme Intent
2018-10-07 03:39:49 -05:00
Mark Brugnoli-Vinten 90007c3732 Correct issue with cacti_log() (#2022) 2018-10-06 18:24:48 -05:00
Mark Brugnoli-Vinten 46b133b097 QA Fix for issue with attachments (#2020) 2018-10-06 11:24:13 -05:00
Mark Brugnoli-Vinten 7b711344c1 Resolving Feature #2018 (#2019) 2018-10-06 10:44:13 -05:00
Tony Roman 4ddd5ae745 Add Support Menu Item
- Add external link support in menu (probably need more work)
 - Added Support -> Documentation menu item
 - Added Support -> Users Community menu item
 - Made documentation loading dynamic, if release documentation is
   not included it will redirect to Github documenation
2018-10-01 00:34:04 -04:00
cigamit c7e4dfda18 Resolving Issue #1473
Recovery Date overwritten by subsequent checks
2018-09-29 19:29:53 -05:00
Mark Brugnoli-Vinten 7cd6e6090d Fix debug_backtrace, add PHP recommendations, etc (#2001) 2018-09-29 19:11:08 -05:00
cigamit cfe111d83f Minor query cleanup as a result of audit 2018-09-28 04:26:39 -05:00
cigamit 42fb146c44 Minor tweak for get_default_contextoption 2018-09-26 21:10:12 -05:00
cigamit 73d9738ec7 Add a Timeout setting for Remote Agent calls Re Issue #1060 and #1604
This setting will help Remote Agent Timeout situations.  The setting is
the Settings > Poller section.
2018-09-24 19:53:00 -05:00
cigamit 664510b2ef Minor format changes for readability 2018-09-24 18:05:21 -05:00
Mark Brugnoli-Vinten 1b730d16dc Fix QA issue with messages (#1949) 2018-09-19 18:25:44 -05:00
Mark Brugnoli-Vinten 39efc75c49 Resolving issues #1931, #1932, #1933, #1934, #1935, #1938 and #1939 (#1937)
* Resolving issues #1931, #1932, #1933, #1934, #1935, #1938 and #1939

* Update import.php
2018-09-16 13:22:32 -05:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit 3869abeb33 Resolving Issue #1916
1.2.0] Cannot save User Settings
2018-09-12 21:13:10 -05:00
Mark Brugnoli-Vinten c4d6a6b5b9 Some QA fixes on latest Installer (#1913)
* Some QA fixes on latest Installer

* Correct Typo in CsrfMagic usage
2018-09-10 17:56:41 -05:00
Mark Brugnoli-Vinten 0fb4f53809 Resolving issue #1897 (#1898)
* Resolving issue #1897

* Resolving issue #1899

* Further Resolving Issue #1899
2018-09-06 21:24:51 -05:00
Mark Brugnoli-Vinten d3821d8f54 Installer Updates (#1890)
* Resolving Issue #1850

* Further updates, correct i18n language selection

* Another round of updates for #1850
2018-09-04 07:07:04 -05:00
cigamit c13f2f5807 Uncrowd version output on tables 2018-09-02 10:45:33 -05:00
cigamit c6fa835528 Unbreak the Cacti 2018-09-02 10:37:16 -05:00
Tony Roman 89fe46148e Update navigation functions
- Moved navigation array to appropriate location
 - Fixed comments on updated functions
 - Updated function format
2018-09-02 11:24:37 -04:00
cigamit 637c436182 Introduce Cacti Beta Constant
This will make it clear to users that they are running a beta version of
Cacti
2018-09-02 09:43:46 -05:00
Tony Roman ab36370e36 Rename 'Cacti Log' to 'Log' 2018-09-02 10:21:14 -04:00
cigamit 2b8097c060 Resolving Issue #1882
Bypass output validation in select cases
2018-08-30 19:29:27 -05:00
cigamit da86aa68a2 Resolve undefined index error when saving a report 2018-08-25 12:36:54 -05:00
cigamit 4d17c4adc8 Resolving Issue #1845
[1.2.0] Send Report Now does not issue result message
2018-08-17 20:31:34 -05:00
cigamit 15b90d52d8 Revert "Fixes issue 1717 and others (#1775)"
This reverts commit ca23733949.
2018-08-16 20:19:19 -05:00
Mark Brugnoli-Vinten ca23733949 Fixes issue 1717 and others (#1775)
* First round of changes for #1717

* Various QA fixes

* Further round of QA

* Add Content-Type to headers

* Another round of QA

* Allow full screen changepassword

* Redirect to permission denied page instead of displaying local message
2018-08-16 18:42:49 -05:00
Mark Brugnoli-Vinten 29bed92dc3 Resolving Issue #1824 (#1825)
* Resolving issue #1824

* Fix more fixes for REMOTE_ADDR
2018-08-11 11:08:27 -05:00
cigamit 2de208331f Resolving multiple issues with guest and template accounts 2018-08-07 18:22:31 -05:00
Mark Brugnoli-Vinten 7fe5b84104 Resolving issue #1797 (#1809)
This patch corrects issues found with the primary admin account
notifications by issuing different messages depending on what
the problem actually is.
2018-08-07 07:19:16 -05:00
Mark Brugnoli-Vinten 147c152eb7 Feature #1806 - Control of low level debug (#1807)
This patch adds functionality to control the debugging of low level routines
via defines within the config.php file.  In order to allow flexibility, if
these are defined, variables within the $config array are primed as true,
otherwise false.

These elements within the $config array are defined in uppercase to highlight
the difference between these are other ordinary configuration optios.

Should a function or program need to enable debugging of these various
options, simply setting the value to true in the $config array will enable
logging from that point.  Inversely, setting it to false will stop logging
from that point.

The only option that is of limited use is DEBUG_READ_CONFIG_OPTION_DB_OPEN
that will only work up to the database being open.  Setting this to true
after the database has already been opened will not automatic turn off the
companion option DEBUG_READ_CONFIG_OPTION since the db_connect_real() will
not be called again.

The list of options and their functionality are:

- DEBUG_READ_CONFIG_OPTION : record use of read_config_option()
  to cacti-option.log in the system temporary folder

- DEBUG_READ_CONFIG_OPTION_DB_OPEN : Once the database has been
  successfully opened, disable DEBUG_READ_CONFIG_OPTION

- DEBUG_SQL_CMD : Always write a copy of the SQL being requested
  to the cacti-sql.log file in the system temporary folder

- DEBUG_SQL_FLOW : Write flow of db_xxx calls to the cacti-sql.log
  in the system temporary folder.

The system temporary folder is normally set to one of the following:

- Linux, CLI: /tmp/
- Linux, WEB: Apache/Ngix's temporary folder
- Windows, CLI: %TEMP%
- Windows, WEB: Temp folder of web user or %WINDIR%\TEMP
2018-08-07 07:18:20 -05:00
Mark Brugnoli-Vinten 15ff2d4d74 Resolving issue #1802 (#1803)
This patch should correct some functionality issues within read_config_option()
so that settings are not incorrectly primed if the databsae is not opened yet
as noted in #1802
2018-08-06 17:09:37 -05:00
Mark Brugnoli-Vinten 6e1b8431b7 Fixes for Issues 1781, 1782 and 1784 (#1785)
* Fixes for Issues 1781, 1782 and 1784

This patch corrects the following issues:

- #1782 During Install, changing the Theme from Modern to another theme has no
        effect
- #1784 During Install, changing the Language from one to another has no
        effect
- #1781 Installer does not warn when mysql optimizations not set

As part of #1781's fixes, a new warning icon is displayed instead of a thumbs
up or down.  Additionally, recommendations have been revamped so that the ones
which are optionally (and some even state can be ignored) are now optional!

Also, introduced the correct calculation for innodb instances by taking the
buffer size during a previous recommendation and calculating from that.  If
the buffer size is never found or the calcuation finds less than 1 instances
are recommended, a minimum of 1 is set.

The main reason for #1782 and #1784's issues were caused by renaming index.php
to install.php as part of the recent security update (see PR #1747).  Updated
the javascript to use the correct install.php and then removed some extra data
that was being returned outside of StepData unnecessarily.

* Further fixes

This update corrects a number of issues with the database upgrading code, adds
the 'debug' plugin from cigamit, improves database functions to be more
consistent with errors across all functions and various installer based fixes
for the display and update of database upgrades.

It also brings a more visual response to the cli/upgrade_database.php so that
end users are not left wondering if something is happening.  Also, reviewed
all upgrade scripts to ensure that an upgrade from 0.8.8 through to 1.2.0 is
possible even if a previous database upgrade have been done.

* Fix QA issue with 'path_cactilog'

Due to some code reshuffle and testing, found that the above setting was being
read via read_config_option() before there was a database open so no path was
ever detected unless the force option was used.
2018-08-05 10:43:01 -05:00
Mark Brugnoli-Vinten 51ee26ce1a Resolving issue #1689 (#1779)
* Resolving issue #1689

As noted in issue #1689 (Technical Support's RRDTool version should show
detected RRD version) the version of the RRDTool is never actually displayed.
The code has now been updated to properly handle versioning and displays both
the configured and installed versions.

The setting for rrdtool_version has been updated to a proper minimum version
number so that the cacti_version_compare() function may be effectively used.
This means that the constant values of RRDTOOL_VERSION_1_3 through
RRDTOOL_VERSION_7 have now been removed from the system.

* Some QA updates

* Further QA fixes
2018-08-02 18:01:25 -05:00
cigamit 9fb5ba2eba Resolving Issue #1772
Only notify the Administrator if the checkbox is ticked.
2018-07-31 19:53:57 -05:00
cigamit 9a5cf5ae54 Inform the primary Cacti administrator of problems by Email 2018-07-27 17:31:22 -05:00
Mark Brugnoli-Vinten 33aa71448e Feature 1734 - Visual enhancements to RRD error message when file not found (#1755)
* Remove unnecessary issues

* Feature #1734 - Visual enhancements to RRD error message when file not found

This commit adds a visual enhancement to the RRDTool's file not found error.

* Further improvements
2018-07-26 21:32:54 -04:00
Mark Brugnoli-Vinten ef7a318ef1 Feature #1692 - Separate option for logging Input Validation issues (#1696)
* Feature #1692 - Separate option for logging Input Validation issues

This commit adds a separate option for feature #1692 to enable logging Input Validation issues even when developer mode is turned off

* Finalise renaming of developer_mode to log_validation for cleaner understanding

* Remove log_validation from legacy location
2018-07-21 11:44:06 -04:00
Mark Brugnoli-Vinten 6bb5b36b64 PR for Issue #1716 and #1718 (#1720)
* Fixes for issues #1716 and #1718

* Add changelog details

* issue#1721 - Console Side Bar not correct on first login
2018-07-19 06:54:33 -04:00
Mark Brugnoli-Vinten cab3863f2b PR for issues #1282 and #1700 (#1701)
* PR for issues Â#1282 and #1700

This pull request adds additional functionality for #1282 allowing network discovery to email upon completion and also corrects issues found during #1700 with unauthenticated mail causing errors to appear.

* Fix settings QA issue
2018-07-14 10:49:15 -05:00
Mark Brugnoli-Vinten d3ee9512bf Fix for issue #1298 (#1702)
* Fix for issue #1298

* Minor QA fix
2018-07-11 04:39:09 -05:00
cigamit 5a1ba8c3fe Resolving Issue #1614
Graph management not display graph names
2018-06-02 12:30:30 -05:00
cigamit bb25cba41d Properly set graph top tab and right tabs when present 2018-06-02 12:11:16 -05:00
cigamit 07544275a3 Another MySQL 8.x Reserved word related to #1655
The word 'path' appears to be moving into the reserved domain as well.
Related to issue #1655
2018-06-02 09:07:15 -05:00
cigamit 6fd2cc9ee2 Improve handling of CSRF timeouts
Now page will automatically refresh.
2018-05-14 18:26:18 -05:00
Mark Brugnoli-Vinten 5d075f62fc Feature #1034: Ensure tables are UTF8 (#1635)
* Feature #1034: Ensure tables are UTF8

* Make PHP 5.4 happy
2018-05-12 15:35:50 -05:00