Commit Graph
401 Commits
Author SHA1 Message Date
Mark Brugnoli-Vinten 33aa71448e Feature 1734 - Visual enhancements to RRD error message when file not found (#1755)
* Remove unnecessary issues

* Feature #1734 - Visual enhancements to RRD error message when file not found

This commit adds a visual enhancement to the RRDTool's file not found error.

* Further improvements
2018-07-26 21:32:54 -04:00
cigamit d76b97f9a0 Resolving Issue #1710
RRDtool create command causes first update to fail
2018-07-14 14:28:04 -05:00
cigamit 06dd17ef56 Resolving Issue #1709
Dont warn when attempting to make updates in the past
2018-07-14 13:43:16 -05:00
Petr Macek 80f7ccd86b fix issue #1639 (#1640)
* fix issue #1639

* Fix issue #1639 - better way with apostrophes
2018-05-30 06:28:29 -05:00
cigamit e17e10ec95 Resolving Issue #1626
Taking another crack at this fix.
2018-05-11 07:02:53 -05:00
cigamit a18f6618e2 Resolving Issue #1626
httpd-error.log have message about Fontconfig
2018-05-10 17:14:42 -05:00
Tony Roman 1ce66b5fde Merge branch 'develop' into feature/1.2.x 2018-02-25 20:12:19 -05:00
cigamit ba194bd0f4 Resolving Issue #1250
Locales should be properly detected for PHP, now we move onto the jQuery
detection.
Added a repair setting to correct for legacy cacti_locale setting.
2018-02-25 13:35:48 -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 c7d20393aa Resolving Issue #1351
Errorimage does not render on systems without GD ttf support
2018-02-14 17:33:13 -06:00
Patrick 3f6d121a4c Translations (#1335)
* Updates Dutch translations with latest cacti.pot file

* Fixed some language string inconsistencies

* Fixed typo in mailer logregistry

* Updated Dutch translations

* Updated changelog

* Fixed some language string inconsistencies

* Updated Dutch translations
2018-02-13 00:31:42 -07:00
cigamit c1f62f7707 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-22 19:42:44 -06:00
cigamit c30284f4a6 issue: If RRDtool returns no error message, provide indication of unknown error
Also handle ignore blank strings in message
2018-01-21 13:27:55 -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 25f87d9fdd Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2017-12-27 08:16:09 -06:00
cigamit 4158be6b63 Resolving Issue #871
Finalize the internationalization of RRDtool commands.  This version
will also fix Nth percentile calculations which require the C LANG
variable to be set to the correct value with PHP.  Tested with RRDtool
1.7, but may work with earlier RRDtool versions.  Does not work with
RRDtool 1.4.x which comes with RHEL7/CENTOS7.
2017-12-26 08:15:39 -06:00
cigamit 7f3949280f Resolving Issue #871
Allow Nth Percentile and Bandwidth Summation to respect 'Base Value' in
template
2017-12-25 14:41:09 -06:00
cigamit 758e836293 Resolving Issue #871
Allow Nth Percentile and Bandwidth Summation to respect 'Base Value' in
template
2017-12-25 14:39:25 -06:00
cigamit 7a63b76b2a Attempt to resolve Issue #1128
Locale not correct for graph output.
2017-12-24 12:05:32 -06:00
cigamit dbc9a04c7c Attempt to resolve Issue #1128
Locale not correct for graph output.
2017-12-24 11:06:31 -06:00
Tony Roman 2eeabc2cc4 Move phpseclib to include/vendor directory 2017-11-18 09:31:27 -05: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
cigamit e8088bb659 Resolving Issue #1057
- Potential vulnerability in RRDtool functions
- Adding validation to both dirpath and filepath, also verification of
executable status to files in RRDtool function.
- Spurious htmlspecialchars() to html_escape() calls
- Minor SQL formatting for readability
2017-11-04 14:52:09 -05: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
Patrick c3419aa36e Various fixes && Updated Translations (#1032)
Good catch on the bug fixes too.  Hard to spot.
_______________________________________________________

* 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

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

* Updated Dutch translations
- Fixed conflicts in translations
2017-10-15 07:27:25 -05:00
Tony Roman ceee4f3fd4 Remove translation of log messages (for now). 2017-10-07 12:12:01 -04:00
cigamit 83e90d8b3c More attempts at issue #952
Don't perform the escape for the browser unless you have to.
2017-09-04 09:41:45 -05:00
cigamit b9f558a675 Add additional checks on Linux versions that avoid the use of True Type Font functions 2017-07-11 07:43:48 -05:00
cigamit f617c7121c Introduce new DATE_TIME_FORMAT constant resolving issue #829
Addresses issues with 500 messages when in developer debug mode.  Also,
make certain that the navigation variables exist before using them.
2017-06-29 17:37:32 -05:00
Patrick 031598f56b Fix for #757 2017-06-01 20:54:27 +02:00
Arjan Oosting 0f00018c1d Fix invalid 'Poller has not created structured path' warning. 2017-05-30 16:35:40 +02:00
patrick ef69094b5e CLOG Enhancements
-feature: CLOG timestamp is now formatted as defined in settings
-feature: CLOG can show loginformation from rotated logfiles
-Added GDC_DOT to global_constants.php and global_arrays.php, and refactored the usage of global $datechar
2017-05-29 13:44:31 +02:00
cigamit 3f2d15565f Another crack at issue #599
Well, the errors are gone, but see if it's what you were expecting.
2017-05-27 11:44:00 -05:00
Jimmy Conner aea8ddc7bd Merge pull request #702 from reboot1983/strlen
Cool stuff
2017-05-17 22:13:11 -05:00
patrick 16e2b7c052 Replaced all if statements and inline if statement with $variable != '' where strlen($variable) was used to determine if a string was empty or not 2017-05-18 01:14:15 +02:00
Patrick 56e02d75f2 Optimisations
- Optimisations of query calls and function calls in loops
- Removed unused function calls and variables
- Refactored large if statements into switch statements
- Applied early return
- Fixed alignments and removed unnecessary parentheses
2017-05-16 11:33:23 +02:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
patrick da32ae2f46 RRD optimisations
- Optimised loop
2017-05-02 12:14:44 +02:00
patrick 19e7d6640a RRD optimisations
- Removed unused globals
- Optimised rrdtool_function_create()
- Optimised rrdtool_cacti_compare()
- Fixed small bug (== instead of =) in rrdtool_cacti_compare()
- Fixed parameters in html_header() calls. Function accepts only 2 parameters (4 given).
2017-05-02 12:00:27 +02:00
patrick d000013aff RRD optimisations
- Added missing globals
- Removed unused globals
- Optimised rrdtool_function_create()
2017-05-02 10:20:20 +02:00
cigamit ff4922ca1b Resolving additional Aggregate corner cases
Also removing arrays enclosed in curly braces.
2017-04-23 07:59:20 -05:00
cigamit b2d949f6f9 Resolving issue with Aggregate graphs
Additionally reformatting some array enclosures
2017-04-22 14:25:31 -05: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 abb7a13712 Resolving Issue #530
Resolving for VDEF case on normal GPRINT
2017-04-09 22:35:03 -05:00
cigamit 86e3af372b Proper escaping for tic object 2017-04-09 15:22:02 -05:00
cigamit d0ddc739ea Resolving Issue #530
Undefined function get_vdef in lib/rrd.php
2017-04-07 21:00:44 -05:00
cigamit 997e46fd36 Resolving Issue #525
Cacti not escaping LAST gprint type
2017-04-06 17:45:43 -05:00
cigamit 2513d891fd Resolving corner case in HRULE rendering 2017-04-05 22:39:47 -05:00