Commit Graph

100 Commits

Author SHA1 Message Date
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
Carl Schwan
48521d8c8e Don't hijack drag event on mobile in timeline
This fix #78
2020-11-26 15:41:40 +01:00
Carl Schwan
d6ab6bacdd Use RichText text input to provide real mentions
This use internally now a QTextDocument and a new C++ class to
manipulate the document with QTextCursor.
2020-11-26 14:25:30 +00:00
Carl Schwan
e838f7423d Add highlight effect on mentioned messages 2020-11-26 10:20:55 +00:00
Nate Graham
5f932fb112 Correct typo in signal name (choosen -> chosen) 2020-11-24 15:43:43 -07:00
Carl Schwan
f4da552674 Force the focus on the text field after adding an emoji
Fix #71
2020-11-24 23:40:02 +01:00
Carl Schwan
8da4ff1585 Improve autocompletion of Emojis
Now it start automatically for emojis, and also the first time you use
tab you jump to the first selected emoji or face.
2020-11-24 17:54:15 +01:00
Carl Schwan
c93b724746 Fix emoji picker 2020-11-24 15:35:14 +01:00