1. 26 Jun, 2017 3 commits
  2. 21 Jun, 2017 1 commit
  3. 16 Jun, 2017 1 commit
  4. 13 Jun, 2017 1 commit
  5. 09 Jun, 2017 1 commit
  6. 06 Jun, 2017 1 commit
  7. 26 May, 2017 1 commit
  8. 09 May, 2017 3 commits
  9. 05 May, 2017 4 commits
    • Olivier SOLDANO's avatar
      change account deletion process · 9b7e80d9
      Olivier SOLDANO authored
      The account deletion was performed by solely clicking the bin icon
      in the configuration account panel of a selected account.
      This was done without warning nor confirmation.
      
      This patch moves the dedicated button to the account list bottom
      as in the other desktop clients, and adds a confimation popup,
      summarising the account identifiers (in order, alias, registered name,
      ringID), and displays a warning about losing the account in case
      it hasn't been exported or added to another device.
      
      Change-Id: I259388da9e143400ab65e88d1fb7c223dbfbff19
      Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
      9b7e80d9
    • Anthony Léonard's avatar
      remove remaining userChosenAccount · a3cc5f0d
      Anthony Léonard authored
      One occurence of userChosenAccount() was left which was crashing the
      application when sending a contact request to a ContactMethod without
      account linked to it.
      
      Moreover, this is a deprecated method which is now totally removed
      from the client.
      
      Change-Id: I46a938c7bf4ac8a3212a2a7a2f7de80a647d956d
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      a3cc5f0d
    • Anthony Léonard's avatar
      fix incorrect behavior of unread message indicator · 7c63032e
      Anthony Léonard authored
      When the messaging panel was closed by clicking on the back button, a
      slot was still triggered when the last selected contact method
      received a message. This one was calling setAllRead() from
      TextRecording to indicate that all messages were read by the user and
      then the indicator wasn't displayed.
      
      Clicking on the back button now disconnect this signal so new incoming
      messages are not marked as read.
      
      Change-Id: I65049ac13ea6fe5c758935333ceda0f97f2b45ab
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      7c63032e
    • Anthony Léonard's avatar
      display vCard data in contact request view · 8c136440
      Anthony Léonard authored
      The whole contact request view design has been modified to show every
      informations contained in vCard that are useful for a user to decide
      if he should or not trust somebody. It is also better looking than
      the previous version.
      
      Those informations are presented:
       * An embedded picture if any (with a fallback to the default one)
       * The profile name chosen by the sender of the request
       * The "best ID" which is the registered name or the RingID (in that
         order of priority)
      
      This last information is a security measure to check the real identity
      of the contact request sender.
      
      Change-Id: Ibcb3e8667f91c8123b9016e6dfd72621bfb4f3f1
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      8c136440
  10. 03 May, 2017 1 commit
  11. 01 May, 2017 4 commits
  12. 28 Apr, 2017 2 commits
  13. 26 Apr, 2017 3 commits
  14. 21 Apr, 2017 1 commit
    • Anthony Léonard's avatar
      refactoring of SmartListDelegate · 522c2f1d
      Anthony Léonard authored
      Comments are added to improve readability of the item drawing code as
      it is not always self-explanatory.
      
      Furthermore, some lines are moved or deleted for various reasons:
       * Some lines were repeated or not doing any operations.
       * Objects/structures were initialised at one place but used much
         later in code which lead to poor legibility.
       * Dead code, variables and constants were present.
      
      Change-Id: I833769cc594033d88a70ce192ae002ac091a37a5
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      522c2f1d
  15. 20 Apr, 2017 1 commit
    • Anthony Léonard's avatar
      use new lrc system for account selection + ui fixes · 2d99df02
      Anthony Léonard authored
      Recent changes in LRC introduced a selection system to choose a
      current active account in AccountModel. It was decided to prefer the
      selectionModel of the AvailableAccountModel as it filters out accounts
      not enabled.
      
      Moreover, the selected account is now the one used when looking for a
      new contact. The default scheme used depends on the account type and
      the account linked to the contact method is now the selected one.
      
      Finally, the CurrentAccountWidget now better reflects changes of
      profile's picture and selected account when this one is changed by an
      external event (like a call on an enabled, but not selected, account).
      
      Change-Id: I5ad50a6f6b9d28e03ab031ffecfb0018965475f9
      2d99df02
  16. 17 Apr, 2017 1 commit
    • Anthony Léonard's avatar
      code cleanup in multiple files · 2fde81db
      Anthony Léonard authored
      Last changes were merged quickly without strict code-review
      as it was needed to integrate them promptly.
      Related modifications:
       * callwidget.cpp: Removed unnecessary line feed
       * callwidget.{cpp,ui}: Renamed “contactRequestView” to
         “contactRequestPage” for consistency
       * contactrequestwidget.cpp: Refactoring of a too-long line
       * sendcontactrequestwidget.{cpp,ui}: Better placeholders
      
      Moreover, contactrequestwidget.{cpp,ui} were missing the GPL
      header and copyrights' years are now updated to 2017 in every
      files.
      
      Change-Id: Id52f340fc62340df6cf5bda8d782fefc732beabe
      2fde81db
  17. 15 Apr, 2017 2 commits
  18. 14 Apr, 2017 2 commits
    • Anthony Léonard's avatar
      display the selected account's RingID/username · 266dd30e
      Anthony Léonard authored
      This patch improves the way the client react to a modification
      of the selected account.
      
      From a UI point of view, the displayed Ring ID now depends
      on the selected account in the combo box. Previously, it was
      always set to the first enabled Ring account found in
      AccountModel.
      
      The old behavior is removed from findRingAccount() which now
      only focus on looking if an account needs migration or if it
      is needed to create one (at first launch).
      
      Change-Id: If63a74eb320b8fc31064d87b04b5e062fc0cc10a
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      266dd30e
    • Anthony Léonard's avatar
      contactrequest: add ui for managing pending CR · d47179c3
      Anthony Léonard authored
      Those modifications are only a part of the contact request
      system. In details :
       * A panel on the left displays the incoming CRs for the
         selected account.
       * A tab system makes it possible to switch between the
         smartlist and the pending CR list.
       * When a CR is selected, a view of it is shown on the right
         with 2 buttons. One for accepting it, the other for
         discarding it.
       * The stylesheet is updated to adapt the new widgets
         with the design of the client.
       * When selected account is changed, we get back to the
         welcome page
      
      Change-Id: I86dc7f32105c0454b0e4d002b6a78fde2c581a44
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      d47179c3
  19. 13 Apr, 2017 4 commits
  20. 11 Apr, 2017 1 commit
    • Anthony Léonard's avatar
      setup: detect a previous install of Ring · 2c020848
      Anthony Léonard authored
      When Ring is installed, some keys are set in the Registry to indicate
      various locations, including the uninstall.exe and the root install
      folder.
      
      Now, the installer check the presence of this last value and use it as
      the default install location. With this change, updating Ring is just
      about pressing “Next” even if it is installed in a custom location.
      
      Change-Id: I48b28c840c094c94f03e763c72f29d833aaa690b
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      Tuleap: #1460
      2c020848
  21. 31 Mar, 2017 1 commit
  22. 24 Mar, 2017 1 commit
    • Guillaume Roguez's avatar
      docker: update Dockerfile · 87c2e6e6
      Guillaume Roguez authored
      Use Dockerfile from daemon.
      This is a Fedora25 based image including Qt dev kit.
      
      We do not set environment variables as they aren't required anymore and
      were producing errors when building contribs for mingw64.
      
      Change-Id: Idd2294cae3fee5e4f1f501082f9ff9f8ac28fb90
      87c2e6e6