Commit graph

1976 commits

Author SHA1 Message Date
Konstantinos Sideris
27f7142cd8 Initial implementation for local echo
Each HistoryView maintains a list of pending events. Each pending
message is validated from the homeserver with either the returned
EventId or the body of the message.

Currently there is no support to remove invalid messages.

Also some small refactoring:
    - ChatPage doesn't know about the message being sent. The message
      delivery is solely handled by HistoryViewManager.
    - Nick coloring function moved to HistoryViewManager.
2017-04-13 04:11:22 +03:00
Konstantinos Sideris
718562737c Don't use icons as room avatars 2017-04-12 17:14:53 +03:00
Konstantinos Sideris
9092ae3db8 Use less contrast on the sidebar 2017-04-12 02:44:01 +03:00
Konstantinos Sideris
e8aae26aea Small stylistic changes 2017-04-12 01:29:25 +03:00
Konstantinos Sideris
532b1ab38f Add style for m.notice
Tone down the main text color
2017-04-12 00:52:56 +03:00
Konstantinos Sideris
c431eee401 Use a single nick to color map 2017-04-11 22:48:02 +03:00
Konstantinos Sideris
68d0696ca4 Decrease button's animation duration 2017-04-11 18:54:24 +03:00
Konstantinos Sideris
193490bd9e Remove halo animation 2017-04-11 18:45:01 +03:00
Konstantinos Sideris
40722b7af7 Remove capitalization 2017-04-11 18:25:39 +03:00
Konstantinos Sideris
6468faa39e Use only a MatrixClient as a shared pointer 2017-04-11 17:45:47 +03:00
Konstantinos Sideris
0770f6e6b5 Make the timer single shot 2017-04-11 02:35:09 +03:00
Konstantinos Sideris
792011c1c9 Allow message text selection 2017-04-10 19:08:27 +03:00
Konstantinos Sideris
1c9e92b8bd Handle room avatars in top bar without an icon 2017-04-10 19:01:09 +03:00
Konstantinos Sideris
a859145983 Hide horizontal scroll bar on history view 2017-04-10 18:49:24 +03:00
Konstantinos Sideris
ee72d8b7b7 Use QString::simplified instead of regex 2017-04-10 18:17:41 +03:00
Konstantinos Sideris
0f3cffcfd9 Use Matrix ID for login 2017-04-10 01:47:15 +03:00
Konstantinos Sideris
87ecb28558 Sanitize room info for display 2017-04-10 01:34:53 +03:00
Konstantinos Sideris
b301a2828e Remove exception specifications 2017-04-09 18:09:09 +03:00
Konstantinos Sideris
3d3f2ec33e Add travis CI 2017-04-09 03:54:39 +03:00
Konstantinos Sideris
407afcd2f2 Clear text fields after login 2017-04-09 02:32:48 +03:00
Konstantinos Sideris
239780557f Add logout button
Logout from the current session and invalidate the current token
2017-04-09 02:17:04 +03:00
Konstantinos Sideris
f50fb34fb6 Implement initial registration stage 2017-04-08 02:53:23 +03:00
Konstantinos Sideris
c7c3ee19ee Use QLabel to display registration errors 2017-04-07 19:25:06 +03:00
Konstantinos Sideris
73e73f46ea Use const refs for the deserialized data 2017-04-06 19:56:33 +03:00
Konstantinos Sideris
5bcaaa3aa3 Initialize sync timer 2017-04-06 15:17:58 +03:00
Konstantinos Sideris
4f45575c79 Initial commit 2017-04-06 02:06:42 +03:00