1. 27 Dec, 2017 2 commits
  2. 26 Dec, 2017 4 commits
    • Anthony Léonard's avatar
      fix in-call chat view · 4b0935f7
      Anthony Léonard authored
      Chat view for text messaging during call wasn't working at all due to
      multiple problems that are now fixed:
       - Conversation model in chat view wasn't set at all when call is set.
       - NSTableView is used instead of previous NSOutlineView like what is
         done in off-call conversation view.
       - Chat button is now displayed during call.
      Moreover, sendMessage: in ConversationVC was getting the conversation
      UID in a not-very-clever way. It is also fixed.
      Change-Id: Iac406a62541abeed9817209e76082c74030162e6
    • Anthony Léonard's avatar
      handle account selection change · 9bebf1df
      Anthony Léonard authored
      Conversation list and right panels now react to account selection
      change when triggered by the user selecting another account in top
      right list.
      Moreover, new method added in this patch make it possible to select
      the relevant conversation in the right conversation model when a panel
      display is triggered from LRC.
      Change-Id: I29c1697f7d20963fe1ada1ed442706d9a5a2a801
      Reviewed-by: Kateryna Kostiuk's avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
    • Anthony Léonard's avatar
      refactoring of messaging controller with new model · 2382b56e
      Anthony Léonard authored
      MessagesVC is now implemented using the new LRC model for
       - Both views to display the messages (in call and off call)
         initialize their MessagesVC with the current conversation when
       - A conversation caching system is introduced to not get the whole
         conversation::Info structure from LRC at each display request (once
         per message).
      Change-Id: Ib520c1f88be78de37968d3d7741010f2c73f20ea
      Reviewed-by: Kateryna Kostiuk's avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
    • Anthony Léonard's avatar
      fix malformed method call · be339114
      Anthony Léonard authored
      Also removes a silly if-else construction.
      Change-Id: I35e522ee0231f6b1fcf449ee47b31bbb41858e7c
      Reviewed-by: Kateryna Kostiuk's avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
  3. 22 Dec, 2017 2 commits
    • Olivier Soldano's avatar
      reimplement CurrentCallVC with new call model · 994971f1
      Olivier Soldano authored
      This patch reimplements CurrentCallVC using the call model introduced
      recently in LRC.
      As of this patch, some minor features are missing such as conversation
      time or contact picture display when receiving or starting a call.
      Call panel may also appear and disappear many times during connection
      establishment. All of that is meant to be fixed very soon and doesn't
      prevent starting or receiving a call.
      Change-Id: Ie51f75ffc267e955679a4cc75663f92e03c36eef
      Reviewed-by: Kateryna Kostiuk's avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
    • Olivier Soldano's avatar
      implement new conversation list · d431155b
      Olivier Soldano authored
      This patch is an implementation of the conversation list using the
      conversation model recently introduced in LRC.
       - Unused HistoryVC and PersonsVC are removed from the code base as we
         are switching to a one list design.
       - Setting a conversation model on SmartListVC switches the displayed
       - Actions such as selecting a conversation, double clicking, call
         button and searching are also implemented (from the LRC point of
         view which may not yet be visible for user as of this patch).
       - As the new view is based on NSTableView rather than NSOutlineView,
         a RingTableView class is introduced based on RingOutlineView code.
       - The call button at the right of the search field is removed.
      Change-Id: I668f102f435048d3c85efd22d1ab31b395139215
      Reviewed-by: Kateryna Kostiuk's avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
  4. 20 Dec, 2017 1 commit
    • Anthony Léonard's avatar
      reimplement ChooseAccountVC with new account model · 49cb2918
      Anthony Léonard authored
      This controller is in charge of the account selector shown at the top
      right of the client.
      It now uses the new account model in LRC to display account available
      on the machine. As the account selection is now to be managed on
      client instead of LRC, a lot has changed in the AccountSelectionManager
      Finally, RingWindowController gives a reference of the account model
      to the ChooseAccountVC has we don't use singleton that are accessible
      from anywhere anymore.
      Change-Id: I5c320923cd561dc44f600d388793a338af89adfd
      Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
  5. 19 Dec, 2017 6 commits
  6. 18 Dec, 2017 1 commit
  7. 11 Dec, 2017 1 commit
  8. 20 Nov, 2017 1 commit
  9. 10 Nov, 2017 1 commit
  10. 06 Nov, 2017 1 commit
  11. 09 Oct, 2017 1 commit
  12. 05 Oct, 2017 1 commit
  13. 27 Sep, 2017 2 commits
  14. 25 Sep, 2017 1 commit
  15. 19 Sep, 2017 1 commit
  16. 28 Aug, 2017 1 commit
  17. 21 Aug, 2017 1 commit
  18. 08 Aug, 2017 1 commit
    • Guillaume Roguez's avatar
      change old ring dl url · ace0c971
      Guillaume Roguez authored
      gpl.savoirfairelinux.net will not longer be used for Ring.
      Replace it by dl.ring.cx
      Change-Id: Id51658dcd0b7c6b981f54127c4c4a07b23771304
  19. 07 Aug, 2017 1 commit
  20. 04 Aug, 2017 2 commits
  21. 03 Aug, 2017 1 commit
  22. 02 Aug, 2017 1 commit
    • Anthony Léonard's avatar
      modernize avatar placeholder · c40b3479
      Anthony Léonard authored
      Default avatar displayed for new contacts is replaced by a more modern
      color circle with a capital letter inside.
      The color palette used is the same as in the GNOME client. It comes
      from the material.io website and is a 16 color subset of the full one
      proposed by Google.
      The letter is the first one of the bestName() corresponding to the
      current item.
      Change-Id: Ib5b83c76e73ee8af658b0515b317e4f8ce82be27
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
  23. 31 Jul, 2017 1 commit
  24. 27 Jul, 2017 2 commits
    • Anthony Léonard's avatar
      im: remove bestID if equal to bestName · ade9f9b7
      Anthony Léonard authored
      In order to reduce information redundancy and possible confusion, the
      bestID of the contact we are currently talking to is hidden if it is
      equal to its bestName. This one shows a different name only if we
      received the contact VCard and its profile name is different than its
      registered name.
      Moreover, in case we only display the bestName, we center it
      vertically for a cleaner appearance.
      Change-Id: I29aa32d4c8394fded057c18f2b8c5446d3cfa11f
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
    • Anthony Léonard's avatar
      remove add contact popover · 60970856
      Anthony Léonard authored
      This panel is removed to improve ease of use and because contacts with
      multiple contact methods are not supported very well. With this
      simplification, adding a contact is now a single click action.
      Change-Id: Id15289a844b0c9c0d467e5e8491fd7713f0d1aab
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
  25. 25 Jul, 2017 1 commit
  26. 21 Jul, 2017 1 commit
  27. 20 Jul, 2017 1 commit