Commit Graph

28 Commits

Author SHA1 Message Date
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