Commit Graph
89 Commits
Author SHA1 Message Date
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
netniV f2790006af Fix Issue #1133 - Incorrect variable name (#1134)
* Fix Issue #1133 - Incorrect variable name

Fixed the incorrect use of $totle in place of $title resulting in database insertion errors.

* Update import.php

Fix debug display to match code.

* Update CHANGELOG
2017-12-21 07:49:03 -06:00
Patrick 4bc2f4c0bc Various updates (#1073)
* Updated Dutch translations
- Fixed i18n

* Defined fields in queries

* Fixed changelog

* Updated Dutch translations

* Various fixes

All committed files:
- true|false to lowercase

add_perms.php:
- displayGroups() was undefined

add_tree.php:
- duplicate case for '--quiet'

repair_templates.php:
- correction function call to diaplay_version()

gettext.php:
- PHP EOF unneeded

* Fixed warnings in graph_view

* Updated Dutch translations
- Updated Dutch translations with latest cacti.pot file

* Updated Dutch translations
- Fixed conflicts in translations

* Various fixes
- Changed array access identifiers
- Fixed some code layout changes
- Fixed one i18n entry in api_automation.php

* Updated changelog

* Layout changes (tab instead of spaces)

* Layout changes (tab instead of spaces)

* Various fixes
- Changed array access identifiers
- Fixed some code layout changes

* Some fixes for better querying

* Layout change only

* Updated Dutch translations

* Updated changelog

* Updated changelog

* Fixed upgrade script 1_1_28.zip

* Few final fixes after CR or changes

* Updated Dutch translations
2017-11-11 05:45:12 -06:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
John Horne 88df1a1668 When the graph template changes, ensure that the 'snmp_query_graph_id' is
changed in the graph_local table.
Also ensure that the new number of graph items is recalculated after updating
the table, but before checking to see if we need to remove any.
2017-06-02 17:19:12 +01:00
cigamit c862851b7e Optimizations around data input methods
No functional changes
2017-05-13 11:08:34 -05:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
Patrick 623611cd16 PHP7.2 changes:
- Replaced deprecated each() for foreach()
- Removed unnecessary reset() calls used for resetting pointers of an array before iterating by a foreach() loop
2017-04-18 14:40:29 +02:00
patrick cc1cc7eab2 PHP7.2 changes:
- Replaced deprecated each() for foreach()
- Removed reset() calls used for each() loops
2017-04-15 18:00:13 +02:00
cigamit 1e1818f514 Fixing light corruption issue in graph_templates_item
New graph items contained a hash when they should not have.
2017-03-25 10:46:00 -05:00
cigamit 4944c38a3a Shorten syntax on SQL 2017-03-18 21:27:12 -05:00
cigamit 257349648a Resolving Issues #447 and #338
- Extreemly slow new graphs/DS creation
- Creating another non data query graph from same template reuses first
data source
2017-03-18 07:05:35 -05:00
cigamit b79e99f10c Resolving Issue #337
Error when try create new graph - SNMP - Generic OID
2017-03-04 14:34:19 -06:00
cigamit 571fe40f27 Partial resolution of Issue #226 2017-01-20 09:36:42 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 3cee024a3a Allow Graphs to be Re-Templated
Often times in Cacti, you can have multiple versions of a template in
place.  This function will allow you to re-template any existing graphs
to the new version.
2016-12-29 11:37:03 -06:00
cigamit 81da29a45e resolving https://github.com/Cacti/cacti/issues/65 2016-09-22 19:02:31 -05:00
cigamit 30ff8e6fc5 more column detection fixes 2016-09-21 08:36:59 -05:00
cigamit 04a3215f02 make sure we set defaults 2016-09-11 07:28:33 -05:00
cigamit 6569c2a824 fix corruption when adding items to graph templates 2016-09-10 21:48:48 -05:00
cigamit 845275ac71 correct issues with automation on non data query graphs 2016-09-10 11:51:50 -05:00
cigamit 4c1cfa2a5c adding snmp_query_graph_id to graph_local
this will make plugin developers, as well as mainline deverlopers much
happier with the ability to view graphs by template.  other changes
coming.
2016-09-08 14:10:46 -05:00
cigamit 3c0471a676 resolving bug#168
this is the second commit after additional testing.
2016-09-05 21:34:24 -05:00
cigamit 56cd61518d resolving bug#168
not entirely happy with this solution, but it is a start.
2016-09-04 10:31:25 -05:00
cigamit da835102e7 fixing two prepared statement conversion issues. 2016-08-28 23:12:20 -05:00
cigamit b523f1dea5 remove addslashes, prepared statements, wc3 validation, double to single quote
this is required for preparation of magic_quotes_gpc.
2016-08-28 15:27:48 -05:00
cigamit b97fbb92c0 resolve issue with soft database corruption when creating graphs, convert to prepared statements 2016-08-27 16:27:33 -05:00
cigamit 8e9e86fe16 resolving bug#2535 2016-08-26 20:03:24 -05:00
cigamit 39fa27b30a resolving bug#2725 and others
Propagate Graph Template changes to Data Source
Minor GROUP_CONCAT ORDER issue
Remove graph_diff as it's no longer required
2016-08-26 16:48:13 -05:00
cigamit 2bb804e3a5 use prepared statements, and db_qstr() vs. addslashes()
additional cleanup including double to single quotes and some
formatting.
2016-08-25 08:19:29 -05:00
cigamit 1d138befb1 resolving bug#2714 2016-08-20 12:06:11 -05:00
cigamit 9cbb202198 mysql 5.7 testing 2016-06-18 09:44:39 -05:00
cigamit 521d8297c8 resolve alternate data profile issue, introduce prepared statements, double to single quotes 2016-04-21 22:23:39 -05:00
cigamit 39bbb23ac5 implement data source profiles
this commit will cause your 1.0 environment to break.  to fix, please
run the script 'profile_migrate.php'.  this commit includes a major new
feature to allow your Cacti system to have multiple polling intervals
and for you to create identical graphs using multiple polling intervals
in a sane way.  this is an initial commit, one that has been tested.
however, there will be subsequent commits.  however, after migration,
this should be considered stable.
2016-03-14 06:59:54 -05:00
cigamit 2e236dcbdf big commit back porting features
back port the following features from main:

1) vdef support
2) new graph items
3) new graph options

