aboutsummaryrefslogtreecommitdiff
path: root/plugin.go
Commit message (Collapse)AuthorAgeFilesLines
* Rename project to alpsSimon Ser2020-05-131-2/+2
|
* Extract Lua infrastructure into a pluginSimon Ser2020-01-201-1/+2
|
* Introduce PluginLoaderFuncSimon Ser2020-01-201-4/+8
| | | | | | | This allows registered plugins to execute code when loaded. This will also allow the Lua support code to be a plugin. Closes: https://todo.sr.ht/~sircmpwn/koushin/54
* Add Context to Plugin.InjectSimon Ser2019-12-171-1/+1
| | | | This allows to access the request metadata and the session from injectors.
* Add RenderData interfaceSimon Ser2019-12-171-1/+1
| | | | This allows Go plugins to easily inject global data.
* Add an API for Go pluginsSimon Ser2019-12-161-0/+7
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/39
* Add docsSimon Ser2019-12-111-0/+7
|
* Allow plugins to provide their own templatesSimon Ser2019-12-111-1/+3
|
* Rename Plugin.Render to Plugin.InjectSimon Ser2019-12-101-1/+1
| | | | | This function doesn't render anything, it just adds extra data to the template data.
* Extract Lua plugin logic into separate fileSimon Ser2019-12-101-151/+0
|
* Allow plugins to add new routesSimon Ser2019-12-101-0/+34
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/6
* Make SessionManager create the IMAP clientSimon Ser2019-12-091-3/+3
| | | | | This will allow SessionManager to re-connect when the IMAP server logs the user out.
* Add a Lua API to set template filtersSimon Ser2019-12-091-3/+37
|
* Change Lua API to koushin.on_renderSimon Ser2019-12-091-7/+27
|
* Add basic support for pluginsSimon Ser2019-12-091-0/+78