1. 02 Aug, 2019 1 commit
    • Eden Abitbol's avatar
      upnp: support libupnp and libnatnatpmp simultaneously · 60515d89
      Eden Abitbol authored
      Update libupnp to version 1.8.4.
      
      For windows, the IPV6 preprocessor must be undefined. Or else
      libupnp won't initialize. Added visual studio 2017 support
      via one patch for windows that also combines previous windows
      patches.
      
      UPnPController: Class that the jami classes use to control the
      opening and closing of ports. Every  service has it's own upnp
      controller. The controller does it's actions by using the upnp
      context class. Also refactored the functions used to add
      mappings. Instead of using two different functions with
      different types of parameters, we now use one function with
      parameters that have default values. The logic stays the same
      but the function call is more clear.
      
      UPnPContext: Class that holds a (linked) list of discovered IGDs
      and their corresponding protocols (which discovered them).
      Whenever the controller wants to add or remove a mapping, the
      context picks a valid IGD in it's list and uses the correct
      protocol to complete the required action. This class also has
      the ability to swap protocols for an IGD that was discovered
      by more then one protocol.
      
      UPnPProtocol: Virtual base class that defines the functions
      needed by the context to use the corresponding protocol.
      
      PUPnP: UPnPProtocol derived class that represents a upnp client
      that uses the portable upnp library (libupnp). Every time the
      client discovers a new IGD it uses a callback to add it to the
      context's main IGD linked list. It also has an internal list of
      IGDs that it discovered. Added features to this class include:
      	- IGD event subscription.
      	- Use UpnpInit2 function instead of deprecated UpnpInit
      	  function. It's also supposed to support IPv6.
      
      NatPmp: UPnPProtocol derived class that represents a upnp client
      that uses the NAT-PMP library (libnatpmp). Unlike libupnp,
      libnatpmp only supports discovering one IGD. Also uses callbacks
      to add the IGD it finds to the context's main IGD class.
      
      Also inclided debug warning prints whenever a controller opens
      and closes the ports. That way we can keep track of whenever
      the application opens and closes ports on the internet
      gateway device.
      
      Gitlab: #96
      
      Change-Id: I199271edac2c6d93dc60c24e2e2aefe36de7950c
      60515d89
  2. 29 Jul, 2019 1 commit
  3. 17 Jul, 2019 1 commit
    • Ming Rui Zhang's avatar
      sip: fix send sms messages issue · 8835e993
      Ming Rui Zhang authored
      - fix the problem of sending SMS messages from sip to phone
      - add different headers
      - enable of handling unauthorized errors form server and resend
        request
      
      Change-Id: Ib1272c5fa3fb2c94dc83bbcf19fdb63957159e38
      8835e993
  4. 24 May, 2019 1 commit
  5. 29 Apr, 2019 1 commit
  6. 23 Apr, 2019 1 commit
  7. 03 Apr, 2019 1 commit
  8. 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
  9. 02 Jan, 2019 1 commit
  10. 20 Aug, 2018 1 commit
  11. 16 Aug, 2018 1 commit
  12. 13 Aug, 2018 1 commit
  13. 18 Mar, 2018 1 commit
  14. 31 Jan, 2018 1 commit
    • Adrien Béraud's avatar
      Ringaccount: add support for DHT proxy and push notifications · c5e74abe
      Adrien Béraud authored
      * Bump restbed for OpenDHT, update patch and add patch to react
        to timeout and socket closed in restbed.
      * Bump OpenDHT to support push notifications
      * Add DRing APIs to support setting a client push notification token
        and to retransmit push notifications to dring
      * Implement proxy support in RingAccount
      
      Change-Id: I8d3a02cf54a9666a94ab992ee3fa2958e82aa7ad
      c5e74abe
  15. 23 Jan, 2018 1 commit
  16. 22 Jan, 2018 1 commit
  17. 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
  18. 22 Jun, 2017 1 commit
    • Guillaume Roguez's avatar
      upnp: do not enable if not used · e54bb48c
      Guillaume Roguez authored
      upnp is always activated even if no account uses it.
      
      Here we refactoring its creation and availability checks.
      This also removes an atomic_bool that gives no true conccurent
      protection as it protects itself, but not multiple accesses
      to upnp_ member.
      
      Change-Id: Ibf6aaee54077867cdf3029fd51ef6cae0b7488c1
      e54bb48c
  19. 08 Feb, 2017 1 commit
  20. 11 Jan, 2017 1 commit
  21. 05 Jan, 2017 1 commit
  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. 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
  24. 07 Jul, 2016 1 commit
    • 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
  25. 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
  26. 09 Mar, 2016 1 commit
  27. 18 Feb, 2016 1 commit
    • Adrien Béraud's avatar
      account: prevent all codecs from being disabled · 6299a511
      Adrien Béraud authored
      All codecs being disabled prevents Ring from making any call.
      If all codecs are disabled for audio or video, re-enable all codecs
      of this kind.
      
      Tuleap: #394
      Change-Id: Ib65e0e878686b2580b312202482b9ddbce298590
      6299a511
  28. 04 Feb, 2016 1 commit
  29. 28 Oct, 2015 1 commit
    • Adrien Béraud's avatar
      accounts: add API-controlable "active" property · 6d7d0737
      Adrien Béraud authored
      * add "active" runtime property to accounts
      * accounts can only be used when active
      * "active" state is not persistans
      * add "active" state to volatile properties map
      * add setAccountActive API
      * "active" is the default state (backward compatibility)
      
      The active state can be used to manage runtime states
      defining if an account should be used (e.g. on Wifi/3G etc.)
      
      Tuleap: #9
      Tuleap: #42
      Change-Id: Ie3b3aaadea6e43237fc22f6a1f96de8cbfe2bd95
      6d7d0737
  30. 21 Sep, 2015 1 commit
    • Guillaume Roguez's avatar
      update Copyright header · 5236ab05
      Guillaume Roguez authored
      - remove OpenSSL exception
      - fix Savoir-faire Linux naming
      - fix common Author: representation
      
      Issue: #80663
      Change-Id: I6c3b2ca1ed48ed474a0ecd5a30fe793526e11b00
      5236ab05
  31. 06 Aug, 2015 1 commit
  32. 31 Jul, 2015 1 commit
  33. 30 Jun, 2015 1 commit
  34. 05 Jun, 2015 1 commit
  35. 03 Jun, 2015 1 commit
  36. 28 May, 2015 1 commit
    • Emmanuel Lepage Vallee's avatar
      build: Fix some GCC5.1 warnings · 4e85791e
      Emmanuel Lepage Vallee authored
      Not all warnings have been enabled, only the most
      useful ones. This fix some outstanding issues and
      try to mute most deprecated warnings in dependencies
      headers.
      
      * Add missing "defined()" macro function
      * Undefine an improper macro
      * Disable warnings for legacy code include
      * Add missing cases for enum classes based switch
      * Add a warning for potentially dangerous code
      * Change ICE "onRecv()" prototype to return void
      * Fix an apparently accidental virtual override signature problem
      * Change a std::basic_string constructor to avoid ambiguity
      
      Refs #74147
      
      Change-Id: I1361fc5d16c63fd7590f8d68ffdb0e2588a8b635
      4e85791e
  37. 15 May, 2015 1 commit
    • Guillaume Roguez's avatar
      ice: implement TURN/STUN servers options · a0d2e366
      Guillaume Roguez authored
      This patch modifies the internal IceTransport API.
      We now use a IceTransportOptions to select ICE options.
      STUN/TURN servers are modified using this options struture.
      
      Refs #72663
      
      Change-Id: I35106000d803c1374f97ce89e7b895faf1e97b77
      a0d2e366
  38. 11 May, 2015 1 commit
    • Edric Milaret's avatar
      dht: fix random generators on Windows · a5acbc5a
      Edric Milaret authored
      This patch should fix DHT calls on Window platform.
      
      Replacing random_device (deterministic on Windows because of
      no /dev/urandom/ support) with a default_random_engine with a time seed.
      It's a less secure way of doing it (vulnerable to time attack).
      
      Refs #72538
      Refs #72700
      
      Change-Id: I259f80144eeee6732cc969ecb224544a53d7ccf1
      a5acbc5a
  39. 27 Apr, 2015 1 commit
  40. 07 Apr, 2015 1 commit