Commit Graph

117 Commits

Author SHA1 Message Date
Danila Fedorin 28c829c2c8 Attempt to fix image "double sending" issue. 2019-01-24 21:14:02 -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 4de9063e67 Disable DDOS-tier retry attempts on failed network communication. 2018-12-26 23:20:51 -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 2d133167ed Add error messages to some scenarios. 2018-12-23 00:39:20 -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
Danila Fedorin c88f2f3b3c Remove unused flags. 2018-12-17 22:07:27 -08:00
Danila Fedorin 47e8969290 Store the transaction ID locally, too. 2018-12-17 21:56:24 -08:00
Danila Fedorin 7de91104b0 Send typing notifications. 2018-12-17 19:56:50 -08:00
Danila Fedorin 7f0624f112 Add http for sending typing indicators. 2018-12-17 19:41:43 -08:00
Danila Fedorin 6d39279591 Allow for non-string values in responses, and ports. 2018-12-17 16:32:39 -08:00
Danila Fedorin cf2ada4329 Add code to retrieve login token after login. 2018-12-17 16:18:47 -08:00
Danila Fedorin 128430b38f Add encoding and decoding of login datas a function. 2018-12-17 15:34:21 -08:00
Danila Fedorin 471f5b301b Store the ApiUrl in the message, so that user can't change it midway. 2018-12-17 02:40:39 -08:00
Danila Fedorin 6f1e3da27b Add storing login token (but not retrieving it) 2018-12-17 02:34:46 -08:00
Danila Fedorin 720e6db334 Read room state events from timeline, too. 2018-12-15 23:36:05 -08:00
Danila Fedorin 983592d520 Set read marker on opening room. 2018-12-15 20:56:17 -08:00
Danila Fedorin 6c96bae01f Send read receipts for messages received after opening room. 2018-12-15 19:22:49 -08:00
Danila Fedorin 55f40d5a51 Cleanup command code. 2018-12-14 00:08:16 -08:00
Danila Fedorin 78620c3b4f Scroll when new messages arrive and user is close to the bottom. 2018-12-14 00:02:15 -08:00
Danila Fedorin 2e804f84a3 Render image messages. 2018-12-13 19:45:55 -08:00
Danila Fedorin 92a7820a8e Add sending messages on enter. 2018-12-13 18:41:54 -08:00
Danila Fedorin d95e383fb1 Add room notifications. 2018-12-13 17:47:58 -08:00
Danila Fedorin 56878533f4 Add "typing people wrapper" 2018-12-13 16:28:13 -08:00
Danila Fedorin 5627168d20 Add new lookup functions. 2018-12-13 16:01:54 -08:00
Danila Fedorin 0e2cd8c9e9 Store ephemeral events 2018-12-13 14:51:09 -08:00
Danila Fedorin 2c7b72fba6 Open room on notification click. 2018-12-13 14:06:15 -08:00
Danila Fedorin 46352c429a Add notifications 2018-12-13 13:42:23 -08:00
Danila Fedorin b25e5d77af Retrieve user display names on initial log in. 2018-12-13 12:45:30 -08:00
Danila Fedorin 996da079e2 Begin working on requesting users' names. 2018-12-13 02:38:25 -08:00
Danila Fedorin 2449a3c8c4 Add requesting user data. 2018-12-13 02:37:59 -08:00
Danila Fedorin 2505610aa2 Add a separate message for first sync, and add event listing. 2018-12-13 01:46:57 -08:00
Danila Fedorin 3e7d12b6e4 Add notification sending functionality. 2018-12-12 00:03:17 -08:00
Danila Fedorin 42126c1489 Add icon view. 2018-12-10 16:16:39 -08:00
Danila Fedorin d855467f14 Add a scroll view so that messages can be scrolled without input. 2018-12-10 15:27:18 -08:00
Danila Fedorin d15cc437b7 Add proper styling to usernames. 2018-12-10 14:20:06 -08:00
Danila Fedorin 27634bf766 Change layout to always display rooms. Also, add room CSS. 2018-12-10 13:18:02 -08:00
Danila Fedorin cee113b0dd Rename container to wrapper for consistency. 2018-12-10 12:47:40 -08:00
Danila Fedorin 4b2c0d2ae8 Style the "Log In" screen. 2018-12-10 12:22:33 -08:00
Danila Fedorin b76e4bdf7d Add room message sending. 2018-12-09 23:58:16 -08:00
Danila Fedorin 5ac8e8cb36 Use response next batch when available. This prevents duplication. 2018-12-09 13:02:54 -08:00
Danila Fedorin 841d537168 Fix duplicate events.
I'm not sure why they show up twice, but oh well.
2018-12-09 00:48:43 -08:00
Danila Fedorin 70cf5273e9 Add long polling live updates. 2018-12-09 00:48:26 -08:00
Danila Fedorin 0ceb1413ce Add navigation and proper room views. 2018-12-08 20:02:29 -08:00
Danila Fedorin e492452451 Use routes to navigate. 2018-12-08 19:09:20 -08:00
Danila Fedorin 7d97fc1aba Add basic viewing for rooms. 2018-12-08 17:48:45 -08:00
Danila Fedorin e06c4a8772 Add logging in. 2018-12-08 15:06:14 -08:00
Danila Fedorin 3656b0f3f0 Begin working on Http requests. 2018-12-08 13:49:38 -08:00
Danila Fedorin c292a4c29b Add optionals where required. 2018-12-08 01:21:53 -08:00
Danila Fedorin 8bc4ba83bc Start working on Matrix data models. 2018-12-08 00:50:31 -08:00
Danila Fedorin 0066c6476b Initial commit. Start basic Elm application. 2018-12-07 23:07:26 -08:00