Commit graph

2950 commits

Author SHA1 Message Date
Nep Nep
7dbad2c648
Merge branch 'Nheko-Reborn:master' into ignore-command 2023-12-17 21:35:01 -03:00
NepNep21
bfdf87a92d
Multiple changes
More consistent language with similar description strings
Add manpage entry
Add /unignore
Add ignore & decline button in the invite page
Add invite rejection to all ignore methods
2023-12-17 20:17:43 -03:00
q234rty
d372158dde
Trigger less QEvent::ApplicationPaletteChange
The event seems to be very expensive on certain platform theme plugins.

Fixes #1639
2023-12-17 01:33:08 +08:00
FallenValkyrie
e8b9d92e8e
Factor out the logic to delete an ImagePack 2023-12-16 15:48:06 +01:00
Nicolas Werner
c67f301f8b
Work around clazy claiming we connect a lambda 2023-12-13 17:20:34 +01:00
Nicolas Werner
d116deedd7
Allow clicking notifications on Windows 2023-12-12 23:53:32 +01:00
NepNep21
4695bbb340
Add /ignore 2023-12-11 22:29:36 -03:00
Nicolas Werner
4142703990
Try to make windows notifications prettier 2023-12-11 03:11:58 +01:00
Nicolas Werner
b4afeada58
Fix urls in widgets being double encoded
See https://bugreports.qt.io/browse/QTBUG-110446
2023-12-04 20:32:29 +01:00
Loren Burkholder
5bd53e9479
Fix profile argument parsing bug 2023-11-29 20:18:17 -05:00
Nicolas Werner
242f61c8a3
Fix state event rendering for join rules and emojis 2023-11-28 16:12:36 +01:00
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