aboutsummaryrefslogtreecommitdiff
path: root/plugin_lua.go
Commit message (Collapse)AuthorAgeFilesLines
* 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-2/+2
| | | | This allows Go plugins to easily inject global data.
* Allow Lua plugins to inject all templatesSimon Ser2019-12-171-1/+8
|
* go fmtSimon Ser2019-12-161-1/+1
|
* Introduce base pluginSimon Ser2019-12-161-0/+3
| | | | | | This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39
* Allow plugins to provide their own templatesSimon Ser2019-12-111-3/+15
|
* go fmtSimon Ser2019-12-101-4/+4
|
* 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-0/+158