Commit Graph
282 Commits
Author SHA1 Message Date
cigamit 7e9c1b73c2 Correct syntax error in convert_tables.php 2018-07-28 18:58:26 -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 bbf40bc253 Stop convert tables from converting memory tables
This change will stop memory tables from being converted to InnoDB.
2018-07-27 17:24:43 -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
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
cigamit fc32222f2e Minor logging changes per standard logging interpretation 2018-05-12 09:37:23 -05:00
cigamit 4e05e305aa Update audit_dataabse.php for latest schema 2018-05-08 20:52:27 -05:00
cigamit 4cac38344f Minor format changes 2018-05-06 13:08:19 -05:00
cigamit 801988f1be Resolving Issue #1602
PHP ERROR: Call to undefined function api_data_source_cache_crc_update()
2018-05-06 13:08:03 -05:00
cigamit 79c809a661 Undefined variable $displaySites 2018-03-30 11:06:51 -05:00
Dmitry e970396153 Resolving Issue #1491 (#1499)
* Resolving Issue #1491

* Fix description in help

* cli/add_datasource.php: "creating"->"adding"

* Different style fixes

* Remove --help
2018-03-29 17:27:12 -05:00
cigamit f89ab3b3bc Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	auth_login.php
#	data_sources.php
#	graphs_new.php
#	include/auth.php
#	lib/api_tree.php
#	lib/html_form_template.php
#	lib/html_tree.php
#	lib/template.php
#	permission_denied.php
#	poller_automation.php
#	tree.php
2018-03-25 11:08:00 -05:00
cigamit a35411aa7b Resolving Issue #1468
Increase max length of host.snmp_sysObjectID column
2018-03-24 09:20:42 -05:00
netniV efa0495d7b Issue #1447: Cli audit_database.php not detecting database name (#1448)
Issue #1447: Cli audit_database.php not detecting database name, and failed to create audit tables when run from fresh due to invalid indxees.

MySQL was complaining about the key not all being NOT NULL for a PRIMARY key as opposed to being UNIQUE
2018-03-05 18:13:33 -06:00
Tony Roman 1ce66b5fde Merge branch 'develop' into feature/1.2.x 2018-02-25 20:12:19 -05:00
cigamit 0129b317c6 Add a default Device Template to the available presets
Saves time.  It seems jQueryUI does not allow typing into selecmenu's as
the normal select's work in most browsers.
2018-02-24 21:14:24 -06:00
cigamit 7e70e27940 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
#	include/themes/modern/main.css
#	tree.php
2018-02-18 16:26:26 -06:00
cigamit e244b9c324 Resolving Issue #1336
Set the zlib compression earlier in output stream for import_package.php
and remove from the import library
2018-02-14 17:34:29 -06:00
cigamit dcf2d312f8 Validate regular expressions if specified in add_graphs.php 2018-02-08 18:51:57 -06:00
cigamit d12cada232 Validate regular expressions if specified in add_graphs.php 2018-02-07 18:46:38 -06:00
cigamit 55f1eb8332 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	lib/html_tree.php
2018-02-06 20:44:28 -06:00
netniV aa0d248408 Fix for issue #1306 where multi-value args are not parsing correctly (#1313)
* Fix issue #1306 where multi-value args are not parsing correctly

