Commit Graph

16661 Commits

Author SHA1 Message Date
ad5b6cbaf6 misc: unify terminology
8+3 filename → 8.3 filename
be ware → beware
{cannot, can not, cant, can't, could not, couldn't} → unable to
conpleted → completed
file name → filename
imcomplete → incomplete
informations → information
trying to → attempting to
wrong password → incorrect password

GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/issues/1730

Change-Id: Ia7757efafd2c06af978db02c65b40b1b77c393f8
2024-09-16 16:12:55 -04:00
3004e72cef interface-nodejs: add files transfer support
Now it is possible to send and receive files through the nodejs interface

Change-Id: Ide81e01c1965ea790b4c0d892445d14dcec38b30
2024-09-16 13:38:47 -04:00
4d1e714569 contrib: update nettle URL
The previous URL was not working, so we updated it to the new one:
https://ftp.gnu.org/gnu/nettle/nettle-3.9.1.tar.gz

Change-Id: I1dd4f8ebb918e3ce1b7c9e2fa62010b25861b59d
2024-09-10 16:50:34 -04:00
dd54a5bef0 contrib: bump dhtnet
This fixes a bug in DHTNet that caused some of the daemon tests on
Jenkins to generate a large volume of logs (20+ GB) before eventually
timing out.

GitLab: #1059
Change-Id: I6d824d457c5bed929ba654b45c787c395b326ca5
2024-09-09 15:42:50 -04:00
e913498d2f contrib: bump dhtnet
The latest version of DHTNet includes a fix for a serious bug in the
handling of the NAT-PMP protocol.
https://git.jami.net/savoirfairelinux/dhtnet/-/issues/33

Change-Id: I31b8d51f8bc1c713d7e1046d98c50f16345bf17d
2024-09-06 16:15:56 -04:00
9ea8d21888 libressl: fix macOS build
Change-Id: Ic7db747d0cb1ebabfa2eacf6058b9fabfab93242
2024-09-06 14:30:07 -04:00
47e503cb77 upnp: fix bug in poll.patch
This commit fixes a bug in poll.patch that prevented UPnP search
messages from being sent.

GitLab: #1054
Change-Id: Ied2329d98ac45f4ccfa88f8eaaccba82327cfdd4
2024-09-03 14:37:24 -04:00
860fa52149 notifications: reload contacts and requests
When the app becomes active, the list of trust requests
should be reloaded for contacts to be added properly.

https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/404
Change-Id: I8e20ad28ecfecbbfbd7444dca63f6fdab5f52d66
2024-08-30 11:53:34 -04:00
f9bd1e0567 libressl: fix iOS build
OSByteOrder.h on macOS does not include the
required macro definitions. Applied the fix suggested
in https://github.com/libressl/portable/issues/1025.

Change-Id: I033fb5f405aed6fb8bcf859ea13bc8d3cb4959f1
2024-08-27 11:22:33 -04:00
e0002aa780 contrib: update libressl to 3.9.0
Change-Id: I6f90c6c21a6fd674366682382cc545f84198ace7
2024-08-23 15:13:12 -04:00
361339d01b connection request: fix conversation id parsing
Change-Id: I7ffd3f5785f22654fc99eb3e5c2e94f6b3f01293
2024-08-23 11:47:28 -04:00
54696df408 notifications: reload contacts
This patch reloads contacts when loading account for the
notification extension.

https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/404
Change-Id: I8edfde7f1c4285dd4004b42ca5b7747e9bf1479e
2024-08-21 11:49:47 -04:00
e1eb4e426f misc: unify terminology
Start audio call
Start video call
https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1730#note_51880

Change-Id: I97a071cec60791965a1c9f7c39c9ff9a9f0aeb7b
GitLab: #1730
2024-08-19 23:10:03 -04:00
d4fe29cb17 nodejs: build with exceptions/rtti on macOS
Change-Id: I1e90112fef4bdfc32cae0da3005428ce066cdf18
2024-08-15 13:25:13 -04:00
de1724575a nodejs: update for new daemon APIs
Change-Id: I74c8b6bf420b5cd64af8701dd1b869c703ec8ba6
2024-08-15 13:25:08 -04:00
cbf8f0af6d conversation: don't connect to banned members
This patch makes two changes to ensure that banned swarm members don't
sync with or receive message notifications from other members:
1) when bootstrapping a conversation, devices belonging to banned
   members are no longer added to the swarm manager;
2) when merging a "ban" commit for a certain swarm member, that member
   is immediately removed from the swarm manager's routing table and all
   Git sockets with them are removed.

