Commit graph

1270 commits

Author SHA1 Message Date
emil a3958949f0 Phone ringing and dialing 2024-03-12 11:33:04 +03:00
emil 734e1503c7 Remove Gst.deinit (proactive bug fix)
Gst.deinit caused the Dino proces to linger in the background when I
tried using Gst in the phone ringer plugin. My reasoning for leaving it
out even though Gst is not in use anymore in the ringer plugin is that
this is a nasty bug that might crop up again in the future when someone
tries to do anything else at all with Gst.

I did the following things:

- checked this https://gstreamer.freedesktop.org/documentation/gstreamer/gst.html#gst_deinit
- tested that Dino works without the Gst.deinit
- tried looking for a specific reason for the deinit with git log -L 276,+10 -- plugins/rtp/src/plugin.vala

I didn't find anything so this made me conclude that it is better to
leave it out.
2024-03-12 11:33:03 +03:00
Stanislav Malishevskiy 1a73e9d53d Fix issue #261. 2024-03-12 10:43:40 +03:00
Miquel Lionel fc8fdc166b wip, fixes https://github.com/dino/dino/issues/261
- server refuses to responds in any way to the sent iq stanza
	  and i don't know why, when i send it with the xml console in
	  gajim it works well
2024-03-12 10:43:40 +03:00
Alexandre Jousset bf9f401743
configure: fix typo (VALACFLAGS) (#1550) 2024-03-02 13:30:25 +01:00
eerielili c8700b44f4
Fix poor contrast of highlight in search results with dark theme (#1557)
- fixes #1308
2024-03-02 13:27:44 +01:00
fiaxh 4cc7e076e6 Add unread indicator
Co-authored-by: Alexandre Jousset <mid@gtmp.org>
Co-authored-by: Aidan Epstein <aidan@jmad.org>
2024-03-02 13:18:53 +01:00
eerielili 7e3cedaf3f
Enable hyperlinks in topic text to be clicked (#1523)
fixes #1042
2024-01-13 14:27:30 +01:00
Teemu Ikonen 732d3a9814
Change select contact dialog container to AdwClamp (#1533) 2024-01-13 13:56:13 +01:00
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