Commit Graph
8385 Commits
Author SHA1 Message Date
cigamit 4fcf03d280 Resolving Issue #1765
Graphs Missing when Expand Devices on and Data Query sort type.
2018-08-06 20:33:03 -05:00
cigamit e1e59ce125 Resolving Issue #1184
Improve Data Input Methods editability and message handling
2018-08-06 19:56:08 -05:00
cigamit 7c9a1ef8d2 Resolving Issue #1799
Default User log sort should be date descending
2018-08-06 18:01:03 -05:00
cigamit 1158b8af8f Add delays to allow automation to start/stop 2018-08-06 17:54:12 -05:00
cigamit 7ef666c562 Resolving Issues #1804 and #1805
Do not create 64bit graphs on Windows devices
Pre-populate the settings database with defaults
One minor wording change in Automation
2018-08-06 17:30:48 -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
Tom Yearke efc6b83466 Import: Fixed handling of references to objects not included in file (#1796)
* Import: Fixed handling of references to objects not included in file

When exporting an object with the "Include Dependencies" option disabled and then importing the resulting file, the import process will not complete successfully. This is because the mapping of object hashes to object IDs only tracks objects that have been included in the file.

This commit resolves the issue by first loading the mapping with all existing hashes and IDs before processing the file's objects. This results in the expected behavior when a referenced object is not in the file but is already loaded into the Cacti installation.

* Revised #1787 based on review from @cigamit

- Removed unnecessary double quotes
- Encapsulated `foreach` on possibly-empty array with size check
- Added whitespace

* Updated CHANGELOG to include #1796
2018-08-06 07:43:18 -05:00
Tom 191e498a02 do not lose data source Index Value if a SNMP table entry disappears or changes its table index (e.g. ifTable) (#1790) 2018-08-06 06:44:56 -05:00
Mark Brugnoli-Vinten e35a23517e Resolving issues #1791 and #1794 (#1793)
* Resolving issue #1791

* Resolving issue #1794
2018-08-06 06:44:03 -05:00
Tom 1d057a60b2 run_data_query: fix flipped arguments in an SQL query (snmp_query_id and host_id were flipped) (#1789) 2018-08-05 12:30:03 -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 db78fc050c Resolving issue #1651 (#1786)
This PR corrects an issue with the template import functionality where
browsers will appear to be attempting to upload a file but Cacti never
receives the variables to know that a file was attempted.

System temporary folder must be writable to upload a file so Cacti will
now error should the temporary folder be unwritable.
2018-08-05 10:10:05 -05:00
cigamit 3d5f77d213 Resolving Isuse #1783
Browser Back button still does not working
2018-08-02 21:10:13 -05:00
cigamit e0f10ef02f One additional possible option to the normalized template
If the template is not found, indicate as such to aid in debugging.
2018-08-02 21:06:30 -05:00
cigamit ca264621c5 Enable disk and network automation rules by default 2018-08-02 20:55:28 -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
Mark Brugnoli-Vinten 994621d019 Resolving issue #1771 (#1777)
* Resolving issue #1771

This commit resolves issue #1771 by introducing new checkbox styles for each
theme.  It also ensures that the label is displayed only when wanted which is
usally only for the grouped checkboxes.

* Minor QA fixes
2018-08-02 17:58:54 -05:00
Tony Roman 1184f2128c Reduce Travis-CI messages into Slack 2018-08-02 08:22:27 -04:00
cigamit 9fb5ba2eba Resolving Issue #1772
Only notify the Administrator if the checkbox is ticked.
2018-07-31 19:53:57 -05:00
cigamit 993d34ef95 Add Data Source should have correct help 2018-07-30 20:54:19 -05:00
cigamit 75189c61f9 Resolving Issue #1761
- Graph management shows bogus template names
- Additionally, allow Multi-selects to have a reasonable width
- For Non-Templated and Template Not Found, properly show those things
as select items in the filter.
2018-07-30 20:43:18 -05:00
cigamit 5226272510 Backport some features from Eric Hynds Multiselect 2.x
The plugin is not currently working in jQuery3.x.  So, just backporting
some important features.
2018-07-30 20:38:44 -05:00
cigamit 0c33118d8d Allow selectmenus to resize themselves automatically
The changes also speeds page generation with large selects.
2018-07-30 20:37:34 -05:00
cigamit 8e5a6fae0f Consistent includes in poller commands
Additionally, some white-space removal
2018-07-30 20:35:29 -05:00
cigamit 9ef4d3f137 Resolving Issue #1763
Automatic refresh for Time Graph View - Enhancement
2018-07-29 14:29:01 -05:00
cigamit 8312b020e3 Add additional logging for #1766 2018-07-29 12:18:21 -05:00
cigamit 8a13fc4cc1 Resolving Issue #1766
Properly support upto 3 default automation templates
2018-07-29 12:07:59 -05:00
cigamit 42e1325d2e Default the Pirmary Admin to the 'admin' account 2018-07-29 12:06:56 -05:00
cigamit 6f679e97a1 Resolving Issue #1765
Some tree graphs not rendering as they should be.
2018-07-29 11:27:11 -05:00
cigamit 00a741bbaa Resolving Issue #1762
From the Links page, you are always prompted to confirm changes when
there aren't any.
2018-07-29 08:07:26 -05:00
cigamit 02cb97e6f2 Update i18n Language file 2018-07-28 21:41:39 -05:00
cigamit f854ae0dd1 Remove a few no longer used log settings, collapse section
A little long overdue cleanup
2018-07-28 21:41:26 -05:00
cigamit cc4ec49f96 Remove useless warning message 2018-07-28 21:34:02 -05:00
cigamit b92a62816a Correct Syntax Error in data_sources.php 2018-07-28 21:31:58 -05:00
cigamit 336171c1a9 Add Cron Interval to installer correct i18n issues
This will allow cron interval to be specified in the installer in order
to reduce the likihood off issue due to incorrect settings.
2018-07-28 21:27:58 -05:00
cigamit 6c508f760b Resolve one odd visibility issue in Automation Networks 2018-07-28 20:37:52 -05:00
cigamit 1df6e8498c Make ICMP the default ping for Automation Networks 2018-07-28 20:37:35 -05:00
cigamit f07c6da88c Small issue with invalid Edit Device URL location 2018-07-28 20:37:15 -05:00
cigamit 9e2b84eaad Another QA issue with form validation 2018-07-28 20:36:50 -05:00
cigamit ba8fd08526 Correct spelling error 2018-07-28 20:17:27 -05:00
cigamit 4f4216a5b1 Ensure devices are added to Cacti during automation 2018-07-28 20:12:13 -05:00
cigamit 093d8572cc More automation QA 2018-07-28 20:06:57 -05:00
cigamit 7e9c1b73c2 Correct syntax error in convert_tables.php 2018-07-28 18:58:26 -05:00
cigamit 0b40ebc44b Correct additional form issue found during QA 2018-07-28 18:58:08 -05:00
cigamit 3fdd0c71b8 Correct errors in discovery
SQL Error and an out of position prepared statement variable as well as
more precise selection of existing devices.
2018-07-28 18:57:49 -05:00
cigamit aec6e1ae6d Increase max table count to 1e06, and add --skip-innodb option
This will allow users or plugin developers to selectively skip
converting tables to InnoDB storage engine.
2018-07-28 18:29:34 -05:00
cigamit 4723bffd98 Update Cacti localization file 2018-07-28 12:16:54 -05:00
cigamit a3ea6895f7 Correct faulty defaults 2018-07-28 12:15:17 -05:00
cigamit ffae1aca64 Additional Enhancement to #1708 After Design Review
After discussion, we have agreed to support three levels of notification
configuration.  This will allow the Admin to have the ultimate
flexibility to control the Email options from the system level to the
network level.
2018-07-28 08:21:44 -05:00
cigamit d8c7008dd0 Correct some corner cases in form switch logic 2018-07-27 19:42:16 -05:00