Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Context to Plugin.Inject | Simon Ser | 2019-12-17 | 1 | -1/+1 |
| | | | | This allows to access the request metadata and the session from injectors. | ||||
* | Add RenderData interface | Simon Ser | 2019-12-17 | 1 | -1/+1 |
| | | | | This allows Go plugins to easily inject global data. | ||||
* | Add an API for Go plugins | Simon Ser | 2019-12-16 | 1 | -0/+7 |
| | | | | References: https://todo.sr.ht/~sircmpwn/koushin/39 | ||||
* | Add docs | Simon Ser | 2019-12-11 | 1 | -0/+7 |
| | |||||
* | Allow plugins to provide their own templates | Simon Ser | 2019-12-11 | 1 | -1/+3 |
| | |||||
* | Rename Plugin.Render to Plugin.Inject | Simon Ser | 2019-12-10 | 1 | -1/+1 |
| | | | | | This function doesn't render anything, it just adds extra data to the template data. | ||||
* | Extract Lua plugin logic into separate file | Simon Ser | 2019-12-10 | 1 | -151/+0 |
| | |||||
* | Allow plugins to add new routes | Simon Ser | 2019-12-10 | 1 | -0/+34 |
| | | | | References: https://todo.sr.ht/~sircmpwn/koushin/6 | ||||
* | Make SessionManager create the IMAP client | Simon Ser | 2019-12-09 | 1 | -3/+3 |
| | | | | | This will allow SessionManager to re-connect when the IMAP server logs the user out. | ||||
* | Add a Lua API to set template filters | Simon Ser | 2019-12-09 | 1 | -3/+37 |
| | |||||
* | Change Lua API to koushin.on_render | Simon Ser | 2019-12-09 | 1 | -7/+27 |
| | |||||
* | Add basic support for plugins | Simon Ser | 2019-12-09 | 1 | -0/+78 |