Commit Graph

90 Commits

Author SHA1 Message Date
Danila Fedorin 911e46c4c3 Add support for m.notice and m.emote 2019-09-08 15:00:52 -07:00
Danila Fedorin 3b1dabd624 Remove homebrew notification system. Will be using the spec for this. 2019-09-07 18:28:58 -07:00
Danila Fedorin 1d50c5b1e4 Start working towards setting notification settings 2019-09-07 18:03:38 -07:00
Danila Fedorin 360b7be281 Change room name func to match user name func 2019-09-07 17:06:23 -07:00
Danila Fedorin 06799194e4 Move account data code into account data module 2019-09-07 16:55:56 -07:00
Danila Fedorin 5e3aa40a35 Use Elm's lazy to optimize for many-message performance 2019-09-06 23:55:36 -07:00
Danila Fedorin 7122d9e567 Put uniqueBy back in sync 2019-09-02 01:50:53 -07:00
Danila Fedorin 207f6ab3be Remove dependency on model in message list 2019-09-02 01:10:28 -07:00
Danila Fedorin f395259137 Improve performance by computing room names at sync, rather than on view. 2019-09-02 00:46:59 -07:00
Danila Fedorin 5d5418e9c6 Use m.direct for direct message names. 2019-09-01 00:37:30 -07:00
Danila Fedorin b23c80f463 Switch to a tail recursive version of uniqueBy 2019-08-31 23:00:52 -07:00
Danila Fedorin 61121ee6f8 Stop decoding event contents; they seem to vary event-to-event 2019-08-21 18:21:46 -07:00
Danila Fedorin 150af81847 Change alert indicator to work better. 2019-05-19 15:01:02 -07:00
Danila Fedorin 3a31f98f3b Wire up the search bar. 2019-05-19 13:42:22 -07:00
Danila Fedorin a4c40dca28 Add an (un-wired) input for searching rooms. 2019-05-19 13:32:57 -07:00
Danila Fedorin 7be4e8d9e2 Make small tweaks to room list. 2019-05-19 13:23:16 -07:00
Danila Fedorin 8560f15047 Make some view adjustments. 2019-05-19 01:32:39 -07:00
Danila Fedorin 47a684b777 Alphabetically sort rooms. 2019-05-15 20:48:31 -07:00
Danila Fedorin 5bd6124df2 Move the room name code into a separate function. 2019-05-15 20:40:21 -07:00
Danila Fedorin 63fcb22998 Display user names in private chats. 2019-05-15 20:27:06 -07:00
Aaron Raimist df0be6a1ee
Add placeholder for homeserver URL
I forgot this one
2019-03-17 12:03:18 -05:00
Aaron Raimist b8939dacbb
Add placeholders to the username and password field on login form 2019-03-16 19:50:21 -05:00
Danila Fedorin 6e721d685b Grey out messages that are still sending. 2019-03-15 18:50:09 -07:00
Danila Fedorin 011630a185 Remove messages once their ID is received. 2019-03-15 18:45:55 -07:00
Danila Fedorin f2a8acc59c Decode id strings. 2019-03-15 18:01:26 -07:00
Danila Fedorin 1b0ad433b9 Add id field for sending messages.
The idea is to use this field to dismiss messages only when
a sync response with their id arrives.
2019-03-15 18:01:07 -07:00
Danila Fedorin 7241d112b0 Add notification counts to page title. 2019-03-15 17:44:54 -07:00
Danila Fedorin 5d519242be Display "still sending" messages. 2019-02-25 19:54:54 -08:00
Danila Fedorin 2136bf34b9 Create an abstraction for room data.
Unless you specifically need the Sync data, this will be more useful,
since it stores the messages being sent and the like.
2019-02-25 18:09:39 -08:00
Danila Fedorin ce1580926c Refactor to allow "messages".
This will allow us to group non-event things as messages, which will
then allow us to display messages that are still being sent.
2019-02-25 16:44:47 -08:00
Danila Fedorin 1703c091a7 Send file names as captions when sending files and images. 2019-02-21 23:03:01 -08:00
Danila Fedorin cf05f9dc4a Filter useless state events on the server side.
This means that presence events appear in the timeline, which is
something we DO want.
2018-12-27 22:33:48 -08:00
Danila Fedorin b0e796ee16 Add a button to reconnect. 2018-12-27 00:12:48 -08:00
Danila Fedorin d0c21cc2fa Filter some useless events to improve performance. 2018-12-25 18:01:16 -08:00
Danila Fedorin 3c91be9fb6 Group rooms by homeserver. 2018-12-24 14:17:57 -08:00
Danila Fedorin 1d3b0febde Refactor some code. 2018-12-23 21:29:48 -08:00
Danila Fedorin 70d6eba427 Add basic notification priority filtering. 2018-12-23 21:17:03 -08:00
Danila Fedorin 12e5fdfbf1 Add video and file support. 2018-12-23 20:26:35 -08:00
Danila Fedorin c08ef14832 Add display to errors. 2018-12-23 00:23:48 -08:00
Danila Fedorin 50701e1885 Add retrieving account data, namely the notification setting. 2018-12-22 21:42:51 -08:00
Danila Fedorin d9ede51428 Use a text area for multiline input. 2018-12-22 00:05:32 -08:00
Danila Fedorin 590764adc4 Add markdown rendering for messages that have it. 2018-12-20 22:59:31 -08:00
Danila Fedorin eb9e82483b Add markdown sending. 2018-12-20 22:01:09 -08:00
Danila Fedorin c483e6ac6c Add mime type info to file and image uploads. 2018-12-20 20:13:09 -08:00
Danila Fedorin 03c472a78d Remove content-type from basic headers. 2018-12-20 19:45:58 -08:00
Danila Fedorin 356c10cf24 Add sending images and files 2018-12-20 19:45:41 -08:00
Danila Fedorin 98be6ed061 Add file buttons and messages (currently do nothing) 2018-12-20 17:03:26 -08:00
Danila Fedorin 2cdfc45a93 Update new users in history responses. 2018-12-20 16:39:10 -08:00
Danila Fedorin 437039bcc4 Properly collect state events from a room. 2018-12-19 23:41:55 -08:00
Danila Fedorin 130b964d29 Add "load older messages" button 2018-12-19 21:52:07 -08:00