Commit graph

109 commits

Author SHA1 Message Date
Drew DeVault
024cab94f1
alps theme: add layout for calendar event update 2020-05-20 22:06:32 +02:00
Simon Ser
811891134e
plugins/caldav: add time inputs in event create/update form 2020-05-20 19:32:53 +02:00
Simon Ser
8813faf71e
go fmt 2020-05-20 19:08:06 +02:00
Drew DeVault
9465f8db6d
login: set encrypted "remember me" token 2020-05-20 19:07:47 +02:00
Drew DeVault
7142da950d
alps theme: initial layout for calendar 2020-05-20 18:59:01 +02:00
Drew DeVault
50cb8bef77
alps theme: add contact edit/create 2020-05-20 17:47:52 +02:00
Drew DeVault
e4e410de1e
alps theme: add contact details page 2020-05-20 17:47:52 +02:00
Simon Ser
cfea0ec787
plugins/caldav: fix duplicate event after edit 2020-05-20 17:45:32 +02:00
Simon Ser
83dd3f71d6
Drop unnecessary "log" import 2020-05-20 17:19:24 +02:00
Simon Ser
4402a748f0
plugins/caldav: edit event descriptions 2020-05-20 17:08:24 +02:00
Simon Ser
7157627dcf
plugins/caldav: add route to delete event 2020-05-20 16:54:33 +02:00
Simon Ser
36f3fb9567
plugins/caldav: add link to edit event 2020-05-20 16:51:02 +02:00
Simon Ser
8589228c73
Replace IMAPMessage.TextPartName with TextPart 2020-05-20 16:25:25 +02:00
Drew DeVault
2d86413876
mailbox: show unseen message count in page title 2020-05-20 15:28:36 +02:00
fox.cpp
62910a94fb
plugins/base: Add missing nil check for getMailboxByType
Fixes panic if there is no usable Sent folder.
2020-05-18 18:35:05 +02:00
Wagner Riffel
42c5a81986
plugins/caldav: remove statements not used
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
2020-05-18 18:32:30 +02:00
Drew DeVault
aab1f866f6
mailbox: set title to "Inbox" rather than "INBOX" 2020-05-13 19:49:20 +02:00
Simon Ser
ce0b0a7eeb
plugins/caldav: add form to create new events 2020-05-13 19:44:08 +02:00
Simon Ser
ea12ffcc4c
plugins/caldav: fix event list URLs 2020-05-13 19:34:46 +02:00
Simon Ser
3036cc4436
plugins/base: fix mailbox unread count 2020-05-13 18:18:13 +02:00
Simon Ser
37be46c047
plugins/carddav: add route to delete a contact 2020-05-13 17:59:04 +02:00
Simon Ser
ee5ce517d1
plugins/caldav: introduce helper CalendarObject type 2020-05-13 17:10:21 +02:00
Drew DeVault
3d1f278fae
Use context-appropriate title for mbox/msg view 2020-05-13 17:00:47 +02:00
Drew DeVault
1cf95af41e
Add <meta refresh> to mailbox view
This causes the mailbox to automatically reload the page every 60
seconds, without JavaScript.

This also updates the base template data to include the full URL, and
replaces the earlier "Path" field with a pre-split array of path
components, which is more immediately useful to most templates given the
limitations of string munging with text/template primitives.
2020-05-13 16:58:48 +02:00
Simon Ser
0191b73996
plugins/caldav: switch to path-based URLs
UIDs are not first-class WebDAV citizens and would require two
roundtrips for most operations.
2020-05-13 16:48:03 +02:00
Simon Ser
b891a95fcf
Rename project to alps 2020-05-13 14:07:44 +02:00
Simon Ser
4cf5ad68af
plugins/base: always show INBOX first 2020-03-27 13:19:26 +01:00
Simon Ser
5af6c6adc1
plugins/base: wrap MailboxInfo and MailboxStatus
This allows us to extend these and expose helpers for templates and
plugins.
2020-03-27 10:45:43 +01:00
Simon Ser
f6959346ee
plugins/base: allow redirect param to be a form param 2020-03-27 10:27:37 +01:00
Simon Ser
9b804005b4
plugins/base: add redirect param to move/delete/flag endpoints 2020-03-27 10:24:19 +01:00
Simon Ser
9eac0b453a
plugins/base: allow to specify move/flag params via query 2020-03-19 17:25:52 +01:00
Simon Ser
b61e40f363
plugins/base: allow move/delete/flag operations to take multiple UIDs 2020-03-19 16:43:27 +01:00
Simon Ser
fe73f2022c
plugins/base: add action param to handleSetFlags
This alows to add/remove flags instead of setting them.
2020-03-18 21:10:40 +01:00
Simon Ser
a455fc8ddd
plugins/base: fix IMAMessage.PartByPath with nil path 2020-03-18 19:44:18 +01:00
Simon Ser
be3ab9bdd5
plugins/base: disallow replying to text/html parts 2020-03-18 15:08:36 +01:00
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
2020-03-18 15:01:15 +01:00
Simon Ser
ea0626d806
plugins/carddav: check supported vCard versions 2020-02-27 12:56:06 +01:00
Simon Ser
89149b38c8
plugins/carddav: use paths instead of UIDs in URLs 2020-02-27 12:17:23 +01:00
Simon Ser
4bb0ded2d9
plugins/caldav: update go-webdav 2020-02-25 19:24:35 +01:00
Simon Ser
7de332c2bb
plugins/viewtext: linkify plaintext messages 2020-02-25 18:16:26 +01:00
Simon Ser
c96903f3f1
plugins/base: replace MessageRenderData.PartPath with Part 2020-02-25 16:38:29 +01:00
Simon Ser
b3f98de1da
plugins/viewhtml: add opt-in query param to load remote resources
Loading remote resources by default has privacy implications.
2020-02-25 16:13:10 +01:00
Simon Ser
a8a3c82579
plugins/viewhtml: add image proxy 2020-02-25 15:45:43 +01:00
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.
2020-02-25 15:37:47 +01:00
Simon Ser
02faf6174b
plugins/viewhtml: convert mailto links 2020-02-25 14:06:10 +01:00
Simon Ser
62660f8d1d
plugins/viewhtml: add support for inline Content-Id images
Closes: https://todo.sr.ht/~sircmpwn/koushin/33
2020-02-25 10:47:38 +01:00
Simon Ser
7af7d73700
plugins/base: add message URL and Content-Id helpers 2020-02-25 10:46:55 +01:00
Simon Ser
c3e323161a
plugins/viewhtml: add sanitizer struct 2020-02-25 09:51:57 +01:00
Simon Ser
be3c069f5d
plugins/caldav: make discovery failures non-fatal
Closes: https://todo.sr.ht/~sircmpwn/koushin/64
2020-02-19 16:35:47 +01:00
Simon Ser
778e6f9c89
plugins/carddav: add view to edit contacts 2020-02-12 21:35:18 +01:00