GitLab: #1041
Change-Id: Idb817795f978ca4ca46502efea5101831ffccbe3
2024-08-12 12:57:55 -04:00
9d500e78fd conversation_module: don't update removed conversations
When removing a contact, we need to set the "removed" timestamp for our
active conversations with that contact, but we shouldn't update the
timestamp for conversations that had already been removed in the past.

GitLab: #1048
Change-Id: Ic090775625fa8fb557e3081ec408ee10bf01aaff
2024-08-05 11:42:06 -04:00
b493c7e81b namedirectory: manage multiple registering operations in parrallel
GitLab: #1046
Change-Id: I1a1c3607c06263feb92564dcb94510b7420f4e4b
2024-07-31 15:53:39 -04:00
22d3520297 call: reset parent, subcall connections on hangup
prevents memory leak

Change-Id: I0b961983e3b115d225daa435b6cd6e1536a36099
2024-07-31 11:52:27 -04:00
72cd06e51f account: don't block computation thread pool
GitLab: #1045
Change-Id: I893704699f899a55e669d51d9f7f55b811b66241
2024-07-30 16:08:25 -04:00
59b5a2174c JamiAccount: consume credentials from config
GitLab: #1028
Change-Id: Ie1f6055c9d117e02538b2dfce5525d8ba15a06a2
2024-07-26 15:49:23 -04:00
51d767d982 contrib: Windows: remove inexistent patch from package.json list
This patch file was removed but the package.json was not edited.

Gitlab: #1027
Change-Id: I8b8f8c3370133b9600dc93616a2c2df91399def1
2024-07-26 11:48:22 -04:00
6cfe42ae81 scripts: Windows: fail from winmake.py
Follows adjustments in pywinmake 0.2.0 that change the way failed
operations are bubbled up to the versioner object.

Gitlab: #1027
Change-Id: I7d700ff3d5e9f561fa038f2683783dedcdbf6565
2024-07-26 11:48:22 -04:00
c28f843ef1 conversation: refuse malformed uri
Second part of this fix: https://review.jami.net/c/jami-daemon/+/28337
GitLab: #1721

Change-Id: Ie428a57d89ac3db4e32660735cb3a5b0bf0f5c94
2024-07-23 11:19:44 -04:00
34f37d4b52 contrib: update natpmp, use CMake
Change-Id: I4aa469134be1167847413d970f745d695d561315
2024-07-22 17:36:10 -04:00
51df87226b contact_list: fix trust request update bugs
https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1804
Change-Id: I8cb3ffc7d5b1b2b8bbfe018b922c260a569411fb
2024-07-22 15:24:38 -04:00
13e51e8879 contrib: download gmp from gmplib.org
Change-Id: I15a5f7729a5296ecc6e7e1ad0b3ec1ae10797269
2024-07-19 10:45:34 -04:00
5817b3ef3a jamiaccount: clear proxy cache if proxy is disabled
Change-Id: Icfe7a639c0cce9166bfb6578431da05a5ceb43b1
2024-07-16 14:59:00 -04:00
66d2bc2201 misc: add .history/ to the gitignore
Change-Id: I8b23add26eda26d02e06da52e48d79862772e580
2024-07-16 13:17:47 -04:00
44bdcf0fe4 ffmpeg: fix pipewiregrab stride bug
https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1637
Change-Id: Ic8c876ee86ce4f3f1000c82d516d28463df7687a
2024-07-16 12:55:55 -04:00
e5afe3c5a1 sbom: add generation for windows packages in SBOM
When running `make cyclonedx`, it will also try to generate a separate
SBOM for the Windows packages. For this, it require `jq` to be installed
or it will generate only the linux SBOM.
GitLab: #1021

Change-Id: I50dfc23c7e053e4674d2b6816a9c53106414c1d3
2024-07-16 11:09:30 -04:00
6d98bac2e8 sbom: add a cyclonedx generation for make rules
Using `make cyclonedx` will generate a CycloneDX SBOM for the project.
This include only basic informations about components and dependencies.
GitLab: #1021

Change-Id: I5443de18abd0e2f584f0c600df15ff6c3cdf55fa
2024-07-16 11:09:30 -04:00
7220a71ce0 conversation_module: keep members lists in convInfos_ up to date
This patch adds a callback in ConversationRepository so that
ConversationModule can be notified whenever the list of members in a
conversation is updated and saved to disk.

