aboutsummaryrefslogtreecommitdiff
path: root/plugin.go
Commit message (Collapse)AuthorAgeFilesLines
* 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