Commit Graph

107 Commits

Author SHA1 Message Date
Yuri Chornoivan
a82b9dc14e Fix minor typos 2021-01-09 09:19:11 +02: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
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
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
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
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
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
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
87a7a34d80 Show feedback on avatar hover 2020-12-23 08:51:07 +00: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
2b84c5dd02 Improve autocompletion 2020-12-17 08:57:50 +00:00
Tobias Fella
d7765f0f0a Fix file saving 2020-12-16 23:12:43 +00:00
Tobias Fella
24fac27a7f Get rid of Neochat.Effect 2020-12-15 17:57:55 +01:00
Carl Schwan
12164b91ed Add new line and not <br /> 2020-12-09 21:16:21 +00:00
Carl Schwan
87833a8458 Add an image editor 2020-12-07 09:58:03 +00: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
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
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
bc4cde2dc7 Improve image delegate sizing 2020-12-03 13:42:21 +01:00
Carl Schwan
eba2b18ba9 Redesign information pannel
Based on a design of manueljlin
2020-12-03 12:25:18 +01:00
Carl Schwan
8a3659efba Add option to toggle the display of users avatar in timeline on and off 2020-12-02 18:25:29 +01:00
Carl Schwan
8b18072a58 Fix big text in reply with emoji
Fix #104
2020-12-01 19:27:17 +01:00
Carl Schwan
ae35846035 Show read marker
Fix #2
2020-12-01 16:35:51 +01:00
Carl Schwan
a0b0b44f8d Add rich text formating to replies too 2020-11-30 23:50:39 +01:00
Carl Schwan
db177354d0 Mark room as read after sending message 2020-11-29 10:29:24 +01:00
Carl Schwan
97cba6a17a Remove transparency in FullScreen image viewer
Also simplify closing the window by just clicking on the background

This fix #89
2020-11-28 10:04:38 +01:00
Carl Schwan
362c8b4e63 Fix text input 2020-11-28 00:49:07 +01:00
Carl Schwan
4bff186a40 Import keyboard navigation
* Aggressively set focus to message input box and fix #37
* Improve room switching #66
2020-11-28 00:25:40 +01:00
Carl Schwan
77177e9efc Change behavior of autocompletion when empty results 2020-11-27 16:35:42 +01:00
Carl Schwan
550cef52d0 Use more adapted delegate for showing emote (/me)
Now use a standard MessageDelegate and don't display the title part.
This now make the reply and reaction button available and also make it
possible to see the reactions.

Fix: #69
Fix: #75
2020-11-27 15:29:11 +01:00
Carl Schwan
b0bbd3631f Add Start a chat page 2020-11-27 14:37:29 +01:00
Carl Schwan
da9f08eae4 Remove obsolete QML components 2020-11-27 14:37:29 +01:00
Carl Schwan
7140734576 Improve reaction delegate style 2020-11-27 12:42:06 +01:00
Carl Schwan
139d9e93e0 Fix regression with Enter+Shif in ChatTextInput 2020-11-27 00:45:13 +01:00