Commit graph

1261 commits

Author SHA1 Message Date
eerielili 22516c1862
Fix crash on removing conference not in roster (#1516) 2024-01-10 21:20:50 +01:00
fiaxh 384ef1d3f1 Conversation details dialog: Fix notification+block icons 2023-12-10 15:03:02 +01:00
eerielili 4689fcb53c
Fix segfault opening conversation details when no XEP-0191 support (#1513)
fixes #1508
2023-12-10 13:28:22 +01:00
eerielili 85ea7e5008
Fix http upload for servers without file size limit (#1512)
* Fix for ejabberd XMPP server 'infinity' http upload file size announce

	- fixes https://github.com/dino/dino/issues/1222

* Update 0363_http_file_upload.vala
2023-11-24 22:13:57 +01:00
Alexandre Jousset cb78cec9e2 main/meson.build:121: fix typo 2023-11-13 22:45:40 +01:00
hrxi e93e14b12c rtp plugin doesn't depend on GnuTLS 2023-11-13 22:27:50 +01:00
eerielili 86b101900c
Start conversation if closed when receiving an audio or video call (#1485)
* Start conversation if closed when receiving an audio or video call

* Fix starting conversation on new calls, move setting conversation.last_active

---------

Co-authored-by: fiaxh <git@lightrise.org>
2023-10-08 13:51:30 +02:00
fiaxh 8cb195a274 Fix crash due to gpg binding issue 2023-10-07 16:54:09 +02:00
fiaxh 1e167eeea6 Fix some compiler warnings 2023-10-07 14:34:23 +02:00
fiaxh 0c45387bf9 Fix implicit-function-declaration compiler warnings 2023-10-07 13:56:38 +02:00
hrxi c312fb282f meson: Add version detection for some dependencies 2023-10-06 15:25:12 +02:00
hrxi a55a10e88f meson: Add RTP options that are also present in the CMakeLists.txt 2023-10-06 15:25:12 +02:00
hrxi bfc1962f70 meson: Allow enabling/disabling plugins 2023-10-06 15:25:12 +02:00
hrxi e6938c2965 meson: Add rtp plugin 2023-10-06 15:25:12 +02:00
hrxi 715fabb5bb meson: Add omemo plugin 2023-10-06 15:25:12 +02:00
hrxi 3edda368f3 meson: Add ice plugin 2023-10-06 15:25:12 +02:00
hrxi 7dd0e0aa4a meson: Add crypto-vala library 2023-10-06 15:25:12 +02:00
hrxi 7dd12e7dec meson: Add notification-sound plugin 2023-10-06 15:25:12 +02:00
hrxi 7326ca4d1b meson: Add openpgp plugin 2023-10-06 15:25:12 +02:00
hrxi 6d838c1c31 meson: Add http-files plugin 2023-10-06 15:25:12 +02:00
hrxi 62ed82a495 meson: Install more stuff
Install .vapi, .deps, .h files for the Vala libraries. Also install the
data files. .deps files have to be manually generated, there's a feature
request for automated generation at
https://github.com/mesonbuild/meson/issues/9756.

Import the gnome module globally.

Install dependencies on Meson CI.
2023-10-06 15:25:12 +02:00
hrxi 6eb1b53e60 Merge signal-protocol into omemo plugin
Same reasoning as for the `openpgp` plugin.
2023-10-06 15:25:12 +02:00
hrxi e2d801b5f7 Merge gpgme-vala into openpgp plugin
There's no reason for it to be a statically linked library anymore, it
can be directly compiled into the plugin.
2023-10-06 15:25:12 +02:00
hrxi dd0038f5e2 Fix every inclusion of gpgme_fix.h getting their own mutex 2023-10-06 15:25:12 +02:00
fiaxh c2efb214af conversation details: Fix for libadwaita < 1.4 2023-09-25 15:02:03 +02:00
fiaxh e2c34bf223 Rewrite contact details dialog 2023-09-24 19:54:04 +02:00
Marvin W 9eafe4139d Fix build on some Vala compiler versions
See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
2023-09-24 19:51:33 +02:00
fiaxh 2fba24ccae Fix subscription notification clearing 2023-09-07 21:30:47 +02:00
mesonium bc5a1d35cb
fix: Add x node to MUC PM stanza (#1462)
Add <x/> tag in MUC-PMs to support better Carbon delivery in
compliance with XEP-0045 v1.28 and above.

Fixes #1306
2023-07-29 14:02:38 +02:00
Kim Alvefur d0fca291ac Fix showing the kick option to owners
Missing case in the switch defaulted to returning false for Owners, thus
preventing they with the most privileges from using those privileges.
2023-07-29 13:52:11 +02:00
Marvin W 8c8c2dc4b0
Fix potential crash in video calls 2023-07-09 15:32:53 +02:00
Marvin W 7357b7ecfb Fix certificate start time
I doubt anyone ever looked at it, but it shouldn't be 1 day in the future ;)
2023-07-09 14:32:33 +02:00
Marvin W 1bf57a42fa Do not send DTLS datagrams to RTP even after handshake
Also post debug message in case we drop datagrams
2023-07-09 14:32:33 +02:00
Stephen Paul Weber f82f788f43 Ignore non-DTLS data before handshake is complete
https://datatracker.ietf.org/doc/html/rfc9147#name-demul
https://datatracker.ietf.org/doc/html/rfc5764#section-5.1.2

If data is received before handshake is complete, discard it rather than
forwarding it blindly to GnuTLS which can get confused.
2023-07-09 14:32:33 +02:00
Robert Mader 35163f08f9 data: Set X-Purism-FormFactor in .desktop file
So the app is detected as mobile-friendly on Phosh.
2023-07-08 11:23:44 +02:00
fiaxh b830b796a5 Cleanup automatically loaded help overlay 2023-07-08 11:20:51 +02:00
Christopher Davis 3d5dad25d8 application: Load help overlay automatically
GTK automatically loads and sets up the action
and keyboard shortcut for the Keyboard Shortcuts
dialog. We don't need to manually do it as long as
we put everything in the right place.

See https://docs.gtk.org/gtk4/class.Application.html#automatic-resources
2023-07-08 11:20:51 +02:00
Christopher Davis a36a63d7e4 main_window: Use AdwApplicationWindow
The main window of an app should be an ApplicationWindow.
These windows provide nicer APIs for actions and more.
2023-07-08 11:20:51 +02:00
eerielili da7be50f05
Add a keyboard shortcut to show keyboard shortcuts (#1432)
Add a keyboard shortcut to show keyboard shortcuts

    - It's Ctrl+?
2023-06-25 13:39:07 +02:00
Tobias Bernard 4bb0c465fc
icons: Refresh some symbolic icons (#1444) 2023-05-29 22:01:33 +02:00
Marvin W 9a04573fdc Fix reactions being made to the wrong message
fixes #1426
2023-05-14 16:44:37 +02:00
fiaxh 9e4def221f Fix chat input for IME
fixes #1419

Co-authored-by: Marvin W <git@larma.de>
2023-05-14 14:12:05 +02:00
fiaxh 287d5bee6e Fix chat input status having a fixed width requirement
fixes #1439
2023-05-13 14:45:37 +02:00
fiaxh 4dfe853fbf Fix xml output intendation 2023-05-13 14:45:37 +02:00
fiaxh 0bddf9f3da Fix character counting for fallbacks
fixes #1420
2023-05-01 19:21:05 +02:00
Karim Malhas ec6c24c2b4 Focus ChatInput textbox after selecting emoji
After selecting an emoji, the emoji is inserted
into the textbox, but focus remains on the emoji_button.

This causes the EmojiChooser to be opened again if a user
hits the Enter key directly, but text is inserted into the textbox
if they continue to type.

This commit just explicitely focuses on the textbox after
an emoji has been selected.
2023-04-23 11:53:57 +02:00
fiaxh 10315a245d Code cleanup: Remove left-over usages of mam_earliest_synced 2023-04-23 11:48:29 +02:00
fiaxh 2b9a0ccf7e Fix crash on NS_URI call when own server has no MAM; drop broken mam:1 "support"
fixes #1405
2023-04-23 11:40:06 +02:00
Marvin W 6e60cfcbbe
Fix empty alias being handled different than none 2023-04-22 20:08:49 +02:00
fiaxh 03e367ecb8 Fix call window styling 2023-04-22 19:52:28 +02:00