this covers all the high points available in rrdtool today.

also change the following:

1) allow forms to include spacers
2) reorganize graph template form with spacers
3) many help wording back ports from main

for those testing, if you are going to start using this version, you
will have to implement the changes in the upgrade script or reinstall.
also note that this change may break new aggregates.
2016-03-09 20:43:52 -06:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit 1340f5c31d Automation Merge 1 of 2
- Merging automation Phase I which only includes the Autom8 plugin.
Phase II will included an enhanced discovery plugin.
- Also reworked the cacti_log function to specify a level in order to
streamline code
- Converted poller functions to still include Poller[xx], but all others
will not
- More conversion of double to single quotes
2015-04-03 18:27:54 -05:00
Tony Roman b3e4f85900 Fixed:
1) CSV export functional from Tree and Preview, new MRTG view functional
2) Corrected some rendering issues between tree and breadcrumbs on graph pages
3) Fixed 'Created Graphs debug messages missing'
4) Corrected spelling error in config.php.dist
5) Fixed some warning when creating graphs 



git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7675 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-07 02:43:47 +00:00
Jimmy Conner 5bde3da972 1) Update Copyright Years Correct a few minor CY Issues
2) Allow Locking/UnLocking of Graphs
3) ToolTips
4) Correct Minor Issues with Login/Out/Permission associated with Theme JS
5) Upgrade jQuery which has Fixes for Major issue in Safari 7/8.1

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7662 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 01:52:50 +00:00
Jeff Pasnak 6e9f636abf #0002492 - Standardize mysql syntax - final pass
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7621 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-28 21:09:38 +00:00
Jimmy Conner ac6d6929cc Remove some unnecessary ending PHP closing tags
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7571 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-17 03:02:03 +00:00
Tony Roman 65be30ffe0 Update copyright to 2014
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7437 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-03-30 19:54:50 +00:00
Tony Roman b04367203b Fixed issue with custom data source information being lost when saved from edit
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7388 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-21 23:13:23 +00:00
Tony Roman ce40281901 Update copyright to 2013 for 0.8.8
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7386 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-21 23:00:42 +00:00
Tony Roman a257958a0b Update copyright to 2012
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7016 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 07:04:37 +00:00
Tony Roman 2d039dd7db Merge PIA into 0.8.7 branch
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7006 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 01:14:45 +00:00
Reinhard Scheck f968d6798e initialization issues
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6789 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-09-17 16:59:51 +00:00
Reinhard Scheck 8e03715dc3 error when saving input fields on data templates without any non-templated fields
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6784 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-09-17 15:21:18 +00:00
Reinhard Scheck 46f5de0eb4 fix issue with undefined "id"
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6740 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-08-13 19:25:15 +00:00
Reinhard Scheck 722baa26bb -bug#0001660: Modifying data template values is not working as expected.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6288 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-06 12:06:57 +00:00