Commit graph

2989 commits

Author SHA1 Message Date
Nicolas Werner
eb2c87f060
Unset hidden space when space is left 2023-11-27 22:44:44 +01:00
Nicolas Werner
b16b52b40b
Support activation tokens for notifications 2023-11-20 14:05:03 +01:00
Nicolas Werner
234e05eef3
Support window activation on wayland
This is a bit hacky, because we open a window to actually get a valid
activation token, but...
2023-11-20 13:31:51 +01:00
Nicolas Werner
8ea03e41e0
Switch to KDSingleApplication 2023-11-20 02:56:42 +01:00
Nicolas Werner
6f52686162
Automatically increase database limits when hit 2023-11-19 23:44:19 +01:00
Nicolas Werner
ebbd8f3341
Fix some round images being persisted as not round 2023-11-19 20:26:54 +01:00
Nicolas Werner
ff82452816
Upgrade trust of megolm sessions when receiving RoomKey
Before we only did that, when we basically didn't have the key yet. But
since we usually get sent a RoomKey when a new message is sent after we
sign in, we were discarding, that those messages should usually now be
trusted.
2023-11-19 20:11:21 +01:00
Nicolas Werner
c69f0f95a9
Fix Nheko freezing after stopping a call on Wayland 2023-11-09 23:55:42 +01:00
Nicolas Werner
34ebd2b30e
Fix call only ringing the second time 2023-11-09 21:47:03 +01:00
Nicolas Werner
2f98a4475f
Get rid of useless capture 2023-11-09 21:40:46 +01:00
Nicolas Werner
0e0a93914e
Replace mediafiles
fixes #1590
2023-11-09 21:32:19 +01:00
Nicolas Werner
89df4aa150
Fix active user check 2023-11-05 12:09:29 +01:00
Nicolas Werner
67c69fd861
Make clazy happy 2023-11-02 18:33:15 +01:00
Nicolas Werner
3c7c8d66b4
Use sha256 to encode the database name instead of just hex encoding it 2023-11-02 18:27:58 +01:00
Nicolas Werner
64860357c4
Fix gstreamer element names 2023-11-02 00:38:13 +01:00
Nicolas Werner
457f42c9ca
Fix pending reply sizing 2023-11-01 22:28:58 +01:00
Nicolas Werner
bd1cadb6bb
Spaces are now bold 2023-11-01 21:44:21 +01:00
Nicolas Werner
8b39b65d43
Possibly fix pagination in search 2023-11-01 21:31:08 +01:00
Nicolas Werner
81cf29f924
Possibly fix crash when room is cleared on event delegate 2023-11-01 20:57:39 +01:00
Nicolas Werner
7982c2bd75
Fix trailing whitespace 2023-11-01 20:16:20 +01:00
Nicolas Werner
c2d50d52a4
Remove unused function 2023-11-01 16:39:47 +01:00
Nicolas Werner
aeda42111b
Throttle sync processing if the window is unfocused for a while 2023-11-01 16:15:46 +01:00
Nicolas Werner
7823aceb58
Save profile when explicitly specified
Not just when any setting is modified...

fixes #1563
2023-11-01 06:20:44 +01:00
Nicolas Werner
092b12361e
Downgrade self verification status logging to debug
fixes #1560
2023-11-01 06:13:24 +01:00
Nicolas Werner
d44f905801
Fix decrypt notification settings persistent under the wrong key
fixes #1561
2023-11-01 06:10:58 +01:00
Nicolas Werner
7824c77234
Cleanup headers a bit more 2023-10-31 18:47:58 +01:00
Nicolas Werner
4357c47ebe
A few more small speedups 2023-10-31 13:04:39 +01:00
Nicolas Werner
a524524a80
Try to fix notification in packaged app 2023-10-31 13:04:39 +01:00
Nicolas Werner
99a3e8bcf2
Speed up compilation a bit 2023-10-31 13:04:39 +01:00
Nicolas Werner
50bce25838
Fix a few conversions 2023-10-31 13:04:38 +01:00
Nicolas Werner
7c21c41638
fix room name calculation with 3 members
fixes #1598
2023-10-28 13:47:58 +02:00
DeepBlueV7.X
1512810303
Merge pull request #1539 from Nheko-Reborn/issue1410
Add report message functionality
2023-10-26 09:57:47 +02:00
Loren Burkholder
bb971b0575
Add report message functionality 2023-10-25 22:24:40 -04:00
Nicolas Werner
634a247b4c
Fix macos not supporting emplace of aggregates yet 2023-10-26 01:42:01 +02:00
DeepBlueV7.X
a583de297c
Merge pull request #1541 from NepNep21/ignore-users
Support (un)ignoring users (#546)
2023-10-25 23:37:10 +00:00
Nicolas Werner
805282e43a
Add missing include 2023-10-26 00:52:14 +02:00
Nicolas Werner
bbfbba30b0
Allow setting presence state again 2023-10-25 23:22:39 +02:00
Nicolas Werner
51976cf367
Fix linting 2023-10-25 19:41:53 +02:00
Nicolas Werner
465a67bfaf
Properly close cursors before commit and db deletion 2023-10-25 17:41:40 +02:00
mips64-el
caba669e88 Fix double free on commit database migration 2023-10-25 01:30:50 +02:00
NepNep21
0b28e7934d
Move dialog to settings page and add avatar image to delegate 2023-10-24 19:46:04 -03:00
Nicolas Werner
a0a49b6c2a
Cleanup ignore user functionality slightly 2023-10-24 01:12:01 +02:00
Nicolas Werner
fce026725e
Merge branch 'ignore-users' of github.com:NepNep21/nheko into ignore-users 2023-10-23 23:58:53 +02:00
Nicolas Werner
d45dc6c77b
Migrate olm sessions to be stored in one database instead of thousands 2023-10-23 01:40:10 +02:00
Nicolas Werner
724e38e673
hr tags are self closing 2023-10-22 01:02:29 +02:00
Nicolas Werner
3ae5838230
Add a way to compact the database
Can also be used to fix some corruption.
2023-10-21 19:48:32 +02:00
Nicolas Werner
071578923d
Possibly fix a crash in the EventDelegateChooser 2023-10-20 19:40:53 +02:00
Nicolas Werner
78fac7dced
Small qml fixes 2023-10-18 22:43:45 +02:00
Nicolas Werner
fab7805610
Relayout when event delegates change implicit size 2023-10-18 21:37:24 +02:00
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