PipoCanaja
5c83d438c5
feature: Added plugin support in the Port page ( #8665 )
...
* Added new plugin menu_option in the "port" page, which contain hook calling public function port_container($device, $port) in plugins
* Cleaning after pre-commit error
* New method in Plugins.php to allow counting all plugins implementing a specific hook. This allow conditionnal display of the plugin menu_option in the port view.
* Typo after rebase
* Update plugins.inc.php
* Updating the documentation with device_overview_container and port_container hooks.
2018-05-22 08:11:27 +01:00
Tony Murray
0020479fc8
Test plugin menu method should be static. ( #8681 )
2018-05-09 08:39:21 -05:00
Tony Murray
122aae85bf
webui: Relocate Alerts menu
...
Plugins menu is moved to the Overview menu (this is basically just weathermap anyway)
2016-09-11 23:41:41 -05:00
Tony Murray
8c639aa5a4
PSR2 Cleanup: /html edition
...
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Tony Murray
f5f31e88ac
Use namespaces for classes, take 2
...
CollectdColor, move into it's own file, change functions to camelCase
Plugins use LibreNMS\Plugins
2016-08-17 20:26:51 -05:00
Neil Lathwood
809969efc9
Revert "Use namespaces for classes"
2016-08-17 21:27:56 +01:00
Tony Murray
709de9a166
Use namespaces for classes
...
CollectdColor, move into it's own file, change functions to camelCase
Plugins use LibreNMS\Plugins
2016-08-15 14:04:39 -05:00
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
Runar Borge
21cf6b2019
Disabled from Test plugin, user have to manually enable the plugin in Test plugin file
2015-06-23 13:15:33 +02:00
Runar Borge
170030c786
Fixed typo...
2015-06-22 21:55:54 +02:00
Runar Borge
07e996094c
Removed var_dump and updated text in Example plugin
2015-06-22 21:53:35 +02:00
Runar Borge
308d686294
Added plugin hook to create a custom container under device->overview.
...
Container apears over "Overall traffic" on the left phane
2015-06-22 21:12:57 +02:00
laf
4151269de4
Moved plugins menu and enabled Test plugin by default
2014-03-12 22:03:47 +00:00
laf
c7e421e1fd
First full commit of plugin system
2014-03-03 20:23:29 +00:00