Commit graph

2940 commits

Author SHA1 Message Date
Nicolas Werner
45ecb71444
Qt6.6 compatibility 2023-10-13 23:29:32 +02:00
Nicolas Werner
f8041d176a
Remove old messages only when the db is full or on startup
Adds about 40ms of startup delay here, which I think is okay.
2023-10-11 21:07:42 +02:00
Sateallia
13a540646f
Focus to the message input bar after dragging and dropping a file 2023-10-11 20:59:46 +02:00
Nicolas Werner
3a0d5788e1
Merge branch 'delegate-rework' 2023-10-10 00:33:39 +02:00
Nicolas Werner
149535efbe
Make effect messages stand out more 2023-10-09 22:50:41 +02:00
Nicolas Werner
b29ce3ca44
cleanups 2023-10-09 22:04:01 +02:00
Nicolas Werner
b03bfa53e4
Fix CPU usage from out of frame animated images 2023-10-09 04:18:16 +02:00
Nicolas Werner
2a687a202a
Fix typing notifications 2023-10-09 00:20:30 +02:00
Nicolas Werner
c4d2ec875d
Fixup reply and state event rendering 2023-10-08 23:52:23 +02:00
Nicolas Werner
6c6370c83f
Switch to manual polishing of event delegates 2023-10-08 20:14:13 +02:00
NepNep21
c4fb9ac145
Fix lint after clazy fix 2023-10-01 22:52:40 -03:00
NepNep21
44cf096111
Lint + clazy 2023-10-01 22:52:40 -03:00
NepNep21
4eaba191de
Use properties 2023-10-01 22:52:40 -03:00
NepNep21
d1ba9fd878
Rebase 2023-10-01 22:52:31 -03: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
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
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
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
797dadd7e9
Merge pull request #1536 from Nheko-Reborn/issue1440
Add explicit default font option
2023-08-22 01:39:06 +00:00
q234rty
871e403f67
Fix build with fmt 10.1.0
I have no idea whether this is a fmt bug, and if this isn't a fmt bug how did this work before, but oh well...
2023-08-17 15:16:26 +08:00
Loren Burkholder
8365cb215b Remove some unnecessary forward declarations and headers 2023-08-11 22:14:27 -04:00
Loren Burkholder
a7de77333f Add explicit default font option 2023-08-11 21:42:55 -04: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
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
Nicolas Werner
b12892feb3
Remove usage of creator 2023-08-09 18:59:48 +02:00
DeepBlueV7.X
b2b8945f22
Merge pull request #1532 from Nheko-Reborn/issue1512
Add mark room as read option
2023-07-28 14:50:13 +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
8a9e6ccf3e Fix some compiler errors 2023-07-23 09:54:17 -04:00
Loren Burkholder
852edb4aff Add mark as read entry to the roomlist right-click menu 2023-07-22 15:08:50 -04:00
Nicolas Werner
d08535efbb
Remove final which breaks type registration 2023-07-16 20:32:19 +02:00
Nicolas Werner
9d16f2e8b4
Fix verification error codes 2023-07-16 19:25:37 +02:00
Loren Burkholder
0634d3f09c QML the fallback auth dialog 2023-07-14 13:16:43 -04:00
Nicolas Werner
4fa2a6e9aa
Fix qml translations 2023-07-13 01:10:55 +02:00
Nicolas Werner
ff007c2b9d
Fix presence not updating in the timeline 2023-07-09 19:36:59 +02:00
Nicolas Werner
21889f00e7
Fix a few more bugs where a limited timeline could cause a hanging pagination 2023-07-09 17:32:44 +02:00
Nicolas Werner
7fc7aa2da3
Fix pagination in rooms with a full batch of redactions 2023-07-09 15:42:38 +02:00
Nicolas Werner
246a6d35f5
Fix mass redaction /command 2023-07-09 15:42:38 +02:00
Sateallia
0cb3a7e4a7
Focus to the message input bar after selecting a file 2023-07-06 20:55:33 +02: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
Nicolas Werner
5f8e80cd84
Fix event expiration not always stopping properly and redacting some wrong state events 2023-07-06 20:13:39 +02:00
Loren Burkholder
d2a37ec983 make lint 2023-07-06 08:35:51 -04:00
Loren Burkholder
fedc178827 Port the reCAPTCHA dialog to QML 2023-07-06 08:35:37 -04:00
Nicolas Werner
6c180a5ca3
Prevent redactions of ACL and Create events, since Synapse prevents redaction of them anyway 2023-07-06 00:24:31 +02:00
Nicolas Werner
146086332b
Fix overflow in event expiration days 2023-07-05 12:53:26 +02:00
Nicolas Werner
d81b14b77b
Fix variable shadowing 2023-07-05 10:24:38 +02:00
Nicolas Werner
ad6e4fef64
Add experimental event expiration
Currently disabled by default.
2023-07-05 00:08:37 +02:00
Nicolas Werner
dcb6c00708
Add some event expiration function 2023-07-04 18:05:09 +02:00
Loren Burkholder
ff4c16c34f Remove unneeded forward declaration 2023-06-29 12:57:59 -04:00
Nicolas Werner
28445bd469
Rework how history settings are represented 2023-06-28 17:07:49 +02:00
Nicolas Werner
e89e65dc17
Fix build against fmt10
fixes #1499
2023-06-28 13:16:10 +02:00
Nicolas Werner
fa653bc078
Allow viewing and changing the history visibility 2023-06-24 01:04:54 +02:00
Nicolas Werner
c6ec4b8ba4
Fix screenshare selection 2023-06-19 21:22:54 +02:00
Nicolas Werner
59a5c9815e
Fix login and registration page registration 2023-06-19 20:59:35 +02:00
Nicolas Werner
0278c9d5fb
Fix UserSettingsModel and Communities singleton instantiation 2023-06-19 20:30:27 +02:00
Nicolas Werner
e0e5912b70
Fix completer size 2023-06-19 20:08:10 +02:00
Nicolas Werner
08d5980d40
Properly register image pack types 2023-06-19 19:55:14 +02:00
Nicolas Werner
e828e012ea
Make theme visible to qml 2023-06-19 01:54:47 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
396f495242
Fix linting 2023-06-10 01:20:10 +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
c7b78ca182
Properly set pack avatar
fixes #1480
2023-06-09 23:22:44 +02:00
Nicolas Werner
f145c2a41a
Fix notification images 2023-06-08 22:32:14 +02:00
Nicolas Werner
8485e7ae81
Workaround palette not set on new windows 2023-06-08 22:32:14 +02:00
Nicolas Werner
838b091acd
Remove MacExtras include 2023-06-08 22:32:13 +02:00
Nicolas Werner
5f20f94e32
Use Badge function on non-dbus systems 2023-06-08 22:32:13 +02:00
Nicolas Werner
4c71f6f23f
Remove QtMac header 2023-06-08 22:32:13 +02:00
Nicolas Werner
7029547647
Link XCB always if X11 support is on 2023-06-08 22:32:12 +02:00
Nicolas Werner
308efd48b6
Fix one more clazy issue 2023-06-08 22:32:12 +02:00
Nicolas Werner
9e983b1584
Remove a few more QPairs 2023-06-08 22:32:12 +02:00
Nicolas Werner
5fed4d21b1
Fix a few more clazy warnings 2023-06-08 22:32:11 +02:00
Nicolas Werner
23d9decbce
Fix a few clazy warnings 2023-06-08 22:32:11 +02:00
Nicolas Werner
46f02bb0c3
Fix qtkeychain include 2023-06-08 22:32:10 +02:00
Nicolas Werner
93a9fca475
Try to fix flatpak build and change appid 2023-06-08 22:32:10 +02:00
Nicolas Werner
19787d664c
Fix QChar range 2023-06-08 22:32:09 +02:00
Nicolas Werner
24f370d6c0
Use multidata in timeline model 2023-06-08 22:32:09 +02:00
Nicolas Werner
e09188c4d0
Remove style sheets 2023-06-08 22:32:09 +02:00
Nicolas Werner
de8522a185
lint 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
b518f6902e
Make Nheko compile on Qt6 2023-06-08 22:32:07 +02:00
Nicolas Werner
76bf255d4b
Don't delete uncached messages after edit
fixes #1469
2023-06-01 21:26:02 +02:00
Nicolas Werner
643fc440fd
Fix linting 2023-05-30 01:32:09 +02:00
Sateallia
627f35f6a5
Remember last used filter
fixes #1432
2023-05-30 01:30:25 +02:00
Nicolas Werner
bd8bf91fdb
Make summary translation plural sensitive 2023-05-29 20:31:57 +02:00
Nicolas Werner
1212e5b317
Copy arguments for notification 2023-05-29 20:15:47 +02:00
Nicolas Werner
0b9bbd3936
Enable sending notifications via the systemNotification signal on macOS 2023-05-29 20:15:43 +02:00
Nicolas Werner
43df8f3501
Fix duplicate notification category identifier 2023-05-29 03:11:58 +02:00
Nicolas Werner
3f4d384220
Merge branch 'dont-send-notifications-on-first-sync' of github.com:LcsTen/nheko into notif-test 2023-05-29 00:42:56 +02:00
Nicolas Werner
f48c696baf
Work around ICE on MSVC
See
https://developercommunity.visualstudio.com/t/Internal-compile-error-while-compiling-c/1227337
for details...
2023-05-27 02:16:31 +02:00
Nicolas Werner
51084748ee
Make default completer complete custom emoji 2023-05-25 21:53:23 +02:00
Nicolas Werner
f01940f57c
Make emoji picker use the grid view 2023-05-25 19:07:13 +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
7fab9a1d73
Prevent new packs from overwriting the default pack by accident 2023-05-20 00:57:51 +02:00
Nicolas Werner
4bf725379a
Fix adding duplicate stickers and strip file extension 2023-05-20 00:57:51 +02:00
Nicolas Werner
ab5f176de0
Use case folding instead of lower case for search 2023-05-20 00:57:51 +02:00
Nicolas Werner
777bf9f9f6
Reimplement search for GridImageModel 2023-05-20 00:57:51 +02:00
Nicolas Werner
3a0f38d7e9
Replace search vector with span 2023-05-20 00:57:51 +02:00
Nicolas Werner
0dfdba4316
Add rows to stickerpicker 2023-05-20 00:57:47 +02:00
Nicolas Werner
0a55c8ee17
Delete unused msg db function 2023-05-06 21:16:54 +02:00
Nicolas Werner
7dd3339477
Sort rooms in completer by 'activity' and make tombstoned rooms italic 2023-05-06 19:30:29 +02:00
Sateallia
b0e4841caf
Allow picking multiple files to upload 2023-04-25 22:44:53 +02:00
Nicolas Werner
6a03615413
Copy image to clipboard
Fixes #599
2023-04-23 20:55:28 +02:00
LcsTen
7e85e9b12b Do not display reply action in the recap notif on Mac 2023-04-14 19:57:35 +02:00
LcsTen
818e205134 Don't send desktop notifications if there are too many of them at once 2023-04-14 19:57:33 +02:00
Nicolas Werner
559c5d6872
Setting case insensitive sort is not necessary 2023-04-14 19:26:50 +02:00
Nicolas Werner
1af83bb4cc
Optimize alphabetical sorting a bit
fixes #1272
2023-04-14 19:21:40 +02:00
Sateallia
4b2bf9680c
Alphabetical ordering option 2023-04-14 18:59:06 +02:00
Nicolas Werner
10b65b78fa
Adapt to the new inherited variant 2023-04-11 01:38:46 +02:00
Loren Burkholder
bdee662bbd
Update mtxclient commit hash 2023-04-11 01:01:22 +02:00
Loren Burkholder
138b0a6b86
Use the new mtxclient special effects refactoring 2023-04-11 01:01:21 +02:00
Loren Burkholder
e026242a62 Don't bother with rainbow rain 2023-04-08 18:59:17 -04:00
Loren Burkholder
b95388a5b9 Don't allow rainbowifying custom messages 2023-04-08 18:59:17 -04:00
Loren Burkholder
0c1cd7a359 Fix command name 2023-04-08 18:59:17 -04:00
Loren Burkholder
44d4e6f9b5 Allow sending custom msgtypes 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
1a97a36dd2
Try to reset unread marker if we fail to set it on the server 2023-04-05 01:49:11 +02:00
Nicolas Werner
d7af10f06d
Fix switching between thread showing stale messages in some circumstances 2023-04-04 20:25:41 +02:00
Nicolas Werner
e21100cf17
Get rid of an edge case, that can break pagination 2023-04-04 19:40:37 +02:00
Nicolas Werner
5557b949e1
Allow querying your status message over dbus
Contributed by a Nheko user starting with S.
2023-03-31 01:59:56 +02:00
Nicolas Werner
164de9c21c
Allow for # in fragments because some clients send matrix.to links like that 2023-03-31 01:29:18 +02:00
DeepBlueV7.X
5de730830a
Merge pull request #1411 from dtelsing/screenshare-xdg-desktop-portal
Support screen sharing with xdg-desktop-portal
2023-03-30 23:07:39 +00:00
Ryan Schmidt
7018d05f4d
Fix build on case-sensitive filesystems 2023-03-30 11:53:37 -05:00
David Elsing
90b8542a2e Include missing <optional> header 2023-03-30 17:36:40 +02:00
David Elsing
c8402b156b Change text of the PipeWire streenshare method 2023-03-30 17:36:40 +02:00
David Elsing
c3081ece40 Cleanup Qt D-Bus connections and watchers 2023-03-30 17:36:40 +02:00
David Elsing
7f98cd0133 Use mtx::client::utils::random_token for XDP session tokens 2023-03-30 17:36:40 +02:00
David Elsing
2aadc7c2c4 Improve choosing screen share type 2023-03-30 17:36:40 +02:00
David Elsing
562a71a5f3 Add missing license headers 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
Nicolas Werner
c543b2d4fa
Improve state event redaction 2023-03-26 23:37:28 +02:00
Nicolas Werner
d7c10ae904
Fix explicit optional construction on gcc13 2023-03-24 19:49:10 +01:00
Nicolas Werner
3f27a45ef2
Fix encrypted thumbnails 2023-03-22 21:01:40 +01:00
Nicolas Werner
7d5c0b7822
All around me are empty spaces 2023-03-20 21:26:49 +01:00
Nicolas Werner
807bbd8f40
Optimize event accessors a bit 2023-03-20 02:28:13 +01:00
Nicolas Werner
eb1a900ed2
Reduce db writes a bit 2023-03-19 20:29:10 +01:00
Nicolas Werner
fafb9cc4a6
Don't try to load emotes from space parents we are not in 2023-03-19 14:04:13 +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
Nicolas Werner
234ac79acc
Update spaces events automatically in the background 2023-03-14 18:16:08 +01:00
Nicolas Werner
9891b6bffe
Speed up writes of events with statekeys to state db 2023-03-14 18:16:08 +01:00