Commit graph

304 commits

Author SHA1 Message Date
Nicolas Werner
d0d95df89d
Fix marking newly created rooms as DM automatically
fixes #1718
2024-06-04 00:37:23 +02:00
Nicolas Werner
aef9617d1e
Make a few headers forward declarations 2024-03-16 11:50:39 +01:00
Nicolas Werner
06927cd3c2
Include moc files for a tiny speedup on incremental builds 2024-03-16 01:34:23 +01:00
Nicolas Werner
7c2a152cfb
Add support for intentional mentions
This is still a bit flaky around when to remove a mention, but it should
work in most cases. Might add a toggle in the future to disable these
though.
2024-03-08 18:45:18 +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
7824c77234
Cleanup headers a bit more 2023-10-31 18:47:58 +01:00
Nicolas Werner
99a3e8bcf2
Speed up compilation a bit 2023-10-31 13:04:39 +01: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
bbfbba30b0
Allow setting presence state again 2023-10-25 23:22:39 +02:00
Nicolas Werner
a0a49b6c2a
Cleanup ignore user functionality slightly 2023-10-24 01:12:01 +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
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
Nicolas Werner
ad6e4fef64
Add experimental event expiration
Currently disabled by default.
2023-07-05 00:08:37 +02:00
Nicolas Werner
b518f6902e
Make Nheko compile on Qt6 2023-06-08 22:32:07 +02:00
Nicolas Werner
bd8bf91fdb
Make summary translation plural sensitive 2023-05-29 20:31:57 +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
10b65b78fa
Adapt to the new inherited variant 2023-04-11 01:38:46 +02:00
Nicolas Werner
234ac79acc
Update spaces events automatically in the background 2023-03-14 18:16:08 +01:00
Klemens Nanni
f13543c272
fix build/clear notifications on exit on OpenBSD
CMake builds ManagerLinux.cpp on `!MAC && !WIN`, that is BSD and Linux.
Fix the Linux-only assumption in the shared header.

Qt's `Q_OS_UNIX` is defined on Linux, BSDs and macOS alike.
2023-02-23 08:11:01 +04: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
a1c4889339
Remove a few more unused symbols 2023-02-19 23:17:21 +01:00
Nicolas Werner
20740c9976
Automatically fetch keys for undecrypted messages after verification
Also fix rerendering edited messages after keys are received.

fixes #1375
fixes #770
fixes #888
2023-02-18 03:08:23 +01:00
Nicolas Werner
0ab566dc4b
lint and avoid copy 2023-02-02 01:26:42 +01:00
DeepBlueV7.X
539db70fd5
Merge pull request #1341 from Decodetalkers/ft_clean_notify
clean all notifications if exit on linux
2023-02-02 01:07:16 +01:00
Nicolas Werner
7734c4735a
Make notifications show the window again
fixes #1329
2023-02-01 18:24:25 +01:00
ShootingStarDragons
0e2cc65548 chore: Adjust about function closeAllNotification
Log: maek closeAllNotification on all platform, move
closeAllNotification action to aboutToQuit
2023-02-01 09:58:46 +08:00
ShootingStarDragons
919ec2a5e3 feat: clean all notifications if exit on linux 2023-01-29 13:46:00 +08:00
Nicolas Werner
b84bc7895e
Add some more error logging 2023-01-09 02:06:49 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Nicolas Werner
114fa0868a
Skip notifying for your own messages 2022-12-28 21:57:57 +01:00
Nicolas Werner
79a2efd25a
Finish german translation 2022-12-28 20:49:42 +01:00
Nicolas Werner
59703d3c25
Implement MSC3664, pushrules for related events 2022-12-05 18:39:47 +01:00
Nicolas Werner
537fa437e2
Store secrets (apart from the pickle key) in the database 2022-11-06 03:36:56 +01:00
Nicolas Werner
1f77e1c810
Prompt before deleting the database 2022-11-06 01:06:41 +01:00
Joe Donofry
07e8f64903 Add ability to respond to notifications on macOS 2022-11-04 16:42:09 +00:00
Nicolas Werner
9a90f8868f
lint 2022-10-26 01:14:46 +02:00
Nicolas Werner
b28fa86e6a
Enable -Wconversion 2022-10-26 01:10:35 +02:00
Rohit Sutradhar
ac48c33286
VoIP v1 implementation (#1161)
* Initial commit for VoIP v1 implementation

* Added draft of event handlers for voip methods

* Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility

* Added call events to the general message pipeline. Modified Call Reject mechanism

* Added message delegates for new events. Modified hidden events. Updated handle events.

* Updated implementation to keep track of calls on other devices

* Fixed linting

* Fixed code warnings

* Fixed minor bugs

* fixed ci

* Added acceptNegotiation method definition when missing gstreamer

* Fixed warnings

* Fixed linting
2022-10-14 13:49:05 +00:00
Nicolas Werner
8a4bb32b4a
Add toggle to disable decrypting notifications 2022-10-13 18:19:46 +02:00
Nicolas Werner
37009906bb
Evaluate push rules locally 2022-10-13 17:55:07 +02:00
DeepBlueV7.X
5e9eb845ab
Merge pull request #1202 from Nheko-Reborn/grammar
Grammar
2022-10-03 21:37:01 +00:00
Nicolas Werner
b3c5f41625
Fix a few more windows warnings 2022-10-02 12:31:03 +02:00
Loren Burkholder
df834ffc48 Various grammar fixes (mostly removing commas) 2022-09-30 00:23:39 -04:00
Loren Burkholder
e78d107558 Add link to repo to show where issues go 2022-09-30 00:04:50 -04:00
Nicolas Werner
9570c3ccc4
Enable encryption for DMs when started from the profile 2022-08-13 15:51:04 +02:00
Nicolas Werner
9d8d6b4bca
Show a room preview in the join confirmation dialog
Requires MSC3266

Fixes #1129
2022-08-05 21:57:54 +02:00
r0hit05
6663e5683d Updated call event namespaces to voip 2022-07-15 17:20:05 +05:30
Nicolas Werner
35ff02ce48
Remove a few more headers 2022-06-18 02:31:01 +02:00
Nicolas Werner
8cdfbf9391
Get rid of 'using json = nlohmann::json' 2022-06-17 22:03:54 +02:00