Skip to content
Snippets Groups Projects
  1. Oct 25, 2020
  2. Oct 24, 2020
  3. Oct 21, 2020
  4. Oct 20, 2020
  5. Sep 19, 2020
  6. Aug 28, 2020
  7. Aug 26, 2020
    • Sébastien Blin's avatar
      data_transfer: emit in main thread · fd5a7a1b
      Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
      Some clients can try to get the data info in the DataTransferEvent's callback
      this can provide a deadlock on infoMutex_. To prevent that, emitting the signal
      on the main thread is necessary.
      
      Change-Id: Ifca032e497272c3da9e2a866a23e4883a142d1e9
      fd5a7a1b
  8. Aug 11, 2020
  9. Jul 16, 2020
  10. Jul 15, 2020
    • Sébastien Blin's avatar
      jamiaccount: improve vCard synchronization · 6541f8bb
      Sébastien Blin authored
      Because of the ConnectionManager, the daemon is now able to send
      direct messages such as typing indications and read status. This
      can be also used to move current features and improve it.
      
      This patch is a first step to improve vCard syncing. The idea is
      to send the vCard directly when a peer is connected. To avoid to
      send the vCard everytime, a state is written in the cache directory.
      
      In the future, a method to update the vCard as soon as the client
      updates its profile will be possible.
      
      Change-Id: I3801cbe04b3441f67ea6685aa2047e5a545958e5
      Unverified
      6541f8bb
  11. Jun 25, 2020
    • Sébastien Blin's avatar
      filetransfer: support channeled file transfers · b5c090ec
      Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
      With this patch, Jami will be able to use a current opened socket with a peer
      to transmit files. This means that no ICE negotiation will be necessary
      and if multiple files are transferred via the same socket
      
      Change-Id: I8eaf7c38595bbf8e86098d6c8ad21afc9210fe6b
      Gitlab: #228
      b5c090ec
  12. Jun 09, 2020
  13. Jan 03, 2020
  14. Sep 04, 2019
    • Andreas Traczyk's avatar
      win32: convert utf-8/utf-16 when accessing win32 apis · 25068e2e
      Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
      
      - any functions that get strings from windows apis, are converted
        and stored as utf8 strings internally
      - anytime an internal utf8 string is passed as a parameter to a
        windows api function, it is converted to a wstring
      - all of these translations apply currently to file paths
      - a windows client should make sure to setlocale to utf8 because
        we use some dependencies that call mbstowcs and wcstombs instead
        of WideCharToMultiByte/MultiByteToWideChar
      
      Change-Id: Ic13f55ace491e1088c0a3d436d3a0d02df7216c3
      Reviewed-by: default avatarSébastien Blin <sebastien.blin@savoirfairelinux.com>
      25068e2e
  15. Apr 30, 2019
  16. Apr 29, 2019
  17. Apr 17, 2019
  18. Apr 08, 2019
    • Sébastien Blin's avatar
      ftp_server: always get data_transfer id · 540a3025
      Sébastien Blin authored
      Currently, when an incoming request is cancelled the transfer id
      is lost. This patch avoid this case and allow the cancel part in
      p2p.cpp to clear the data related to this transfer.
      
      Change-Id: Ia5b69b514fce19e80ee3344d40eb395470212ef3
      540a3025
  19. Apr 02, 2019
    • Adrien Béraud's avatar
      sources: rename to jami · 2130f067
      Adrien Béraud authored
      * rename namespace from ring to jami
      * rename logs methods from RING_* to JAMI_*
      * rename RING_VIDEO to ENABLE_VIDEO
      
      Change-Id: Ic98498652d7059fafe58a96220d565bcdfa53658
      2130f067
  20. Jan 08, 2019
  21. Jan 02, 2019
  22. May 24, 2018
  23. May 07, 2018
    • Sébastien Blin's avatar
      datatransfer: add a 10 minutes timeout when awaiting peer · 1bebb458
      Sébastien Blin authored and Philippe Gorley's avatar Philippe Gorley committed
      
      Currently, when a file is sent, the peer needs to accept the transfer.
      So, connections with this peer will be opened until the peer accepts or
      not the file. Since the multi-device support, it's a problem because
      the peer has to accept/refuse the transfer on each devices.
      
      To avoid to leave unused connections while we are using the turn,
      we need to close these connections. This patch add a timeout to
      outgoing file transfers. So, after 10 minutes with the status
      awaiting peer, the connection is closed and the transfer canceled.
      
      NOTE: the peer will still see the awaiting_host status even if the
      connection is closed, but it's a known bug and it will need a major
      change of the blocking startNewFile function in FtpServer.
      
      Change-Id: Ic6e3a2bfebad92cc5c64f5ac2355c3c3765752c9
      Reviewed-by: default avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
      1bebb458
    • Sébastien Blin's avatar
      datatransfer: multi devices support when sending files · 55be1e14
      Sébastien Blin authored
      
      With the current implementation, when a user send a file to a contact
      who got several devices connected, a request will be sent to all of
      these devices and the first which answer will get the transfer. So,
      a user can't know on which device they will get the file.
      
      With this patch, in the same configuration the peer will receives
      the file on all of its devices and add the possibility to accept
      or refuse the file. To avoid to see multiple file transfers because
      a peer has several devices, I introduced a OptimisticMetaOutgoingInfo
      which represents the best current state of the transfer (for example,
      if one subtransfer is ongoing and one failed (cause refused) it will
      show the outgoing one).
      
      This is an ongoing work, in the near future we must:
      + Give the ability to clients to see the real status of each
      subtransfer (with the ability to cancel/retry transfer by devices)
      + Add a timer to close awaiting transfers to avoid to let a unused
      connection for too long.
      
      Change-Id: I84eb243bff2bfdc087a83dd7eced45c361f27d16
      Reviewed-by: default avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
      55be1e14
  24. Mar 23, 2018
  25. Mar 22, 2018
  26. Mar 20, 2018
  27. Mar 02, 2018
  28. Mar 01, 2018
    • Guillaume Roguez's avatar
      fix datatransfer · fe5e13c3
      Guillaume Roguez authored
      - implement "cancel" file transfer method
      - fixing various bugs found during testing
      
      Change-Id: Iea23cb3e2cdf8b4649afdf7436ec0701f9b67bdf
      fe5e13c3
  29. Feb 26, 2018
  30. Feb 19, 2018
  31. Feb 01, 2018
  32. Jan 30, 2018
  33. Jan 29, 2018
  34. Jan 23, 2018
Loading