Commit Graph
30 Commits
Author SHA1 Message Date
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
Mark Brugnoli-Vinten e48f788d92 Resolving issue #1870 (#1917) 2018-09-12 20:01:18 -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 439668519a Add CLI-based installer, fix 100+ table issue (#1912) 2018-09-10 00:39:40 -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 46a7206702 Resolving Issues #1871 and #1870
[1.2.0] Installer seems stuck at installing packages due to missing PHP
modules/functions
2018-08-30 07:06:07 -05:00
cigamit 1c45c450e2 Resolving Issue #1870
[1.2.0] Installer error if Json module not available.
Additionally, added a warning about php-snmp and IPv6+SNMPv3.
2018-08-30 06:50:12 -05:00
cigamit 64f3e8a2a8 Resolve Issue #1860
[1.2.0] Installer defaults to first profile in list, should default to 5
minutes
2018-08-26 14:04:38 -05:00
cigamit 67543ed64d Make a few enhancements to the installer
- Use the standard Cacti form logic
- Set sendmail path if it's available

Sendmail is optional, but we want to set it if it's available.  So, it's
not entirely critical, but it could be.  So, moving into the section of
the installer.  Doing this also partially corrects an open issue as
well.
2018-08-18 10:32:55 -05:00
Mark Brugnoli-Vinten 26d35661e5 Feature #1627 - Allow setting SNMP options during install (#1827)
* Add SNMP options during installer profile defaults, use draw_form()

* Installer now has field arrays to determine fields to parse

* Install SNMP option set item and make device defaults too
2018-08-12 19:32:52 -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 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 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 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 ba8fd08526 Correct spelling error 2018-07-28 20:17:27 -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
Mark Brugnoli-Vinten 237e9a70ff Fix for issue #1732 (#1737) 2018-07-23 08:21:47 -04:00
Mark Brugnoli-Vinten da8b5169b7 Feature #1588: Check that PHP can run a test file (#1722)
* Feature #1588: Check that PHP can run a test file

* Feature #1628 - Allow the User to define a initial Network Discovery during Setup

* Fix QA issue with PHP 5.4

* Replace \n with PHP_EOL

* Minor changes to tabs vs. space and PHP_EOL

Will have to update packages based upon this too.

* Another minor pull where PHP_EOL was removed
2018-07-21 12:12:25 -04:00
Mark Brugnoli-Vinten 94240ac390 Fixes for issues #1589 and #1690 (#1706)
* Fixes for issues #1589 and 1690

This commit applies fixes for #1589 (Checking temporary folder is writable) and #1690 (Report a warning if collation is not utf8mb4_unicode_ci)

* Remove debug code
2018-07-14 11:23:23 -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
Mark Brugnoli-Vinten 95a9688ddf Feature #1623 - Installer: Allow Language Selection on Welcome Screen (#1625)
* Feature #1623 - Installer: Allow Language Selection on Welcome Screen

* Add missing flag-icon-css library
2018-05-09 21:01:40 -05:00
cigamit 3c9e95398f Two more QA issues in installer 2018-05-08 17:50:21 -05:00
cigamit 6786f6809d Correct Three Issues
Syntax error in install.js
Data Source Profile Updates
Syntax error in installer.php
2018-05-08 17:37:32 -05:00
Mark Brugnoli-Vinten 4b9bdbe120 Installer QA fixes (#1619) 2018-05-08 17:13:29 -05:00
cigamit bffdd3d743 Missed installer changes in last commit. 2018-05-07 20:34:43 -05:00
Mark Brugnoli-Vinten c74e27fb5b Feature #1584 - Theme selection should be on first screen (#1592)
* Add theme default and fix false error report #1584

* Switch sides for theme and acceptance

* Remove debug code
2018-04-30 05:51:22 -05:00
Mark Brugnoli-Vinten ddddaec6ae Ajax Installer (#1586)
* Beginning of Install via AJAX calls

* Added steps 3 & 4 to the installer system

* Add background update procedure.  Still needs more upgrade code adding, like upgrading the DB

* Minor fixup during QA

* Remove debug code from lib/functions.php

* More QA fixes, add slight delay to index.php initialisation to see javascript warning (should be removed)

* beta3 - added data source profiles

* beta4 - fix some issues found in QA

* beta5 - upgrade databsae routines added, error results screen styled

* Add some colour to the thumb icons

* QA fix to remove unneeded option

* Fix for PHP 5.4 travis failure
2018-04-29 10:05:32 -05:00