Commit Graph

16868 Commits

Author SHA1 Message Date
0fc67d6c09 updateProfile: Resolved the issue of duplicate keys.
If another key includes "PHOTO" during the API update process, it must be removed.

Change-Id: Ic338263ec3966556c61e12752ccea91fb730b794
2024-11-20 16:50:44 -05:00
d2e12fc12c connection: pass connection type as a parameter.
This allows the iOS Notification extension to handle
connection requests appropriately.

Change-Id: Iea92cf7015dee1750c85c4495a4fdb3b72cb8331
2024-11-20 13:45:23 -05:00
a1bba4d761 updateProfile: use int32 for flag
Change-Id: Ia844cbac3ffb529d5ee55c0c589c94a06e37fb73
2024-11-20 11:54:54 -05:00
0106410f04 updateProfile: Added Support for SIP Account
Modified behavior to support cases where a SIP account uploads a new profile. The main idea is to move the vCard management logic in the daemon.

Change-Id: I74dece22cd2917ad2f5ff2b37e2d413696cdcec3
2024-11-19 14:07:10 -05:00
ba2d4c6f0f plugins: fix broken test
PluginsTest::testTranslations assumes that at least one of the fields in
the TestSuite plugin's manifest has a French translation. Such a
translation was added in version 1.0.1 of TestSuite last year by commit
d0e0ef18395a07a1579b512c5d67bf61f7c3587a in the jami-plugins repo:
https://review.jami.net/c/jami-plugins/+/25667
However, the daemon plugin tests were still using version 1.0.0 of
TestSuite, which is why testTranslations was failing every day. This
patch fixes the issue by upgrading the TestSuite.jpl file used for the
tests to version 1.0.1.

GitLab: #1064
Change-Id: I7b851083bd8e1ac80d61f721baabbc092b46c56a
2024-11-19 10:19:32 -05:00
d04564777b build: fix DBUS build issue
The issue was caused by a missing end character and an invalid type.

Change-Id: I531c01a0158d9169622de23543f32d422789dd6c
2024-11-18 12:49:46 -05:00
a014251550 MessageChannel: add connection type
Change-Id: I99787c238fae6990dcc18d013bdf827359074ab2
2024-11-15 17:27:24 -05:00
leo
24da65974f updateProfile: add flag to support base64 avatar format
Added a flag (0 for avatar path, 1 for base64 image) to enhance API flexibility, allowing avatar support without local image storage. This change accommodates clients, such as iOS, that do not save images locally.

Change-Id: I914c14d9b38b97d1126bd2d1de4523d987e422ee
2024-11-15 08:23:50 -05:00
cfa1732c73 updateProfile: New API for Setting displayName and Avatar
This new API integrates vCard logic within the daemon, allowing clients to only provide a path. It sends the updated data directly to other connected peers to synchronize information (cached connections). The API can also be used to remove a displayName or avatar, meaning you must always supply either a displayName or an avatar to use it.

Change-Id: I6d9bdb29ce86ce3721911cf5cf7eb836ef976110
2024-11-12 17:04:20 -05:00
ee342157a7 update dhtnet
Change-Id: I518669616d94187be20648024b9749291fd3af0b
2024-11-12 16:25:31 -05:00
ae742d3fbf jamiaccount: protect handler with mutex
Change-Id: I3cf73bd145b41e313ec4bc866ce51a542fe188e3
2024-11-12 15:31:18 -05:00
4083e533f6 conversation: protect checkedMembers
Change-Id: I8f7259fca61981ee063431d64ebc4604b55225eb
2024-11-12 14:38:57 -05:00
027fc0b5b2 jamiaccount: log cleanup
Change-Id: Ia705650060ca9058ffc8fb2cb4e2ae8f5ceee61e
2024-11-12 11:17:40 -05:00
e2503d3a4f update license
Change-Id: I8b9e25f99da5945684e265d3923b74065c8ef8eb
2024-11-11 22:42:19 -05:00
8d00a597f0 jamiaccount: sync with other devices along with sip
Change-Id: I39bb6bc147759fecffeb4fec8821ce844d4b5930
2024-11-11 14:59:07 -05:00
a5c6ad6c6a use MessageChannel for p2p protocol messages
The MessageChannel is used to exchange Jami protocol messages
between peers, similar to the SyncChannel but for communications
with contact devices instead of account devices.

