Drew DeVault
6ecb243620
Fix duplicate drafts on repeated saves
il y a 3 ans
Drew DeVault
1321cea241
Redirect to edit draft after saving message
il y a 3 ans
Drew DeVault
86579bb478
Remove async SMTP queue
il y a 3 ans
Drew DeVault
5268eba101
Notify server when user discards attachment
il y a 3 ans
Drew DeVault
aad5f44f6c
Display server errors on attachment upload
il y a 3 ans
Drew DeVault
a5fe1e358e
Carry Message-ID forward through compose process
il y a 3 ans
Drew DeVault
643047402d
Don't crash if Outbox is not present
Fixes #133
il y a 3 ans
Drew DeVault
e4daf0778d
Implement mailbox deletion
il y a 3 ans
Drew DeVault
417d9bbd64
Implement folder creation UI
il y a 3 ans
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
il y a 3 ans
Drew DeVault
d325628cb2
compose: don't fail on 0 attachments
il y a 3 ans
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?
il y a 3 ans
Drew DeVault
3db443c1df
message.html: add tab to view raw email
il y a 3 ans
Drew DeVault
f97f38d4a9
Send outgoing emails asyncronously
il y a 3 ans
Drew DeVault
6ba418c9b2
Generalize sidebar categorization logic
il y a 3 ans
Drew DeVault
9e2c420461
Categorize and normalize folder listing
il y a 3 ans
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
il y a 3 ans
Zach DeCook
0aff774c5d
Stay on the same page after moving a message
il y a 3 ans
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
il y a 4 ans
Simon Ser
9a7acd2791
Add INBOX unread count on mailbox/message pages
il y a 4 ans
Drew DeVault
9465f8db6d
login: set encrypted "remember me" token
il y a 4 ans
Drew DeVault
2d86413876
mailbox: show unseen message count in page title
il y a 4 ans
Drew DeVault
aab1f866f6
mailbox: set title to "Inbox" rather than "INBOX"
il y a 4 ans
Simon Ser
3036cc4436
plugins/base: fix mailbox unread count
il y a 4 ans
Drew DeVault
3d1f278fae
Use context-appropriate title for mbox/msg view
il y a 4 ans
Simon Ser
b891a95fcf
Rename project to alps
il y a 4 ans
Simon Ser
5af6c6adc1
plugins/base: wrap MailboxInfo and MailboxStatus
This allows us to extend these and expose helpers for templates and
plugins.
il y a 4 ans
Simon Ser
f6959346ee
plugins/base: allow redirect param to be a form param
il y a 4 ans
Simon Ser
9b804005b4
plugins/base: add redirect param to move/delete/flag endpoints
il y a 4 ans
Simon Ser
9eac0b453a
plugins/base: allow to specify move/flag params via query
il y a 4 ans
Simon Ser
b61e40f363
plugins/base: allow move/delete/flag operations to take multiple UIDs
il y a 4 ans
Simon Ser
fe73f2022c
plugins/base: add action param to handleSetFlags
This alows to add/remove flags instead of setting them.
il y a 4 ans
Simon Ser
be3ab9bdd5
plugins/base: disallow replying to text/html parts
il y a 4 ans
Simon Ser
ae8658f468
plugins/base: add route to forward messages
Only inline forwarding is supported for now.
References: https://todo.sr.ht/~sircmpwn/koushin/37
il y a 4 ans
Simon Ser
c96903f3f1
plugins/base: replace MessageRenderData.PartPath with Part
il y a 4 ans
Simon Ser
8c4fd20e27
Revert "plugins/viewhtml: convert mailto links"
This reverts commit 02faf6174b
.
This commit doesn't work, because it's applied to <img> tags. Making it
handle <a> tags doesn't work either because bluemonday will strip any
target="_blank" attributes, making the compose form open in the
<iframe>. Let's just revert this whole commit for now.
il y a 4 ans
Simon Ser
02faf6174b
plugins/viewhtml: convert mailto links
il y a 4 ans
Simon Ser
8299617ebc
Turn message part viewers into plugins
il y a 4 ans
Simon Ser
4d68400036
plugins/base: add settings page
Add a settings page where the user can change the number of messages
displayed per page.
il y a 4 ans
Simon Ser
85c01b87a9
plugins/base: support attachments in drafts
References: https://todo.sr.ht/~sircmpwn/koushin/16
il y a 4 ans
Simon Ser
3384c39a17
plugins/base: delete previous draft
il y a 4 ans
Simon Ser
d31c56ec98
plugins/base: edit drafts
Note that attachments will be lost. This is a TODO.
il y a 4 ans
Simon Ser
bfc617b702
plugins/base: save message as draft
il y a 4 ans
Simon Ser
589b303f9f
plugins/base: append outgoing messages to Sent mailbox
And mark original message as answered.
Closes: https://todo.sr.ht/~sircmpwn/koushin/15
il y a 4 ans
Simon Ser
3bf17752ab
plugins/base: remove external resources URLs, sanitize CSS
il y a 4 ans
Simon Ser
a66ef1059b
Make the text/* part content a []byte
il y a 4 ans
Simon Ser
8d248bc32f
Extract HTML sanitizer to its own file
il y a 4 ans
Simon Ser
efaf6fd444
Open e-mail links in new tab
il y a 4 ans
Simon Ser
721c3ce3eb
Resize e-mail iframe with content
il y a 4 ans
Simon Ser
af5ffd12f9
Add support for HTML parts
il y a 4 ans