Commit Graph

106 Commits

Author SHA1 Message Date
Carl Schwan
3d251b9b25 Fix date being show too often 2021-05-27 18:17:26 +02:00
Tobias Fella
4dea02197c Fix multiple headers for the same sections 2021-05-25 12:31:42 +00:00
Carl Schwan
7bdfdc0eec Minor optimization 2021-05-23 18:28:39 +02:00
Carl Schwan
bae7813f68 Fix loading events when scrolling or opening a room for the first time
Fix #362
2021-05-23 18:27:01 +02:00
Tobias Fella
135b2e49fa Don't hide redacted events 2021-05-22 14:16:32 +02:00
Tobias Fella
011f649cbf Revert "Fix showing multiple deleted messages from the same author"
This reverts commit b48c9bdadc.
2021-05-22 14:14:58 +02:00
Tobias Fella
b48c9bdadc Fix showing multiple deleted messages from the same author 2021-05-22 00:14:18 +02:00
Carl Schwan
b5edfc909e Treat read markers as item in the model 2021-05-21 17:46:34 +00:00
Carl Schwan
a24df37d74 Show images from replied-message in replies
Fix #350
2021-05-20 19:45:22 +02:00
Tobias Fella
a117eaa12b Improve License header style 2021-04-18 17:47:22 +02:00
Tobias Fella
ff8c3eb282 Remove debug output
Trying to find an inexistent event can happen when the event is not loaded yet,
so we should not spam the console when it happens
2021-04-08 12:49:35 +02:00
Srevin Saju
78f7f815ca feat: add a quick reply workflow using the Ctrl+Up arrow key
neochat now supports a quick reply shortcut, which helps to reply to
the last event in a room.
2021-04-05 12:17:51 +00:00
Tobias Fella
e4ab2e565f Apply clang-format 2021-04-04 22:43:17 +02:00
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