Commit Graph

16754 Commits

Author SHA1 Message Date
e3073efd46 call: fix mute participant
GitLab: #1089
Change-Id: I7f16e0ac1daca8a85770e778f350725fe54d2431
2025-01-07 15:39:10 -05:00
38b55ed28d call: don't bind audio that are muted
`bindRingbuffers` is bilateral.

GitLab: #1088
Change-Id: I5fdb58c69f870588900eff0b23fde01de1955219
2025-01-07 15:13:42 -05:00
5beb24ba62 ConversationRepository: cleanup, use std::filesystem::path
Change-Id: I16c4b8ebea5a534fa1b25baaf029c62c6e7b8f84
2025-01-07 13:40:45 -05:00
022a92e513 ConversationRepository: unlock on startup
Change-Id: I019a385b43d78ce35691dd0da3599749e0442c83
2025-01-07 14:40:37 -04:00
94044bb04d pulselayer.cpp: cleanup
PulseAudio

Change-Id: Ic9949e83d953ada4c7fe0d8ba38dacf6b7777d53
2025-01-01 23:14:16 -04:00
c1aeda281a manager.cpp: cleanup
Change-Id: I585ba37ea176173facfde6bea4282b42d9c00eb0
2024-12-21 23:56:18 -04:00
bdc8d506e0 logs: cleanup
Change-Id: I194497974f46f88d0b16c41391d45797fecc6943
2024-12-19 15:54:22 -05:00
feb232f0a9 ConversationChannelHandler: add log to know why a channel is refused
Change-Id: I2655eb16f9a6e6cbee6bdb8ae620ec3102cf0c94
2024-12-19 15:34:11 -05:00
d577a1ae88 logs: cleanup
Change-Id: Ibc45eb6228732b8163a6dd29b0bfbd2cc5cfaa46
2024-12-19 12:04:06 -05:00
86b42510a2 logs: cleanup
Change-Id: I6b84270da276a91ea6f455ad477e73d04e601ea5
2024-12-19 11:42:38 -05:00
be5af7a90c cleanup
…
→

Change-Id: I3421a0b8b9528a6815da6b826a1ca1b066b9b73f
2024-12-19 03:18:13 -04:00
ef441f56dd certificat: add error log if certificate verification fails
Change-Id: If48f902ab7f80afd11b840f00193ef5a98cda62e
2024-12-17 16:56:05 -04:00
94591e473b tlsvalidator.cpp: fix typo
bellow → below

Change-Id: I6a8983f7adc87157f442d2f1e874561306a7d141
2024-12-16 19:25:33 -04:00
8ad61af4e0 cleanup
Sentence case
…
→
DHT
higher → greater than
ID
libgit2
PJSIP
SIP
try on → attempt with
vCard

Change-Id: Iaeca39f1b8daaad71452dfb595b61e4fb7e8204e
2024-12-16 16:59:47 -04:00
75e84842bf contrib: update dhtnet
Change-Id: If64326796b5fb678994fe734aabfd57067b7bacb
2024-12-16 14:22:05 -05:00
adffcf5a19 loadSwarmUntil: fix infinite loading issue
The marker used to indicate that the desired message had been passed was wrapped in a conditional statement that could evaluate to false when it needed to set the marker to true. This prevented the function from recognizing that the desired message had already been processed.

Change-Id: I9934858f5837d91fc5dfc54debb417dd8c19c933
2024-12-16 14:13:08 -05:00
a091a4bc56 contribs: fix gnutls build for windows
Change-Id: I74a713c610d4705dc573ced052fef2dd79a6b0f8
2024-12-12 11:34:11 -05:00
4a14122e39 conversation: fix invalid message status cache
The Conversation::loadMessages2 function uses the information cached in
both loadedHistory_ and memberToStatus, so it's important for the two to
always remain consistent with each other. This patch fixes two issues
that could cause them to diverge:

1) the Conversation::clearCache function currently resets
   loadedHistory_, but not memberToStatus;

2) Conversation::Impl::loadMessage2 doesn't modify loadedHistory_ but
   sometimes resets memberToStatus.

GitLab: #1087
Change-Id: I21caedea996d5ad66b695a0f130cd473c5d5ddc4
2024-12-11 12:58:40 -05:00
3ab6be5572 build: do not use system-provided sha512sum on macOS
This patch prevents macOS from using its system-provided sha512sum
to ensure consistent compatibility with other platforms.

