Commit Graph

230 Commits

Author SHA1 Message Date
Carl Schwan
a3e1e1d0a4 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.

Fix #234
2021-01-11 02:19:55 +01:00
Yaroslav Sidlovsky
ed26e87c96 Display table borders 2021-01-09 15:02:24 +01:00
Carl Schwan
f4784bb0a1 Allow opening window in a secondary window 2021-01-09 13:32:16 +00:00
Yuri Chornoivan
a82b9dc14e Fix minor typos 2021-01-09 09:19:11 +02:00
Carl Schwan
2cb38ad1ea Add filter search field in room drawer
Fix #195
2021-01-09 01:02:19 +01: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
de23eef519 Fix PgUp/PgDn keys in message view switch rooms
Now use Ctr+PgUp/PgDn keys instead

Fix #213
2021-01-09 00:15:02 +01:00
Carl Schwan
cd1bec9977 Introduce the ActionsHandler 2021-01-08 23:12:09 +00:00
Nate Graham
af7003e680 Disable "Send message" button when there's no message to send 2021-01-08 14:42:21 -07:00
Nate Graham
cb57a1ec06 Fix case of anchors being set on an item in a Layout 2021-01-08 14:09:04 -07:00
Noah Davis
338553de16 [ChatTextInput] Fix isImage (no such property) and rgba (Should be Qt.rgba) 2021-01-04 13:58:34 -05:00
Noah Davis
9a17c07fdd [ChatTextInput] support more image formats and use icons for non-image attached files 2021-01-04 13:58:34 -05:00
Carl Schwan
c60ee602e2 Add maximum width to room heading in sidebar 2020-12-30 14:18:33 +00: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
5a831732c5 Fix Platform is undefined bug 2020-12-29 01:43:23 +01:00
Carl Schwan
a929f7bca3 Move Header Collapse Button to the Right
Fix #191
2020-12-28 10:53:08 +01:00
Carl Schwan
c69d3587ba Allow editing text and also hide edits from the timeline 2020-12-28 09:37:17 +00:00
Shantanu Tushar
9d82ebb0ed Use the I-beam cursor when hovering on chat message text field 2020-12-28 10:25:17 +01:00
Tobias Fella
724f10a895 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
2020-12-28 01:28:13 +01:00
Eamonn Rea
066ab1e6c6 Fix cursorShape not updating for messages 2020-12-27 23:51:06 +00:00
Tobias Fella
8aec6b67cb Fix image saving 2020-12-24 13:29:35 +01:00
Tobias Fella
1a28e52d79 Set a default name when saving files
Fixes #173
2020-12-24 01:54:19 +01:00
Carl Schwan
b4e528b047 Remove old code 2020-12-23 23:11:23 +00:00
Carl Schwan
59f9c36854 Dismiss reply when clicking on Esc
Fix #175
2020-12-23 18:01:09 +01:00
Devin Lin
8f348eb4fd Cap height of send message box, and make it scrollable 2020-12-23 09:07:37 +00:00
Devin Lin
93f35faf95 Fix room header text alignment and add support for two line room descriptions 2020-12-23 08:53:09 +00:00
Devin Lin
87a7a34d80 Show feedback on avatar hover 2020-12-23 08:51:07 +00:00
Carl Schwan
dbc82b113b Fix not eliding text in USerDetailDialog
Fix: #169
2020-12-22 15:23:12 +01:00
Tobias Fella
b3899f1e69 Port away from implicitly defined onFoo properties in Connections 2020-12-21 16:37:22 +01:00
Carl Schwan
6482f08eba Switch back to plain text editing
See https://bugreports.qt.io/browse/QTBUG-89630
2020-12-21 10:23:14 +01:00
Carl Schwan
f61eff2937 Use TextArea instead of simple field for room topic 2020-12-20 20:25:53 +01:00
Tobias Fella
449adf993c Allow opening links in the MessageDelegateContextMenu
Fixes #167
2020-12-20 18:05:05 +01:00
Carl Schwan
3fcb40f9dd Fix invite page closing the wrong page
This fix #150
2020-12-19 11:47:05 +01:00
Carl Schwan
bd41dcc986 Don't recreate RoomPage each time and add a small loading indicator 2020-12-17 08:59:11 +00:00
Carl Schwan
2b84c5dd02 Improve autocompletion 2020-12-17 08:57:50 +00:00
Mathew Broady
79dab63993 Remove forgotten NeoChat.Effect imports
Fixes the "Start Chat" and "Explore Rooms" pages
2020-12-17 17:20:29 +11:00
Tobias Fella
8e2cdc8f08 Implement a device management page 2020-12-16 23:37:49 +00:00
Tobias Fella
d6e56174b5 Merge branch '1.0' 2020-12-17 00:35:34 +01:00
Tobias Fella
d7765f0f0a Fix file saving 2020-12-16 23:12:43 +00:00
Carl Schwan
5d80fdfcb6 Make the RightClick button works correctly 2020-12-16 16:28:42 +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