Commit Graph

175 Commits

Author SHA1 Message Date
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