Drew DeVault
51d762ac5f
Implement mailbox subscriptions
3 years ago
Drew DeVault
8cc742f45d
Fix issues with to/from headers
3 years ago
Drew DeVault
797b426ec6
Add "Full name" option to settings
This provides the name portion of your From header in the compose view.
3 years ago
Drew DeVault
51498a2dc3
JS enhancements to encourage bottom-posting
3 years ago
Drew DeVault
a1e8bcc561
Implement message signature setting
3 years ago
Drew DeVault
cb37df882e
Add notices on action completion
3 years ago
Drew DeVault
405c18d213
Convert HTML to plaintext for forwarding & replies
3 years ago
Drew DeVault
1992880454
Add theme-specific error page
3 years ago
Drew DeVault
5087e4b327
Improve "attachments exceed max size" error message
3 years ago
Drew DeVault
297afc5ce6
Limit total size of unsent attachments
3 years ago
Drew DeVault
18ad982c53
Remove leftover outbox handling
3 years ago
Drew DeVault
fa102822bb
HTML image proxy: handle missing Content-Length
This is less than ideal, but we still won't end up over-reading because
we're using a LimitedReader here.
3 years ago
Drew DeVault
2611bee170
Humanize message list dates
3 years ago
Drew DeVault
6ecb243620
Fix duplicate drafts on repeated saves
3 years ago
Drew DeVault
1321cea241
Redirect to edit draft after saving message
3 years ago
Drew DeVault
86579bb478
Remove async SMTP queue
3 years ago
Drew DeVault
0d1cca191b
alps/compose.html: fix message ID
3 years ago
Drew DeVault
5268eba101
Notify server when user discards attachment
3 years ago
Drew DeVault
aad5f44f6c
Display server errors on attachment upload
3 years ago
Drew DeVault
a5fe1e358e
Carry Message-ID forward through compose process
3 years ago
Drew DeVault
643047402d
Don't crash if Outbox is not present
Fixes #133
3 years ago
Drew DeVault
e4daf0778d
Implement mailbox deletion
3 years ago
Drew DeVault
417d9bbd64
Implement folder creation UI
3 years ago
Drew DeVault
cbeacf9d06
Copy unsent messages to Outbox
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
3 years ago
Drew DeVault
d325628cb2
compose: don't fail on 0 attachments
3 years ago
Drew DeVault
a393429f01
Implement JavaScript UI for attachments
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?
3 years ago
Drew DeVault
4904207269
Replace parts tree with attachment list
3 years ago
Drew DeVault
3db443c1df
message.html: add tab to view raw email
3 years ago
Drew DeVault
64b16f4a50
message.html: add tabs to select html/plaintext
3 years ago
Drew DeVault
f97f38d4a9
Send outgoing emails asyncronously
3 years ago
Drew DeVault
b437cef2ab
Implement broader search functionality
3 years ago
Drew DeVault
0191aa4698
plugins/base/imap: fetch flags on search
3 years ago
Drew DeVault
6ba418c9b2
Generalize sidebar categorization logic
3 years ago
Drew DeVault
9e2c420461
Categorize and normalize folder listing
3 years ago
Drew DeVault
793f261b62
Handle case where server does not return body
This was causing a nil pointer dereference before.
Fixes ~migadu/alps#121.
3 years ago
Reto Brunner
f3931fd510
remove exec bit from plugins/base/imap.go
3 years ago
Jesse Olson
456d183ebc
Set Message-Id header
3 years ago
наб
d60aca0e5c
base HTML: fix nil on emails without a text part
P.a. to 50e131244a
which solved
https://todo.sr.ht/~emersion/alps/100
Closes: https://todo.sr.ht/~emersion/alps/102
3 years ago
Simon Ser
92b3016196
Fix nil render data on invalid password
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
3 years ago
Zach DeCook
0aff774c5d
Stay on the same page after moving a message
3 years ago
Simon Ser
1f9fe0b169
Workaround template functions not loaded
This is a hacky workaround to make things work until we find a better
solution.
Closes: https://todo.sr.ht/~emersion/alps/96
3 years ago
Simon Ser
522454e009
base: don't use Client.Mailbox
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
3 years ago
Simon Ser
9a7acd2791
Add INBOX unread count on mailbox/message pages
4 years ago
Simon Ser
0a9c246794
plugins/caldav: add basic day view
4 years ago
Drew DeVault
1e109b7ac3
caldav: add page titles to all routes
4 years ago
Drew DeVault
024cab94f1
alps theme: add layout for calendar event update
4 years ago
Simon Ser
811891134e
plugins/caldav: add time inputs in event create/update form
4 years ago
Simon Ser
8813faf71e
go fmt
4 years ago
Drew DeVault
9465f8db6d
login: set encrypted "remember me" token
4 years ago
Drew DeVault
7142da950d
alps theme: initial layout for calendar
4 years ago