Change-Id: Ie239cc14b9b0e17c486f5a3d4d55e6f26af32b0a
2024-12-02 10:22:28 -05:00
6df44807f1 cleanup
cannot → unable to
fail to → failed to
{inexistent, non-existing} → nonexistent
P2P
try → attempt
UPnP
retrieven → retrieved
testAdminCannotKickTheirself → testAdminCannotKickThemselves
wishes → wants

Change-Id: I84dbb7b78fd674507eab7186c8f9e0a5f1d3d5b3
2024-12-02 10:20:02 -05:00
9c3465ba7c updateProfile: Send Signal for SIP Accounts
The SIP accounts were not functioning properly because they weren't notified that a new profile vCard was available. Since they lack a URI, the accountId needs to be included in the URI. This adjustment shouldn't cause significant issues, as accountIds have a different format than URIs.

Change-Id: I2fd41909c4bf20a9c42538620dacc732b6ab27e1
2024-11-29 11:17:43 -05:00
96526bbb6a cleanup
…
Bash
CMake 
Couldn\'t → Unable to
MSBuild
NMAKE
PowerShell
SDK
URL
vs → Visual Studio
Windows

Change-Id: I0cb2b46e4ba9f1fa29ed5cfeeaec9b7425e8d105
2024-11-28 16:03:19 -04:00
a7d3197f29 string utils: remove stoi/stod wrapper
Change-Id: I06afa15ff33a639458a618364d4eb00197de585a
2024-11-28 11:53:55 -04:00
85e79e5618 jamiaccount: don't needlessly force new connection
GitLab: #1083
Change-Id: If43a74758bbceff69e57baa2fc70c4526ec1f9f0
2024-11-28 10:17:26 -05:00
cd0eca6b2f cleanup
ice → ICE
pnp → PnP
rtp → RTP
try → attempt
un-hold → unhold
won't → unable to

Change-Id: I5a012dd22b40027a9470b42fb7ae0b512619c8ee
GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/issues/1730
2024-11-27 19:38:32 -04:00
fee6f291d7 namedirectory: log error when name lookup fails
Change-Id: I7d7f2050b8af62e277a57e117b25db2707596404
2024-11-27 13:28:56 -05:00
f1207126fb conversationrepository.cpp: fix typo
GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1888

Change-Id: Ic6a677189b1ce5b2859db7e9f5b889e236da7a85
2024-11-27 00:24:14 -04:00
a53ca378df jamiaccount: avoid sending profile multiple times
Change-Id: Iae76467110d02fef007e075103d1a79b0aa031b2
2024-11-26 16:36:10 -05:00
57e91daefe build: Windows: update contribs (llhttp-migration)
Change-Id: I58292280dcd9451f59033976897aae5af023241c
2024-11-26 14:44:33 -05:00
f1661d585e conversation_module: only ask for invite if needed
GitLab: #1081
Change-Id: I3ac3468e8ff5b41250a76ab7f40b6ca0e7331f09
2024-11-26 13:50:50 -05:00
cc574c8f03 jamiaccount: return early if sendMessage succeeds
This fixes a bug where JamiAccount::sendMessage would sometimes call
MessageEngine::onMessageSent with the `ok` argument set to false even
though the message had actually been sent successfully.

GitLab: #1081
Change-Id: I51190994b81e9e897dec546fd254d6e0ca4c99d3
2024-11-26 13:50:48 -05:00
2730bf6ef2 misc: unify terminology
3-character ellipsis ... → 1-character ellipsis …
smart quote ’
infos → info
Setupping → Setting up
try → attempt

Change-Id: I97ed89b9e9b1193162c856b4bb143f6bab55666b
GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/issues/1730
2024-11-24 04:59:09 -04:00
e2a76ce7c2 manager: cleanup, remove unused arguments
Change-Id: I13cb1b54e9ade0bc61e4ea3e58c6708154b9e6f0
2024-11-22 15:42:17 -05:00
7a8aa3d3ad conversation: add missing lock
Change-Id: I468078f507c6156b2d4d45a7abb54dbdc1571da9
2024-11-22 15:34:06 -05:00
7e910b1cc7 jamiaccount: allow to remove profile picture
Change-Id: Iba8066ea8131e458264b14ba46f16bdd0091ab91
2024-11-22 11:39:31 -05:00
b8bf25e0f9 updateProfile: Add Filetype
To enhance the flexibility and scalability of this API, we can include the filetype parameter.

Change-Id: I0fcb69a1073ac2cb4576d7a701e5339c1c5db5de
2024-11-21 16:56:47 -04:00
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