1. 02 Apr, 2019 1 commit
    • 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
  2. 11 Mar, 2019 1 commit
  3. 03 Dec, 2018 1 commit
  4. 17 Sep, 2018 1 commit
    • Philippe Gorley's avatar
      build: add symbol visibility support · 43dcfd16
      Philippe Gorley authored
      Changes default visibility of symbols to hidden and makes only the API
      public. This patch aims to provide not only a stable API, but a stable
      ABI as well to any users of libring.
      
      This decreases the number of exported symbols significantly, benefitting
      dynamic linking time. Also decreases the chances of a symbol collision,
      and enables compiler optimizations.
      
      Bumps version to 6.0.0; clients must be recompiled.
      
      Change-Id: I5b639a6c0933af3021e40369b2e80d9a0b825e89
      43dcfd16
  5. 17 Aug, 2018 1 commit
  6. 03 Aug, 2018 1 commit
  7. 02 Aug, 2018 1 commit
    • Philippe Gorley's avatar
      audio: remove sndfile dependency · 834e835d
      Philippe Gorley authored
      Removes unused/deprecated audiorecord/audiorecorder
      Allows any file to be used as a ringtone (mp3, ogg, etc)
      
      Change-Id: I9ce33ec3d5f083caf098266befa597e78a95d7d6
      834e835d
  8. 07 Apr, 2018 1 commit
  9. 19 Mar, 2018 1 commit
  10. 08 Feb, 2018 1 commit
  11. 12 Jan, 2018 1 commit
    • Andreas Traczyk's avatar
      ios: add video implementation · cbff7d98
      Andreas Traczyk authored
      - adds a slightly altered version of the android video implementation,
        as a swift AVFoundation implementation will be used in the ios client
        to enumerate the video input devices.
      
      Change-Id: I7c16fc39c5d22e54fb146881150b6cbcfddb7806
      cbff7d98
  12. 05 Jan, 2018 1 commit
    • Guillaume Roguez's avatar
      data transfer: first implementation · 755347dd
      Guillaume Roguez authored
      First implementation of Reliable Data Transfer feature in Ring.
      
      This implementation is a draft, comes with a Python script
      tools/dringctrl/sendfile.py to play with and doesn't
      implement all the API as described into "datatransfer: API proposal"
      commit.
      This version uses TLS over TCP-TURN sockets to encrypt data.
      
      Transfers require a TURN server with TCP peer connections
      as described by the RFC-6062.
      
      Testing: Currently only sendFile API is implemented and data are
      saved into a temporary file saved in "/tmp/ring_XXXXXX",
      where XXXXXX are replace by mkstemp() command.
      
      Change-Id: I5b8f48432edd58df5046e368a99f58ea44046dcd
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      755347dd
  13. 03 Jan, 2018 1 commit
    • Guillaume Roguez's avatar
      make TlsSession great again · bdafdfb4
      Guillaume Roguez authored
      Or at least independant of underlaying transport...
      
      To make TlsSession able to handle both TLS and DTLS
      this patch removes the ICE dependency and replace is
      by the generic network ABC class 'GenericTransport'.
      As a first step this class is declared in tls_session.h.
      Side effects of this change are:
      
      * refactoring of PMTUD procedure: 'MTU' for gnutls has the meaning
        on 'payload-for-gnutls' so this information is now drived by
        the generic transport and not hardcoded anymore.
        The minimal value of probing remains hardcoded, as is a minimum
        given by RFC's documentation and it's based on an IPv4 packet
        associated with UDP protocol.
      
      * getMtu() is now maxPayload() and represent correctly what
        the application must have.
      
      * TlsSession implements itself GenericTransport: we can chain
        GenericTransport instances to construct an overlayed transport
        protocol.
      
      * TlsSession is now considered as non thread-safe for its public API.
        Caller must bring itself this property.
        This permit to remove a redundant mutex in send() operation.
        Note: and it's the case in the only user (SipsIceTransport),
        that why the mutex is redundant in 100% of cases.
      
      Notice the benefit of this genericity refactoring let us
      write a unit-test for this TlsSession class without having
      an heavy ICE transport to mock-up.
      
      Also ICE transport gained of this by adding a new IceSocketTransport
      to replace IceSocket in a near future (need async IO in GenericSocket,
      but not required for the moment).
      
      Change-Id: I6f4591ed6c76fa9cb5519c6e9296f8fc3a6798aa
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      bdafdfb4
  14. 22 Nov, 2017 2 commits
  15. 04 Oct, 2017 1 commit
    • Guillaume Roguez's avatar
      add pjnath TurnTransport class · f1819432
      Guillaume Roguez authored
      TurnTransport class is a C++ wrapper on PJNATH turn socket API.
      Bring an easy to use socket connected to a TURN server.
      Support TCP (even with peer) and UDP connection types.
      
      Requires rfc6062 support into pjproject 2.6, given by patch:
      88c820ee / contrib: implement rfc6062 in pjnath
      
      Include fonctional tests working with turn.ring.cx.
      Run tests as usual with "make check" command.
      
      Change-Id: Idf14c2ea192cab2fccf99b142492086284920a6b
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      f1819432
  16. 03 Oct, 2017 1 commit
  17. 09 May, 2017 1 commit
  18. 01 May, 2017 1 commit
  19. 07 Nov, 2016 2 commits
  20. 27 Oct, 2016 1 commit
  21. 18 Oct, 2016 1 commit
    • Anthony Léonard's avatar
      build: fix daemon build for mingw32 when restbed is needed. · 18533eb2
      Anthony Léonard authored
      Fix compilations options problem when building
      for mingw32.
       * configure.ac: Removed some LDFLAGS preventing test for
         librestbed to work. Also added -lws2_32 as restbed needs
         it.
       * src/Makefile.am: LDFLAGS removed from configure.ac are
         included here.
      
      Change-Id: Ie6256663778eb1376d4ae7930cbc94e7a240c714
      18533eb2
  22. 12 Oct, 2016 1 commit
    • Adrien Béraud's avatar
      multi-device: initial implementation · 1dccd81b
      Adrien Béraud authored
      * generate device certificate
      * generate encrypted archive including:
       - Account certificate
       - Generated Ethereum key
      * adds "signed receipt" to the account configuration
      * adds mechanism to export/import account over the DHT
      
      Change-Id: Iac77f990b094c3405785fb0df41bc8a993995a26
      Tuleap: #938
      1dccd81b
  23. 22 Sep, 2016 1 commit
    • Adrien Béraud's avatar
      add thread pool · 69fa3511
      Adrien Béraud authored
      A simple thread pool.
      It will start a new thread if all current threads
      are busy, up to the number of cores on the host.
      Keeps pending tasks on a queue.
      
      Adapts few uses in the daemon.
      
      Change-Id: Ia94a64bcdd4d8d8b16cf84e5a735c5246b08c13d
      69fa3511
  24. 19 Aug, 2016 1 commit
    • Gasuleg's avatar
      daemon: add SmartInfo · 0dc32710
      Gasuleg authored
      This feature provides relevant advanced information during a call.
      A user starts it with a refresh time and listens on a callback signal
      to get the updated information. This information is presented in a form
      of a map containing Call ID, codecs, framerate and resolution.
      
      The public API has:
      - startSmartInfo(<timeMS>)
      - stopSmartInfo()
      - CallSignal::SmartInfo(map) -- callback signal
      
      Change-Id: Iaafc12b5b53aee8ad008b93536f72a4152c4ee02
      Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      0dc32710
  25. 18 Aug, 2016 1 commit
  26. 17 Aug, 2016 1 commit
    • aviau's avatar
      fix check for zlib · a77d6be3
      aviau authored
      AC_CHECK_LIB was not correctly checking for the presence of zlib.
      We use PKG_CHECK_MODULES instead to add -lz to libring_la_LDFLAGS.
      
      Change-Id: Icfffb898030f886aae8c2c82dc5327f923f0f78e
      Tuleap: #746
      [stepan.salenikovich@savoirfairelinux.com: modified to use PKG_CHECK_MODULES and ZLIB_LIBS variable instead of -lz]
      Signed-off: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
      a77d6be3
  27. 08 Aug, 2016 1 commit
    • atraczyk's avatar
      daemon: avoid intrin.h conflict on Windows · c221eb0e
      atraczyk authored
      The Microsoft compiler will include the common header <intrin.h>
      regardless of the use of quotes. The file "intrin.h" should be renamed,
      and all references to it changed, as well as defining the UNUSED macro
      to nothing on the Windows platform.
      
      Change-Id: Id04d36e70d149746be8d78eed09aa963514b2810
      Tuleap: #801
      c221eb0e
  28. 07 Jul, 2016 2 commits
    • Stepan Salenikovich's avatar
      configure: remove --with-tls and --disable-dht · 3932c08d
      Stepan Salenikovich authored
      Ring no longer builds without GnuTLS and/or without openDHT, nor
      are we planning to support building Ring without them, so these
      should not exist as configuration options.
      
      The related preprocessor conditionals have also been removed.
      
      Change-Id: I8416ecc48f13a3fb77d9eb7d349b81f226e863f1
      Tuleap: #739
      3932c08d
    • Stepan Salenikovich's avatar
      configure: remove --without-instant_messaging · 7cf181ac
      Stepan Salenikovich authored
      Ring does not build with this option. Instant messaging is now a
      core functionality of Ring, so there is no reason to support building
      Ring without it.
      
      Change-Id: I2dfa06a711aaabb27c62fef96d9ec12c8f4f08b8
      Tuleap: #739
      7cf181ac
  29. 30 Jun, 2016 1 commit
    • Guillaume Roguez's avatar
      removing IAX account and libiax dependency · 36e857fc
      Guillaume Roguez authored
      This patch removes all IAX account code and libiax dependency in contrib.
      References in documentation have also been removed where needed.
      
      Change-Id: Ifff23725ccf7e1a6820dbc6f57256138a0fca042
      Tuleap: #813
      36e857fc
  30. 27 Apr, 2016 1 commit
    • aviau's avatar
      Set JSONCPP_CFLAGS in relevant Makefiles · 3d566657
      aviau authored
      When building against jsoncpp without the contrib build system,
      jsoncpp_cflags must be set so that we can include json/json.h. On some
      systems it worked anyways because jsoncpp is isntalled in
      /usr/include/json but on Debian systems jsoncpp is installed in
      /usr/include/jsoncpp/json so we must include /usr/include/jsoncpp.
      
      Tuleap: #597
      Change-Id: I8ad37ed6c119334b79c5ea72d5922e2e77231492
      3d566657
  31. 14 Apr, 2016 1 commit
    • Alexandre Lision's avatar
      account: add import/export API · ae5d1ada
      Alexandre Lision authored
      - do not read dhtPort when deserializing a Ring account, use a new
      one at runtime
      - cache directory is created when generating dhParams
      - use key stretching for archive encryption
      - bump OpenDHT to add key stretching support
      
      This commit comes with a necessary bump of OpenDHT
      
      Tuleap: #335
      Change-Id: Iee67569d378baaa33e9acd7cd9557422ab8e0471
      ae5d1ada
  32. 08 Apr, 2016 1 commit
    • Alexandre Lision's avatar
      contrib: add jsoncpp · efb3a336
      Alexandre Lision authored
      jsoncpp will be used to jsonify account details for the account
      import/export feature
      
      Tuleap: #335
      Change-Id: I100593ab1515e10d0c0b2314fe7b0e14c6dce26d
      efb3a336
  33. 14 Sep, 2015 2 commits
  34. 02 Sep, 2015 1 commit
  35. 17 Aug, 2015 1 commit
    • Guillaume Roguez's avatar
      logger: rewrite · 10f56705
      Guillaume Roguez authored
      - Console mode modified for a nice look:
        - add timestamp
        - colored header
        - reordering
      - Fix syslog output (openlog on "dring")
      - Multithread safe (mutex protected)
      - Make logger a C++ file and code cleanup
      
      Issue: #79075
      Change-Id: I6c818ec283541ce8e740693ebefbafce3cac5617
      10f56705
  36. 25 Jun, 2015 1 commit