It would ultimately be used instead of the SIP channel
for communication with peers, overcoming the pjsip message size limitation
and avoiding the overhead of the SIP message header.

The MessageChannel also allows transmission of raw binary data over the network,
which is not possible with a SIP transport.

Messages on the MessageChannel are serialized using msgpack.
It is used instead of the SIP transport when possible,
in a backward-compatible way, falling back to the SIP transport if a MessageChannel is not available, for instance when communicating with an
older Jami version.

Change-Id: I104c998486cbd5e520b1e3b92277613c84a3a305
2024-11-11 14:59:07 -05:00
174c45b3d5 tlsvalidator: add missing certificate details
Change-Id: I5094741acc1b395947bac34321cfc05b3e5328ae
2024-11-11 14:48:24 -05:00
acb3a44a6d SyncChannelHandler: cleanup
Change-Id: I6a894a682792434e1a763c8e0a927c0f34e893e2
2024-11-11 14:48:24 -05:00
bf12b7e6f1 sync module: factor channel shutdown
Change-Id: I6db2411fe91946017179bbba4bb471895d069e42
2024-11-11 14:48:24 -05:00
dd3d17bbc3 conversation: fix bug when loading messages
This patch fixes a bug in the Conversation::Impl::loadMessages2 function
that caused it to incorrectly return an empty list when the nbOfCommits
option was set to 0.

GitLab: #1073
GitLab: #1074
GitLab: #1075
Change-Id: Ie0cc5ced49725f4996a6e4350619ac1717882168
2024-11-07 16:32:04 -05:00
696e25b04f contrib: update opendht
Change-Id: I164d852c6bda142c1420f69ed8d6d35900b3701c
2024-11-05 20:47:22 -05:00
d2de4fdf76 jamiaccount: add user agent to proxy client
Change-Id: I1a320a54235cf780ca35e018debf66227a1d0f8a
2024-11-05 16:18:58 -05:00
ae3241edd7 contrib: update dhtnet
Change-Id: I91c81a4591e056d22dd83c07e9d8e4c8e326b34f
2024-11-05 16:18:58 -05:00
8e6116b395 contrib: update opendht
Change-Id: I4321379b2f81fde8fd810f4f2151f8e21c7b2705
2024-11-05 16:18:58 -05:00
b1bb6c4ea5 libjami: use string utils for platform, arch
Change-Id: Idd06548d234f837b0f0cb35b75d052d6ebc95a7e
2024-11-05 16:06:45 -05:00
8e1c4c95e3 bin: update date, rename to Jami Core
Change-Id: I71bf279701b90fed0ac36b18b05d7a482a0f04eb
2024-11-05 16:06:45 -05:00
7c2fde0c81 proxy list: fallback to cache if download fails
Change-Id: I8139cf0f2a344abb55e954a55ed6e360ed4b7593
2024-11-05 15:51:03 -05:00
a86dbe1367 loadMessages2: Fix loading messages
The Daemon API now returns the correct number of messages requested. Previously, it could load the entire conversation.

Change-Id: I3204abc4c0f0dcc55dbc436e4c8740b3f886b8b8
2024-10-30 14:45:43 -04:00
4197001925 conversation: cleanup
Change-Id: I2afda2b11742c741e13a3bbf7b7293c5b6c6d786
2024-10-28 11:32:35 -04:00
76a4cac36f namedirectory, contacts: update logs
Change-Id: I3724246ed2cc07be23cbb3a9dcfaaf4dcbdd5717
2024-10-28 11:32:35 -04:00
bb34a6b803 build/cmake: lock contrib directory
Prevents concurrent build of the same contrib
causing build failures.

Change-Id: I11a3664340e8a16c5c76926638a5f29f6dc0137c
2024-10-28 11:32:35 -04:00
c728899949 conversation: fix activeCalls_ initialization bug
GitLab: #1052
Change-Id: I536f9ca43222501de400bda45d468bdac8695cae
2024-10-25 16:52:55 -04:00
f379421e8a contrib: update dhtnet
Change-Id: I5f175a0167945412fd2392e88b201251b35cc239
2024-10-23 16:11:00 -04:00
59159407f2 contrib: bump dhtnet
Change-Id: I6579d650d59b2e870cc62a462dff29eaf5c10f8d
2024-10-22 15:52:45 -04:00
583e7ce4cb plugins contrib: need PIC flags
to port libraries into plugins, they need to be PIC compiled.
docker default user is root, the flag --allow_running_as_root is needed for onnx

