Commit graph

5516 commits

Author SHA1 Message Date
Nicolas Werner
50f5fc6637
Use more modern flatpak build features 2023-02-06 22:56:14 +01:00
Nicolas Werner
ad4ea02547
Add a reduced motion option
fixes #1350
2023-02-06 13:56:23 +01:00
Nicolas Werner
0ab566dc4b
lint and avoid copy 2023-02-02 01:26:42 +01:00
Nicolas Werner
a320fc6f7a
lint 2023-02-02 01:21:23 +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
DeepBlueV7.X
17331fcf83
Merge pull request #1347 from mauke/url-regex-war-crime
Allow nested ()/[] brackets in URLs (fixes #1346)
2023-02-02 00:59:18 +01:00
Lukas Mai
b9517e588b Allow nested ()/[] brackets in URLs (fixes #1346) 2023-02-01 21:14:14 +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
Nicolas Werner
673ca9d6a3
spoiler -> +warning 2023-01-31 22:08:00 +01:00
tastytea
1b00696bcc
document /cmark and Markdown extensions in man page (#1344)
* document /cmark in man page

* document Markdown extension in man page

* fix spoiler wording

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>

---------

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2023-01-31 21:01:50 +00:00
Nicolas Werner
ee5b33978a
Optimize user model construction by 2.5x 2023-01-31 21:05:23 +01:00
DeepBlueV7.X
8c06460e91
Merge pull request #1345 from q234rty/master
Fix some leftover menus from #1319
2023-01-31 19:54:26 +01:00
q234rty
fa3ea18dcd
Fix some leftover menus from #1319 2023-02-01 02:34:26 +08: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
9f529075f0
Uncoditionally request keyframes 2023-01-31 18:02:35 +01:00
Malte E
5ed3bfc8f8
add user search to invite dialog (#1253) 2023-01-31 16:59:49 +00:00
ShootingStarDragons
919ec2a5e3 feat: clean all notifications if exit on linux 2023-01-29 13:46:00 +08:00
DeepBlueV7.X
3abb49c4a2
Merge pull request #1319 from Decodetalkers/menuhideonwayland
feat: hide all popup menus when press leftbutton on somewhere else
2023-01-28 12:15:54 +01:00
Nicolas Werner
872b00807f
Make newline behave consistently in markdown mode
by always sending as formatted when a newline is in the body
2023-01-28 10:50:39 +01:00
Nicolas Werner
ec3ba352c0
Support strikethrough via ~~ 2023-01-28 10:36:47 +01:00
ShootingStarDragons
e84e2b0aaa chore: remove button check 2023-01-28 17:10:45 +08: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
Weblate
7c8bb14f22 Translated using Weblate (Ukrainian)
Currently translated at 33.6% (316 of 940 strings)

Co-authored-by: NullPointerException <kigen745@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/uk/
Translation: Nheko/nheko
2023-01-27 18:36:42 +00:00
Weblate
13163699bc Translated using Weblate (Ukrainian)
Currently translated at 28.1% (265 of 940 strings)

Co-authored-by: NullPointerException <kigen745@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/uk/
Translation: Nheko/nheko
2023-01-27 17:46:31 +00:00
Weblate
0e4c0c4949 Translated using Weblate (Ukrainian)
Currently translated at 28.0% (264 of 940 strings)

Co-authored-by: NullPointerException <kigen745@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/uk/
Translation: Nheko/nheko
2023-01-27 17:35:51 +00:00
Weblate
181ea3850e Translated using Weblate (Ukrainian)
Currently translated at 27.2% (256 of 940 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/uk/
Translation: Nheko/nheko
2023-01-27 15:28:30 +00:00
Weblate
edba6ad91f Translated using Weblate (Estonian)
Currently translated at 100.0% (940 of 940 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/et/
Translation: Nheko/nheko
2023-01-27 15:28:30 +00:00
Nicolas Werner
213bcf0de6
Fix br tags 2023-01-27 14:03:54 +01:00
ShootingStarDragons
c893dfd102 chore: limit it to linux wayland 2023-01-26 20:34:38 +08:00
Weblate
68bf9c0bfa Translated using Weblate (French)
Currently translated at 68.5% (644 of 940 strings)

Translated using Weblate (French)

Currently translated at 68.5% (644 of 940 strings)

Co-authored-by: CB <chb0@lavache.com>
Co-authored-by: Rick M. G <rick@gnous.eu>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2023-01-24 19:22:10 +00:00
DeepBlueV7.X
f6b976b415
Merge pull request #1299 from enigma9o7/patch-1
Merge Debian/Ubuntu Dependencies
2023-01-24 06:36:38 +01:00
Joseph Donofry
d511814caf Fix free-ing invalid pointer in call devices. From Jason Volk <jason@zemos.net> 2023-01-23 16:34:24 -05:00
enigma9o7
3f846fbdba
remove unneeded font tags 2023-01-23 09:33:46 -08:00
ShootingStarDragons
7d95ac23ce feat: hide all popup menus when press leftbutton on somewhere else
Log: according to the bug on https://bugreports.qt.io/browse/QTBUG-83972, The menu will always stay if not click one of the item. So I try to make a hack for it, wait qt solve it someday
2023-01-23 20:15:43 +08:00
DeepBlueV7.X
d59f0768f0
Merge pull request #1317 from tastytea/fix-zsh-completion
update Zsh completion
2023-01-22 23:29:49 +01:00
tastytea
b17cc41645
update Zsh completion
- add new command line switches
- prevent duplication in argument descriptions
- load helper function before using it (fixes error with Zsh 5.9)
2023-01-22 23:22:01 +01:00
Nicolas Werner
15d7a2f021
Make code tags preserve whitespace 2023-01-22 17:36:23 +01:00
Nicolas Werner
1d8fc18304
Warn when no secret can be requested 2023-01-22 05:31:33 +01:00
Jason Volk
0253aa59c7
Skip empty requests for cross-signing keys when user only has one device.
Cause: Request button pressed in user settings.

Result: Request body is jsNull; sendToDevice requires jsObject.
2023-01-22 05:26:10 +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
DeepBlueV7.X
2157ebb614
Merge pull request #1304 from Decodetalkers/imagesave
chore: when save file, hide ImageOverlay window
2023-01-22 00:54:44 +01:00
Nicolas Werner
47da48f6f2
Fix creating DMs from pasting an mxid 2023-01-21 21:02:46 +01:00
Nicolas Werner
4c34f4bfee
Work around multiple destructor calls after consteval construction in full expression
I have no idea, if this is our fault or not, but Jason traced it back to
the consteval on the {fmt} format string constructor.

Specifically when a consteval constructor call happens in the statement,
the destructor call is moved to the end of the block. Inside the switch
statement that means, the destructor is called multiple times, which
corrupts the use count and crashes Nheko because of a double free.

I am assuming this is a bug in clang, but this will need to be
investigated more.

fixes #1292
2023-01-21 20:45:32 +01:00
ShootingStarDragons
abe4f8eb3c chore: when save file, hide ImageOverlay window
Log: on wm like sway, it will cover the whole screen, and I cannot get
the file save dialog, then the program will stay there, I must kill it,
so I think hide it is better, because after, it will be closed
2023-01-20 22:10:22 +08:00
Weblate
b4c0581948 Translated using Weblate (Russian)
Currently translated at 32.9% (310 of 940 strings)

Translated using Weblate (Russian)

Currently translated at 32.9% (310 of 940 strings)

Co-authored-by: Evgeny <mister.lameni@yandex.ru>
Co-authored-by: SOT-TECH <sblazhko@sot-te.ch>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ru/
Translation: Nheko/nheko
2023-01-20 10:59:42 +00:00
Weblate
b1439ac8ae Translated using Weblate (Finnish)
Currently translated at 96.4% (907 of 940 strings)

Co-authored-by: Lurkki14 <jussi.kuokkanen@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2023-01-20 10:59:42 +00:00
Weblate
24f09ed426 Translated using Weblate (Estonian)
Currently translated at 97.7% (919 of 940 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/et/
Translation: Nheko/nheko
2023-01-20 10:59:42 +00:00
Nicolas Werner
c98231bac1
Make it more obvious that the add reaction button is not an emoji
fixes #1301
2023-01-19 06:51:51 +01:00