Commit Graph

370 Commits

Author SHA1 Message Date
Drew DeVault 7293b7e8e7
alps theme: add button to load remote content 2020-05-20 22:10:56 +02:00
Drew DeVault 1e109b7ac3
caldav: add page titles to all routes 2020-05-20 22:10:14 +02:00
Drew DeVault a892251387
alps theme: add event page layout 2020-05-20 22:06:35 +02:00
Drew DeVault 7fb2b65eaa
alps theme: unify create/update styles 2020-05-20 22:06:35 +02:00
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 ee3f66c24c
alps theme: layout settings page 2020-05-20 19:00:40 +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
Simon Ser ac7a3fb156
Always reply to plain-text part, if any
Closes: https://todo.sr.ht/~emersion/alps/51
2020-05-20 16:18:24 +02:00
Drew DeVault 2d86413876
mailbox: show unseen message count in page title 2020-05-20 15:28:36 +02:00
Drew DeVault 7ba4275471
alps: improve margin on email bodies 2020-05-20 15:26:42 +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 5fee600c6e
alps theme: theme the login page 2020-05-13 20:54:15 +02:00
Drew DeVault 5a73ca6ebb
alps theme: if there's nothing to show, say so 2020-05-13 20:52:36 +02:00
Drew DeVault 7456c9574c
alps: theme contact list page 2020-05-13 20:52:06 +02:00
Drew DeVault dfb381058b
mailbox view: improve pagination styles
This makes the buttons larger and easier to notice/click.
2020-05-13 20:45:59 +02:00
Drew DeVault 02bc8f68c9
message view: add part switcher
This also makes the appearance of HTML emails more consistent with
plaintext ones.
2020-05-13 20:40:57 +02:00
Drew DeVault e39879ec9a
alps theme: overhaul tables and action lists
This patch contains a whole lot of layout improvements for the alps
theme, mainly replacing the table soup with flexbox and CSS grids, and
fixing up a number of loose ends. This gives us a lot more flexibility
over how the page is laid out. I also cleaned up a lot of other
low-hanging fruit in the layout & styles.
2020-05-13 19:55:41 +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 297798dca2
themes/alps: fix search form method 2020-05-13 17:32:09 +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 59547f7fb7
readme: suggest using the alps theme instead of the SourceHut one 2020-05-13 16:12:46 +02:00
Simon Ser 7216725b14
readme: update links to new issue tracker & mailing list 2020-05-13 16:08:08 +02:00
Simon Ser d6802cf32b
Update go-webdav 2020-05-13 15:11:34 +02:00
Simon Ser f71024e350
Update dependencies 2020-05-13 15:09:48 +02:00
Simon Ser 248544924e
readme: fixup mailing list & issue tracker links
These haven't been renamed yet.
2020-05-13 14:11:13 +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 6395be6737
themes/alps: add button to save as draft 2020-03-27 11:30:11 +01:00
Simon Ser c053b7332e
themes/alps: add link to edit drafts 2020-03-27 11:25:07 +01:00
Simon Ser f079bcc704
themes/alps: fix hardcoded mailbox list in message view 2020-03-27 10:50:58 +01:00
Simon Ser e4e826dde2
themes/test: remove leftovers 2020-03-27 10:48:38 +01:00