Commit Graph
30 Commits
Author SHA1 Message Date
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit 8316f865af Make plugin register functions idempotent
Step 1 to making plugin upgrades easier
This will allow a plugin to re-run its install function during updates
to correct hooks that have changed functions / filenames.
2017-04-10 23:46:46 -05:00
cigamit 913a893c31 Fix issue #240
SQL error when install plugin
2017-01-31 11:15:21 -06:00
cigamit a8c560966a Correcting spelling and grammar issues 2017-01-12 19:09:16 -06:00
cigamit 593e635496 Resolving Routerconfigs issue
https://github.com/Cacti/plugin_routerconfigs/issues/5
2017-01-07 08:19:52 -06:00
cigamit ad714ea21b Plugin hooks not firing properly 2017-01-05 07:50:23 -06:00
cigamit fc8e23810f Allow Dependency Checks when Installing Plugins 2017-01-04 17:49:04 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit db98b5a5e8 Multiple changes for Remote Data Collectors
1) Remove legacy plugin_hooks (pia 1.0) support
2) Online run certain hooks if the plugin supports them from the Remote
Data collector
3) Remove some unused variables and change formatting slightly
4) Add several new functions for remote data collection interrigation

Optimally, the plugin should be able to check the status of the Data
Collector and do the right thing, but for now, we will force things.
This only impacts the Remote Data Collectors.
2017-01-01 11:50:57 -06:00
cigamit 748a6b783e Roughing in some functions for pluign capabilities
These functions are not active yet, but will be soon.  We are using an
array today, but I could see the capabilities matrix in a database.  For
now, these are some of the important ones for the 1.0 release.
2016-12-31 17:05:06 -06:00
cigamit 476d295d53 resolve issue installing plugins with mysql 5.7 2016-09-19 07:54:08 -05:00
cigamit 440f1fbfde Add ErrorHandler
We now catch and log all PHP Errors.  If a FATAL PARSE / COMPILE error
is detected in a plugin, we will automatically disable that plugin so
that Cacti does not stop working.
2016-08-22 20:51:45 -05:00
cigamit 3d0b663d44 protect issue that can be caused by empty id 2016-06-30 18:24:21 -05:00
cigamit 63a4c54429 ALTER IGNORE removed from MySQL 5.7 2016-06-25 07:43:43 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
cigamit 8af5d7797b allow creation of unique indexes 2016-04-29 20:50:27 -05:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit e9d72715b2 Mask Alter Statements Errors
- When performing alters, mask any erorr
2015-03-23 20:35:20 -05:00
Jimmy Conner fd8c518dd1 Plugins should not be loaded during upgrade / install, so that any errors in them can not affect the ability to upgrade
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7695 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-13 02:29:39 +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
Jimmy Conner 13a7e59828 Remove concept of System Plugins. Anything that important should be probably be brought into the core, all the current ones already have been integrated.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7655 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-03 05:29:15 +00:00
Jimmy Conner aead1c8f3f 1) CLog again
2) Correct some plugin issues related to snmpagent
3) Update modern jQueryUI CSS and images (again)
4) Add autocomplete for device in a few areas add new form object for generic callback
5) Give filter and form objects the jQueryUI styling in modern
6) Convert the Tree edit code to an API
7) Minor CSS changes

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7651 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-03 04:20:32 +00:00
Andreas Braun e17be171cc merge SNMPAgent to main. notification receivers not complete so far
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7650 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-02 16:21:54 +00:00
Jimmy Conner be9b7edb63 A little bit of cleanup
Change double quotes to single quotes where possible
Move to prepared statements were possible

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7642 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-31 05:37:49 +00:00
Jimmy Conner be2530fd9d Correct an error in plugins.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7590 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-23 17:26:30 +00:00
Jimmy Conner 4ffc111e34 Quick test of a prepared statement. You can also use named parameters if you like.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7582 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-19 08:36:00 +00:00
Jimmy Conner 35aad7ba07 Now that we are integrating a few plugins, we will need to ensure that the old versions of those plugins are uninstalled during setup, and that they are not visible and can not be installed again.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7559 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-12 03:56:27 +00:00
Andreas Braun a59aedace8 add latest changes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7535 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-03 16:34:51 +00:00
Tony Roman 346de0d7d7 Fix minor issue with plugin lib when session is no available
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7009 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 01:45:42 +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