Commit graph

178 commits

Author SHA1 Message Date
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
Joseph Donofry
6bb73f84a3
Merge master and fix conflicts 2020-06-09 20:51:36 -04:00
Nicolas Werner
f452bdf2b0 Make settings update immediately in qml and allow limiting timeline width
Limiting improves readability on wide monitors.

The immediate update of the settings is done by just exposing settings
as properties and then setting the settings as a context property.
2020-05-26 22:54:51 +02:00
lkito
d8b89e2ef0 Added an optional feature to show bigger emoji-only messages with 3 or less emoji 2020-05-21 16:31:27 +04:00
Joseph Donofry
6d2789f4d5
Merge master into reactions 2020-05-14 20:53:01 -04:00
Nicolas Werner
004d10bfee Clip replies by default
In the future we should probably add a gradient when clipped...
2020-05-13 01:09:45 +02:00
Joseph Donofry
991fa4ac98
Change redaction color that accidentally got committed 2020-05-07 22:22:41 -04:00
Joseph Donofry
5b9611dcd3
Merge branch 'master' into reactions 2020-05-07 22:21:06 -04:00
Joseph Donofry
cc92161339
Fix redaction color change that accidentally got committed 2020-05-07 22:20:25 -04:00
Joseph Donofry
a1661f7006
merge master into reactions 2020-05-07 20:53:24 -04:00
Nicolas Werner
ca5490074a Fix scroll to replied to message (somewhat) 2020-05-05 23:43:28 +02:00
Lasath Fernando
c5d373e8f1 Address CR comments 2020-04-29 02:14:43 -07:00
Lasath Fernando
5c57de070e Remove commented out code; fix padding for Pill 2020-04-28 01:10:54 -07:00
Lasath Fernando
84c5ff0bcb Fix binding loops for height 2020-04-28 00:38:13 -07:00
Nicolas Werner
6a39b29acc Disable opening images, when they are not loaded 2020-04-21 20:55:28 +02:00
Nicolas Werner
537cc966cc Use Item for transparent rectangles 2020-04-10 08:48:30 +02:00
Nicolas Werner
d68b24188f Size reply background by contents 2020-04-10 08:48:30 +02:00
Nicolas Werner
d2e495532d Make Filemessage background size by content 2020-04-10 08:48:30 +02:00
Nicolas Werner
6794b6472d Add a few missing palette colors 2020-04-08 23:10:00 +02:00
Nicolas Werner
d35cc3dda4 Use palette for qml code for theming
Can't do it for QtWidgets code. We need to fully transition, before we
can fully switch over probably.
2020-03-29 22:11:33 +02:00
Nicolas Werner
a071f55c7b Fix images without size 2020-03-08 14:39:22 +01:00
DeepBlueV7.X
fc2f08a186
Merge pull request #137 from Nheko-Reborn/blurhash
Experimental Blurhash support
2020-03-05 21:07:18 +00:00
Nicolas Werner
b894ce4dcd Make blurhash provider async 2020-03-04 01:56:58 +01:00
Adasauce
ed4bb1a576
Add support for more room events in timeline 2020-03-03 15:06:52 -04:00
Nicolas Werner
0fc98b2692 Experimental blurhash implementation (MXC2448) 2020-03-03 02:34:26 +01:00
Nicolas Werner
b1eff0a37f Improve link theming 2020-02-27 00:34:58 +01:00
Nicolas Werner
4d79f8078e Don't let click on reply steal focus from the replied to elements 2020-02-26 23:43:54 +01:00
Nicolas Werner
6bdc75d073 Reset user colors on theme change (in qml timeline) 2020-02-20 20:51:07 +01:00
Nicolas Werner
284fc8eaa8 Improve styling of emote messages 2020-02-09 01:24:24 +01:00
Nicolas Werner
d330020fdd Improve styling a bit 2020-02-03 19:21:03 +01:00
Nicolas Werner
4951241d23 Simplify reply popup logic 2020-01-28 19:08:16 +01:00
Nicolas Werner
3319e0ec20 Fix resize loop of images in reply popup 2020-01-28 17:08:49 +01:00
Nicolas Werner
e9267ffc76 Show event type string in placeholder 2020-01-23 20:59:17 +01:00
Nicolas Werner
86960e67ec Implement display of membership events 2020-01-23 20:34:04 +01:00
Nicolas Werner
4eb0e11740 Try to match old theme better 2020-01-14 20:44:11 +01:00
Nicolas Werner
4727f1c2bb Fetch missing events for replies 2020-01-11 18:53:32 +01:00
Nicolas Werner
2b3dc3d8b9 Implement fancy reply rendering
This currently assumes the event, that is replied to, is already
fetched. If it isn't, it will render an empty reply. In the future we
should fetch replies before rendering them.
2020-01-11 14:07:51 +01:00
Nicolas Werner
01bd9f659d Adapt play buttons to theme and remove accidental message bg 2020-01-06 18:29:08 +01:00
Nicolas Werner
a73ed771fa Make images always fit the timeline 2019-12-13 02:16:12 +01:00