Commit graph

1445 commits

Author SHA1 Message Date
NepNep21
4eaba191de
Use properties 2023-10-01 22:52:40 -03:00
NepNep21
6a6384babe
Move comments to proper reviews 2023-10-01 22:52:40 -03:00
NepNep21
563bb0a651
UI improvements 2023-10-01 22:52:39 -03:00
NepNep21
d1ba9fd878
Rebase 2023-10-01 22:52:31 -03:00
Loren Burkholder
d049b39ee5
Add missing QML import 2023-10-01 15:49:47 -04:00
DeepBlueV7.X
c3fd4026ab
Merge pull request #1571 from Nheko-Reborn/directory
Add close button and room open button to room directory dialog
2023-10-01 12:58:31 +00:00
DeepBlueV7.X
214e3186ca
Merge pull request #1537 from Nheko-Reborn/issue1426
Allow configuring global hidden event settings
2023-10-01 12:57:53 +00:00
DeepBlueV7.X
e9104f8c69
Merge pull request #1534 from Nheko-Reborn/issue1494
Use @user:example.com for all sample mxids
2023-10-01 12:57:03 +00:00
Loren Burkholder
879ef31fcf
Qt 6.4 properly supports scrolling text with touch 2023-09-30 10:26:45 -04:00
Loren Burkholder
b6f71a8bc2 Add close button and room open button to room directory dialog 2023-09-29 22:49:45 -04:00
Loren Burkholder
9bd29c9713
Allow configuring global hidden event settings 2023-09-23 22:19:14 -04:00
Loren Burkholder
6b41c77dad
Use @user:example.com for all sample mxids 2023-09-23 21:57:05 -04:00
Nicolas Werner
205a42dade
Reimplement mention highlight and scroll to highlight 2023-09-20 02:38:06 +02:00
Nicolas Werner
184806bf71
Move message styles to their own files and work around hover not propagating to siblings 2023-09-20 02:17:20 +02:00
Nicolas Werner
43c8e64ed3
Fix alignment of file messages and redactions 2023-09-17 23:11:24 +02:00
Nicolas Werner
e96b552959
Fix power level indicator size 2023-09-12 00:43:07 +02:00
Nicolas Werner
0a3aeb0a1a
Fix timeline menus 2023-09-08 01:41:57 +02:00
Nicolas Werner
1744f38e0f
Reenable status part of timeline messages 2023-08-28 02:15:20 +02:00
Nicolas Werner
aff58272c6
Improve image size limiting 2023-08-27 12:38:48 +02:00
Nicolas Werner
9ed0e887bd
Fix reply backgrounds in images 2023-08-26 11:10:41 +02:00
Nicolas Werner
55107ed0ce
Fix some reply layouting loops 2023-08-25 21:03:05 +02:00
Nicolas Werner
b187440e68
Reimplement reply delegate by moving out the timeline event without layout 2023-08-25 20:43:04 +02:00
Nicolas Werner
aef0cb9884
Show reactions again 2023-08-25 19:03:16 +02:00
Nicolas Werner
2360dfd80a
Remaining events apart from verification 2023-08-25 19:03:16 +02:00
Nicolas Werner
718a58d388
Get rid of redundant constructions and make room implicit 2023-08-25 19:03:15 +02:00
Nicolas Werner
466d3cd52c
Port redacted messages 2023-08-25 19:03:15 +02:00
Nicolas Werner
eab8731f5b
Port state events and images 2023-08-25 19:03:15 +02:00
Nicolas Werner
76b40f452b
Working text messages in delegate rework 2023-08-25 19:03:14 +02:00
Nicolas Werner
4d8b8c3b81
Create an EventDelegateChooser 2023-08-25 19:03:10 +02:00
DeepBlueV7.X
70ede75aa5
Merge pull request #1535 from Nheko-Reborn/powerlevelsInTimeline
Show an indicator in the timeline for mods and admins
2023-08-10 08:19:32 +00:00
Nicolas Werner
a6b732caf0
Swap PL indicator location 2023-08-10 10:15:12 +02:00
Nicolas Werner
8924167a72
Merge remote-tracking branch 'origin/powerlevelsInTimeline' 2023-08-10 09:04:29 +02:00
DeepBlueV7.X
ff079f6b6a
Merge pull request #1523 from Nheko-Reborn/qmlFallbackAuth
QML the fallback auth dialog
2023-08-10 07:01:52 +00:00
DeepBlueV7.X
9a64db064a
Merge pull request #1531 from Nheko-Reborn/smootherReactions
Use mipmap on custom reactions
2023-07-28 15:36:46 +00:00
Loren Burkholder
1c867dbbc2 Show an indicator in the timeline for mods and admins 2023-07-23 20:18:30 -04:00
Loren Burkholder
852edb4aff Add mark as read entry to the roomlist right-click menu 2023-07-22 15:08:50 -04:00
Loren Burkholder
59c406637c Use mipmap on custom reactions 2023-07-22 14:08:14 -04:00
Loren Burkholder
0634d3f09c QML the fallback auth dialog 2023-07-14 13:16:43 -04:00
DeepBlueV7.X
d64bb67570
Merge pull request #1518 from Decodetalkers/duplicateid
fix: duplicate id
2023-07-12 16:54:03 +00:00
ShootingStarDragons
478002d33f fix: duplicate id 2023-07-12 09:39:07 +08:00
Loren Burkholder
8f87e5c91c Fix the color on the insufficient powerlevel warning 2023-07-08 16:55:44 -04:00
DeepBlueV7.X
8112922c5f
Merge pull request #1501 from Nheko-Reborn/qmlRecaptcha
QML the reCAPTCHA dialog
2023-07-06 18:53:03 +00:00
Nicolas Werner
1abb52700a
Add an early out cache for event expiration 2023-07-06 20:51:04 +02:00
Loren Burkholder
8c17c4f648 Remove duplicate UIA error display 2023-07-06 08:36:00 -04:00
Loren Burkholder
fedc178827 Port the reCAPTCHA dialog to QML 2023-07-06 08:35:37 -04:00
Nicolas Werner
ad6e4fef64
Add experimental event expiration
Currently disabled by default.
2023-07-05 00:08:37 +02:00
Nicolas Werner
bab5dd9fdb
Disable mipmaps for avatars 2023-07-04 00:42:35 +02:00
Nicolas Werner
28445bd469
Rework how history settings are represented 2023-06-28 17:07:49 +02:00
Nicolas Werner
fa653bc078
Allow viewing and changing the history visibility 2023-06-24 01:04:54 +02:00
Nicolas Werner
15ce0211da
Fix some sizes in layouts 2023-06-19 21:33:10 +02:00
Nicolas Werner
95406b9c22
More linter fixes 2023-06-19 21:24:31 +02:00
Nicolas Werner
c6ec4b8ba4
Fix screenshare selection 2023-06-19 21:22:54 +02:00
Nicolas Werner
efda425b6a
Some qmllint fixes 2023-06-19 20:45:57 +02:00
Nicolas Werner
e0e5912b70
Fix completer size 2023-06-19 20:08:10 +02:00
Nicolas Werner
d6ab75250f
Temporarily revert TextArea change until I find a proper fix for the binding loop 2023-06-19 02:55:19 +02:00
Nicolas Werner
3cd7898a0d
Fix dialog paths 2023-06-19 01:54:32 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
2cb04fd741
Remove explicit link styling 2023-06-18 22:33:24 +02:00
Nicolas Werner
9796c40619
Use TextArea for message text
Allows double click with the middle mouse button to reply and fixed the
theming.

