Commit Graph

16633 Commits

Author SHA1 Message Date
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
36ed7a60dc contrib: bump pjproject
GitLab: #1006
Change-Id: I912befd1efa0445ea74c317d1247c4f9bf019126
2024-06-26 11:37:55 -04:00
ae71140395 contrib: update minizip to 4.0.7
Change-Id: I5f237803c2a0fb73251ae9c87c86d3be58a3591f
2024-06-26 10:47:11 -04:00
d07853b4d0 contrib: update opendht
GitLab: #1016
Change-Id: I4280b2f34e0309943a5535532fe4e3d376e63a57
2024-06-20 11:37:31 -04:00
ed65571cfd contrib: update restinio to 0.7.2
GitLab: #1016
Change-Id: I570a6a03d5fe041a06a8a96cfaea24e5ef4b02f8
2024-06-20 11:37:31 -04:00
75e7aa49f0 llhttp: use HOSTVARS
GitLab: #1016
Change-Id: I65e83ff1b20bd6ec17a888731ebd32f0524dc17a
2024-06-20 11:37:31 -04:00
a477d35601 contrib: add llhttp
Change-Id: I1e3bad7e99673cad2bd49121914c7d3f69c00a95
2024-06-20 10:47:11 -04:00
24053b49e5 account: race condition with lookup and register
GitLab: #1012
Change-Id: I3588fddb291bbbd29cfff5248512f4bb4991a75e
2024-06-18 13:59:16 -04:00
f867eb26dc namedirectory: ignore lookup result if name already registered
Fix a race condition occurring when doing simultaneously lookup and register.

GitLab: #1012
Change-Id: I9fddebb43a06875a1d027ad4c79edb27a39e5eb5
2024-06-18 13:57:58 -04:00
96684fb5de CMake: unify build definitions with Meson and Autotools
* Use 0 or 1 for HAVE_RINGNS
* Add DEBUG when tests are enabled

GitLab: #544
Change-Id: I2e6a1ae12b3658a8b7d3ebfc160c3e4dbcbeadb0
2024-06-17 16:40:44 -04:00
b4d39a1e2c JamiAccount: save registername as lowercase
Gitlab: #1010
Change-Id: Id7356b61b468bcb946861e34706ff372f8ba9161
2024-06-17 11:16:29 -04:00
b0a83e7f18 tests/fileTransfer: testTooLarge
GitLab: #972
Change-Id: Ic345e31ff51c9d51b50df0c911594e9d7f07ebbb
2024-06-12 11:17:24 -04:00
06803cb1f1 conversation: add more logs in case of download failure
GitLab: #972
Change-Id: I99b96231864878d4e2a17c8923d7578d9709b4c9
2024-06-12 11:17:24 -04:00
1feb687300 jamiaccount: move sha3SumVerify to cpp
Prevents inlining from test code using different build options.

GitLab: #972
Change-Id: I1b52a848a54f8f24662858b45038cd053e43091d
2024-06-12 11:17:24 -04:00
e8f9139afd fileutils: add more logs, use error code instead of exceptions
GitLab: #972
Change-Id: Ie41b6b32bf9ed2764e86b8cb43ba6aedb9ec6a28
2024-06-12 11:17:24 -04:00
796d0ce0b6 ConversationRepository: always prevent redirects
GitLab: #1008
Change-Id: I5624c8c9bbde390bade01a071fb798b8bfe30835
2024-06-11 10:02:51 -04:00
69995fcb86 contrib: prevent freetype from building for libjami-core
This dependency is only required by jami-plugins. Until the
jami-plugins repo migrates to using its own dependency tree and
pywinmake, we can ignore its specific dependencies here.

Gitlab: #1009
Change-Id: Ie845b24cac28fcd6c0f5cced06214be36bb5346a
2024-06-11 09:55:15 -04:00
1eed2c28bf contrib: use CMake to build freetype
CMake support is provided upstream and should be used instead of
dated visual studio project files.

Gitlab: #1009
Change-Id: I8f614d71a9e78c3778f6f05d9621fb65af673eac
2024-06-11 09:55:15 -04:00
c5ba0f59b4 Contribs: Fix freetype rules.mak
Change-Id: I0f330b8246df2f7ed8753992cd42416578e92067
2024-06-10 15:03:26 -04:00
6030be0dfc data transfer: download to temporary file, rename on completion
GitLab: #972
Change-Id: Ic3f03fdc8fc28b387add46d1a59bf0bc15418595
2024-06-10 11:25:47 -04:00
90766f95a3 conversation: fix bug related to use of shut down swarm manager
The SwarmManager class uses the 'isShutdown_' variable to keep track of
whether it has been shut down or not. This variable needs to be reset to
false if we want to restart using a SwarmManager after it was shut down,
which we sometimes do when bootstrapping a conversation.

This patch fixes a failure in
ConversationRequestTest::testBanContactRestartAccount that was
introduced by commit eb4213d3a1.
GitLab: #1002

Change-Id: If5d295cbae4edd9e2292d7464e2eb2939b05eedb
2024-06-07 09:05:43 -04:00
04daac1034 contrib: fix shasum for freetype
Change-Id: I978d8e69351d5a302064e8524cab32ebd639a81e
2024-06-06 16:11:38 -04:00
e9826ae4c4 cmake: add support for nodejs
Change-Id: Ia6e13fd3bd27077dac41b210a8dfac8d78ae6d2c
2024-06-06 15:09:29 -04:00
544f35eb0d macos: link with Compression framework
Change-Id: I2f1e5fdaf7d24d6109c10447cf9a03b94148a6e0
2024-06-06 13:45:49 -05:00
9da8262c27 nodejs: fix binding
Change-Id: I11ee1d203c5a163eee323ba93636ae8800311b27
2024-06-06 13:15:56 -04:00
59b5d0a28c yaml-cpp: link to cmake module
Change-Id: I3fd92f387e8bc21a1d3109be9b5b5c90341b414d
2024-06-06 09:19:21 -05:00
dc66c7cbd2 macos: link with coreaudio
Change-Id: I830db186b4ff90a0ebdeeee3bf6ead34a56fdb2f
2024-06-05 16:28:46 -04:00
1ea9802c41 contrib: bump libvpx to 1.14.1
Change-Id: Ifbad55251f6f56e23b13365caa596023afce69e7
2024-06-04 14:02:21 -04:00
f985f8641b speex: include speexdsp_types.h instead of speex_config_types.h
speex_config_types.h is not present if only speexdsp is installed

Change-Id: I08798648ffbbfa1e84138b21b12e32c75b47e45f
2024-06-04 13:22:46 -04:00