librenms/html
Kevin Zink 98ed6bb9dc
New plugin system based on Laravel Package Development (#12998)
* use Blade view and Eloquent models for plugins

* move views

* fix style

* fix style

* revert mistake

* Update Plugin.php

delete test property "name"

* rename plugin function to settings

* last but not least - rename in Test.php

* Rename Test to Example

* fix typo

* fix style

* fix style

* fix style

* fix style - I hate tabs...

* Extract view calls

* fix method calls and style

* Move Models the the abstract class

* fix style

* Convert to traits

* Change the Example description

* Fix style

* Fix style

* Fix style

* Convert plugin function to Model static methods and delete .inc.php

* fix style

* fix style

* Use scope

* final methods blows up legacy code

* Config > \LibreNMS\Config

* convert the static string to a static method

* Correct placement in the page

* fix tabs

* fix style

* Rename from tait to hook

to make it easier to understand and be complient

* rename file

* Typo

* Started to change the docu

* change to a more usefully Device_Overview example

* and activate of course

* PluginManager

* fix .gitignore

* only php files in the root folder

* corrected .gitignore with all files :)

* Rename the Hooks and ExampleClass for better readability

* Fix style

* Fix style

* Exception handling (especially if DB is not present)

* Fix style and update schema

* fix indentation

* actually correct indent

* fix migration collation check include utf8mb4_bin

* stop phpstan whining

* A view lines documentation

* add typeHints

* Allow return null on handle

* lint

* fix return types

* fix logic of column collation check

* Fix MenuEntryHook

* switch to longtext instead of json type for now :D

* try phpstan on PHP 7.3

* set phpstan target version to 7.3

* all the typehints

* optional

* more

* Use namespace to prevent view collisions
disambiguate plugin and hook
no magic guessing of names in PluginManager, bad assumptions
remove unused plugins from the DB

* cleanup plugin menu

* cleanup on shutdown and ignore but log query error on cleanup

* instanceof must be called against an instance

* Allow multiple hooks per plugin

* Port plugin ui code to Laravel

* page instead of settings for v1 plugins

* actually working settings pages
a little url cleanup plugin/admin -> plugin/settings

* fix style

* Add page hook

* PHPstan

* Try to fix Illuminate\Http\RedirectResponse

* typehint

* Rewrite the doc

* Fix style

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-10-19 06:53:28 -05:00
..
css Workaround for dashboard widgets showing over popups. (#13257) 2021-09-30 20:13:21 -05:00
fonts Output image for graphs with no data (#11865) 2021-01-13 07:23:47 -06:00
images Add support for NTI Enviromux (#13373) 2021-10-18 10:35:30 +02:00
js Push Notifications (Mobile and PC) (#13277) 2021-10-06 07:29:47 -05:00
plugins New plugin system based on Laravel Package Development (#12998) 2021-10-19 06:53:28 -05:00
svg Update to Laravel 5.7 (PHP 7.3 support) (#9800) 2019-02-12 17:45:04 -06:00
.htaccess Revert "Mattermost Alert Transport (#9711)" 2019-01-26 07:59:04 +01:00
ajax_dash.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
ajax_form.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
ajax_list.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
ajax_listports.php sort port selector dropdown (#13135) 2021-08-13 16:45:22 +02:00
ajax_ossuggest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
ajax_output.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
ajax_search.php add serial search in ajax search process (#13185) 2021-08-30 14:49:10 +02:00
ajax_table.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
api_v0.php Always return json for api requests (#12335) 2020-11-22 03:21:47 +01:00
bandwidth-graph.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
billing-graph.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
calendar.jpg Optimize images for Webui (#9369) 2018-10-23 22:29:45 +01:00
csv.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
data.php Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
favicon.ico webui: New LibreNMS logo assets (#5629) 2017-01-27 18:02:49 +00:00
graph-realtime.php Remove legacy function calls (#12651) 2021-03-29 00:25:30 +02:00
graph.php Use Measurements for all statistic collection (#13333) 2021-10-06 17:09:54 -05:00
index.php Laravel 8.x Shift (#12235) 2020-11-03 10:18:31 -06:00
mix-manifest.json Push Notifications (Mobile and PC) (#13277) 2021-10-06 07:29:47 -05:00
network-map.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
pdf.php Remove debug globals (#12811) 2021-04-29 22:42:18 -05:00
robots.txt Added robots.txt 2015-06-10 15:05:21 +00:00
service-worker.js Push Notifications (Mobile and PC) (#13277) 2021-10-06 07:29:47 -05:00