Skip to content
Snippets Groups Projects
  1. Oct 21, 2016
    • Stepan Salenikovich's avatar
      CallModel: disconnect from removed Call's signals · 4103434a
      Stepan Salenikovich authored
      Once a call is removed (is over) we no longer need to be connected
      to its signals. Notabely, this prevents warning logs about the
      Call object not being found in the model if it changes.
      
      Change-Id: I38281f2adceec10c8b5b751fb6f984d3084bf458
      Tuleap: #1076
      (cherry picked from commit 6b787030)
      4103434a
  2. Oct 14, 2016
    • Stepan Salenikovich's avatar
      invoke ContactMethod::addCall() even if the call fails · 5e4f35ac
      Stepan Salenikovich authored and Guillaume Roguez's avatar Guillaume Roguez committed
      If the call immediately failed on creation (empty call id returned
      by the daemon) the call was not being added to the CM nor the Person
      because addCall() was never being called. This created an
      inconsistency since the call IS added to the CallModel. Such calls
      should either not be added to the CallModel, or else they should be
      added to the CM and Person as well. We choose the latter solution
      as this is more informative to the user. Otherwise the user has no
      way of knowing if the call failed immediately or was just never even
      attempted.
      
      Thus this patch ensures ContactMethod::addCall() is called for all
      attempted calls. The PhoneDirectoryModel is ammended to not keep
      track of statistics for added calls which are in a failed state.
      
      Change-Id: Ie9d2c22a8a9b7fe84d4d02b3887901ac8974130f
      Tuleap: #1093
      (cherry picked from commit 596f988d)
      5e4f35ac
  3. Oct 07, 2016
  4. Oct 06, 2016
  5. Oct 04, 2016
    • Stepan Salenikovich's avatar
      improve selection behaviour in RecentModel · 982996e3
      Stepan Salenikovich authored
      When the CallModel selection is cleared, check if there is still a
      call selected in the RecentModel; if so, then select that call in
      the CallModel so that the UserActionModel is updated correctly.
      
      Change-Id: Ie8262762ad28865ea454f4dba21111fa9501f2e7
      Tuleap: #1072
      982996e3
    • aviau's avatar
      IM: emit dataChanged on the right QModelIndex · b909204b
      aviau authored
      This commit updates the accountMessageStatusChanged method to emit
      dataChanged signals on the right QModelIndex.
      
      This is done by saving the row of the QModelIndex in the message node.
      When and if re-ordering is implemented, this number will have to be
      updated.
      
      We also expose the message id from the daemon. It can be used by clients
      to uniquely identify messages. This will be useful when re-ordering is
      implemented.
      
      Tuleap: #1073
      Change-Id: Iee9529e374086a268528d06e91c9f5fe0e61811d
      b909204b
  6. Sep 16, 2016
  7. Sep 13, 2016
  8. Sep 08, 2016
    • Stepan Salenikovich's avatar
      improve RecentModel::getIndex(ContactMethod*) behaviour · f957600b
      Stepan Salenikovich authored
      ContactMethods which are associated with a Person are not contained
      in the RecentModel as items. Thus we amend the getIndex function to
      also check if the given ContactMethod is associated with a Person
      which is an item in the model, instead of just returning an invalid
      QModelIndex in this case.
      
      Change-Id: I996d08bb7d9a550bd3f027348b350b3b0bc631b9
      Tuleap: #956
      f957600b
    • Stepan Salenikovich's avatar
      person: forward callAdded signal · 0d89d690
      Stepan Salenikovich authored
      ContactMethod objects emit a callAdded signal when a new call is
      created that ContactMethod. This patch forwards that signal to
      the Person object which contains that ContactMethod, so that the
      Person object can also emit a callAdded signal.
      
      Change-Id: I913035e0610349ad810e8e29b0b585b19e05ee85
      Tuleap: #956
      0d89d690
  9. Sep 07, 2016
  10. Sep 06, 2016
    • Stepan Salenikovich's avatar
      recentmodel: get active calls in constructor · 1a0b0353
      Stepan Salenikovich authored
      This patch make the RecentModel get the list of active calls and
      conferences during its initiation, since it is possible for the
      RecentModel to be initiated after some calls have already been
      created in the CallModel.
      
      Change-Id: I013ac8908daddd23ae351215916bd14dd718ebf1
      Tuleap: #1004
      1a0b0353
  11. Sep 02, 2016
    • aviau's avatar
      Detect removed accounts by other clients or dring · ce8c7161
      aviau authored
      This patch makes sure that LRC will notice accounts that are removed by
      other clients or by the daemon.
      
      Change-Id: Icf766614d54f7163311fa1862ace3b65bc655750
      Tuleap: #995
      Unverified
      ce8c7161
    • Edric Milaret's avatar
      fix videorendermanager for windows · c2943f3f
      Edric Milaret authored
      The new version is causing segfault on camera stop.
      This was know when we merged it but the windows client
      was froze. So now that's it has been revived we need to
      use the old one for windows.
      
      Change-Id: Icbf7e327ce4f0d737955955136f4e9bab64a8f50
      Tuleap: #920
      c2943f3f
  12. Sep 01, 2016
    • Edric Milaret's avatar
      fix move in codecmodel · 471c7245
      Edric Milaret authored
      We were removing and inserting an item instead of just moving it
      That confused the selection in the UI.
      
      This fix is only applied for windows because the gnome and osx clients
      don't yet support the layoutChanged signals which are emitted when move
      operations are performed on the source models of proxy models.
      
      Change-Id: I6a62164231e44f3894d300b3445c781ed8062cbd
      Tuleap: #933
      471c7245
  13. Aug 30, 2016
    • Olivier Gregoire's avatar
      add SmartInfo · ad49fc70
      Olivier Gregoire authored and Guillaume Roguez's avatar Guillaume Roguez committed
      
      This feature provides relevant advanced information during a call.
      
      The public API has:
      - start() and stop()
      - setRefreshTime(<timeMS>)
      - changed() -- signal
      - getters
      
      [Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>: edit for daemon API sync]
      [Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>: better code writting]
      
      Change-Id: I5eb464cdfacfbf2eda318c6945c128f8b64860fc
      Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      ad49fc70
  14. Aug 23, 2016
    • Guillaume Roguez's avatar
      remove dead code about ZRTP · 17ca5194
      Guillaume Roguez authored
      ZRTP is not longer supported since long now.
      Many code and API are deprecated and public API is stubbed.
      This patch removes all this dead code.
      
      Change-Id: Ifb9f094b2a76b1b1c067dc17ac7841a8d7787bc9
      Tuleap: #889
      17ca5194
  15. Aug 12, 2016
  16. Jul 22, 2016
  17. Jul 11, 2016
  18. Jul 08, 2016
    • Stepan Salenikovich's avatar
      recentmodel: fix Person selection · 67624a8d
      Stepan Salenikovich authored
      This patch fixes two bugs:
      - the selectNode() function was giving the wrong pointer during idx
        creation, which caused potential segfaults
      - the setCurrentIndex() function should be used instead of the select()
        function to properly select the index... this fixes the issue of
        when an incoming call is not automatically selected if a new contact
        is created for its CM (eg: during new profile transfer)
      
      Change-Id: Ie297a570ce184559eb01fe20ae2890a6573b1bf3
      Tuleap: #835
      67624a8d
  19. Jul 07, 2016
    • Stepan Salenikovich's avatar
      videorenderermanager: fix renderer lifecycle · 4909f3fc
      Stepan Salenikovich authored
      The decodingStopped signal is recevied before the call
      is in the OVER state most of the time, since its possible
      for decoding to start and stop. Thus, once decoding has
      stopped, we wait until the call is over to destroy the
      renderer.
      
      Change-Id: I440f33a843f657cd9b70ee715a72cae7494a8921
      Tuleap: #644
      4909f3fc
  20. Jun 30, 2016
  21. Jun 23, 2016
  22. Jun 22, 2016
    • Stepan Salenikovich's avatar
      call: update conference state to OVER on remove · 4d775ea8
      Stepan Salenikovich authored
      The conference state is never updated when its removed since
      no changed signal is emitted with an updated state. This sets
      the state to OVER when we receive the "conferenceRemoved" signal.
      
      The renderer must be removed with deleteLater() due to pending
      slot/signal connections.
      
      Tuleap: #644
      Change-Id: I23420755fe248ca942a2771c07f657a3c821001a
      4d775ea8
  23. Jun 20, 2016
    • Stepan Salenikovich's avatar
      accountmodel: fix Ring contacts not showing up · cd2aabec
      Stepan Salenikovich authored
      This fixes the contacts with RingIDs being hidden in the
      CategorizedContactModel when setUnreachableHidden is true. This was
      due to a regression introduced in an earlier patch which made it
      that only the SIP protocol was marked as enabled and only if there
      was an IP2IP account.
      
      Change-Id: Ia59c5c6826fdc8cf2513807685204b2b38072ba9
      Tuleap: #720
      cd2aabec
  24. Jun 17, 2016
    • Emmanuel Lepage Vallée's avatar
      account: Trask last event time_t · 93d17c8d
      Emmanuel Lepage Vallée authored
      This is useful to display the "uptime" next to the account name in
      the statusbar.
      
      I track the uptime in a client function to avoid adding to much
      logic in account.cpp.
      
      Change-Id: Ie4c5f47b99f7be97c6d1abce91d6e02856e8741c
      93d17c8d
  25. Jun 14, 2016
    • Stepan Salenikovich's avatar
      certificatemodel: fix row insertion · cf6122a8
      Stepan Salenikovich authored
      - top level nodes were being inserted using the wrong index
      - not all certificate checks are inserted for all certificates
      - correct index of last Details row inserted
      
      Tuleap: #753
      Change-Id: Id26670948ecbdec01664d835ef3719a785b0b5aa
      cf6122a8
    • Edric Milaret's avatar
      fix account rolestate · 0d97e6b3
      Edric Milaret authored
      There is no more ip2ip account but new sip account with
      empty hostname don't report some properties as
      available.
      
      This is a regression caused by the suppresion of ip2ip account
      
      Change-Id: I6d69192202eda1113f3acf1e96230e12f429b2d9
      Tuleap: #549
      0d97e6b3
  26. Jun 13, 2016
    • aviau's avatar
      read default bootstrap servers from file · c656d1eb
      aviau authored
      Default bootstrap servers are now read from the following files:
       - share/<APPNAME>/bootstrap/servers.json
       - share/<APPNAME>/bootstrap/servers.json.d/*.json
      
      Should those files be absent in all QStandardPaths::Datalocation directories,
      empty, or contain invalid JSON, they will be ignored. In the event where no
      bootstrap servers can be loaded from file, it will default to
      bootstrap.ring.cx.
      
      Tuleap: #611
      Change-Id: I5e81b5338097c46a5d68135ed3dc38cd9912edf1
      c656d1eb
  27. Jun 09, 2016
  28. Jun 03, 2016
    • aviau's avatar
      Remove duplicated D-Bus interface files · a63b165b
      aviau authored
      Now that D-Bus interface files are installed by the Ring daemon,
      there is no need to duplicate them in this repository.
      
      This patch introduces a new cmake flag: -DRING_XML_INTERFACES_DIR,
      which can be used to specify the directory containing the D-Bus
      interface files.
      
      If the flag is not specified, we look for the following directories,
      in order:
       - ${RING_BUILD_DIR}/../bin/dbus
         This should work in most cases, where we are building against the
         project directory.
      
       - ${CMAKE_INSTALL_PREFIX}/share/dbus-1/interfaces
         This is where D-Bus interface files should be installed, as per the
         freedesktop website[1].
      
      1. https://dbus.freedesktop.org/doc/dbus-api-design.html#interface-files
      
      Change-Id: I8e8476c1276a1dbb0af2197a2d2d8efff2724f4e
      Tuleap: #688
      Unverified
      a63b165b
  29. Jun 01, 2016
    • Emmanuel Lepage Vallée's avatar
      profile: Partially fix multiple profiles · cf8970ac
      Emmanuel Lepage Vallée authored
      This commit implements some logic necessary to assign a profile per account
      rather than a global one. This will require more work to add both a global
      profile mode and a per account one.
      
      A profile is now assigned to an account at all times to avoid any account
      belonging to multiple profiles at once. This should make sense in itself
      as it avoids a potential logical cardinality issue.
      
      Again, it is not intended to break the Gnome/OS X/Windows clients way of
      handling profiles, but make other models possible to implement.
      
      Change-Id: Ibd675210dc2939244454cee338cf9cda263aa2ae
      cf8970ac
    • Emmanuel Lepage Vallée's avatar
      phonedirectorymodel: Add a "has certificate column" · e9b0a777
      Emmanuel Lepage Vallée authored
      That model is mostly used for testing, as profiles and trust request
      will cause Certificate<->ContactMethod bound to be used, better be
      able to see the status in real time.
      
      Change-Id: Ifb5f6fe126b50acd53d9b0c5a837420b999bb8c3
      e9b0a777
    • Emmanuel Lepage Vallée's avatar
      certificateModel: Support Ring::ObjectType and Ring::Role conventions · e3b8e9c9
      Emmanuel Lepage Vallée authored
      This will eventually allow to bridge trust requests, profiles, white and
      black lists.
      
      Change-Id: Ic7fcfbfa35cc442de2f06437fa8e96888bba4d09
      e3b8e9c9
Loading