Commit Graph
130 Commits
Author SHA1 Message Date
TheWitness f1272b046b Minor wording change to save space 2021-04-10 10:56:40 -04:00
TheWitness 6bbcb538a6 More fixes around issue #645 - Test Data Source
This change allows for testing of data source from the Graphs New page to reduce the likelihood of graphs being created that will never be rendered
2021-04-02 18:36:16 -04:00
TheWitness 75c147b704 Fixing Issue #4187 - Navigating from Graph to Data Source
This fixes issue #4187 and also a bug recently introduced where creating an Graph from Graphs new would not properly accept 'overriden' values.
2021-03-21 12:24:22 -04:00
TheWitness 4739ad5969 Fixing Issue #4175
- Syncing Templates can results in False 'Damaged Graph' notification on Graph Management page
- Also corrects a few spurious errors when working with orphans and Change Template
2021-03-17 23:11:55 -04:00
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -05:00
ddb4githubandTheWitness 85ba8f4e2e More fixing about #2704 for Graph Preview-->Filter-->Template (#3924)
* Fixed: More fixing about #2704 for GraphPreview-->Filter-->Template, mark timestamp 'cache last changed' after new graph created.

* Update CHANGELOG for #3924

Co-authored-by: TheWitness <thewitness@cacti.net>
2020-11-20 08:42:20 -05:00
ddb4github b437321c4f Fixed #3563: Correct errors due to orphan column (#3709)
* Fixed #3563: lots of "Error: Duplicate column name 'orphan'" from parallel process 'poller_reindex_hosts.php':
 - Add column 'orphan' during 1.2.13 upgrade
 - Remove function 'add_orphan_support'

* Fixed#3563: change upgrade script from 1.2.13 to 1.2.14

* Fixed#3563: change upgrade script from 1.2.13 to 1.2.14

* Fixed#3563: add new column into cacti.sql and audit_schema.sql
2020-08-02 22:18:49 +01:00
TheWitness aadc855395 Fixing Issue #3574
Saving Graph Template Items take a long time on large systems
2020-05-24 10:41:17 -04:00
TheWitness 65aa1cbcf7 Additional Fixes To #3563
Current orphan handling disrupts graphing transient indexes
2020-05-20 23:12:40 -04:00
TheWitness dc35a79b15 More fixing for issue #3549
Several XSS Vulnerabilities
2020-05-20 22:46:36 -04:00
TheWitness 9d38ca43cb Fixing Issue #3348
Remove Orphans and Sync Graphs not working as expected
2020-03-15 15:43:53 -04:00
netniV 4fa9a68fb3 Update copyright to 2020 2020-01-12 12:19:49 +00:00
cigamit 8872d5c710 Resolving Issue #2761
* Table does not exist
* Some minor formatting too.
2019-06-25 06:13:13 -05:00
cigamit fdb2bc50a4 Resolving Issue #2719
Empty graphs being created automatically but we can't delete them
2019-06-22 13:20:56 -05:00
cigamit f7cfca22f0 Resolve Issue #2364
Resolving this by making a special case for Traffic stats to allow not
duplicating the data source.  All other cases, there will be
duplication.

Additionally, opening a feature request to handle if the data source
should be duplicated as the current UI permit's this bad behavior.
2019-02-10 08:13:56 -06:00
cigamit 4f3383ae7e Additional QA Around #2355 and 2372
Found a few more issues and correct.  This should completely resolve
these two issues.
2019-02-09 10:54:06 -06:00
cigamit 904e2baf92 Improve trace logging 2019-01-30 07:56:22 -06:00
cigamit 4722db1e37 Minor change to #2355
Should use cacti_sizeof() function here.
2019-01-30 07:35:53 -06:00
cigamit 6f7c82fd02 Resolving Issue #2355
- Duplicated Data Sources created when Custom Data is specified
- Additionally adding a trace option to trace Data Source creation flow
2019-01-29 18:52:06 -06:00
netniV b8c579b129 Update copyright notices for 2019 2019-01-25 08:06:11 +00:00
cigamit 9b1aa6a6a7 Resolve call to undefinedd function reported by user 2018-12-27 20:48:57 -06:00
cigamit fbdbcaef29 Resolving Issue #2042 and #1981
This should fix the issues.  Consolidated logic here as well as the
graph and data source suggested names were using different code paths
2018-10-10 03:32:59 -05:00
cigamit 3731477fb3 Another crack at issue #1921
Just adding some doco and some safer checks.
2018-10-09 07:19:33 -05:00
cigamit a660af58b7 Correct two re-index and graph create issues
- Don't clear indexes for old data sources
- Don't duplicated a data source unless you have to
2018-10-07 20:16:17 -05:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit 9cdd347e58 Moving some functions into api calls
This will help resolve and issue that was raised during the resolution
of issue #948.
2018-08-20 19:06:06 -05:00
cigamit d800ac2595 Resolving Issue #948
Every time when creating new graph Cacti creates new datasource
2018-08-19 20:57:22 -05:00
cigamit 0cc7ae91a0 Minor format change in lib/template.php 2018-06-09 12:08:33 -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 14eb34338d Resolving Issue #1458
Error in logs when creating new graphs
2018-03-08 12:07:47 -06:00
cigamit 1012537828 feature: Make Graph and Data Source suggested naming more efficient 2018-01-21 11:28:03 -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 439d93eef4 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	lib/template.php
#	scripts/ss_host_cpu.php
2017-12-21 19:49:04 -06: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
cigamit 14be99a33b Final fix for Issue #1072
This commit adds a new function to validate input string from the hash
value.  Should resolve the last outstanding issue.
2017-12-02 12:16:27 -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 5f052cc894 Fix invalid value in data input whitelist validation function 2017-11-21 20:45:35 -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
cigamit 99d19d5312 Correct whitespace and formatting issues
Whitespace and formatting in lib
2017-11-19 14:35:17 -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