Commit Graph
58 Commits
Author SHA1 Message Date
netniV 308292e2d7 Update copyright notices for 2019 2019-01-25 08:05:00 +00:00
netniV 451476031f Resolving issue #2103 2018-10-27 07:53:09 +00:00
cigamit f18860f3cd Alphabetize includes add missing lib/poller.php where applicable
This is required for properly having data follow devices, graphs, and
data sources on change.
2018-10-13 13:03:22 -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 0fb4f53809 Resolving issue #1897 (#1898)
* Resolving issue #1897

* Resolving issue #1899

* Further Resolving Issue #1899
2018-09-06 21:24:51 -05:00
cigamit 4cad68bf94 Protect against plugins including core files 2018-08-28 18:47:53 -05:00
cigamit f3de95b5f8 Exit with 1 if there are parameter errors and PSR standards
Replace "echo" with "print" for PSR
2018-08-11 11:54:23 -05:00
cigamit a956da1301 Add missing include/cli_check.php script and additional fixups
- Remove the script data_template_associate_rra.php as it is not
compatible with Cacti 1.x
- Change all initial include() and include_once() to require
- Make sure --version returns correct version
- Pass 1 of ensuring bad parameters exit(1) more to come
2018-08-11 11:41:34 -05:00
Mark Brugnoli-Vinten 29bed92dc3 Resolving Issue #1824 (#1825)
* Resolving issue #1824

* Fix more fixes for REMOTE_ADDR
2018-08-11 11:08:27 -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
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05: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
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
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
cigamit 1a14cbb440 Introduce new get_cacti_version function to reduce database calls on pages 2017-05-14 12:29:30 -05:00
Tony Roman 9ec2787615 Fixups to installation web and cli
- Fixed issue were version was not showing on results of upgrades steps
 - Update CLI script to show successful results when debug enabled
 - Removed empty install upgrades
 - Attempted to resolve issue #671
2017-05-13 19:40:15 -04:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
Tony Roman 27045ea52d Fixup install process to streamline releases
- Added and moved code to CACTI_VERSION constant
 - Merged cacti versions and hash codes array to have one place to add versions
 - Moved cacti version to file to facitate automation needs
 - Cleaned up cli database upgrade script
2017-05-01 08:58:29 -04:00
cigamit 0425c56105 Resolving Issue #615 and prep for version 1.1.5 2017-04-25 07:35:57 -05:00
Tony Roman 496c452b31 Prep for 1.1.4 release 2017-04-22 05:10:33 -04:00
cigamit 66f9621a2b Correct typo 2017-04-13 05:11:13 -05:00
Tony Roman 2a8834b4d7 Preping for 1.1.3 release 2017-04-12 22:31:25 -04:00
Tony Roman 328d4b7d95 Preping for 1.1.2 release
- Fixed issue in upgrade script for 1.1.2
 - Updated Cacti version
 - Fix up change log
 - Add 1.1.2 to cli database upgrade script
2017-04-02 21:22:56 -04:00
Tony Roman 37221a4677 Prep for 1.1.1 release 2017-03-27 22:00:55 -04:00
Tony Roman 4aaff781d2 Preping 1.1.0 release 2017-03-19 22:24:35 -05:00
Tony Roman 0faa0ef695 Fix typo for 1.0.6 release 2017-03-14 21:39:36 -04:00
Tony Roman 53daea0432 Preparing for 1.0.6 release 2017-03-14 21:34:00 -04:00
Tony Roman 97fa6cd44c Prep for 1.0.5 release 2017-02-26 21:38:25 -05:00
Tony Roman 09e4c93aa2 Update cli database upgrade to know about 1.0.4 2017-02-26 10:37:51 -05:00
Tony Roman 07d3bf3b90 Prep for 1.0.3 release 2017-02-12 22:14:40 -05:00
Tony Roman 95a84d9588 Setting version to 1.0.2 in prep for release 2017-02-11 16:26:02 -05:00
Tony Roman 6704d419cf Preparing for 1.0.1 bug fix release 2017-01-31 11:05:58 -05:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit c12c6ac50f allow upgrade to be rerun using --forcever variable
for testers should now be able to run 'php -q upgrade_database.php
--forcever=0.8.8h' to rerun the upgrade in the case of changes during
testing.  Also, for people upgrading, this version will respect you
default database storage engine.
2016-09-24 11:00:02 -05:00
cigamit d35ca2135a another attempt at issue#63 2016-09-18 15:24:31 -05:00
cigamit 0b452c9d0c resolving https://github.com/Cacti/cacti/issues/63 2016-09-18 14:48:47 -05:00
cigamit 8749ecbe55 Multiple updates to Cacti's CLI tools
Changes include:
Double to single quote
Standardized format
Standardized version and help options
Standardized parameter names
Remove warning with Cactis new warning system
2016-08-23 15:26:17 -05:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
Tony Roman 54ffd503ad Add 0.8.8g release 2015-08-09 21:27:51 -04:00
Tony Roman 2fb3c4acb9 Adding 0.8.8f version 2015-07-19 20:33:11 -04:00
Linegod e539e37ca9 standardize SQL 2015-05-31 22:57:29 -06: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 7c523653a7 #0002492 - Standardize mysql syntax - cli and includes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7612 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-25 20:59:51 +00:00
Tony Roman 947c670127 Fix database upgrade issues
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7493 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-12 02:30:28 +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
Reinhard Scheck b588ccc127 0002386: cli/upgrade_database.php is missing the last two releases
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7431 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-08-24 19:16:35 +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
Reinhard Scheck 02b2dca06b 0002213: CLI upgrade script is missing 0.8.7i as a target
we should create a list of todo's when preparing for a new release ...

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7112 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-04-10 18:57:10 +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