Commit Graph

44 Commits

Author SHA1 Message Date
Ylian Saint-Hilaire
6a40b81939 Removed requirement for promise module, #3653 2022-02-15 12:46:17 -08:00
Ryan Blenis
470a313ee7 MC greater than 0.9.7 plugin arch fixes 2021-09-19 22:50:00 -04:00
Ylian Saint-Hilaire
f412af4de0 Fixed plugin path check. 2020-07-09 15:48:48 -07:00
Ryan Blenis
222e8481d5 Fixed: Testing for a valid filename on a folder path causes plugins with views to fail to load associated views 2020-07-08 20:18:59 -04:00
Ylian Saint-Hilaire
984ce8b201 More code clean up and input validation. 2020-07-06 15:04:22 -07:00
Ylian Saint-Hilaire
aa6070deb5 Code fixes & clean up. 2020-07-06 12:46:38 -07:00
Ylian Saint-Hilaire
37e52696d9 Fixed SAML issuer problem. 2020-05-25 00:09:35 -07:00
Ryan Blenis
014801a2d9 Fix plugin refresh failure due to PR #1337 2020-05-24 22:53:29 -04:00
Veit Wahlich
97c54b78de Fix minifying renders MC 0.5.22+ unusable if minifying is enabled #1336
* pluginHandler.js: Removed superfluous ; to fix faulty substitution in minifying mode
2020-05-12 15:24:43 +02:00
Ryan Blenis
3a90988d81 Fix plugin version compare for new semver numbers 2020-04-20 12:24:07 -04:00
Ylian Saint-Hilaire
70e93f0c0f Email based 2FA almost completed. 2020-03-13 20:39:21 -07:00
Ryan Blenis
2a49dcac2d meshCentralCompat version comparison changes and updated docs for clarity 2020-03-11 21:22:06 -04:00
Ylian Saint-Hilaire
d483872aa6 Fixed plugin version matching, 2-factor reuirement + skip, removed GreenLock completely. 2020-03-11 16:53:09 -07:00
Ryan Blenis
7ca65028d8 Add call to onWebUIStartupEnd when pluginHandler is refreshed, so new plugins can run their startups, if they have one.
Add plugins option (disabled) to the sample config
2020-01-03 03:10:42 -05:00
Ryan Blenis
ca163ea218 fix internal arg passing 2019-12-26 10:45:14 -05:00
Ryan Blenis
c1c08f9400 Remember the last plugin tab and jump back to it. 2019-12-11 21:12:39 -05:00
Ryan Blenis
ef9c2fe321 Move updateMeshCore call to when a plugin is disabled instead of removed 2019-12-04 21:36:53 -05:00
Ryan Blenis
bd84dcf731 Update plugin install to try/catch initial instantiation errors 2019-12-03 21:49:06 -05:00
Ryan Blenis
6fa812d887 Show/Hide Plugins tab in device view only if plugins exists that use that functionality 2019-12-02 18:13:19 -05:00
Ryan Blenis
493917c08c Error checking of object for correct values 2019-12-02 16:14:04 -05:00
Ryan Blenis
3c3a3d3b14 - Move p19 styles to stylesheet
- Wait to update meshcore until after all plugins loaded (reduced processing power)
- More intuitive registerPluginTab functionality
- OnStates for current plugin tab
2019-11-30 20:26:39 -05:00
Ryan Blenis
7be2e3d9ac Fix MeshCentral version comparisons. (Breaking for versions -a through -c) 2019-11-27 13:18:18 -05:00
Ylian Saint-Hilaire
3db0e5f1a3 Plugin support improvements. 2019-11-25 18:06:41 -08:00
Ylian Saint-Hilaire
75d49db30b Plugin system improvements. 2019-11-25 14:12:43 -08:00
Ryan Blenis
ea2473f0a3 Gracefully handle plugin versions check if one plugin causes an error 2019-11-24 21:29:13 -05:00
Ryan Blenis
d3cdd0703b Safety check if plugin actually has exports before attempting to export functions 2019-11-24 19:19:46 -05:00
Ryan Blenis
25786df952 Better replace for complex semver comparisons 2019-11-24 16:36:12 -05:00
Ryan Blenis
d7b94639b2 Redirect download fixes, option to redistribute the meshcore to all nodes after plugin installation 2019-11-22 21:17:07 -05:00
Ryan Blenis
145c898c70 Tweaks to plugin install/removal so server does not require a restart. Initial support for downgrading plugins. 2019-11-22 14:25:13 -05:00
Ryan Blenis
11f2721533 Retain callHook args as individual arguments 2019-11-13 17:48:09 -05:00
Ryan Blenis
786934b72c Add onDesktopDisconnect hook, refactor plugin hooks on front end to be variable 2019-11-13 16:31:29 -05:00
Ryan Blenis
b3731ad27f Support http or https for config URL's 2019-11-11 10:47:30 -05:00
Ryan Blenis
0cb0f0adf3 Refactor plugin admin views to a more simplistic, reusable, multiple view approach 2019-11-07 22:48:14 -05:00
Ryan Blenis
f90fe05fe0 Fake semantic versioning for MeshCentral version comparison / plugin update compatibility check 2019-11-06 20:00:09 -05:00
Ryan Blenis
3567330799 Pass through user info, plugin dev's can handle their own permissions. 2019-11-05 04:17:10 -05:00
Ryan Blenis
ed701dff39 Promisifying and error handling 2019-11-05 00:11:14 -05:00
Ryan Blenis
bbb402b533 Plugin admin partial 2019-11-02 06:27:39 -04:00
Ryan Blenis
0516b0afd3 gui plugin admin updates part 2 2019-11-01 16:49:18 -04:00
Ryan Blenis
c57ac19cba gui plugin updates partial 2019-10-30 04:17:17 -04:00
Ylian Saint-Hilaire
dece20ac93 Improvements to plugin support. 2019-10-10 11:13:25 -07:00
Ryan Blenis
e9d5982642 Add error catching in case the user doesn't have the config options set. 2019-10-09 03:22:35 -04:00
Ryan Blenis
4e90d358a4 Fix header showing multiple times when context switching 2019-10-09 03:06:37 -04:00
Ryan Blenis
f60f6963d5 More base updates, including web socket handling and display logic 2019-10-09 01:22:01 -04:00
Ryan Blenis
be87880dc5 More plugin hooks / development of base 2019-10-08 04:18:40 -04:00