aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/base/routes.go
Commit message (Collapse)AuthorAgeFilesLines
* Add custom SMTP authentication supportHEADmasterLibravatarLibravatar Biswa Kalyan Bhuyan 2025-05-241-0/+10
| | | | | | | | | | - 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.
* plugins/base/routes: fix err variable shadowingLibravatarLibravatar Silvan Jegen 2024-12-201-4/+4
| | | | | | | | | 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]>
* Use switch in handleForwardLibravatarLibravatar Simon Ser 2024-03-181-10/+13
| | | | Copy over the reply code path.
* Upgrade go-imapLibravatarLibravatar Simon Ser 2024-03-181-4/+11
|
* Implement reply-all functionality for the alps themeLibravatarLibravatar Silvan Jegen 2024-03-181-49/+78
| | | | | | | 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.
* Add optional Cc and Bcc fields when composing a messageLibravatarLibravatar Silvan Jegen 2024-02-031-1/+2
| | | | This should address https://todo.sr.ht/~migadu/alps/145.
* Upgrade go-imapLibravatarLibravatar Simon Ser 2024-01-101-9/+6
|
* plugins/base: fix invalid FETCH seq setLibravatarLibravatar Simon Ser 2023-11-231-2/+1
| | | | Closes: https://todo.sr.ht/~migadu/alps/176
* plugins/base: use imap.Flag for MessageRenderData.Flags map keyLibravatarLibravatar Gabriel A. Giovanini 2023-09-201-3/+3
| | | | Slightly more type-safe.
* plugins/base: fix empty last search pageLibravatarLibravatar Konstantinos Koukas 2023-08-021-14/+6
| | | | | Fix an empty search page appearing when the total number of search results is a multiple of the number of messages per page.
* Use LIST-STATUS to fetch unread message count for all mailboxesLibravatarLibravatar Simon Ser 2023-05-011-0/+12
|
* Upgrade to go-imap v2LibravatarLibravatar Simon Ser 2023-04-301-71/+65
|
* Ensure Drafts mailbox is selected before searching for Message-IdLibravatarLibravatar Simon Ser 2023-03-171-0/+4
|
* plugins/base: fix unread count missing for INBOX and activeLibravatarLibravatar Simon Ser 2023-03-161-10/+13
|
* gracefully fail when no messages are selected for deletion or movingLibravatarLibravatar Alex McGrath 2022-05-071-0/+10
|
* Show notice & error code on failed loginLibravatarLibravatar Jonas Mueller 2022-02-251-1/+2
| | | | | Upon failed login, this patch sets the status code to 401 and provides a Notice to show in login.html
* SimplifyLibravatarLibravatar Gusted 2021-08-041-3/+5
|
* Use shorter if syntaxLibravatarLibravatar Gusted 2021-08-041-4/+2
|
* go fmtLibravatarLibravatar Simon Ser 2021-07-051-17/+17
|
* Fix crash in alps theme when common mailboxes are not present.LibravatarLibravatar Martin Ashby 2021-07-051-24/+30
| | | | | | Fixes https://todo.sr.ht/~migadu/alps/154 Signed-off-by: Martin Ashby <[email protected]>
* Repoint repository references to new locationLibravatarLibravatar j3s 2020-11-201-1/+1
|
* Implement mailbox subscriptionsLibravatarLibravatar Drew DeVault 2020-11-191-13/+72
|
* Fix issues with to/from headersLibravatarLibravatar Drew DeVault 2020-11-191-3/+12
|
* Add "Full name" option to settingsLibravatarLibravatar Drew DeVault 2020-11-191-1/+18
| | | | This provides the name portion of your From header in the compose view.
* Implement message signature settingLibravatarLibravatar Drew DeVault 2020-11-191-1/+15
|
* Add notices on action completionLibravatarLibravatar Drew DeVault 2020-11-191-0/+5
|
* Convert HTML to plaintext for forwarding & repliesLibravatarLibravatar Drew DeVault 2020-11-191-16/+30
|
* Add theme-specific error pageLibravatarLibravatar Drew DeVault 2020-11-191-1/+1
|
* Improve "attachments exceed max size" error messageLibravatarLibravatar Drew DeVault 2020-11-191-1/+1
|
* Limit total size of unsent attachmentsLibravatarLibravatar Drew DeVault 2020-11-191-1/+7
|
* Remove leftover outbox handlingLibravatarLibravatar Drew DeVault 2020-11-131-5/+1
|
* Fix duplicate drafts on repeated savesLibravatarLibravatar Drew DeVault 2020-11-131-2/+17
|
* Redirect to edit draft after saving messageLibravatarLibravatar Drew DeVault 2020-11-131-6/+8
|
* Remove async SMTP queueLibravatarLibravatar Drew DeVault 2020-11-131-78/+5
|
* Notify server when user discards attachmentLibravatarLibravatar Drew DeVault 2020-11-121-0/+10
|
* Display server errors on attachment uploadLibravatarLibravatar Drew DeVault 2020-11-121-3/+10
|
* Carry Message-ID forward through compose processLibravatarLibravatar Drew DeVault 2020-11-121-1/+1
|
* Don't crash if Outbox is not presentLibravatarLibravatar Drew DeVault 2020-11-051-4/+2
| | | | Fixes #133
* Implement mailbox deletionLibravatarLibravatar Drew DeVault 2020-10-301-0/+22
|
* Implement folder creation UILibravatarLibravatar Drew DeVault 2020-10-301-0/+44
|
* Copy unsent messages to OutboxLibravatarLibravatar Drew DeVault 2020-10-301-5/+74
| | | | | | | | | | | This patch: 1. Copies unsent messages to the outbox before attempting to deliver them with SMTP 2. Deletes those messages once they're sent, or leaves them if an error occured 3. Updates the message list to make it obvious when there are unsent messages in the outbox
* compose: don't fail on 0 attachmentsLibravatarLibravatar Drew DeVault 2020-10-301-1/+5
|
* Implement JavaScript UI for attachmentsLibravatarLibravatar Drew DeVault 2020-10-291-2/+48
| | | | | | | | | | | | | | | | This one is a bit of a doozy. A summary of the changes: - Session has grown storage for attachments which have been uploaded but not yet sent. - The list of attachments on a message is refcounted so that we can clean up the temporary files only after it's done with - i.e. after copying to Sent and after all of the SMTP attempts are done. - Abandoned attachments are cleared out on process shutdown. Future work: - Add a limit to the maximum number of pending attachments the user can have in the session. - Periodically clean out abandoned attachments?
* message.html: add tab to view raw emailLibravatarLibravatar Drew DeVault 2020-10-231-1/+5
|
* Send outgoing emails asyncronouslyLibravatarLibravatar Drew DeVault 2020-10-231-3/+8
|
* Generalize sidebar categorization logicLibravatarLibravatar Drew DeVault 2020-10-221-87/+100
|
* Categorize and normalize folder listingLibravatarLibravatar Drew DeVault 2020-10-221-13/+61
|
* Fix nil render data on invalid passwordLibravatarLibravatar Simon Ser 2020-07-071-9/+10
| | | | | | This would cause this error: template: head.html:7:15: executing "head.html" at <index .Global.Path 0>: error calling index: index of untyped nil
* Stay on the same page after moving a messageLibravatarLibravatar Zach DeCook 2020-06-291-1/+1
|
* base: don't use Client.MailboxLibravatarLibravatar Simon Ser 2020-05-281-4/+4
| | | | | | | The information returned by Client.Mailbox may be out-of-date. Instead, retrieve the mailbox status from the server each time. Closes: https://todo.sr.ht/~emersion/alps/80