fixes #1462
2023-06-10 02:01:42 +02:00
Nicolas Werner
4af8d7d397
Show some generic message for ACL changes
fixes #1476
2023-06-10 01:09:20 +02:00
Nicolas Werner
0dbc9444c3
Add inviter to the invite reason
fixes #622
2023-06-10 00:54:08 +02:00
Nicolas Werner
2d7c007eb2
Fix binding loop in roomlist 2023-06-09 20:14:41 +02:00
Nicolas Werner
805f0a3032
Fix toggle placement in user settings 2023-06-09 19:38:58 +02:00
Nicolas Werner
16960e2900
Fix scrolling in image dialog 2023-06-09 02:40:50 +02:00
Nicolas Werner
8259891a42
Make settings combobox width dependent on content
fixes #1164
2023-06-08 23:24:32 +02:00
Nicolas Werner
ca0340dd81
Fix communites sidebar color 2023-06-08 22:32:14 +02:00
Nicolas Werner
07731f0a2b
Fix theme in cross-signing setup 2023-06-08 22:32:14 +02:00
Nicolas Werner
04cbbd2837
Replace some binding loops with others 2023-06-08 22:32:14 +02:00
Nicolas Werner
04c9eec8a4
Fix palette in popups 2023-06-08 22:32:14 +02:00
Nicolas Werner
1b216870eb
Fix playable media playback 2023-06-08 22:32:13 +02:00
Nicolas Werner
686cade0ab
Fix some undefined variables in the UploadBox 2023-06-08 22:32:13 +02:00
Nicolas Werner
2c53789d97
Fix member event binding loop 2023-06-08 22:32:13 +02:00
Nicolas Werner
b1c2b384c6
Fix username label eliding loop 2023-06-08 22:32:10 +02:00
Nicolas Werner
d2c616ee67
Fix request for empty image 2023-06-08 22:32:10 +02:00
Nicolas Werner
05ba0c8835
Bump mtxclient dep 2023-06-08 22:32:09 +02:00
Nicolas Werner
8e61596d15
Fix message height 2023-06-08 22:32:09 +02:00
Nicolas Werner
9ce1e205e6
Improve timestamp layouting in room list 2023-06-08 22:32:09 +02:00
Nicolas Werner
5aee8d609a
Format qml 2023-06-08 22:32:08 +02:00
Nicolas Werner
c25d0c6b2f
Get rid of scrollhelper 2023-06-08 22:32:08 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Nicolas Werner
e85a1d4aeb
First runnable qt6 Nheko 2023-06-08 22:32:07 +02:00
Nicolas Werner
1994ea634e
Show custom reactions in reaction history
fixes #1467
2023-05-31 03:59:07 +02:00
Nicolas Werner
a1fed44b50
Add goto button to hover menu when searching
fixes #1457
2023-05-30 14:21:44 +02:00
Sateallia
198e1fc6b9
Right click option to go to event while searching 2023-05-30 13:57:34 +02:00
Nicolas Werner
2f1b3519d3
Render custom reactions 2023-05-27 03:10:02 +02:00
Nicolas Werner
631a5a11b3
Fix emoji unicodename in tooltip 2023-05-25 23:26:39 +02:00
Nicolas Werner
51084748ee
Make default completer complete custom emoji 2023-05-25 21:53:23 +02:00
Nicolas Werner
dd74bdc697
Get rid of old emoji picker 2023-05-25 19:20:25 +02:00
Nicolas Werner
f01940f57c
Make emoji picker use the grid view 2023-05-25 19:07:13 +02:00
Sateallia
5c64dd682c
Workaround a WM bug that switches the focus incorrectly after initiating a search 2023-05-23 22:56:48 +02:00
Nicolas Werner
ccf6a3a669
Allow editing stickers from stickerpicker 2023-05-20 00:57:52 +02:00
Nicolas Werner
62844facf7
Allow scrolling to specific sections and order packs in sticker search by match quality 2023-05-20 00:57:52 +02:00
Nicolas Werner
58cfc39ac4
Fix StickerPicker padding and names of unnamed packs 2023-05-20 00:57:52 +02:00
Nicolas Werner
4bf725379a
Fix adding duplicate stickers and strip file extension 2023-05-20 00:57:51 +02:00
Nicolas Werner
0dfdba4316
Add rows to stickerpicker 2023-05-20 00:57:47 +02:00
Loren Burkholder
8887a07ec2 Type keypresses that focus the input bar 2023-05-12 20:04:35 -04:00
Nicolas Werner
7dd3339477
Sort rooms in completer by 'activity' and make tombstoned rooms italic 2023-05-06 19:30:29 +02:00
Nicolas Werner
6a03615413
Copy image to clipboard
Fixes #599
2023-04-23 20:55:28 +02:00
Loren Burkholder
138b0a6b86
Use the new mtxclient special effects refactoring 2023-04-11 01:01:21 +02:00
Loren Burkholder
5df7a8b2a7 Rain, rain, go away sooner 2023-04-08 18:59:17 -04:00
Loren Burkholder
58b2ae1f06 Don't apply gravity to rain
It makes the rain look wacky.
2023-04-08 18:59:17 -04:00
Loren Burkholder
5f3ecc213f Move effects into a separate file 2023-04-08 18:59:17 -04:00
Loren Burkholder
c751c487da Use particle groups to separate effects 2023-04-08 18:59:17 -04:00
Loren Burkholder
296385e6fe Add rainfall effect
This is a proof-of-concept example of inplementing a msgtype not found
in the spec.
2023-04-08 18:59:17 -04:00
Loren Burkholder
0096226aeb Implement unknown msgtype functionality 2023-04-08 18:59:17 -04:00
Nicolas Werner
7ebf0c0032
Add a more obvious thread indicator 2023-04-04 20:25:09 +02:00
Nicolas Werner
c1c02b4aae
Make the profile buttons a bit bigger 2023-04-04 19:29:08 +02:00
David Elsing
2aadc7c2c4 Improve choosing screen share type 2023-03-30 17:36:40 +02:00
David Elsing
1ba6a4d78d Support screen sharing with xdg-desktop-portal 2023-03-30 17:36:40 +02:00
DeepBlueV7.X
8136659024
Merge pull request #1409 from Nheko-Reborn/uiTweaks
Overhaul switch appearance
2023-03-25 23:56:52 +00:00
Nicolas Werner
ef31f67c32
Delay some delegate removals to reduce CPU spent on recalculating sizes 2023-03-25 23:42:01 +01:00
tastytea
ead02fb654
make name and attribution in image pack settings plain text
Otherwise, <foo> would be swallowed.
2023-03-24 18:19:43 +01:00
Loren Burkholder
3a122782f2 Overhaul switch appearance 2023-03-24 11:51:27 -04:00
0xDEADCADE
541ee8ea94
Add width to PowerLevelEditor, fixes 0/1px wide window on tiling WMs
Same fix as device verification window
2023-03-22 20:35:30 +00:00
0xDEADCADE
ac842845bd
Add width to device verification window
Fixes the device verification window being 0 or 1 pixels wide on some tiling window managers.
2023-03-21 15:02:13 +00:00
Nicolas Werner
e114b1adc7
Fix space-community wording 2023-03-18 15:06:19 +01:00
DeepBlueV7.X
9ad3f3f4fb
Merge pull request #1404 from LcsTen/dont-show-private-rooms-in-space
Don't show inaccessible private rooms in spaces
2023-03-18 14:02:03 +00:00
LcsTen
b3b5b6b374 Check isPreviewFetched property for hints 2023-03-18 13:07:08 +01:00
tastytea
a4d8df7bd0
make scroll-down button (toEndButton) focus message input 2023-03-12 22:46:23 +01:00
LcsTen
f186e56121 Show an appropriate hint if the room is inaccessible 2023-03-11 13:19:04 +01:00
DeepBlueV7.X
7d8ccd4ce8
Merge pull request #1388 from Nheko-Reborn/command
Warn if an invalid command is entered
2023-03-10 00:17:06 +00:00
DeepBlueV7.X
94c34a6e58
Merge pull request #1394 from Nheko-Reborn/uiTweaks
Some small UI changes
2023-03-09 23:06:30 +00:00
Nicolas Werner
d0d33660ba
Cleanup table rendering
fixes #1406
2023-03-09 21:08:18 +01:00
Loren Burkholder
b266185ce8 Handle incomplete commands better 2023-03-07 19:17:26 -05:00
Loren Burkholder
9429e3c000 Scroll farther on PgUp/PgDn 2023-03-02 13:35:14 -05:00
Loren Burkholder
7bb509005c Add leave button to space preview 2023-03-02 10:30:59 -05:00
Loren Burkholder
1e701d411b Don't double-show encryption dialog 2023-03-01 14:39:16 -05:00
Loren Burkholder
3245b119be Make switches respect accent color 2023-03-01 10:49:17 -05:00
Loren Burkholder
24d401365e Always open the invite dialog properly from the member list 2023-02-28 20:40:22 -05:00
Loren Burkholder
f3ab0abadf Change members button color when hovered 2023-02-28 20:40:22 -05:00
Loren Burkholder
eced5c83b4 Elide nicks and userids in read reciepts dialog 2023-02-28 20:40:22 -05:00
Loren Burkholder
0e3453660f Prevent long nicks/userids from breaking roomlist layout
Fixes #1297
2023-02-28 20:40:22 -05:00
Loren Burkholder
a731402816 Use the nheko spinner everywhere 2023-02-28 20:40:22 -05:00
Loren Burkholder
c27407bfab Don't show timeline behind warnings 2023-02-28 20:10:25 -05:00
Loren Burkholder
b4f8d4947f Simplify code a bit 2023-02-28 20:10:25 -05:00
Loren Burkholder
22ac5d861e Move command calculation logic into InputBar 2023-02-28 20:10:25 -05:00
Loren Burkholder
b6ef00b5ee Show warning when invalid command is entered
Fixes #1363

