Nicolas Werner
11fa4821aa
Support rendering policy rules
2022-07-09 15:36:28 +02:00
Nicolas Werner
a6b2be112b
More image dialog fixes
2022-05-10 03:20:09 +02:00
Nicolas Werner
c21711830f
Fix pinned messages getting clipped
2022-04-24 16:37:35 +02:00
Nicolas Werner
3b2f47c56f
Show changes in image packs in timeline
2022-04-19 22:33:53 +02:00
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
Nicolas Werner
61d2d1c665
Support exif rotation on received videos
...
fixes #674
2021-11-15 03:36:30 +01:00
Nicolas Werner
c6ae336c30
Reenable still image viewer for WebP until we qmlify the image viewer
2021-11-14 22:18:25 +01:00
Nicolas Werner
1ab4d35579
Merge branch 'video_player_enhancements' into 'master'
...
Video player enhancements
See merge request nheko-reborn/nheko!15
2021-11-12 00:19:25 +00:00
Nicolas Werner
b7b4fd0e9b
Format qml
2021-11-11 21:32:38 +01:00
Nicolas Werner
771f3ea316
Make pill text color match the separator color
2021-11-11 21:15:33 +01:00
Nicolas Werner
435047b1ba
Make it possible to unhide the controls on mobile
2021-11-11 19:56:51 +01:00
Nicolas Werner
ffc60180de
Cleanup positioning of player elements
2021-11-11 19:23:52 +01:00
Joseph Donofry
c5e8b2da15
More refactoring and layout updates
2021-11-11 00:16:25 -05:00
Joseph Donofry
e3eb87cc21
More player fixes
2021-11-09 23:52:59 -05:00
Joseph Donofry
df17e4e28b
Fix audio player and use same controls for video and audio
2021-11-09 22:33:16 -05:00
Joseph Donofry
c1c9c71b08
Move rest of controls to separate file
2021-11-09 22:17:00 -05:00
Joseph Donofry
f6fcae124f
Initial Refactoring into separate controls
2021-11-09 19:28:53 -05:00
Joseph Donofry
42b74509ea
Incorporate nico's suggestions, fix volume slider
2021-11-08 22:55:16 -05:00
Joseph Donofry
13a5194c08
Minor fixes for undefined qml behavior
2021-11-08 19:18:11 -05:00
Joseph Donofry
c93a7b2435
Merge remote-tracking branch 'nheko-im/master' into video_player_enhancements
2021-11-08 18:32:19 -05:00
Nicolas Werner
5ca1fb18bb
Move away from using an event loop to access secrets
...
Fixes messages in room flickering and being stuck
fixes #760
relates to #770
relates to #789
2021-11-07 03:52:57 +01:00
Joseph Donofry
743a83c8e6
Update video_player_enhancements with changes from master
2021-11-03 21:43:11 -04:00
Nicolas Werner
ad1e6c8298
Support bootstrapping crosssigning
...
Showing the bootstrap state and showing there are unverified devices is
still missing.
2021-10-09 05:01:53 +02:00
Nicolas Werner
30aedd36a1
Reenable reuseItems for the message view
...
If this is still broken, we will need to disable it again.
2021-09-15 23:19:12 +02:00
tastytea
c122915c28
Decrease left margins on blockquotes to 1em.
...
It is intentionally impossible to add borders to blockquotes via CSS:
<https://bugreports.qt.io/browse/QTBUG-23244 >.
Bug: https://github.com/Nheko-Reborn/nheko/issues/704
2021-09-04 17:45:22 +02:00
DeepBlueV7.X
5d6c26c8c7
Merge pull request #696 from resolritter/reply
...
Right-click tap handler for replies
2021-09-03 09:43:13 +00:00
resolritter
3f8bb19ba1
right-click tap handler for replies
2021-08-31 16:45:44 -03:00
Nicolas Werner
15bf643347
Add option to only play animated images on hover
2021-08-29 16:32:28 +02:00
Nicolas Werner
ef068ac2b3
Support animated images
...
fixes #461
2021-08-29 16:32:28 +02:00
Nicolas Werner
09c041c8ac
Use in memory media player instead of storing unencrypted files on disk
2021-08-29 16:32:22 +02:00
Nicolas Werner
327a889ad5
Simplify message delegate size calculation a bit
2021-08-21 03:13:02 +02:00
Nicolas Werner
5b460861b1
Allow accepting knocks in the timeline
...
As well as selecting more join rules.
2021-08-17 23:31:25 +02:00
Joseph Donofry
c91e771d53
Merge origin/master and fix conflicts
2021-08-10 19:29:58 -04:00
Nicolas Werner
72bbad7485
Show encryption errors in qml and add request keys button
2021-08-07 22:51:09 +02:00
Nicolas Werner
87e81498b7
Fix window placement on wayland and add close buttons
...
We explicitly set a parent. We can't assign to
ApplicationWindow.transientParent though, only to
Window.transientParent, so we just call setTransientParent in C++.
2021-08-04 02:27:50 +02:00
Nicolas Werner
d955444dc1
Port to explicit connect syntax
...
Also fix a lot of warnings.
2021-07-27 22:35:38 +02:00
Loren Burkholder
81a3faee7b
Finish converting function to property
2021-07-20 21:47:54 -04:00
Nicolas Werner
88ed0fade7
Explicitly reload data in delegates, if related events got loaded
2021-07-20 14:09:19 +02:00
Joseph Donofry
42bef68acc
Import and update lurkki's branch
2021-07-19 14:11:03 -04:00
Nicolas Werner
f704e381c3
Fix a few missing properties
2021-07-12 01:28:09 +02:00
Nicolas Werner
bd26624ed8
Prepare for reuseItems in timeline
...
The actual reuseItems is still blocked on a few upstream bugs.
2021-07-12 00:24:33 +02:00
Nicolas Werner
f6f5d2615a
Make emoji picker follow theme
2021-07-03 22:45:36 +02:00
Nicolas Werner
568ec845da
Fix mouse cursor on reply delegates
2021-06-30 22:54:58 +02:00
BShipman
d3c0392def
add avatar changed event support issue #550
2021-06-19 14:11:58 -05:00
Nicolas Werner
1da3f2e1da
Add ugly borders to tables
2021-06-08 22:21:29 +02:00
Nicolas Werner
298822baea
Move currentRoom/timeline handling to roomlist
2021-05-28 22:14:59 +02:00
Nicolas Werner
e2765212fb
Reimplement room context menus
2021-05-28 17:25:46 +02:00
Nicolas Werner
39a43ad4ab
Reorganize TimelineView to prepare porting the room list
2021-05-14 15:23:40 +02:00
Nicolas Werner
877f4daa1a
Fix missing import for colors
2021-05-13 10:59:30 +02:00
Nicolas Werner
a7f8b23b52
Make palette global in Qml
2021-05-13 08:23:56 +02:00
Nicolas Werner
2d678bdcf6
Allow copying messages via right click
...
fixes #291
2021-04-29 23:38:45 +02:00