Change-Id: If9a3f70b8232b32ac005cdb7b22f011aef32c871
2024-10-22 15:14:42 -04:00
0d3e36dfb1 swarms_default_host: add check for removed host
Previously when the default host device was
removed, trying to host a conference would still
attempt to connect to a device with empty Uri.

Change-Id: I8f33eba5a5b93e9d1bff2275667a885a3ebe22c5
2024-10-22 12:05:56 -04:00
7c41450f29 contrib: bump dhtnet
Change-Id: I31abf407ca8d535cbeb6aa057937247e2f62b906
2024-10-18 17:08:15 -04:00
0b2582927a loadMessages2: fix behavior
if load from unexpected message we still need to get a correct status

Change-Id: I54aad9c97e41a991e84b4cd08a2a1960e4053b48
2024-10-18 11:37:16 -04:00
c892fec90e contrib: bump dhtnet
This fixes a UPnP-related crash during connectivity changes.
https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/410

Change-Id: I5560582ddb2b8cb42d5c58e3d52bd87d0cefd2e8
2024-10-17 13:11:19 -04:00
346bed15e9 build: add missing fmt header file
This is necessary to build with recent versions (>=11.0.0) of the fmt
library.

Change-Id: Iac937dff0e2d32390b2c25c7902e8c5b9ec950ca
2024-10-17 11:12:41 -04:00
b4eb7007cf contrib: bump dhtnet
This fixes a build issue on Fedora 41.
https://git.jami.net/savoirfairelinux/dhtnet/-/issues/630

Change-Id: I6f4f918e933c187cf7fa16906927b8acc6ba6aae
2024-10-17 10:07:41 -04:00
8d3cf4ee89 account archive: fix crash while restoring account archive
GitLab: #1063
Change-Id: I72061742b4e6f6c76ce6c42fbf0a4104aa02a238
2024-10-16 17:19:40 -04:00
4d0bf1f3cf vpx: disable neon for iOS
This patch fixes a crash when using NEON on devices with A11
and earlier, as they do not support NEON dot-product instructions.

https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/411
Change-Id: Ia107a04145bb4eb2c9fd6f7e977cb0742f0fab1e
2024-10-16 15:07:37 -04:00
9dcca33d23 message-status: verify and update status after sync
When a device sync status between another device, it only exchange the last message viewed and the last message fetched. This patch is about correcting status after sync

Change-Id: Id9ac6b9e5cdce168b1df72904ad9619fa307be52
2024-10-11 15:57:38 -04:00
38f0dce1c0 contrib: update dhtnet
Change-Id: I85b1d677e22abe78d5088d48b641f15aae71531a
2024-10-11 14:03:39 -04:00
fc50f5d6fb conversation: fix swarm synchronization bug
This patch fixes a bug that could cause the members in a swarm to
repeatedly fetch from each other, generating large amounts of
unnecessary network traffic in the process.
https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1851

Change-Id: I3e4d2f2b3b9b659a9a51ad6fe00c4f08f4c923a6
2024-10-08 13:47:20 -04:00
0ef23d073f misc: unify terminology
try → attempt

Change-Id: Ifabe38eee0d3bcd985fbfa101c7f38a889f8d6a0
GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/issues/1730
2024-10-07 18:06:15 -04:00
bb752b886b nodejs_interface: link profileReceived & accountProfileReceived
These signals help the client know when a user updated his profile and are indeed needed in the expressJs server

Change-Id: Ib82d3bf477dbb77a3d86f79c6f9aa12a9b30dfd3
2024-10-01 14:36:32 -04:00
6d5b090b04 daemon-tests: resign plugin certificate
Fixes the issue where one of the daemon-tests would repeatedly
fail. Cause was an expired plugin certificate.

GitLab: #1015
Change-Id: Ib6059402569c9817514e3a80dad63b3c52c1e3c1
2024-10-01 11:06:40 -04:00
98dee98c00 contrib: build dhtnet without examples
Change-Id: I49d350dab7d315a1547fb3006d99703c744c1c73
2024-09-30 13:58:32 -04:00