Commit Graph

474 Commits

Author SHA1 Message Date
Carl Schwan
6b983332af Fix edited message appearing two times in the timeline 2021-01-12 21:55:23 +01:00
Carl Schwan
4e197c3cc8 Fix autocompletion
Now it will save a map from display name to id and use that to generate
clean matrix.to links. This also make sure the colors used for the
preview are correct by using NeoChatUser and fix the bug with the regex
by simply removing the regex.
2021-01-12 21:47:57 +01:00
Carl Schwan
bfd6d2ffe2 Fix the white bar in the room page's header 2021-01-12 17:48:35 +01:00
Carl Schwan
421422edd0 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-12 17:46:15 +01:00
Carl Schwan
0eda9608ec Fix PgUp/PgDn keys in message view switch rooms
Now use Ctr+PgUp/PgDn keys instead

Fix #213
2021-01-12 17:42:48 +01:00
Carl Schwan
e9bb0972a9 Fix Platform is undefined bug 2020-12-29 01:42:19 +01:00
Tobias Fella
893bc79f1e Don't load empty images from imageprovider
Previously, when there was no avatar set, the source property of Avatar was still set to 'image://mxc/',
which caused Avatar to load that from the imageprovider. The imageprovider can't provide an empty image and aborts with error


(cherry picked from commit 724f10a895)
2020-12-28 17:30:16 +00:00
Eamonn Rea
9f9498541a Fix cursorShape not updating for messages
(cherry picked from commit 066ab1e6c6)
2020-12-28 00:58:07 +01:00
Tobias Fella
99438011ca Fix image saving
(cherry picked from commit 8aec6b67cb)
2020-12-24 12:35:54 +00:00
Carl Schwan
c56973763c Dismiss reply when clicking on Esc
Backport of 59f9c36854
2020-12-23 18:02:37 +01:00
Devin Lin
c96109e9b7 Fix room header text alignment and add support for two line room descriptions
(cherry picked from commit 93f35faf95)
2020-12-23 09:06:33 +00:00
Devin Lin
3f01b3badf Show feedback on avatar hover
(cherry picked from commit 87a7a34d80)
2020-12-23 08:51:29 +00:00
Carl Schwan
5991d59ddd Fix not eliding text in USerDetailDialog
Fix: #169
2020-12-22 16:23:49 +01:00
Carl Schwan
de49a26462 Switch back to plain text editing
See https://bugreports.qt.io/browse/QTBUG-89630


(cherry picked from commit 6482f08eba)
2020-12-21 09:25:07 +00:00
Carl Schwan
4924702c15 Use TextArea instead of simple field for room topic
(cherry picked from commit f61eff2937)
2020-12-20 19:27:26 +00:00
Tobias Fella
8060edd1c6 Allow opening links in the MessageDelegateContextMenu
Fixes #167


(cherry picked from commit 449adf993c)
2020-12-20 18:17:46 +00:00
Carl Schwan
2acdf61b16 Don't recreate RoomPage each time and add a small loading indicator
(cherry picked from commit bd41dcc986)
2020-12-17 08:59:36 +00:00
Carl Schwan
defa3d4b77 Improve autocompletion
(cherry picked from commit 2b84c5dd02)
2020-12-17 08:58:30 +00:00
Mathew Broady
be709a2732 Remove forgotten NeoChat.Effect imports
Fixes the "Start Chat" and "Explore Rooms" pages


(cherry picked from commit 79dab63993)
2020-12-17 06:24:29 +00:00
Tobias Fella
d7765f0f0a Fix file saving 2020-12-16 23:12:43 +00:00
Carl Schwan
049a1b3528 Make drawer text selectable
Fix bug #140
2020-12-15 17:57:55 +01:00
Tobias Fella
24fac27a7f Get rid of Neochat.Effect 2020-12-15 17:57:55 +01:00
Tobias Fella
cbad7fbf51 Remove 'configure room' button from roomlist 2020-12-11 22:42:43 +01:00
Tobias Fella
0aeecb8c63 Also update read markers when opening room 2020-12-09 23:44:53 +01:00
Tobias Fella
05955c43de Improve read markers by fixing detection of first and last visible event and updating event markers on new messages
Fixes #60
2020-12-09 23:31:05 +01:00
Devin Lin
d5b21b837d Reduce sidebar clutter by shrinking text sizes and increasing spacing 2020-12-09 21:19:45 +00:00
Carl Schwan
12164b91ed Add new line and not <br /> 2020-12-09 21:16:21 +00:00
Yuri Chornoivan
675e0d5611 Fix comment 2020-12-08 09:24:01 +02:00
Carl Schwan
87833a8458 Add an image editor 2020-12-07 09:58:03 +00:00
Carl Schwan
ccdcf9a354 Fix tapping issue on room list 2020-12-06 19:30:14 +01:00
Carl Schwan
408b9eb057 Use long press on mobile for room list 2020-12-06 17:41:33 +01:00
Carl Schwan
344dbb110d Fix a few issues with icons 2020-12-06 17:37:10 +01:00
Carl Schwan
29584aec23 Allow redaction of message only by admins and authors of the message
Previously you could click on the button but it would do nothing
2020-12-05 11:29:37 +01:00
Carl Schwan
064bc5adbe Allow kicking and banning users 2020-12-05 11:06:27 +01:00
Carl Schwan
aaa0024fd6 Add easy way to switch between accounts
Related to #121
2020-12-05 00:26:37 +01:00
Carl Schwan
7d8e344842 Remember active connection instead of loading first connection
Fix #122
2020-12-04 23:16:21 +01:00
Carl Schwan
7ed41a8f68 Move back to plain text 2020-12-04 21:25:23 +01:00
Carl Schwan
b90a027c99 Use video delegate for videos
There is still two issues:

* Videos send by neochat are broken (missing metadata)
* Once the video has run it is unavailable

Fix #120
2020-12-04 10:37:04 +01:00
Carl Schwan
b24af7c2f0 Fix room list 2020-12-03 22:39:35 +01:00
Carl Schwan
09804511d0 Fix formatting 2020-12-03 22:37:17 +01:00
Carl Schwan
e3e2e4f66e Remove debug output 2020-12-03 22:25:01 +01:00
Carl Schwan
10d84e96b7 clean 2020-12-03 22:19:51 +01:00
Carl Schwan
23ec54ecd0 Allow Ctrl-V pasting of images from the clipboard
Fix #117
2020-12-03 21:43:58 +01:00
Carl Schwan
5ed47e7397 Revert "Port timeline mouseare to tap handler"
This reverts commit d63811471c.
2020-12-03 17:50:27 +01:00
Carl Schwan
735008c74c Fix ReferenceError: Config is not defined 2020-12-03 17:42:24 +01:00
Carl Schwan
d63811471c Port timeline mouseare to tap handler
This fix inconsistency in behavior
2020-12-03 17:38:57 +01:00
Carl Schwan
93cee871ba Fix regression: right click on room list items
Fix: #113
2020-12-03 17:19:36 +01:00
Carl Schwan
837f5dff09 Fix delegate not all having the same height in the room list
Fix: #112
2020-12-03 16:44:42 +01:00
Carl Schwan
5b39cd4ae8 Don't close drawer on wideScreen 2020-12-03 14:40:34 +01:00
Carl Schwan
bc4cde2dc7 Improve image delegate sizing 2020-12-03 13:42:21 +01:00