Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Export Server.{Sessions,Plugins} | 2019-12-11 | 1 | -9/+8 | |
| | | | | And unexport a few internal functions. | ||||
* | Unexport NewSessionManager | 2019-12-11 | 1 | -1/+1 | |
| | | | | This isn't intended to be used by plugins. | ||||
* | Export Context.SetSession, unexport Session.Token | 2019-12-11 | 1 | -5/+6 | |
| | | | | | | | I'm uneasy exposing the token to plugins, I prefer to hide it if possible to prevent mis-use. This change allows plugins to logout users. | ||||
* | Export Context | 2019-12-11 | 1 | -9/+14 | |
| | | | | This allows plugins to access it. | ||||
* | Allow plugins to add new routes | 2019-12-10 | 1 | -0/+4 | |
| | | | | References: https://todo.sr.ht/~sircmpwn/koushin/6 | ||||
* | Reconnect to IMAP server when logged out | 2019-12-09 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | The session manager has been upgraded to deal with reconnections. Each session has its own expiration timer. Each time a request is received, the expiration timer is reset. A session can be closed (this is used when the user wants to logout). When the IMAP connection is closed by the server, it's set to nil in the session. The next time an IMAP command needs to be issued, the connection is re-established. Closes: https://todo.sr.ht/~sircmpwn/koushin/30 | ||||
* | Make SessionManager create the IMAP client | 2019-12-09 | 1 | -1/+1 | |
| | | | | | This will allow SessionManager to re-connect when the IMAP server logs the user out. | ||||
* | Rename ConnPool to SessionManager | 2019-12-09 | 1 | -4/+4 | |
| | |||||
* | Add a Lua API to set template filters | 2019-12-09 | 1 | -4/+4 | |
| | |||||
* | Add basic support for plugins | 2019-12-09 | 1 | -0/+8 | |
| | |||||
* | Extract HTTP handlers in separate file | 2019-12-04 | 1 | -263/+2 | |
| | |||||
* | Add basic theme support | 2019-12-04 | 1 | -12/+21 | |
| | | | | References: https://todo.sr.ht/~sircmpwn/koushin/1 | ||||
* | Make message view's Back link set the mailbox page | 2019-12-03 | 1 | -4/+5 | |
| | | | | | | | This allows to go back and forth between the mailbox view and the message view. References: https://todo.sr.ht/~sircmpwn/koushin/22 | ||||
* | Add basic pagination to message list | 2019-12-03 | 1 | -1/+22 | |
| | | | | References: https://todo.sr.ht/~sircmpwn/koushin/22 | ||||
* | Fix missing OutgoingMessage.InReplyTo assignment | 2019-12-03 | 1 | -9/+5 | |
| | |||||
* | Add basic support for multiple recipients | 2019-12-03 | 1 | -3/+2 | |
| | |||||
* | Add support for replying to a message | 2019-12-03 | 1 | -5/+59 | |
| | |||||
* | Add empty CSS stylesheet | 2019-12-03 | 1 | -1/+1 | |
| | | | | References: https://todo.sr.ht/~sircmpwn/koushin/19 | ||||
* | Escape mailbox names in URLs | 2019-12-03 | 1 | -2/+10 | |
| | | | | Closes: https://todo.sr.ht/~sircmpwn/koushin/14 | ||||
* | Add session lock | 2019-12-03 | 1 | -12/+33 | |
| | | | | | | | HTTP requests can be processed in parallel, but we only have one IMAP connection per session. Closes: https://todo.sr.ht/~sircmpwn/koushin/12 | ||||
* | Pre-fill composer with sender address | 2019-12-03 | 1 | -7/+13 | |
| | |||||
* | Add basic SMTP support | 2019-12-03 | 1 | -2/+41 | |
| | |||||
* | Save username/password in session | 2019-12-03 | 1 | -2/+6 | |
| | | | | | This is required for authenticating with the SMTP server when composing a new message. | ||||
* | Parse SMTP URL from CLI | 2019-12-03 | 1 | -6/+47 | |
| | |||||
* | Add context to errors | 2019-12-03 | 1 | -5/+5 | |
| | |||||
* | Add compose view | 2019-12-03 | 1 | -0/+8 | |
| | |||||
* | Add logout route | 2019-12-03 | 1 | -0/+9 | |
| | |||||
* | Set HTTP error handler | 2019-12-03 | 1 | -0/+11 | |
| | |||||
* | Display & download any message part | 2019-12-03 | 1 | -21/+65 | |
| | |||||
* | Extract string conversion functions | 2019-12-03 | 1 | -30/+0 | |
| | |||||
* | go fmt | 2019-12-03 | 1 | -9/+9 | |
| | |||||
* | Add basic message view | 2019-12-02 | 1 | -0/+56 | |
| | |||||
* | Add basic message list | 2019-12-02 | 1 | -3/+9 | |
| | |||||
* | Extract IMAP functions into separate file | 2019-12-02 | 1 | -37/+2 | |
| | |||||
* | List mailboxes | 2019-12-02 | 1 | -4/+24 | |
| | |||||
* | Add initial login logic | 2019-12-02 | 1 | -4/+151 | |
| | |||||
* | Add HTTP server boilerplate | 2019-12-02 | 1 | -0/+25 | |