Please note that this doesn't prompt when you try to send a message with a bad command.
2023-02-28 20:10:25 -05:00
Loren Burkholder
9043087c80 Enhance appearance of room ping warning 2023-02-28 20:10:25 -05:00
Nicolas Werner
3c895ecd17
add missing license header 2023-02-24 02:55:56 +01:00
Nicolas Werner
aae3300860
Show rooms you share with someone 2023-02-24 02:40:14 +01:00
DeepBlueV7.X
4372742bc1
Merge pull request #1374 from Nheko-Reborn/private_images
Blur images properly
2023-02-23 18:03:13 +00:00
Loren Burkholder
5abd2df9b4 Fade in images when fully recieved 2023-02-22 20:25:45 -05:00
Marcus Hoffmann
7c08d88990 print errors on failed dialog creation
Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-22 13:14:16 +01:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
1a6728fe47
Fix newlines in status messages 2023-02-21 23:35:52 +01:00
Nicolas Werner
5d7deca0db
Simplify status message in profile a bit 2023-02-21 23:25:49 +01:00
Marcus Hoffmann
7fe62aa4ca UserProfile: add padding to device list
Add the same padding as is applied to long status messages.

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 14:29:14 +01:00
Marcus Hoffmann
4c328193ce UserProfile: fix status message overflowing
Also style the "Status:" prefix bold.
2023-02-21 14:24:25 +01:00
Marcus Hoffmann
7c7a8d2d9a UserProfile: reduce spacing by a bit
Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 12:39:43 +01:00
Marcus Hoffmann
9635b248f8 UserProfile: display status message
Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 12:39:43 +01:00