GitLab: #1026
Change-Id: Ia6fe26f66c584603e4719c9b4c4a9b7bcca7b7f0
2024-07-15 15:24:58 -04:00
2a805d24fe jamiaccount: fix deadlock
This patch moves the updateConvForContact function from JamiAccount to
ConversationModule. This fixes a deadlock that sometimes occurred when
starting Jami.

GitLab: #1033
Change-Id: I441426fa339e5cfb327566df6132bfecb206bd1e
2024-07-15 14:53:12 -04:00
4e84cc5de7 ConversationModule: use accountManager directly
ConversationModule is guaranteed to be provided a loaded accountManager
at all times with always the same deviceId.
This allows to bypass the account and the configurationmMutex during loading,
and avoids consistency issues.

GitLab: #952
Change-Id: I1068e7eb559f8be27bf34817abb3f2898de3318e
2024-07-15 10:47:18 -04:00
5de9d9eee3 conversation: cache account config
A Conversation is now initialized for a specific userId
and deviceId and is less dependent from the account.

GitLab: #952
Change-Id: I0a0e14f6b1877c04a7853a36a3b08fbc1c2aba42
2024-07-15 10:47:04 -04:00
76f51892cf conversationrepository: remove all user device certificates in leave()
Instead of using the account manager, iterate on the device list and
remove all user-owned device certificates.

GitLab: #952
Change-Id: I882832aaa61f55cd77664975bbf8b9e401ca8240
2024-07-11 11:37:30 -04:00
6c23602105 config/jamiaccount: add proxyListEnabled configuration
GitLab: #1031
Change-Id: I0da827a1f5499341b89c8b47543eca9f8f1c85d9
2024-07-11 10:27:55 -04:00
f08ae8c8e3 sync module: remove unused variable
Change-Id: Id7374e2d3e264e3fc96de6b0cc2cab8707839ef2
2024-07-11 10:27:55 -04:00
2108b3dc79 vcard: remove unused/deprecated mime type
Change-Id: Iacbe25c737a0ece73f7452ab2d8a507c91f50bef
2024-07-11 10:27:55 -04:00
8112b29761 contrib: remove pywinmake submodule
The submodule may need frequent bumps and should be managed
separately as a build tool by developers. This commit also adjusts
the CMakeLists.txt to restrict the generated build configurations
on Windows to only "Release" because as this is the only config
that is currently used and functional (PDBs are generated and other
debug mechanisms can be activated as needed).

Build instructions are added to the README.

Gitlab: #1027
Change-Id: I367a6ded1a53056bc862c37d8e64417415cc339f
2024-07-08 16:35:36 -04:00
b54bd299a2 contrib: build minizip with zstd
Change-Id: If9a8dbd8a0c18116bfe64c251eff31240f10fa58
2024-07-08 10:01:01 -04:00
a1bcbd8ad4 update dhtnet
Change-Id: Ic215139204182321f0dd4aecf36fe536d72f86ac
2024-07-05 13:31:41 -04:00
8786fdc0a7 conversation_module: add peer to list of members when starting conversation
This fixes a bug that was introduced in commit
239d136788.

GitLab: #1025
Change-Id: I688bb22f39a96eae7dd4acb89225fd5962edfb07
2024-07-05 11:17:16 -04:00
4d5e067ed1 conversationrepository: add conv id in logs
GitLab: #952
Change-Id: Iadfdddd84abc94e1d0b07fe1d9f3a73d45d93636
2024-07-04 16:01:17 -04:00
e31ca92b36 conversationrepository: cache account config
GitLab: #952
Change-Id: I50264953b3d1575cc323caf5348747f8b8a35313
2024-07-04 16:01:17 -04:00
2e49d649d7 misc: windows: bump pywinmake version
Gitlab: #1022
Change-Id: I2b65d77b92742378cab7a1f25e1cc666d67fb1bd
2024-07-04 13:17:13 -04:00
a32d0bf933 ConversationRepository: always prevent redirects
GitLab: #1008
Change-Id: I04128942baebdbe0956904b508485c1625ba32e3
2024-07-02 17:10:13 -04:00
d84d0c42ec contrib: add CPE information on packages
Added "cpe" field in package.json and PKG_CVE for make rules.
GitLab: #1021

Change-Id: I375fe3c224b0578ed702877d236fbc8ed0a5d8d5
2024-07-02 15:39:48 -04:00
c9f251d797 msgpack: increase minimum required version
GitLab: #1018
Change-Id: I66db4b10e4621e468bb75937efa52760d116437e
2024-06-26 15:20:38 -04:00