Skip to content
Snippets Groups Projects
  1. Feb 26, 2024
  2. Feb 23, 2024
  3. Feb 22, 2024
  4. Feb 21, 2024
  5. Feb 20, 2024
  6. Feb 19, 2024
    • Sébastien Blin's avatar
      jamiaccount: redo presence design · 842128f0
      Sébastien Blin authored
      Green indicator is not understandable for the majority of users.
      This patch introduces a new approach to this status. API doesn't
      change, so this is 100% backward compatible but introduces new
      possibilities:
      
      1. The status sent to the client is now 0=offline (no device found
      on the DHT), 1=dht_presence (at least a device is found on the DHT),
      2=connected (with a TCP + SIP channel, so ready to exchange data).
      2. Publish can now be used on a Jami Account. Status is ignored,
      but custom note can be added. e.g. "Lunch time!"
      This status is sent via a PIDF XML status as described in RFC3863
      (and already supported by SIP account) to connected peers (or for
      future connections).
      
      Several scenarios are tested in ut_presence
      
      Change-Id: I87d987bc69e97f92a0c9f4751069e52ad69ea0fc
      Unverified
      842128f0
    • Sébastien Blin's avatar
      misc: cache members_ on disk · fcafe009
      Sébastien Blin authored
      This avoid to log commits at startup to get initial members() and
      speed-up a bit load conversations
      
      Change-Id: I402ee32bac19261e937b5cd8e738122619952cdb
      fcafe009
    • Sébastien Blin's avatar
      tests: fix ut_media_player · 228a7ec3
      Sébastien Blin authored
      The test fails as this is not the current behaviour of MediaPlayer.
      If this is considered as a behaviour we want, it should be done
      and the test should be added at this point.
      
      Change-Id: Ib3c76c72919e828b2be400095c24c474c2b1ce76
      Unverified
      228a7ec3
    • Sébastien Blin's avatar
      conversation: fix sync last display across devices · e6c193bd
      Sébastien Blin authored
      This fix testLastInteractionAfterClone
      
      Change-Id: Ic37001af693f25df37655897ee00d70727a68be8
      Unverified
      e6c193bd
    • Sébastien Blin's avatar
      conversation: fix bootstrap · 3cf2c762
      Sébastien Blin authored
      Fallback to next member if setKnownNodes doesn't trigger a tryConnect
      
      Change-Id: I5bba9f01071885d1c332a51235ccf6b3e4308ec8
      Unverified
      3cf2c762
  7. Feb 16, 2024
  8. Feb 15, 2024
    • Kateryna Kostiuk's avatar
      manager: add LIBJAMI_FLAG_NO_AUTOLOAD · a45a73dc
      Kateryna Kostiuk authored
      This patch introduces an option to initialize
      the daemon without loading any accounts or
      conversations. Additionally, it offers the
      capability to load accounts and conversations
      as needed. This feature could be particularly
      beneficial for iOS notification extensions to
      decrease CPU and memory usage.
      
      jami-client-ios#345
      Change-Id: Ib2ceef2a1f7d7cb7e7d4f94a18dd3bfdc3a8989f
      a45a73dc
    • Sébastien Blin's avatar
      misc: fix return in lambda · 49ae5533
      Sébastien Blin authored
      Change-Id: If627023f3275d5037898edf69be939b62ebdfbef
      49ae5533
    • Adrien Béraud's avatar
      conversation: properly find next member for fallback · 8d8595f9
      Adrien Béraud authored
      Change-Id: Ia2ff98a1ebff6fc922dbc2101dc01f2ab2e3ec3b
      8d8595f9
    • Adrien Béraud's avatar
      manager: use new log API in init() · ca6311a3
      Adrien Béraud authored
      Change-Id: Ie169196bb5616002a182cfc5117610c29fca9805
      ca6311a3
    • Kateryna Kostiuk's avatar
      connection request: add conversation id · 5dc5475f
      Kateryna Kostiuk authored
      This patch adds conversation ID to the connection type
      when sending a connection request. It will be used by
      the iOS notification extension to detect which conversation
      to start.
      
      jami-client-ios#345
      Change-Id: I164017db6883bfb22c49fa8f9d5f802bcd8e0a93
      5dc5475f
    • Adrien Béraud's avatar
      fileutils: cache get_data_dir and other paths · 27c199d5
      Adrien Béraud authored
      Avoids to recompute data_dir repeatedly.
      This improves performance on Android, avoiding repeated JNI calls
      by many native threads.
      
      jami_plugin_manager is moved to a unique_ptr
      to delay creation to init(),
      allowing to retrieve the proper data path.
      
      Change-Id: I31236363dbc3eb03f9e59ac038729af6fb68ce0b
      27c199d5
    • Adrien Béraud's avatar
      Conversation: capture weak_ptr for onNeedSocket · ae1f2720
      Adrien Béraud authored
      Change-Id: Ic0a31aa42ebf17002843027d443846a2052c2e0b
      ae1f2720
    • Sébastien Blin's avatar
      conversation: re-design sending/sent status · 09ec8e6f
      Sébastien Blin authored
      The goal of this patch is to allow the clients to get a better
      sent/read status from the daemon.
      
      API doesn't change much, but internal logic got some changes. For the
      client:
      + SwarmMessage now contains a map<string,int> status where string is the
        uri of a member, int is the status (0 = sending, 1 = sent, 2 = read)
      + cancelMessage is removed as not used anymore (sendMessage with flag=1
        will edit a message)
      + getMessageStatus is removed as the status is sent in the SwarmMessage
      + accountMessageStatusChanged is now emitted for swarm messages when a
        fetch or setDisplay occurs. Client must handle this signal correctly.
      + Previous code to manage last displayed, fetched status is now merged
        with message status
      + Sync info is done when the sync is opened, else status are not updated
        correctly
      
      GitLab: #948
      Change-Id: I60763d4de8a995c6fc9f6df6434e266211f8dc2f
      09ec8e6f
    • Adrien Béraud's avatar
      SwarmManager: minor optimisations · 5f624f6e
      Adrien Béraud authored
      Change-Id: Icdbef7639c772533b633427fc2cf0ae51595b584
      5f624f6e
  9. Feb 13, 2024
  10. Feb 12, 2024
  11. Feb 09, 2024
Loading