aboutsummaryrefslogtreecommitdiffstats
path: root/plugin.go
Commit message (Collapse)AuthorAgeFilesLines
* Rename project to alpsLibravatarLibravatar Simon Ser 2020-05-131-2/+2
|
* Extract Lua infrastructure into a pluginLibravatarLibravatar Simon Ser 2020-01-201-1/+2
|
* Introduce PluginLoaderFuncLibravatarLibravatar Simon Ser 2020-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.InjectLibravatarLibravatar Simon Ser 2019-12-171-1/+1
| | | | This allows to access the request metadata and the session from injectors.
* Add RenderData interfaceLibravatarLibravatar Simon Ser 2019-12-171-1/+1
| | | | This allows Go plugins to easily inject global data.
* Add an API for Go pluginsLibravatarLibravatar Simon Ser 2019-12-161-0/+7
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/39
* Add docsLibravatarLibravatar Simon Ser 2019-12-111-0/+7
|
* Allow plugins to provide their own templatesLibravatarLibravatar Simon Ser 2019-12-111-1/+3
|
* Rename Plugin.Render to Plugin.InjectLibravatarLibravatar Simon Ser 2019-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 fileLibravatarLibravatar Simon Ser 2019-12-101-151/+0
|
* Allow plugins to add new routesLibravatarLibravatar Simon Ser 2019-12-101-0/+34
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/6
* Make SessionManager create the IMAP clientLibravatarLibravatar Simon Ser 2019-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 filtersLibravatarLibravatar Simon Ser 2019-12-091-3/+37
|
* Change Lua API to koushin.on_renderLibravatarLibravatar Simon Ser 2019-12-091-7/+27
|
* Add basic support for pluginsLibravatarLibravatar Simon Ser 2019-12-091-0/+78