Commit graph

2933 commits

Author SHA1 Message Date
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