* Fix up error reporting of multi-values
2018-02-06 17:44:03 -07:00
cigamit b25896415a Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-02-06 08:08:43 -06:00
cigamit 703ddcdbb4 Minor format changes in cli scripts 2018-02-04 15:14:08 -06:00
cigamit 42e8f91a44 Minor shbang update for removespikes.php 2018-02-04 15:09:15 -06:00
cigamit 5ba3fd4f7f Minor updates from Regression and QA 2018-02-04 14:27:12 -06:00
cigamit 4ca8f1d441 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	lib/functions.php
#	lib/html_validate.php
2018-02-04 13:19:43 -06:00
netniV daff296e4b New CLI script to generate and verify MD5 hashes for entire cacti source (#1303)
* New CLI script to generate and verify MD5 hashes for entire cacti source

* Remove .md5sum
2018-02-04 09:16:20 -07:00
cigamit 7b60a000a8 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	lib/api_automation.php
2018-02-03 13:36:09 -06:00
cigamit 1d7118a941 More audit changes around snmp and column names and types
This change also removes the auto_increment defaults for certain tables
which should not be included in the default schema.
2018-02-03 13:31:21 -06:00
cigamit b743fbc4b6 Update audi_database.php is default shema details
Final updates after multiple upgrades from 0.8.7h to 1.1.34 and strait
installs of 1.1.34.
2018-01-28 12:41:58 -06:00
cigamit ffb9ad0e35 Update audi_database.php is default shema details
Final updates after multiple upgrades from 0.8.7h to 1.1.34 and strait
installs of 1.1.34.
2018-01-28 11:08:43 -06:00
cigamit 10a8e523f7 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	cacti.sql
#	data_sources.php
#	docs/CHANGELOG
#	graphs.php
#	host.php
2018-01-26 19:31:47 -06:00
cigamit cc1891fdef Resolving Issue #1263
The utility includes the options:
--report, --alters, --report, --repair, and --load (for developers)

The load will create the default tables from the current schema.  The
developer who runs with the --load option is still responsible for
loading the 'revised' table contents into the two string variables
though.  The --repair option will repair all tables and would be
suitable for the installers purposes.
2018-01-26 19:02:36 -06:00
netniV 270c622c22 Issue #522 - Device Device From Command Line (#1273)
Adds the ability to delete a device from the command line as requested in #522.

This can be done using regexp to verify results.

Requires --confirm to actually remove, otherwise lists matches
2018-01-26 17:57:26 -07:00
cigamit e9bb85e611 Update to Issue #1263
Removing some attributes that have little impact.  There are still
issues in the index parsing, and indexes that are missing are not caught
presently.
2018-01-24 21:07:36 -06:00
cigamit 6c563b72bb First half of a resolution to Issue #1263
Allow Auditiong of the Database
2018-01-24 19:53:30 -06:00
cigamit d5e50bb846 Change the general setting name of 'snmp_ver' to 'snmp_version'
This is required to leverage the common SNMP functions in layout.js
2018-01-14 18:00:08 -06:00
cigamit 7106f11947 Change the general setting name of 'snmp_ver' to 'snmp_version'
This is required to leverage the common SNMP functions in layout.js
2018-01-14 17:59:44 -06:00
cigamit 62615311b5 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-06 14:08:07 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
cigamit f6510d6805 Add physical location to the device
Add the location column to the host table and form objects.  This will
allow one additional level to the Site tree branches.
2017-12-27 20:24:03 -06:00
netniV 312ec55c23 Fix for issue #1131 - upgrade_database.php (#1151)
Make upgrade_database.php use cacti_version_compare rather than version_compare (php version) to bring inline with /install/
2017-12-23 08:21:35 -06:00
netniV a20df3817c Fix for issue #1131 - upgrade_database.php (#1151)
Make upgrade_database.php use cacti_version_compare rather than version_compare (php version) to bring inline with /install/
2017-12-23 08:06:08 -06:00
cigamit 11b559bb1a Allow pushing out Data Input Method with new --push option for Issue #1072
This was related to discussion about updating data input method poller
items in a single pass when validation the white list required updating.
Also, change all echo's to print statements.
2017-12-03 09:28:08 -06:00
cigamit cd8618f5fd More updates for issue #1072
- Moving the json_decode to associative arrays.
- Add update poller cache validation check that was previously missed
- Minor reformating of function calls, database calls, etc.
2017-11-23 08:30:08 -06:00
Tony Roman 6732e2ddd8 Fix up data input whitelist for realz 2017-11-22 12:22:42 -05:00
Tony Roman af4f440ec9 Update input whitelisting to require defining configuration variable 2017-11-22 07:58:41 -05:00
Tony Roman 59e8199101 Update data input whitelist feature 2017-11-21 20:35:44 -05:00
cigamit 365730d442 Resolving Issue #1072
Correcting CVE-2009-4112.  This CVE correction will provide some level
of protection to Cacti when unauthorized changes are made to a Data
Input Method.
2017-11-21 17:16:34 -06:00