Skip to content
Snippets Groups Projects
  1. Mar 10, 2017
    • Adrien Béraud's avatar
      device revocation: refuse loading revoked device · 26ad3277
      Adrien Béraud authored and Guillaume Roguez's avatar Guillaume Roguez committed
      The missing piece for working device revocation.
      * cert store: always use certificate chain match to check
        parent certificate.
        We used to allow a certificate if the parent certificate
        was explicitly allowed. This doesn't check for revoked
        device certificate. Instead, always check certificates
        using the standard certificate chain method except if
        the certificate itself is whitelisted.
      * ringaccount: check the account own device certificate chain
        This cause a revoked account to fail loading and propose
        the user to generate a new device from the archive
        through the standard account migration procedure.
      * ringaccount: check device loaded from disc using
        the common routine to discard devices revoked since the last
        save.
      
      Tuleap: #1457
      Change-Id: I03f015e78d1d14f5f2e9f99a6d3dd47a6f2c5bfe
      26ad3277
  2. Mar 09, 2017
  3. Mar 08, 2017
  4. Mar 02, 2017
  5. Mar 01, 2017
  6. Feb 28, 2017
  7. Feb 27, 2017
  8. Feb 24, 2017
    • Guillaume Roguez's avatar
      sip: fix sip call crash · 89ba505b
      Guillaume Roguez authored
      MTU discovery was only implemented into TLS secured ICE transport,
      not in other sip transport.
      This wasn't taken in account and causes crashes when SIP call (TLS or not)
      are made.
      We fix the problem by detecting the transport type at various stage
      and calling correct API (or use default values as in the case of MTU).
      
      Change-Id: Id256a718ca8265a7295085fab8db9cf8e4c99683
      89ba505b
  9. Feb 22, 2017
    • Guillaume Roguez's avatar
      coreaudio: modern C++ · f3d677fb
      Guillaume Roguez authored
      - replace malloc by C++ vector or new[]
      - use unique_ptr for dynamic allocations
      - use C++ cast than C cast
      - do not copy, use const&, & or move-idiom
      - replace NULL by nullptr
      - AAA rule
      - general coding rules
      
      Change-Id: I8a62ca9ef59b0807d5abeb0a5090521843dbb9ca
      f3d677fb
    • Guillaume Roguez's avatar
      call: fix audio tones generation · 72ee06ef
      Guillaume Roguez authored
      
      Ringing and busy tones have disappeared for an obscure reason.
      This patch reverts this situation by asking manager to play
      them at the right call state event.
      
      Change-Id: Ida6c3c946df553811b7b88b8a64e6a347fa3dfa4
      Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
      72ee06ef
    • Guillaume Roguez's avatar
      jack: fix missing include · 3ceb9d73
      Guillaume Roguez authored
      Since a recent patch manager.h doesn't provide non-related headers
      like audioloop.h.
      This causes some build error in .cpp files missing to include
      correctly their dependencies.
      This patch fixes such case for jacklayer.cpp
      
      Change-Id: Ic33bc83026749676e4c34b7989fc61efd459231c
      3ceb9d73
  10. Feb 21, 2017
  11. Feb 20, 2017
  12. Feb 17, 2017
  13. Feb 16, 2017
  14. Feb 15, 2017
    • Guillaume Roguez's avatar
      manager: fix newOutgoingCall method · e4a96e79
      Guillaume Roguez authored
      Manager::newOutgoingCall() does not handle case where
      a valid account is found (no prefered given) but not usable,
      and many accounts are possible.
      They are not tested.
      This patch fixes this situation and also reduce cyclomatic
      complexity by factoring the account search loop.
      
      Change-Id: I505d082f4ca5d7756fe1f257e1767696dc41a2bf
      e4a96e79
    • Guillaume Roguez's avatar
      manager: refactor of joinParticipant method · 5cab4fa7
      Guillaume Roguez authored
      
      - decrease cyclomatic complexity of joinParticipant by
      factoring conference binding code and removing
      unneeded createConference method.
      
      - move the ConferenceCreated signal at the right place
      in the flow (i.e. last in sequence).
      
      Based on a proposition from zinspierre <zins.pierre@gmail.com>
      and al. in part of the course LOG8430 (Polytechnique Montreal).
      
      Thanks to them.
      
      Change-Id: I55203cc400496cd679c4f157d765aee0dec9c4f8
      Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
      5cab4fa7
    • Guillaume Roguez's avatar
      increase keyframes request at stream begin · 6fe87e09
      Guillaume Roguez authored and Andreas Traczyk's avatar Andreas Traczyk committed
      
      Increasing the number of keyframes sent at the begining
      of a video stream upto 4 (was 1).
      Even if the bytes flow is increased (only temporarily)
      sending more keyframes at stream begin let a chance to
      have a nice video looking in case of possible network
      packet drop. It's often the case at the stream begin
      due to high traffic caused by the calling establishment
      process.
      
      Change-Id: I2636727422ca641d8af9d83c59b9d487aff606d5
      Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
      6fe87e09
    • Olivier SOLDANO's avatar
      Path MTU discovery implementation · 29ae5d8a
      Olivier SOLDANO authored and Andreas Traczyk's avatar Andreas Traczyk committed
      
      This implementation uses gnutls dtls heartbeat API to test path MTU.
      heartbeat allowing messages with automated response in a datagram,
      the application is able to guess the MTU via a timeout in the heartbeat.
      (timeout on packet sent and no response, implies that the MTU is lower
      than the lost payload.)
      To minimize false positives (a response is lost for example), each attempt
      triggers one retry on the first timeout.
      This version ensures a minimal MTU of 512 bytes will be returned in
      case of any failure in the procedure.
      For retrocompatibility with non heartbeat capable clients,
      a fallback MTU is set at 1280.
      
      Change-Id: Ib9a7f63a70e8bdad239d8fc103779a0f2c387e87
      Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
      29ae5d8a
  15. Feb 13, 2017
    • Andreas Traczyk's avatar
      build(UWP): fix patching for UWP · b5e2496c
      Andreas Traczyk authored
      - Commit 184178da applied a patch
        before decompressing the ffmpeg tarball. This patch applies the
        patch after decompressing the archive.
      
      - remove extra lines that were preventing a pjproject patch from
        being applied correctly.
      
      - remove patching to openssl, as a recent update to VS makes the
        patch prevent store compatibility.
      
      Change-Id: Id5e8576c5df8a08a2974d9bf71ccf31fb5b2c513
      Tuleap: #790
      b5e2496c
  16. Feb 10, 2017
  17. Feb 09, 2017
    • Andreas Traczyk's avatar
      build(UWP): add x264 support · 184178da
      Andreas Traczyk authored
      - Adds x264 as a UWP dependency and patches it to pass the WACK
        test.
      
      - Configures ffmpeg to build with x264 support
      
      Change-Id: I3de4a45ba0df73b9217b0a73d8f006b631f71e00
      Tuleap: #790
      184178da
    • Nicolas Jager's avatar
      migration : fix migrateAccount() · 51009e0d
      Nicolas Jager authored and Guillaume Roguez's avatar Guillaume Roguez committed
      
      - bug : if readArchive() line 1410 throw an exception, migrateAccount()
      will return without emiting any signal.
      
      - you can reproduce it by passing a wrong password to readArchive().
      
      - this patch fix the try catch by adding a signal before the return.
      
      - fix a missing else line 1421. Whitout it, whenever if
      updateCertificates return true, a Migration::State::INVALID signal is
      emited. Wich also leads when updateCertificates is true to emit two
      opposite signals.
      
      Change-Id: Id3bdbe6ef852095793af7802c75559d033b9f890
      Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      51009e0d
  18. Feb 08, 2017
    • Guillaume Roguez's avatar
      fix forced ringaccount re-creation · f57e51ef
      Guillaume Roguez authored
      This patch prevents to force a new Ring account creation
      even when the encrypted archive is present, valid and correct password
      is given.
      
      This was due to an invalid archive path checking that never take in
      account the fullpath.
      
      Change-Id: Id9b46774edbeb816551d05a743cb4a7d01ab637d
      f57e51ef
Loading