Commit Graph
8404 Commits
Author SHA1 Message Date
cigamit 459676367d selected items for selects are not clearly differentiated from other items 2018-08-09 17:08:00 -05:00
cigamit d2d907c1f4 Allow users to drill down to devices from sites page 2018-08-09 17:06:46 -05:00
cigamit e723e2decf Resolve warning issues on import page
Also re-enable remove orphans functionality.
2018-08-09 17:06:23 -05:00
cigamit e151c57192 Resolve issues with new links 2018-08-09 17:05:29 -05:00
cigamit cf1a0e47be Resolving Issue #1818
After unlocking a tree, F5 loads page without header resulting in error
2018-08-08 07:45:42 -05:00
cigamit 41267c2d18 Resolving Issue #1818
After unlocking a tree, F5 loads page without header resulting in error
2018-08-08 07:43:28 -05:00
cigamit 2b563212cb Resolving Issue #1817
When placing a tree in edit mode, the Display dropdown switches to the
first item
2018-08-07 19:57:50 -05:00
cigamit 923e0b6c38 Add Graphs and Data Sources hyperlinks on Device page
Additionally, convert styles to classes
2018-08-07 19:46:39 -05:00
cigamit 3f2841389c Minor form update to prevent warnings on change 2018-08-07 19:38:35 -05:00
cigamit 06546bf046 Minor QA issue with guest account change 2018-08-07 19:13:37 -05:00
cigamit 2de208331f Resolving multiple issues with guest and template accounts 2018-08-07 18:22:31 -05:00
Alex f17625597d Fixes issue 1814 (#1815) 2018-08-07 17:05:58 -05:00
Mark Brugnoli-Vinten 1ae7da9014 Update README.md (#1812) 2018-08-07 17:05:44 -05:00
cigamit 76e9691bfc Resolve two issues with checkboxes
- Allow tooltips to work over checkboxes again
- Change slider on color for dark theme
2018-08-07 17:05:14 -05:00
cigamit 93c27bb0be Resolving Issue #1810
Correct SQL errors with authentication set to no authentication
2018-08-07 07:33:04 -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 049b99c76d Resolving issue #1799 (#1808)
This is a further amend to complete the changes made in
7c9a1ef8d2 for issue #1799
2018-08-07 07:18:43 -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
cigamit 5f22e34020 Resolving Issue #1604
Failed to connect to remote collector
2018-08-06 21:14:31 -05:00
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