Commit Graph
2098 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 e723e2decf Resolve warning issues on import page
Also re-enable remove orphans functionality.
2018-08-09 17:06:23 -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 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
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
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 e1e59ce125 Resolving Issue #1184
Improve Data Input Methods editability and message handling
2018-08-06 19:56:08 -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
Mark Brugnoli-Vinten e35a23517e Resolving issues #1791 and #1794 (#1793)
* Resolving issue #1791

* Resolving issue #1794
2018-08-06 06:44: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
cigamit 3d5f77d213 Resolving Isuse #1783
Browser Back button still does not working
2018-08-02 21:10:13 -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
cigamit 9fb5ba2eba Resolving Issue #1772
Only notify the Administrator if the checkbox is ticked.
2018-07-31 19:53:57 -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 42e1325d2e Default the Pirmary Admin to the 'admin' account 2018-07-29 12:06:56 -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 9e2b84eaad Another QA issue with form validation 2018-07-28 20:36:50 -05:00
cigamit 0b40ebc44b Correct additional form issue found during QA 2018-07-28 18:58:08 -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
cigamit 3b4c5655c8 Correct errors around form logic 2018-07-27 18:49:50 -05:00
cigamit 9a5cf5ae54 Inform the primary Cacti administrator of problems by Email 2018-07-27 17:31:22 -05:00
cigamit 547a831346 Resolve Issue #1752
Missing to javascript translations for warnings.
2018-07-25 17:52:48 -05:00
Mark Brugnoli-Vinten ed57331dfd Fixes for Issue 1729 and 1730 (#1747)
* Fixes QA issues with upgrades from older versions

* Redirect install/index.php to install/install.php

* Further QA fixes

* Ensure upgrade matches new password field length

* Add 'Installation In Progress' message

* Fix QA issues
2018-07-25 08:45:41 -04:00
cigamit b64213aa76 Allow user to eventually undo changes and move off form 2018-07-23 20:23:36 -05:00
cigamit a13b911d4b Resolving Issue #1735
This resolved the use of the serializeObject taking all checked on
non-checked objects.  The new function, serializeForm will serialize all
form data, checked or not.
2018-07-23 18:53:49 -05:00
cigamit f515042abd QA on issue #1731
Ensure compatibility on other browsers and fix one bug
2018-07-22 12:50:12 -05:00
cigamit 487d9fa8e1 Resolve Issues #1731 & #1672
Warn a user if they are going off page and there are unsaved changes
2018-07-22 11:02:51 -05:00
Mark Brugnoli-Vinten 2b61c1bba3 Further fix for Issue 1723 (#1728)
* Issue #1723 - die() messages should include \n for better logging

This corrects issue #1723 where die() messages appear in log files without a new line character causing logs to appear corrupted.

* Replace \n with PHP_EOF to be platform independant.
2018-07-21 15:17:14 -04:00
cigamit 697256c91d Resolving Issue #1726
Missed a single layout.js change for this enhancement.
2018-07-21 13:57:34 -05: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 fde08a533f Issue #1723 - die() messages should include \n for better logging (#1724)
This corrects issue #1723 where die() messages appear in log files without a new line character causing logs to appear corrupted.
2018-07-21 08:31:57 -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
cigamit 179cd07b73 Resolving Issue #1711
Support specifying MySQL SSL file paths in the database API
2018-07-14 14:53:46 -05: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 59c6896145 Feature #1703 - Add i18n to Graph Context Menu (#1705)
This commit adds i18n language facilities to the context menu displayed on graphs as per #1703.  It also adds a submenu icon to make it clearer that an entry has a submenu.
2018-07-14 10:47:26 -05:00
Mark Brugnoli-Vinten e3f129076e Feature #1691 - Add a 'Copy graph' option to context menu of graphs (#1695)
* Feature #1691 - Add a 'Copy graph' option to context menu of graphs

This commit adds a 'Copy graph' option for feature #1691 to the context menu of graph images.

* Minor QA fix

* Minor QA fix
2018-07-11 04:46:30 -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 41923e8c30 Minor sort css updates 2018-06-12 08:01:43 -05:00
cigamit 759ea96d2b Minor tweak to modern theme 2018-06-10 09:50:32 -05:00
cigamit cb3cd246c5 Minor change resulting from code audit 2018-06-09 10:59:00 -05:00
cigamit 3c62c19ccb Feature: Allow the SNMP Agent to be disabled
This feature is for larger sites who do not wish to run the SNMP Agent
in cacti.
2018-06-06 17:56:47 -05:00
DavidLiedke 52a60da5ae Update jquery.tablesorter.js to 2.30.5 (#1659)
... from 2.30.3
Thanks David!
2018-06-06 17:21:59 -05:00