Commit Graph

16786 Commits

Author SHA1 Message Date
c614735321 namedirectory: fix tests
GitLab: #1100
Change-Id: I6ae6d125c730fc9a8a2125b9b6da68c005922bce
2025-02-05 15:30:09 -05:00
39a92daa7c namedirectory: consider error 400 as invalid
GitLab: #1100
Change-Id: I22255a2b34e5c33d1db4c1a02747874512372d5b
2025-02-05 15:28:56 -05:00
ad72c928c6 conversation: addToHistory is not const
remove artificial const signature for announce and addToHistory

Change-Id: I2edbffeaaaff4bbfa68122fa96ed23aa8859dc0b
2025-02-05 14:04:35 -05:00
e048f1b999 conversation: mutex is History
Change-Id: I178b437e99cf31c13622df136d635ff2147a04a9
2025-02-05 14:04:35 -05:00
0bd34020b4 jamiaccount: avoid syncing with server for message status
Prevents multiple requests to JAMS for every message sent.

Change-Id: I17a0e9b885730979b10c635dd99ac3d37bef69bd
2025-02-05 10:48:21 -05:00
66b320adae namedirectory: add test to CMake and fix build
Change-Id: I65c99d62848b2d18e5c54e7b8ec28219320fb363
2025-02-04 14:57:29 -05:00
c3c8a0cce2 interface-nodejs: add deviceRevocationEnded signal
Change-Id: I7cb060661c89ea4839bafd87ad5b224e5faa785e
2025-02-03 14:58:07 -05:00
cd6032756d jams-device-revocation: fix daemon not filtering non-revoked devices
Change-Id: Idaf8e45775d2b76a9b306563baa074c7484ff68c
2025-02-03 11:30:18 -05:00
d825759a1b manager.cpp: cleanup
Change-Id: Ied16cc4536b4abe4740bfa76beb6e2fb1210439e
2025-01-31 22:42:08 -05:00
9b3b9df344 namedirectory: catch parsing errors
Change-Id: Ia92378315f88051de76311d23156c1eb85c07770
2025-01-31 17:43:34 -05:00
f4993c888a AccountManager: check for certificate
Change-Id: I527d834dac6fb2f57c879d02afd09c529f95b5fe
2025-01-31 14:48:22 -05:00
40b39370a9 AccountManager: move accountId to constructor
Change-Id: I1aa416e952c2b38107c6534e104601641fabbf5f
2025-01-31 11:34:45 -05:00
2e7668600f ContactList: avoid re-saving device list n times on load
Change-Id: I8f11b6ede9701ba7770c7c774e87b6028dda117b
2025-01-31 11:28:13 -05:00
c96ea3eea7 configure.ac: cleanup
Change-Id: I553a183700ecdd3b5a8740cb962169a3037e3696
2025-01-31 11:18:07 -05:00
cbf9457ae7 name directory: allow unicode names
GitLab: #1097
Change-Id: I742d1306007b3ae4908ee2d46bd5275d1ce2c99a
2025-01-30 17:12:44 -05:00
bb47c0495a conversation-loading: fix concurrent access issue
resolved a segfault triggered by multiple clients accessing and calling clearCache simultaneously during conversation loading.

Change-Id: Ic2b134d67d1a207f45e52c5aedeee5712ead14ba
2025-01-30 13:58:52 -05:00
5c8d45c474 manager: avoid loading account twice
Change-Id: I1731d5b876bde9c0d954d36e9644988dedeca079
2025-01-29 15:10:10 -05:00
502f56b582 audiolayer.cpp: cleanup
Change-Id: Ib969e576919058468e88786adccbda9d672e7af4
2025-01-24 14:07:13 -05:00
c308dc2cf9 account: refactor unregistering logic
This patch removes the callback argument to the doUnregister function,
which wasn't really needed since it was always called right before
returning from the function.

The patch also removes all calls to the shutdownConnections function
outside of doUnregister, and instead adds a boolean argument to
doUnregister to allow the caller to specify if they want the connections
to be shut down. This is a preparatory step for fixing the bug described
in the GitLab issue linked below.

GitLab: #1095
Change-Id: Ic78659f2e00684fd1db91c0ee3cf894a53d558ce
2025-01-23 14:29:00 -05:00
70a9c0b8a8 contrib: update opendht, disable io_uring
Change-Id: I67ab26f9fe3d4afcb682e60db25c97b1f07ebb5e
2025-01-20 13:49:22 -05:00
556650c9af contrib: bump dhtnet
This should fix the following issue:
https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1898

Change-Id: I508e02b7fd1870228801dc7f773ff586f439c4ed
2025-01-17 13:12:58 -05:00
59966097d0 jams: return true when revokeDevice succeeds
Change-Id: I8b66fe04a4ed5b1aa14da99cde3b7c84d1361e2d
2025-01-16 14:44:57 -05:00
leo
8f3c3b65d8 dockerfile: update node version
Change-Id: Iaf9e4019c3c15b106bf8db6841c9fd43d1785640
2025-01-15 21:37:02 -05:00
2fd25c2948 cmake/nodejs: build for node 22, arm64
Change-Id: I8b2d628acfdcad83983e12409b5c033a318a6bf4
2025-01-15 16:21:54 -05:00
4b8946fbd6 cmake/nodejs: improve dependency lookup
Change-Id: Iaa92e035fe4ac6a09e1586e7f4d681ecf1b053f4
2025-01-15 16:07:45 -05:00
58758918d3 contrib: fix build for libgit2 1.8-1.9
GitLab: #1093
Change-Id: Iaaed6d86dba597b7b4435a98022aad163599c9fb
2025-01-14 09:52:56 -05:00
efb8976193 namedirectory: add default scheme, use canonical name
Change-Id: Ia2858d7dab79954312b657ea4380f0ea65bfa640
2025-01-13 11:35:17 -05:00
3e586b0dd1 deviceRevocationEnded : add signal callback for nodeJs
Change-Id: I9853bfd5742f751c4e20ee4668feed550013561a
2025-01-13 09:33:00 -05:00
6c639d2317 logs: add accountId
Change-Id: Ia3ec3a96660821175d52c0120642c7c6fc946d1c
2025-01-09 15:42:55 -05:00
2eedc6b2b7 nodejs: add userSearch signal
Change-Id: I7ceb5c0809918ca53cbcf2bc1c0d8efff586f960
2025-01-09 11:03:39 -05:00
b85165ae1a copyright: happy new year!
Change-Id: I2753c58c12d167ee5f7454e5a2ed893991c90e24
2025-01-08 11:02:33 -05:00
9fb288936a ringbufferpool: refactor variable names + add documentation
Improve code clarity only. No logic changes.

Change-Id: I348185c79bf48248f1f407627d12fc50cbe3e1d4
2025-01-07 15:39:50 -05:00
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