| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Fixes: f07ab5263246 ("Add docs")
|
| |
|
| |
|
| |
|
|
|
|
| |
And unexport a few internal functions.
|
|
|
|
| |
This isn't intended to be used by plugins.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This allows plugins to access it.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
GlobalRenderData contains some global metadata that can be obtained from
any template.
RenderData is a base type for template data. It contains a Global field
with global metadata and an Extra field for plugins.
|
|
|
|
| |
This is the first step to allow each user to have a different theme.
|
| |
|
|
|
|
|
| |
This function doesn't render anything, it just adds extra data to the
template data.
|
| |
|
|
|
|
| |
References: https://todo.sr.ht/~sircmpwn/koushin/6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This will allow SessionManager to re-connect when the IMAP server logs
the user out.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This makes sure fields filled by vanilla koushin keep the right type. A
new Extra field allows plugins to attach their own data.
This also makes it easier to write Go plugins, which would have trouble
working with interface{}.
|
| |
|
|
|
|
| |
Just use the full filename instead, this is simpler and more explicit.
|
|
|
|
|
| |
The former fixes encoding issues in filenames. The latter is just for
brevity.
|
| |
|
| |
|
|
|
|
| |
References: https://todo.sr.ht/~sircmpwn/koushin/1
|
|
|
|
|
|
|
| |
This allows to go back and forth between the mailbox view and the
message view.
References: https://todo.sr.ht/~sircmpwn/koushin/22
|
| |
|
|
|
|
| |
References: https://todo.sr.ht/~sircmpwn/koushin/22
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This fixes the second part of #14.
References: https://todo.sr.ht/~sircmpwn/koushin/14
|
|
|
|
| |
References: https://todo.sr.ht/~sircmpwn/koushin/19
|
|
|
|
|
| |
This adds support for additional charsets when parsing e.g. subject
lines.
|
|
|
|
| |
Closes: https://todo.sr.ht/~sircmpwn/koushin/14
|
|
|
|
|
|
|
| |
HTTP requests can be processed in parallel, but we only have one IMAP
connection per session.
Closes: https://todo.sr.ht/~sircmpwn/koushin/12
|
|
|
|
|
|
| |
Enables support for non-UTF8 charsets.
Closes: https://todo.sr.ht/~sircmpwn/koushin/18
|
| |
|
| |
|
|
|
|
|
| |
This is required for authenticating with the SMTP server when composing
a new message.
|
| |
|
| |
|
| |
|
| |
|