Commit Graph

384 Commits

Author SHA1 Message Date
Tulir Asokan
76cfbecc09 Remove panic when sending message if GetSessionOwner() returns nil 2018-03-23 17:45:58 +02:00
Tulir Asokan
7dc773c990 Render scroll position and indicate if at end/beginning of history. Fixes #9 2018-03-23 17:26:15 +02:00
Tulir Asokan
03e9a0d5ac Documentation and refactoring 2018-03-23 14:44:36 +02:00
Tulir Asokan
7cc55ade30 Fix membership event processing 2018-03-23 14:20:46 +02:00
Tulir Asokan
a3f48093eb gofmt and govet 2018-03-23 01:20:26 +02:00
Tulir Asokan
16635dcde7 Refactor PushRuleset#GetActions() and ViewMain event processing 2018-03-23 01:00:13 +02:00
Tulir Asokan
a5e7800ab6 Fix bugs and compile errors 2018-03-22 23:52:55 +02:00
Tulir Asokan
373b25c01c Rename matrix/room/ to matrix/rooms/ 2018-03-22 23:46:43 +02:00
Tulir Asokan
20a1a31fa8 Add doc.go files 2018-03-22 23:45:54 +02:00
Tulir Asokan
a9c899f0d5 Refactoring and documentation 2018-03-22 23:40:26 +02:00
Tulir Asokan
497ae566c0 Move LoginView to own struct 2018-03-22 23:03:45 +02:00
Tulir Asokan
b93dea2e1c Refactoring and documentation 2018-03-22 23:03:36 +02:00
Tulir Asokan
225dbdba4e Use display names in join/leave messages 2018-03-22 22:38:49 +02:00
Tulir Asokan
152b89ed5e Add support for m.emote. Fixes #6 2018-03-22 21:45:02 +02:00
Tulir Asokan
702a75a8c0 Save history to disk. Fixes #1 2018-03-22 19:54:31 +02:00
Tulir Asokan
232f7fe1be Update constants and demagicify RoomView drawing 2018-03-22 18:14:08 +02:00
Tulir Asokan
c32fffda15 Move history mutex to rooms.Room 2018-03-22 17:37:35 +02:00
Tulir Asokan
516ea42317 Use Flex as MainView base instead of Grid 2018-03-22 17:00:56 +02:00
Tulir Asokan
492a8752f1 Move input field to RoomView 2018-03-22 16:44:24 +02:00
Tulir Asokan
9fd67102ad Refactoring and godocs 2018-03-21 23:29:58 +02:00
Tulir Asokan
0e90972fe8 Handle some corner cases in MessageView 2018-03-21 19:46:30 +02:00
Tulir Asokan
35b6c7bd27 Add external debug file, refactoring and push rule parser 2018-03-21 18:46:25 +02:00
Tulir Asokan
7994c289aa Refactor some things and format everything 2018-03-21 00:21:24 +02:00
Tulir Asokan
85f289c98d Rename UpdateLogs back to LoadHistory 2018-03-20 23:31:04 +02:00
Tulir Asokan
095b982603 Show messages in message view while sending 2018-03-20 19:55:42 +02:00
Tulir Asokan
59cd900301 Simplify MessageView buffer recalculation to one loop 2018-03-20 17:26:37 +02:00
Tulir Asokan
508b4ea280 Add colon after username completion at beginning of line 2018-03-20 16:03:05 +02:00
Tulir Asokan
bfb5151cb6 Re-add colors to date change messages 2018-03-20 13:01:59 +02:00
Tulir Asokan
3897f23bc4 Add support for loading more history 2018-03-20 12:16:32 +02:00
Tulir Asokan
de2a8aee06 Add some vim-style keybindings to advanced inputfields 2018-03-20 12:14:30 +02:00
Tulir Asokan
160e8ff836 Don't panic if room list is empty 2018-03-19 15:19:44 +02:00
Tulir Asokan
43127dad0f Switch forms to use advanced inputfields and use user-friendly panics for UI errors 2018-03-19 10:57:31 +02:00
Tulir Asokan
7a4b108b37 Avoid showing panics directly if debug mode is not enabled 2018-03-19 01:21:53 +02:00
Tulir Asokan
72945c9a28 Organize files 2018-03-18 21:24:03 +02:00