Commit Graph

353 Commits

Author SHA1 Message Date
miruka
0ac4874ddf Sort typing members by display name 2019-07-07 03:53:32 -04:00
miruka
2923d440d0 Fix html filter autolink regex
Two links in the text like "http://foo.org ... http://bar.org"
were seen as a single match.
2019-07-07 03:19:51 -04:00
miruka
472b8fe993 Fix "joined room" event shown as "declined invite" 2019-07-07 02:48:28 -04:00
miruka
a47e6b5c07 When room changes category, affect the Chat too 2019-07-07 02:35:22 -04:00
miruka
be152c3acf Fix getUser binding loops & coro race conditions 2019-07-07 01:37:13 -04:00
miruka
683ee3e1cf Add HUserAvatar and HRoomAvatar components 2019-07-07 00:24:23 -04:00
miruka
064fb6e9a2 Remove now uneeded Chat/utils.js 2019-07-06 23:58:41 -04:00
miruka
1ec660807e Rename Chat "sender" prop to "senderInfo" 2019-07-06 23:46:06 -04:00
miruka
03d9079d63 Show LeftBanner with a generic left text 2019-07-06 23:43:51 -04:00
miruka
3ff0e1bd70 Use nio RoomMemberEvent new attrs 2019-07-06 22:38:56 -04:00
miruka
cf04f8ad2f Display Left rooms, shorter onSyncResponse func 2019-07-06 22:35:42 -04:00
miruka
2ac1d6da17 Remove "readonly"s from Theme for readability 2019-07-06 21:06:18 -04:00
miruka
708488545e Change some property types 2019-07-06 17:59:19 -04:00
miruka
34d68af51f Rename SendBox root id 2019-07-06 17:56:04 -04:00
miruka
1981a0f79a Colored names for typingMembersBar 2019-07-06 17:53:51 -04:00
miruka
d83508742c Replace HStyle singleton by global Theme in Window 2019-07-06 17:50:55 -04:00
miruka
6db870a372 HNumberAnimation component for standard duration 2019-07-06 17:42:04 -04:00
miruka
7b92264ef6 Animate TypingMembersBar 2019-07-06 17:35:51 -04:00
miruka
388967c737 Improve TypingMembersBar 2019-07-06 17:29:45 -04:00
miruka
556749aa35 LimitExceededError → ErrorResponse 2019-07-06 17:29:00 -04:00
miruka
ecd7768c70 Change how our own messages are displayed
Avatar and name won't be shown for our messages
(the avatar is still visible in sendbox), but they will have a different
background color.

Also make bottom UI elements 36px tall, for avatars to match size with
the rest of the UI.
2019-07-05 21:38:32 -04:00
miruka
4c4603691f Working typing users bar 2019-07-05 19:54:16 -04:00
miruka
d28b95f7b7 Fix live_reload.sh qmake CONFIG override 2019-07-05 19:09:08 -04:00
miruka
f09e1491c4 Fix spacing when sidepane is collapsed 2019-07-05 16:55:25 -04:00
miruka
ee4e6470a9 Invite banner (callbacks not implemented yet) 2019-07-05 16:48:30 -04:00
miruka
c95308106b Increase small font size (12 → 13) 2019-07-05 03:27:32 -04:00
miruka
c70c7d555d Load only 25 past events at once until lag solved 2019-07-05 03:18:24 -04:00
miruka
57577ba8b8 Fix arrows and other keys not working in sendbox 2019-07-05 03:16:52 -04:00
miruka
ecba7c47ec Past events loading (with two bugs) 2019-07-05 03:12:27 -04:00
miruka
83694d387b Prevent HRichLabel from stealing any mouse event 2019-07-05 01:54:29 -04:00
miruka
78663df09e Always linkify <img> tags, no matter the src 2019-07-04 23:21:27 -04:00
miruka
dbcfad1c50 Keep local echo delegates at the bottom 2019-07-04 23:12:21 -04:00
miruka
1db406d9af Add LimitExceededError nio callback 2019-07-04 22:49:37 -04:00
miruka
55e14e96bc Ensure msgs are sent in right order, fix echo bug
bug: only one local echo message delegate could be seen because all
echo eventId were the same
2019-07-04 21:37:20 -04:00
miruka
13266303ff Fix room subtitle not passing click events 2019-07-04 19:23:40 -04:00
miruka
5812dcb051 Eliminate room delegate subtitile binding loop 2019-07-04 19:21:07 -04:00
miruka
634796b7d9 Don't put our own profile changes in the timeline 2019-07-04 19:11:22 -04:00
miruka
e97773dc97 Sort rooms lexically 2019-07-04 18:53:10 -04:00
miruka
07438150db Optimize model upsert, ensure right type for roles 2019-07-04 18:41:08 -04:00
miruka
6b83d79f16 stripRoomName: don't return "" if name is just "#" 2019-07-04 17:11:00 -04:00
miruka
22dfd83d32 Rename avatar/nameHue funcs to avatar/nameColor 2019-07-04 16:56:34 -04:00
miruka
fde7f4aee6 Move models to their own files 2019-07-04 16:01:44 -04:00
miruka
990770dd38 Add dev CONFIG option for qmake file
Enables back all the missing warnings, notably JS syntax errors
2019-07-04 15:12:39 -04:00
miruka
c27480d395 timelines lastEventOf func, clickable subtitle <a> 2019-07-04 14:43:09 -04:00
miruka
63645b73a5 RoomDelegate subtitle, take only 1 arg for getUser 2019-07-04 00:28:13 -04:00
miruka
5fa2892fda Move various functions in QML code to new utils.js 2019-07-03 22:31:29 -04:00
miruka
8ac731149d Sending messages and local echo 2019-07-03 21:20:49 -04:00
miruka
1f73f634e8 Strip leading/trailing \n from html filter output 2019-07-03 18:36:03 -04:00
miruka
441c9d0c1d Have different background for events and messages 2019-07-02 23:48:36 -04:00
miruka
c8347647b9 Fix messages and non-messages getting combined 2019-07-02 23:32:39 -04:00