Commit graph

3729 commits

Author SHA1 Message Date
Nicolas Werner
07e187d4d8
Fix crash in SingleApplication when other end exits immediately
In those cases the emit might cause the server to remove the connection
and we are working with a dangling pointer. We can't call putChar on
that, so acknowledge the message immediately and then emit the message.
2021-11-24 05:21:30 +01:00
Nicolas Werner
ff502f306c
Initialize client lazily
This prevents a use after free in the coeurl logging, if we exit immediately.
2021-11-24 05:20:27 +01:00
Nicolas Werner
bf68aa28d8
Fix loading on Gnome when in flatpak
See https://gitlab.gnome.org/GNOME/libsecret/-/issues/49

fixes #816
2021-11-24 04:53:12 +01:00
Nicolas Werner
5bc9d885de Merge branch 'more-random-colors' into 'master'
Use a more random hash to generate user colors

See merge request nheko-reborn/nheko!17
2021-11-24 03:42:49 +00:00
Nicolas Werner
2324d2de05
Fix colors of sidebar in replies 2021-11-24 04:09:22 +01:00
Nicolas Werner
0f2faff4e7
Use a more random hash to generate user colors
Fixes an issue where most uses just had their color determined by their
username length and distributes the colors a bit more evenly.
2021-11-24 01:33:22 +01:00
Nicolas Werner
aea7461cba
Fix one more wrong background color 2021-11-22 22:16:55 +01:00
Nicolas Werner
a13f492e7d
Make clang-format <13 and clang-format >=13 behave the same
I think old clang-format is just buggy in those cases, so we should
reenable those blocks, once everyone has 13 or up.
2021-11-22 00:33:43 +01:00
DeepBlueV7.X
b1092c0f2f
Merge pull request #822 from Nheko-Reborn/dm-filter
Add a filter for direct chats
2021-11-21 22:46:51 +01:00
Nicolas Werner
71d7ff3a90
Try to tame Windows headers
See also:
https://stackoverflow.com/questions/1394910/how-to-tame-the-windows-headers-useful-defines
2021-11-21 21:19:56 +01:00
Nicolas Werner
70592911a1
Return nullopt for state events in rooms we are not in 2021-11-21 20:10:43 +01:00
Nicolas Werner
e7d4aec6ec
Only mark as direct, if invite was direct 2021-11-21 07:06:37 +01:00
Nicolas Werner
3d92e8ae60
Mark rooms as direct chats
Either by accepting an invite or manually using /converttodm and revert
with /converttoroom.
2021-11-21 06:13:45 +01:00
Nicolas Werner
4dc5b647c6
Pretty error printing 2021-11-21 06:10:24 +01:00
Nicolas Werner
5ef3250994
Add a filter for direct chats
fixes #317
2021-11-20 22:48:04 +01:00
Weblate
a6e633cdab Translated using Weblate (French)
Currently translated at 100.0% (606 of 606 strings)

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-11-20 06:05:59 -05:00
Nicolas Werner
97aadee01c
Pass correct background color to username separator 2021-11-20 00:32:03 +01:00
Nicolas Werner
34a1b6267b
Make user colors a bit more vibrant 2021-11-19 23:58:20 +01:00
Joseph Donofry
44cd873c12
Update macOS icon package to macOS-y style. Thanks quinn 2021-11-19 17:36:57 -05:00
Nicolas Werner
b439e1fa41
Preliminary gstreamer 1.20 compatibility
The transceiver was made private in
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2241

The direction property was added here:
28b0be4036
2021-11-19 18:19:16 +01:00
Nicolas Werner
c0b2e8f9b7
Fix jdenticon plugin not loading 2021-11-19 02:50:20 +01:00
Nicolas Werner
f32acdd23f
Release 0.9.0 2021-11-19 01:22:36 +01:00
Nicolas Werner
33dc44498e
Small changelog fixes 2021-11-19 01:09:44 +01:00
Nicolas Werner
81fad0251d
Add some build notes and update the E2EE note 2021-11-19 00:49:28 +01:00
Nicolas Werner
1af204f7d3
Fix mouse cursor on top bar 2021-11-19 00:28:56 +01:00
Joseph Donofry
1eb2814fe0 Jdenticon update 2021-11-18 18:15:24 -05:00
Nicolas Werner
26db90b29b
Make VOIP and screenshare explicit options 2021-11-18 23:05:28 +01:00
DeepBlueV7.X
229d7be868
Merge pull request #806 from LorenDB/dialogFixes
Dialog fixes and improvements
2021-11-18 22:34:48 +01:00
Nicolas Werner
57fb0d79f9
Fix colors and alignment in dialogs 2021-11-18 22:33:45 +01:00
Joseph Donofry
7be659af46
Fix video call filename and qtjdenticon for windows 2021-11-18 22:04:01 +01:00
Nicolas Werner
17f2c35b3a
Try to fix lmdbxx download 2021-11-18 22:04:00 +01:00
Nicolas Werner
7f5a92106a
Try to fix lmdbxx download 2021-11-18 22:04:00 +01:00
Nicolas Werner
3a3735f67a
Fix hunter messing with pkg-config 2021-11-18 22:04:00 +01:00
Nicolas Werner
a45d1bbeaa
Update bundled deps 2021-11-18 22:04:00 +01:00
Nicolas Werner
d1e1e9363d
Fix qml warnings and missing icons 2021-11-18 22:04:00 +01:00
Weblate
71dce9c64a
Translated using Weblate (Dutch)
Currently translated at 100.0% (606 of 606 strings)

Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2021-11-18 22:04:00 +01:00
Nicolas Werner
9e4c2d0d3a
Fix linebreaks in README 2021-11-18 22:04:00 +01:00
Nicolas Werner
b8802c99ed
Fix resolution of failed image 2021-11-18 22:04:00 +01:00
Nicolas Werner
deccdef2cb
Mention fluent icons in readme 2021-11-18 22:03:56 +01:00
Joseph Donofry
53594ea9f8 Fix video call filename and qtjdenticon for windows 2021-11-18 12:39:58 -05:00
Nicolas Werner
981c7ab326
Try to fix lmdbxx download 2021-11-18 03:28:26 +01:00
Nicolas Werner
446ecfea0b
Try to fix lmdbxx download 2021-11-18 03:10:04 +01:00
Nicolas Werner
6f59f19003
Fix hunter messing with pkg-config 2021-11-18 02:56:32 +01:00
Nicolas Werner
eb3ff097d5
Update bundled deps 2021-11-18 00:12:38 +01:00
Nicolas Werner
9c1c3eb10d
Fix qml warnings and missing icons 2021-11-17 06:26:33 +01:00
Weblate
c40fbf420a Translated using Weblate (Dutch)
Currently translated at 100.0% (606 of 606 strings)

Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2021-11-16 21:47:20 -05:00
Loren Burkholder
9a5d457a49 Quality-of-life improvements to InputDialog 2021-11-16 21:06:51 -05:00
Loren Burkholder
b5e25a8369 Don't add arbitrary padding
This breaks the vertical-centeredness on the close button.
2021-11-16 20:35:10 -05:00
Loren Burkholder
f048caee69 Simplify code for padding delegates 2021-11-16 18:53:44 -05:00
Nicolas Werner
e0e010cee6
Fix linebreaks in README 2021-11-17 00:49:12 +01:00