Commit Graph

39 Commits

Author SHA1 Message Date
Ylian Saint-Hilaire
7f75ae419c Code fixes & clean up. 2020-07-06 12:46:38 -07:00
Ylian Saint-Hilaire
c988e67104 Fixed SAML issuer problem. 2020-05-25 00:09:35 -07:00
Ryan Blenis
d4fa0d6440 Fix plugin refresh failure due to PR #1337 2020-05-24 22:53:29 -04:00
Veit Wahlich
24b06f8f35 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
db3bcde638 Fix plugin version compare for new semver numbers 2020-04-20 12:24:07 -04:00
Ylian Saint-Hilaire
59f1463a3f Email based 2FA almost completed. 2020-03-13 20:39:21 -07:00
Ryan Blenis
ffe1447d35 meshCentralCompat version comparison changes and updated docs for clarity 2020-03-11 21:22:06 -04:00
Ylian Saint-Hilaire
fc11e29728 Fixed plugin version matching, 2-factor reuirement + skip, removed GreenLock completely. 2020-03-11 16:53:09 -07:00
Ryan Blenis
57334af747 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
e7e9532255 fix internal arg passing 2019-12-26 10:45:14 -05:00
Ryan Blenis
347a6bf9bd Remember the last plugin tab and jump back to it. 2019-12-11 21:12:39 -05:00
Ryan Blenis
0cbbdd25d0 Move updateMeshCore call to when a plugin is disabled instead of removed 2019-12-04 21:36:53 -05:00
Ryan Blenis
59af9e7096 Update plugin install to try/catch initial instantiation errors 2019-12-03 21:49:06 -05:00
Ryan Blenis
3e8bff2248 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
3fa1c322f5 Error checking of object for correct values 2019-12-02 16:14:04 -05:00
Ryan Blenis
3cc2d9ae7e - 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
d2fee1d600 Fix MeshCentral version comparisons. (Breaking for versions -a through -c) 2019-11-27 13:18:18 -05:00
Ylian Saint-Hilaire
8c1f68e3d6 Plugin support improvements. 2019-11-25 18:06:41 -08:00
Ylian Saint-Hilaire
467349f347 Plugin system improvements. 2019-11-25 14:12:43 -08:00
Ryan Blenis
cb0b90fcd2 Gracefully handle plugin versions check if one plugin causes an error 2019-11-24 21:29:13 -05:00
Ryan Blenis
e754cfbacf Safety check if plugin actually has exports before attempting to export functions 2019-11-24 19:19:46 -05:00
Ryan Blenis
a0f0f31c86 Better replace for complex semver comparisons 2019-11-24 16:36:12 -05:00
Ryan Blenis
9bd63a084f Redirect download fixes, option to redistribute the meshcore to all nodes after plugin installation 2019-11-22 21:17:07 -05:00
Ryan Blenis
78bbf03b00 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
800504f5ed Retain callHook args as individual arguments 2019-11-13 17:48:09 -05:00
Ryan Blenis
e7d662f2f4 Add onDesktopDisconnect hook, refactor plugin hooks on front end to be variable 2019-11-13 16:31:29 -05:00
Ryan Blenis
664e2b1e9f Support http or https for config URL's 2019-11-11 10:47:30 -05:00
Ryan Blenis
470ce54413 Refactor plugin admin views to a more simplistic, reusable, multiple view approach 2019-11-07 22:48:14 -05:00
Ryan Blenis
55b0f27b12 Fake semantic versioning for MeshCentral version comparison / plugin update compatibility check 2019-11-06 20:00:09 -05:00
Ryan Blenis
7a052eaf69 Pass through user info, plugin dev's can handle their own permissions. 2019-11-05 04:17:10 -05:00
Ryan Blenis
04e4af08f6 Promisifying and error handling 2019-11-05 00:11:14 -05:00
Ryan Blenis
67b6df9454 Plugin admin partial 2019-11-02 06:27:39 -04:00
Ryan Blenis
d9344fcb1a gui plugin admin updates part 2 2019-11-01 16:49:18 -04:00
Ryan Blenis
f1ea4ae1b8 gui plugin updates partial 2019-10-30 04:17:17 -04:00
Ylian Saint-Hilaire
ac5b6a9d73 Improvements to plugin support. 2019-10-10 11:13:25 -07:00
Ryan Blenis
4f05936d75 Add error catching in case the user doesn't have the config options set. 2019-10-09 03:22:35 -04:00
Ryan Blenis
9e9bbfad62 Fix header showing multiple times when context switching 2019-10-09 03:06:37 -04:00
Ryan Blenis
ef79477d25 More base updates, including web socket handling and display logic 2019-10-09 01:22:01 -04:00
Ryan Blenis
d143990f31 More plugin hooks / development of base 2019-10-08 04:18:40 -04:00