Commit Graph

216 Commits

Author SHA1 Message Date
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
Nicolas Werner 9ab1dc253e
Copy address location
fixes #463
2021-04-29 23:09:13 +02:00
Nicolas Werner 82fa8ab292
Highlight navigated to message 2021-04-29 19:09:16 +02:00
Nicolas Werner 18e96d5c7d
Fix some TapHandler focus issues 2021-04-11 22:24:50 +02:00
Nicolas Werner 28074794e7
Fix undefined warning 2021-04-09 14:12:37 +02:00
Nicolas Werner 6c71802680
Fix download button 2021-04-04 00:15:37 +02:00
Nicolas Werner 583fd9b5ab
Fix double click on video message 2021-03-27 01:18:20 +01:00
targetakhil 02e388e542 fix windows video bug 2021-03-14 23:16:41 +05:30
Nicolas Werner c03f716e8b
Fix conflict between qmlformat and license check 2021-03-07 05:57:56 +01:00
Nicolas Werner bb6ff8cec8
Show mxid on hovering username
fixes #507
2021-03-07 05:53:54 +01:00
DeepBlueV7.X 57a6edadcb
Merge pull request #506 from Nheko-Reborn/timeline-buttons
Use overlay buttons for message actions
2021-03-06 13:47:37 +00:00
Nicolas Werner a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Nicolas Werner 1142fe2663
Use overlay buttons for message actions 2021-03-04 22:59:10 +01:00
Nicolas Werner d43607d01c Fix hover handling in the timeline 2021-02-14 01:28:28 +01:00
Nicolas Werner e2fc676c77 Revert keeping whitespace in html, it breaks lists 2021-02-12 18:22:41 +01:00
Nicolas Werner 6a2e8a6952 Try to avoid QTBUG-89568 2021-02-10 14:38:41 +01:00
Nicolas Werner 97340bed13 Fix font tags showing up in playable media messages 2021-01-23 00:49:28 +01:00
Nicolas Werner bcfa683468 Improve hover stuff, needs HoverHandler for a proper fix 2021-01-18 21:58:38 +01:00
Nicolas Werner 6090d00251 Revert "Update QtQuick versions to match Qt 5.10"
This reverts commit 74e32dd96b.
2021-01-12 15:03:39 +01:00
Joseph Donofry 74e32dd96b
Update QtQuick versions to match Qt 5.10 2021-01-11 22:17:00 -05:00
Nicolas Werner 97688763f6 Background color for code and don't collapse space in timeline 2020-12-14 02:21:58 +01:00
kirillpt 22997439ba change 'redacted' for 'removed' 2020-11-26 11:50:37 +03:00
Nicolas Werner 5df47c4b4a Make reply background a bit less saturated 2020-11-21 01:18:55 +01:00
Mayeul Cantan 2c542c398a Smooth pictures in timeline 2020-10-31 23:41:04 +01:00
Nicolas Werner 3a0e55e97b Qml message input mockup 2020-10-26 21:34:34 +01:00
Nicolas Werner e959443831 Speed up rendering the timeline by a LOT by reducing clipping
Sadly still required for replies, otherwise this would be perfect.
2020-10-22 21:02:39 +02:00
Nicolas Werner b3a7f0b888 Hide room name, if not loaded yet 2020-10-18 22:30:42 +02:00
kamathmanu e1c4f7d516 Make Text element a sibling of the Rectangle to avoid the text from depending on the rectangle's opacity property. Switch to Nheko theme colors 2020-10-15 11:52:49 -04:00
kamathmanu e3c6656613 Avoid hardcoded font size 2020-10-14 18:07:09 -04:00
kamathmanu a0c2a174ea Display filename on mouse hover 2020-10-13 16:24:42 -04:00
Nicolas Werner 1a029112d9 Lint qml with qml-format 2020-10-08 21:11:21 +02:00
Nicolas Werner 4802c34009 Merge remote-tracking branch 'origin/master' into cross-signing 2020-09-24 21:36:43 +02:00
Nicolas Werner 0afe1299e2 Fix emoji escape in file messages
This disables color emojis for now in filenames
2020-09-19 22:55:25 +02:00
Nicolas Werner 75d7c2608a Update translations 2020-09-19 15:32:33 +02:00
Nicolas Werner b05c101021 Fix null errors in qml 2020-09-16 23:49:17 +02:00
CH Chethan Reddy b174bd9380 Merge remote-tracking branch 'upstream/master' into device-verification 2020-08-30 22:27:14 +05:30
Nicolas Werner 7f7108161e Hide CallCandidates again in new store 2020-08-17 23:30:36 +02:00
Nicolas Werner de7ec4d2b3 Merge remote-tracking branch 'origin/master' into new-event-store
Conflicts:
	CMakeLists.txt
	io.github.NhekoReborn.Nheko.json
	src/Cache.cpp
	src/timeline/TimelineModel.cpp
	src/timeline/TimelineModel.h
	src/timeline/TimelineViewManager.cpp
2020-08-17 20:40:33 +02:00
CH Chethan Reddy 1fcd768f88 Adding Room Key Verification Stuff 2020-07-30 22:10:27 +05:30
Nicolas Werner 4862be06be Fix presence indicator 2020-07-30 22:10:27 +05:30
Nicolas Werner cbb4356b19 Fix more non integer heights 2020-07-25 22:10:30 +02:00
Nicolas Werner fdcf91f5eb Fix binding loop and non integer text height 2020-07-25 22:08:02 +02:00
trilene aec24efbe2 Specify call type on timeline 2020-07-24 13:30:12 -04:00
Nicolas Werner 9ae7d0dce3 Readd pagination and fix redactions 2020-07-13 00:08:58 +02:00
trilene 7a206441c8 Support voice calls 2020-07-10 19:19:48 -04:00