Commit Graph

143 Commits

Author SHA1 Message Date
Srevin Saju
f007e96fdf feat: add a quick edit workflow using the up arrow key
neochat now supports a quick edit shortcut, which helps to edit
the last message from the user in a room.

Apply 1 suggestion(s) to 1 file(s)

remove comment
2021-04-03 21:31:42 +03:00
Carl Schwan
2f06d45589 Input field fixes
* Message with multiple mentions are not broken in IRC. Fix #267
* Editing a message won't remove mentions anymore


(cherry picked from commit bb3b3bc088)
2021-03-01 13:26:25 +00:00
Alexey Andreyev
3c12eff304 Codestyle: provide const for fancy effects strings
Co-authored-by: Nicolas Fella <nicolas.fella@gmx.de>
2021-02-23 20:49:35 +00:00
Alexey Andreyev
01f8c3b09f Fancy effects: additional check if enabled everywhere 2021-02-23 20:49:35 +00:00
Alexey Andreyev
45c9295d49 Fancy effects: add fancy effects support for messageeventmodel 2021-02-23 20:49:35 +00:00
Tobias Fella
37a681596b Fix include 2021-02-17 23:23:30 +01:00
Carl Schwan
7762f5f5ae Don't load events if not needed 2021-01-14 21:11:05 +00:00
Carl Schwan
1abc28ad7f Make sure we load events when opening a room 2021-01-14 20:53:11 +00:00
Carl Schwan
4be3eac7af Fix avatar loading in multiple places and prefers name instead of
display name for avatar fallback.

This also fixes a bug where users didn't get their avatar loaded in the
room list.

Fix #209
2021-01-09 00:37:13 +01:00
Carl Schwan
4463e3e3f2 Add edited flag to edited messages
Fix #206
2020-12-30 13:17:59 +00:00
Carl Schwan
5c8d916752 Add support for stickers
Fix #130
2020-12-29 14:28:32 +00:00
Carl Schwan
c69d3587ba Allow editing text and also hide edits from the timeline 2020-12-28 09:37:17 +00:00
Tobias Fella
c449a8fafe Apply clang-format 2020-12-25 22:23:35 +01:00
Carl Schwan
80d428ff2c Fix sidebar and autocompletion not listing all members
This was because of lazy loadingn, now force the active room to be fully
loaded.
2020-12-16 22:19:38 +01:00
Carl Schwan
ef56764a97 fix crash 2020-12-02 00:13:39 +01:00
Carl Schwan
136a8f2af8 Clang-tidy + clang-format 2020-11-27 00:26:39 +01:00
Tobias Fella
49881f809d Improve the 'jump to last read message' button
When loading a room, automatically load messages until the last read
message is loaded #35
Don't show the button if the message is not loaded
2020-11-26 23:05:08 +01:00
Carl Schwan
e838f7423d Add highlight effect on mentioned messages 2020-11-26 10:20:55 +00:00
Carl Schwan
b6ad038a54 Add option to disable showing new join and leave events 2020-11-24 10:39:25 +01:00
Carl Schwan
a7e06a6529 Improve sections
Now they are displayed for each day (if there was at least one message
on that day) instead of every few hours
2020-11-22 14:51:25 +00:00
Tobias Fella
e778c18913 Show an info message instead of an empty message for redactions
Fixes #26
2020-11-22 15:36:00 +01:00
Tobias Fella
3a11ff614c Port away from qsTr/tr 2020-11-17 20:52:40 +01:00
Carl Schwan
32ea887de6 Fix undefined error 2020-11-15 22:06:49 +01:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Carl Schwan
122a7cdd2f Rebrand files names Spectral -> NeoChat 2020-11-08 23:17:30 +01:00
Nicolas Fella
a08d017c02 Normalize includes 2020-11-04 20:25:52 +01:00
Carl Schwan
8b3f89cf2e Fix a bunch of clazy warnings 2020-11-03 15:15:16 +00:00
Carl Schwan
ce69506cf6 s/emit/Q_EMIT 2020-11-03 12:03:06 +01:00
Carl Schwan
bea870ad75 Apply Clang Format 2020-11-02 16:11:24 +01:00
Carl Schwan
2532a86e7e Merge branch 'master' into kirigami2 2020-10-03 17:48:27 +02:00
Black
d6009479a5 Fix some deprecation. 2020-07-28 20:33:32 -07:00
Black
cd10a8474a Use controls. 2020-02-12 02:20:29 -08:00
Black
5c4d0a969d First attempt. 2020-02-12 00:37:35 -08:00
Black Hat
a21d0c3eb0 Fix edited messages. 2019-12-28 17:00:39 +08:00
Black Hat
d25a9fb3a4 Working public room directory.
Fix "no known servers".
Rename all QMatrixClient to Quotient.
2019-12-25 19:53:50 +08:00
Black Hat
83957d7ca3 Per-room avatar and displayname. 2019-10-06 23:34:21 -07:00
Black Hat
617855a780 Fix line strike.
Fix code block wrapping.
Fix replyModel being garbage collected.
Reply message in RoomPanelInput is richtext now.
2019-09-29 20:29:59 -07:00
Black Hat
4c2ef78939 Update ci. 2019-08-29 13:29:51 +08:00
Black Hat
8c2d867f18 Display edits. Additional condition check. 2019-08-08 12:11:33 +08:00
Black Hat
4bba355da6 Clean up. 2019-08-05 10:39:44 +08:00
Black Hat
ced82bd666 Modern C++. 2019-08-04 22:36:32 +08:00
Black Hat
7aa95c9289 Hide edit event.
Also libQuotient refuses to compile.
2019-07-31 19:07:35 +08:00
Black Hat
f7da8eebad Reactions are refreshed correctly in the timeline. 2019-07-30 21:29:55 +08:00
Black Hat
cf9a542f74 Highlight reactions sent by local user. 2019-07-21 21:08:37 +08:00
Black Hat
761943f98f Display reactions in MessageDelegate. 2019-07-21 16:11:26 +08:00
Black Hat
992cbaca87 Clean up reply. 2019-07-21 13:01:33 +08:00
Black Hat
18de53f49a Refresh ShowAuthorRole when a pending event is added. 2019-07-12 12:36:35 +08:00
Black Hat
3aefc5aef4 Implement #132. 2019-06-24 21:57:18 +08:00
Black Hat
a76e63063d Fix #108. 2019-05-23 16:44:34 +08:00
Black Hat
cab82d7b8a Add VideoDelegate. 2019-05-11 22:12:58 +08:00