aboutsummaryrefslogtreecommitdiff
path: root/cmd/koushin/main.go
Commit message (Collapse)AuthorAgeFilesLines
* Generalize upstream server URLsSimon Ser2020-01-201-5/+3
| | | | | | | | | koushin now takes a list of upstream URLs instead of an IMAP and SMTP URL. This allows to specify upstream server URLs for plugins. In the future, this will allow for auto-discovering upstream servers based on a single domain name. References: https://todo.sr.ht/~sircmpwn/koushin/49
* Hide echo bannerReto Brunner2020-01-171-0/+1
|
* cmd/koushin: add -addr flagSimon Ser2020-01-081-1/+3
|
* Implement plugin/template reload on SIGUSR1Simon Ser2020-01-081-1/+0
| | | | | | | | There's no way around having a global mutex, because we need to update the HTTP routes when reloading plugins. During reload we need to lock the whole server. Closes: https://todo.sr.ht/~sircmpwn/koushin/43
* cmd/koushin: reload on SIGUSR1Simon Ser2020-01-081-1/+16
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/43
* Make New return the ServerSimon Ser2020-01-081-1/+2
| | | | This will be useful to implement hot reload.
* Introduce base pluginSimon Ser2019-12-161-0/+2
| | | | | | This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39
* Add basic theme supportSimon Ser2019-12-041-10/+23
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/1
* Parse SMTP URL from CLISimon Ser2019-12-031-4/+9
|
* Add initial login logicSimon Ser2019-12-021-1/+11
|
* Add HTTP server boilerplateSimon Ser2019-12-021-0/+13