Commit graph

293 commits

Author SHA1 Message Date
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
Nicolas Werner
ef941920ea
Fix compilation without implicit nlohmann conversions 2022-06-17 03:14:48 +02:00
Nicolas Werner
28acea55e2
Remove redundant alias function 2022-06-17 03:14:48 +02:00
Nicolas Werner
81d4285580
Fix settings groups not being terminated properly on logout
fixes #1094
2022-06-15 22:36:16 +02:00
Nicolas Werner
9b2a98b595
Fix C++20 compatibility 2022-06-13 11:12:41 +02:00
Nicolas Werner
f3ff56692e
Fix crash on logout (why did that line vanish?!?) 2022-06-12 19:39:36 +02:00
Nicolas Werner
c792fd28b1
Fix unsigned wraparound when creating one time keys 2022-05-21 15:21:14 +02:00
Nicolas Werner
d2561b0512
Use newer libolm 2022-05-14 02:23:52 +02:00
Nicolas Werner
a2d3990f90
Fix stopping the fallback removal timer starter 2022-05-14 01:56:53 +02:00
Nicolas Werner
0a65019242
Add support for fallback keys 2022-05-14 01:42:56 +02:00
Nicolas Werner
87070289fd
Activate window that already has the room open if possible 2022-05-07 19:12:30 +02:00
Nicolas Werner
62bf1b253e
Rework focus handling 2022-05-07 18:53:16 +02:00