Skip to content
Snippets Groups Projects
  1. Jun 22, 2023
  2. Jun 21, 2023
  3. Jun 20, 2023
  4. Jun 16, 2023
  5. Jun 15, 2023
    • Alireza Toghyiani's avatar
      fix error in building daemon for iOS audio layer · 5bf8188d
      Alireza Toghyiani authored and Adrien Béraud's avatar Adrien Béraud committed
      Change-Id: I8926afa1e36352264ce2450c248c2c498ba2a0cf
      5bf8188d
    • Kateryna Kostiuk's avatar
      audio: remove usage of AudioBuffer on macOS · b86d8229
      Kateryna Kostiuk authored and Adrien Béraud's avatar Adrien Béraud committed
      Change-Id: Ib5e9798673fc7877f4fe12ac419acb3be1b1dde8
      b86d8229
    • Sébastien Blin's avatar
      contact_list: force removeContact to update all components · 439e6f24
      Sébastien Blin authored
      If a contact is added, removed and a new trust request generated
      and removed with "removeContact" it wasn't removing the trust request
      because the contact wasn't considered as active and the banned status
      didn't change.
      Removing this return condition force all components to update and
      supports client if they use removeContact instead of declineTrustRequest.
      This avoid useless complexity with isActive, because if isActive() is
      false, removeContact will not change the result and isActive() will
      still return false.
      
      A test is added.
      
      GitLab: #855
      Change-Id: I4385c2a480f6cfa5de3785a08bc2193eeb9a24a1
      439e6f24
    • Sébastien Blin's avatar
      dbus: stop daemon when last instance detached · fa330fe8
      Sébastien Blin authored
      + dbusinstance: count_ can be initialized to something else than 0
      causing count_ to always be incorrect
      + ring_api: check pointer for ioContext() (because a callback may
      be emitted right after ioContext() is resetted causing to end
      on a segfault instead exit=0)
      
      GitLab: #861
      Change-Id: If0d798aaa2ce7d65426d902868627bd701652375
      fa330fe8
  6. Jun 14, 2023
    • Sébastien Blin's avatar
      conversation_module: try to clone requests on bootstrap · 632ec7e3
      Sébastien Blin authored
      Since the DRT, we're not using trackPresence to start syncing
      with other members of the conversation but "bootstrap".
      For bootstraping conversation's requests we should try to clone
      it with the members marked in the convInfo.
      
      Also fix one incorrect test.
      
      Change-Id: I8cbefe266c15c637ef23350220a71a616ddefab6
      632ec7e3
  7. Jun 13, 2023
  8. Jun 10, 2023
  9. Jun 09, 2023
    • Sébastien Blin's avatar
      Revert "conversation_module: try to clone requests on bootstrap" · d3fe2b98
      Sébastien Blin authored
      This reverts commit 65c86319.
      
      Reason for revert: I see only this commit that can cause duplicates to appears. Will check without
      
      Change-Id: I3a36a59fb87c8cddaa7c9020112efabe9073a041
      d3fe2b98
    • Sébastien Blin's avatar
      tests: fix ut_conversation_call · dd35e705
      Sébastien Blin authored
      The fallback can take up to 30 seconds, so wait a bit longer
      
      Change-Id: I357ef48a43873396e575f70c2a1c391df8f5a655
      dd35e705
    • Sébastien Blin's avatar
      connectionmanager: do not cancel all waiting channel if first is declined · 22d5417d
      Sébastien Blin authored
      For a declined channel, onReady wasn't called. Only onShutdown()
      causing all waiting callbacks to be declined if the connecting
      channel was declined.
      Now onReady is always called if channel is declined or accepted,
      so we call all callbacks correctly. This fix sporadic failures
      in testMultipleChannelsOneDeclined where the git channel was
      declined as the connecting channel.
      
      Change-Id: I0ff7550c2f35cbcf20aaf796d56badfb18bec515
      22d5417d
    • Kateryna Kostiuk's avatar
      conversation: emit signal when conversation cloned · 90ee6bf8
      Kateryna Kostiuk authored
      Currently, when a contact accepts an invitation while
      iOS is in the background, the extension stops the
      daemon before synchronization is completed. This
      patch allows the client-ios to know when the fetch
      is completed, so it can wait until the conversation
      is cloned.
      
      GitLab: #776
      Change-Id: I123f3ca94c1cece1138db09d536f48e6533cf78f
      90ee6bf8
  10. Jun 08, 2023
    • Sébastien Blin's avatar
      conversation_module: try to clone requests on bootstrap · 65c86319
      Sébastien Blin authored
      Since the DRT, we're not using trackPresence to start syncing
      with other members of the conversation but "bootstrap".
      For bootstraping conversation's requests we should try to clone
      it with the members marked in the convInfo.
      
      Change-Id: I4095ee59d56a28c4a24f8f4ddd9116109e6d0b7c
      65c86319
  11. Jun 07, 2023
    • Sébastien Blin's avatar
      conversation_module: bootstrap after join · 2a4149eb
      Sébastien Blin authored
      Else we can replace the first notification to send and create
      some weird race-conditions. Fix testMemberBanNoBadFile
      
      Change-Id: I5b902cf67fe5647faaef7801ad6ce380cd801c78
      2a4149eb
    • Sébastien Blin's avatar
      misc: fix typo · 79e0e6a8
      Sébastien Blin authored
      Change-Id: If56a102c1861b762623acdbe11358b0bc85085c5
      79e0e6a8
    • Sébastien Blin's avatar
      misc: fix testMergeAfterMigration · f77182eb
      Sébastien Blin authored
      Due to certStore changes, we should force the certificate pinning
      after forceReloadAccount
      
      Change-Id: I1a98f86847607e9c48b91b5448185e3d25763a49
      f77182eb
    • Sébastien Blin's avatar
      connectionmanager: close all pending callback if all connections fails · af3c2229
      Sébastien Blin authored
      If all pending connections fails, it should remove all waiting callbacks
      and not only the connecting one.
      So, introduce a structure to make the difference between PendingCb linked
      to a ongoing DHT request and others waiting for the request to finish.
      If all ongoing requests fails, all waiting callbacks are called. This
      avoid wrong "Already connecting" messages.
      
      Change-Id: I518f1ef85294f55f78d1b75638b1612c68ea0a0a
      af3c2229
  12. Jun 05, 2023
  13. Jun 02, 2023
  14. Jun 01, 2023
  15. May 31, 2023
  16. May 29, 2023
  17. May 26, 2023
  18. May 25, 2023
    • Sébastien Blin's avatar
      conversation: avoid potential deadlock · c26eeb7a
      Sébastien Blin authored
      convModule()->bootstrap should not use configurationMutex_ while
      locking conversations. Else we may have:
      thread 1: configurationMutex_->conversationsMtx_
      thread 2: conversationsMtx_->configurationMutex_
      causing a deadlock
      
      So, retrieve known devices before bootstrapping the conversation
      
      Change-Id: Ib194edaa255b5ffde9e58ea7e0be0226943bb118
      c26eeb7a
Loading