| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- Add SMTPUsername and SMTPPassword fields to Settings struct
- Update DoSMTP method to use custom credentials when available
- Add SMTP credential fields to all theme templates
- Support independent username/password configuration
Fixes authentication issues when using different SMTP credentials
than login credentials, useful for app-specific passwords.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Redeclaring the same variable shadows the outer one. This means the
error check below will never check this error.
This issue was found with golangci-lint.
Signed-off-by: Silvan Jegen <[email protected]>
|
| |
|
| |
|
|
|
|
| |
Copy over the reply code path.
|
| |
|
| |
|
|
|
|
|
|
|
| |
We slightly refactor the code to make it easier to read, while we are
at it.
This should address https://todo.sr.ht/~migadu/alps/155.
|
|
|
|
|
|
| |
After adding the fields Cc and Bcc the box to drag and drop the
attachments was misaligned, with this change it occupies again all the
available space.
|
|
|
|
| |
This should address https://todo.sr.ht/~migadu/alps/145.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Without this, from the server PoV, we're not aware of any new
message (so we can't FETCH them).
|
|
|
|
| |
Closes: https://todo.sr.ht/~migadu/alps/176
|
| |
|
|
|
|
|
| |
With the newer version of `go-imap` some properties got renamed and
sourcehut theme stop working.
|
|
|
|
| |
Slightly more type-safe.
|
|
|
|
|
|
|
|
| |
Implement server-side sorting of search results using the SORT
extension to IMAP, if the server supports it. Otherwise, fall back to
the unordered SEARCH command.
Sort messages by sent date, in descending order.
|
|
|
|
| |
Fixes: https://todo.sr.ht/~migadu/alps/165
|
|
|
|
|
| |
Fix an empty search page appearing when the total number of search
results is a multiple of the number of messages per page.
|
|
|
|
| |
In particular, go-imap is upgraded to v2.0.0-alpha.6.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This makes calendar events viewable in the sourcehut theme.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit upgrades go-webdav to what is currently the master branch.
The go-webdav client implementation gained some features with regards to
service discovery that alps can benefit from.
With this change, one can pass e.g. the following upstream URL:
carddav+insecure://example.com/.well-known/carddav
This URL is defined in [RFC 6764, section 6][1]. If the server supports
it, it will respond with a redirect to the currently authenticated
user's principal URL. In the version used so far, the go-webdav client
does not handle this redirect well.
[1]: https://datatracker.ietf.org/doc/html/rfc6764#section-6
See also: https://github.com/emersion/go-webdav/commit/0363312
|
| |
|
| |
|
|
|
|
|
|
|
| |
The statement changed here creates new variables, whereas it means to
assign values to the previously declared `ao` to be used outside of the
if statement. This lead to PUT requests always being sent to a URL
containing a new UUID, causing problems with some CardDAV servers.
|
|
|
|
|
| |
Upon failed login, this patch sets the status code to 401 and provides a
Notice to show in login.html
|
|
|
|
|
|
| |
plugin name
Signed-off-by: Alexey Terentyev <[email protected]>
|
| |
|
| |
|
| |
|
| |
|