Commit graph

173 commits

Author SHA1 Message Date
Nicolas Werner
724e38e673
hr tags are self closing 2023-10-22 01:02:29 +02: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
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
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
Nicolas Werner
23d9decbce
Fix a few clazy warnings 2023-06-08 22:32:11 +02:00
Nicolas Werner
b518f6902e
Make Nheko compile on Qt6 2023-06-08 22:32:07 +02:00
Nicolas Werner
10b65b78fa
Adapt to the new inherited variant 2023-04-11 01:38:46 +02:00
Loren Burkholder
138b0a6b86
Use the new mtxclient special effects refactoring 2023-04-11 01:01:21 +02:00
Loren Burkholder
0096226aeb Implement unknown msgtype functionality 2023-04-08 18:59:17 -04:00
Nicolas Werner
234ac79acc
Update spaces events automatically in the background 2023-03-14 18:16:08 +01:00
Nicolas Werner
4bf6e58511
Evaluate ACLs when calculating vias 2023-03-14 18:16:08 +01:00
Nicolas Werner
3c950ce26a
Make via implementation closer to the spec 2023-03-14 18:16:00 +01:00
Loren Burkholder
04a26a5f43
Update src/Utils.cpp
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2023-03-09 13:04:53 -08:00
Loren Burkholder
3b3d9dff83 Only enlarge emoji if the setting is on 2023-03-09 15:36:15 -05:00
Loren Burkholder
0df306e68b Make emoji larger in the timeline by default 2023-02-28 20:47:03 -05: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
0c3d46795b
Make single newlines cause a <br> by default
This should match what people expect from a chat application much
better. The biggest reason not to do this, is because some people might
paste markdown documents. For those people there is now a /cmark
command, which disables most of our extensions to cmark, including the
newline behaviour. There is a long discussion on the Fediverse and on
Github linked below.

Mastodon https://fosstodon.org/@deepbluev7/109771668066978726
fixes #757
2023-01-31 18:22:12 +01:00
Nicolas Werner
ec3ba352c0
Support strikethrough via ~~ 2023-01-28 10:36:47 +01:00
Nicolas Werner
47e3257963
Get rid of shadowing even if the shadowing there is probably the safer solution 2023-01-28 09:04:36 +01:00
Nicolas Werner
60b1a595e1
Support simplified spoiler input using || tags
relates to #1231
2023-01-28 08:51:33 +01:00
Nicolas Werner
213bcf0de6
Fix br tags 2023-01-27 14:03:54 +01:00
Nicolas Werner
7f9af9016d
Fix a few minor leaks (or just memory showing up as not freed in tools) 2023-01-22 05:02:10 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Nicolas Werner
e8e475956b
Fix confetti in the sidebar 2022-12-17 01:11:19 +01: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
0752f9477e
Fix infinite loop that can be triggered by some invalid html 2022-09-27 22:02:41 +02:00
Nicolas Werner
cd08a130c6
Make emoji escaping less aggressive 2022-09-16 15:17:48 +02:00
Nicolas Werner
c6bf1e6508
Attribute values can contain slashes 2022-09-04 18:14:14 +02:00
Nicolas Werner
732b82c04d
Allow summary tag 2022-08-20 23:45:38 +02:00
Nicolas Werner
08b304eccf
Break http images and implement barebones spoiler support when not in mobile mode
see #1042
see #483
2022-08-17 01:35:40 +02:00
Nicolas Werner
07bb95fbcd
Fix crash when creating link to room preview 2022-07-19 18:57:22 +02:00
DeepBlueV7.X
f62cb77680
Merge pull request #1062 from Nheko-Reborn/perSpaceNotifs
Per-space notification bubbles
2022-07-16 01:10:07 +00:00
Nicolas Werner
7b33d14277
Make notification count calculation more efficient 2022-07-16 03:07:00 +02:00
r0hit05
6663e5683d Updated call event namespaces to voip 2022-07-15 17:20:05 +05:30
Loren Burkholder
e446e3d679 Add loud notifications for spaces 2022-06-29 22:04:17 -04:00
Loren Burkholder
169384f0fa Add space notifications to room list 2022-06-29 22:02:20 -04:00
Nicolas Werner
392a4be858
Fix centering dialogs 2022-01-29 19:07:27 +01:00
Nicolas Werner
f1a23355bd
Port usersettings to qml 2022-01-09 01:02:25 +01:00
Nicolas Werner
7685d1808b
Strip variant selector in some cases
fixes #439
Workaround for https://bugreports.qt.io/browse/QTBUG-97401
fixes #810
2022-01-01 07:10:12 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
19dc6cadea
Reserve size of some containers we are filling 2021-12-29 06:01:38 +01:00
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral 2021-12-29 04:52:52 +01:00
Nicolas Werner
5743a6de04
Cleanup remaining clazy issues 2021-12-28 23:22:01 +01:00
Nicolas Werner
5ca98829f7
Some qt6 prep 2021-12-28 20:09:08 +01:00
Nicolas Werner
b2b9cccb5e
Fix a few clang tidy warnings 2021-12-06 22:22:37 +01:00