summaryrefslogtreecommitdiff
path: root/plugin_loader/plugin.py
AgeCommit message (Collapse)Author
2022-04-13Added support for passive plugins (that don't implement main.py)tza
2022-04-13Root plugins (#35)marios
* root plugins plugins can now specify if they want their methods to be ran as root. this is done via the multiprocess module. method calls are delegated to a separate process that is then down-privileged by default to user 1000, so the loader can safely be ran as root except it isn't really safe because the plugin is imported as root anyway * working implementation - follows the new plugin format with the plugin.json file - plugins are loaded in their own isolated process along with their own event loop and unix socket server for calling methods - private methods are now prepended with _ instead of __ * converted format to f-strings