aboutsummaryrefslogtreecommitdiff
path: root/plugin.go
Commit message (Collapse)AuthorAgeFilesLines
* Update check for development build to new Go pseudo-version formatHimbeer2025-02-261-1/+2
|
* Allow plugins to implement authentication backendsHimbeer2024-11-171-1/+4
| | | | | | | | | | | | | | | | | | Design decisions: * Config option specifies which of the registered backends is used * Name conflicts (including with builtins) make the backend registration fail * Builtin backends are not moved to plugins to avoid breaking existing setups confusion in general * Builtin backends are exposed to plugins (and have been for some time); Important information and internal methods are hidden to prevent interference from malicious plugins See doc/auth_backends.md and the related interface and function documentation for details. Closes #127.
* Log loaded plugins individuallyHimbeer2024-11-161-2/+4
| | | | | | | | | | The log messages say whether each successfully loaded plugin is pre-built or automatically built by the proxy. In the former case the file name is printed, in the latter case the directory name is printed (not the path to the .so file contained within which is what is actually loaded). Closes #154.
* make auto plugin building work in dev buildsHimbeerserverDE2023-12-021-0/+31
|
* replace static fmt.Errorf with errors.New variablesHimbeerserverDE2023-12-021-4/+3
|
* proxy.BuildPlugin: fix automatic incompatible dependency updatesHimbeerserverDE2023-12-011-1/+1
|
* don't try to load directoriesHimbeerserverDE2023-11-261-1/+1
|
* actually honor NoAutoPlugins config optionHimbeerserverDE2023-11-261-1/+1
|
* expose BuildPlugin() functionHimbeerserverDE2023-11-261-15/+24
|
* plugin auto builds: preserve directory in path passed to plugin.OpenHimbeerserverDE2023-11-261-1/+1
| | | | This fixes the 'realpath failed' error.
* build plugins from source against correct version automaticallyHimbeerserverDE2023-11-261-5/+58
| | | | Can be disabled in the config using the NoAutoPlugins option. Only applies to subdirectories, regular binary .so plugins can still be loaded as before.
* Add simple file-based auth system by anon5HimbeerserverDE2021-09-131-7/+1
|
* Smarter logging (anon5)HimbeerserverDE2021-09-131-4/+4
|
* Protect main code (#54)HimbeerserverDE2021-09-091-3/+3
|
* Remove unnecessary plugin mapHimbeerserverDE2021-09-061-5/+1
|
* Only load plugins once + memory optimisationsHimbeerserverDE2021-09-061-12/+11
|
* Expose ClientConn to pluginsHimbeerserverDE2021-09-061-2/+2
|
* Add plugin API (#48)HimbeerserverDE2021-09-051-0/+45