Nicolas Werner
9656304e24
Remove attributes on del tags
...
There is no use case for those afaik and they do break our replacement
in the frontend. Let's instead strip them out in the sanitization step,
since there are no valid attributes defined for the del tag currenlty.
In theory we could also strip out all attributes here, but that seems
excessive for now.
Fixes https://github.com/Nheko-Reborn/nheko/issues/1693
2024-03-20 21:53:20 +01:00
Nicolas Werner
a9ec130cbe
Fix too many characters are emojis now
2024-03-04 10:28:59 +01:00
Nicolas Werner
e03fb71b08
Force emoji font on a few more characters
...
Looks a bit better and works around some height weirdness on my systems.
2024-03-03 19:48:50 +01:00
Loren Burkholder
21d51d9739
Add a command to gradually glitch text in a message
2024-02-27 13:17:20 -05:00
Loren Burkholder
99bbe26609
Add a glitch text command
2024-02-26 19:05:37 -05: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
Nicolas Werner
50bce25838
Fix a few conversions
2023-10-31 13:04:38 +01:00
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