Commit Graph

206 Commits

Author SHA1 Message Date
Malte E f66ec626f0 fix tapping messages, fix pressandhold/doubletap on touch 2022-03-28 20:22:58 +02:00
Malte E 13baf77435
Better touch scrolling (#1012) 2022-03-24 00:35:42 +00:00
Nicolas Werner dbd2bebe6c
Show some previews in upload window 2022-03-21 05:05:29 +01:00
Nicolas Werner fd83858715
Add duration and resolution to files 2022-03-21 00:48:27 +01:00
Malte E a42335aed2
elide usernames in timeline (#997)
* Use advanceWidth to get the with of the original text

Co-authored-by: Nicolas Werner <nicolas.werner@hotmail.de>
2022-03-20 04:12:41 +00:00
math 88d86405f8 add option to open video with external program by default 2022-03-19 02:31:43 -03:00
math 74a4e36f90 add option to open image with external program by default 2022-03-19 01:54:02 -03:00
Nicolas Werner 7a11b69f99
Fix images being cropped instead of scaled 2022-03-09 20:15:37 +01:00
Nicolas Werner df6a5aabb6
Fix clicking on images in replies
fixes #881
2022-03-05 03:45:45 +01:00
Malte E 5108955df2
making userName_ an AbstractButton should play nicely with ListView (#961)
* making userName_ an AbstractButton should make it play nicely with the ListView

* make Avatar an AbstractButton

* make userName_ in Reply.qml an AbstractButton

* use alias for avatar background color and fix margin of username in reply
2022-02-24 02:16:39 +00:00
Malte E 1c8a5c645d
Add sender names to state events (#948)
* add sendernames to state events

* Center state events and make them less tiny
2022-02-21 00:39:32 +00:00
Nicolas Werner c0f415238d
Fix images without size not showing (take5) 2022-02-17 00:42:57 +01:00
Malte E 1cc4f76998 fix overlap in NoticeMessage 2022-02-14 21:59:35 +01:00
Malte E 6f3ed5b282 space-saving metadata placement 2022-02-14 21:07:03 +01:00
Nicolas Werner 1df1b5037e
Fix second codeblock not wrapping 2022-02-14 16:47:27 +01:00
Nicolas Werner 297c819bf0
Fix padding in redactions 2022-02-14 15:57:08 +01:00
Malte E ce13ccd677 fix redactions line-wrapping 2022-02-14 14:16:11 +01:00
Malte E 414257bf0e fix bugs found by Nico 2022-02-14 14:03:17 +01:00
Malte E 993b0ae721 fix vertical space for some state events 2022-02-13 13:27:31 +01:00
Malte E 987b9bed6b add small avatars option and tweak colors and spacings 2022-02-13 13:12:51 +01:00
Malte E 894438c6ce place own bubbles on right and remove user info 2022-02-11 23:12:04 +01:00
Malte E d0ac110cb7 Fix layout - no more binding loops (hopefully) 2022-02-11 22:02:30 +01:00
Malte E 0e548b7d39 fixed most of the binding loops 2022-02-09 21:36:04 +01:00
Malte E 5db7ec7f03 Variable width bubbles (still has binding loop) 2022-02-09 17:53:02 +01:00
Malte E e290f9938a
Update resources/qml/delegates/Reply.qml
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2022-02-07 22:04:49 +01:00
Malte E 12d600db97 add translations and actually add changes to TimelineModel 2022-02-07 21:53:37 +01:00
Malte E 384c9c91e3 print state events without bubbles, displaynames or avatars and in a smaller font 2022-02-07 21:00:51 +01:00
Malte E 9d194cc2e6 clean up margin setting 2022-02-05 21:53:21 +01:00
Malte E 3f7c15c7af Add message bubbles 2022-02-04 23:12:30 +01:00
Malte E 3c8c02e802 Revert removal of width and height in TextMessage and implicitWidth in MessageDelegate 2022-02-04 21:20:25 +01:00
Malte E 04b47d6882 prepare code for message bubbles and dynamic message layout 2022-02-03 20:26:20 +01:00
Nicolas Werner 8d52c17f29
Work around images with size 0 in info
fixes #875
2022-01-04 05:19:48 +01:00
Nicolas Werner eee61cd524
Fix download icon size 2022-01-02 23:17:53 +01:00
Nicolas Werner 66520eae19
Port image overlay to qml
Allows you to zoom and pan now.

relates to #647
2022-01-02 21:46:29 +01:00
Nicolas Werner 61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner 750c64f323
Get rid of some useless code 2021-12-31 00:48:55 +01:00
Nicolas Werner b7d6191e24
Fix wrapping in member events 2021-12-31 00:48:55 +01:00
Loren Burkholder 4a7e6d3f48 Fix a few things 2021-12-15 19:10:01 -05:00
Loren Burkholder b25cda6939 Don't get too large of corners 2021-12-13 19:08:54 -05:00
Loren Burkholder 95887c87db Make it obvious that this is a notification and not the actual message 2021-12-13 19:08:54 -05:00
Nicolas Werner a0699f5247
Multiply source size by scale factor
Might be unnecessary, but docs are unclear on that.
2021-12-13 19:09:03 +01:00
Nicolas Werner b4ef2ce60c
Allow clicking links in replies
fixes #529
2021-12-11 23:56:24 +01:00
Nicolas Werner 75b112f0c8
Support pinned messages
fixes #519
2021-12-11 06:10:41 +01:00
Nicolas Werner 2e0d0dad96
Fix escaped html showing up in playable media message labels
fixes #840
2021-12-08 23:37:55 +01:00
Nicolas Werner d409bab838
Limit max memory usage of images 2021-12-08 02:43:08 +01:00
Nicolas Werner a703e6f041
Remove double padding on redactions 2021-11-29 03:10:35 +01:00
Joe Donofry b920f8d7ca Change QML UI for redactions 2021-11-29 00:59:57 +00:00
Nicolas Werner 2324d2de05
Fix colors of sidebar in replies 2021-11-24 04:09:22 +01:00
Nicolas Werner aea7461cba
Fix one more wrong background color 2021-11-22 22:16:55 +01:00
Loren Burkholder f3aeb4b044
Switch icon theme to Fluent icons 2021-11-17 00:37:26 +01:00