1. 15 Sep, 2016 1 commit
    • Stepan Salenikovich's avatar
      save and restore main window size · ba87ae2c
      Stepan Salenikovich authored
      Saves and restores the main window size in the GSettings.
      
      The default size is updated to be 800x500. Gtk should automatically
      resize it smaller if it doesn't fit on the screen.
      
      Change-Id: Ia85f9fe870cf0695c5095cb138c2b8a61a8855a7
      Tuleap: #1030
      ba87ae2c
  2. 14 Sep, 2016 1 commit
    • Stepan Salenikovich's avatar
      show chat/call view from selection in history and contacts · 09e0b784
      Stepan Salenikovich authored
      Previoiusly, the chat/call view displayed could only be changed by
      changing the selection in the converstaions list view. The contacts
      and history list views would only change the call view if a new
      call was initiated by double clicking on the selection.
      
      This patch changes this behaviour, now slecting an item in any of
      the three contact list views will result in showing the chat view
      with that Person or ContactMethod, or showing the call view if there
      is an ongoing call with the selected item.
      
      In order to prevent conflicts between different selections in the
      different views, only one selection at a time is allowed. So,
      changing the selection in the conversations view, for example, will
      clear the selection in the other 2 list views except in the case
      that the item selected is the same one. For example, if the Person
      selected in the Contacts view is the same as the one in the
      Conversations view, then both selections will remain.
      
      Change-Id: Icc00c5801e66ca0013b730d6d008ebf904a999e1
      Tuleap: #956
      09e0b784
  3. 31 Aug, 2016 1 commit
    • Stepan Salenikovich's avatar
      prevent duplicate calls · 5fd97bc6
      Stepan Salenikovich authored
      Prevent creating multiple calls with the same contact method. When
      trying to call a ContactMethod which already has an ongoing call,
      we will simply switch to that call. If it is already the selected
      call, then nothing will happen.
      
      Change-Id: I7e8f25d3211f0da899f7feca277abb37d7ba5e06
      Tuleap: #923
      5fd97bc6
  4. 25 Aug, 2016 1 commit
    • Stepan Salenikovich's avatar
      prevent settings closing after first launch · 4ce8a2bc
      Stepan Salenikovich authored
      This fixes the weird settings bug happening when Ring was being used
      for the first time and the account settings would close any time the
      account settings were modified. The problem was simply that the
      lambda to the Account::changed signal was not disconnected after
      it was no longer needed.
      
      Change-Id: Ie37dcd52819a71920c6c73032e3f0b11caa362f9
      Tuleap: #935
      4ce8a2bc
  5. 07 Jun, 2016 1 commit
    • Stepan Salenikovich's avatar
      account wizard: make sure VideoWidget is destroyed · 419414c1
      Stepan Salenikovich authored
      Destroy the AvatarManipulation widget once 'next' is clicked to
      ensure the VideoWidget inside is destroyed as we don't want more
      than one VideoWidget at a time to be instantiated or else "bad things"
      will happen.
      
      Tuleap: #532
      Change-Id: I59c3913b541ea639a3f4ac23214049c0cc3b120a
      419414c1
  6. 06 Jun, 2016 2 commits
    • Nicolas Jager's avatar
      profile : allows to edit profile in the settings · 6f5e04a8
      Nicolas Jager authored
      allows to edit the avatar and the name in settings.
      
      Tuleap: #717
      Change-Id: I9fcb3606087f2e5a6680a2ea5ba9c7c5cc23d1b1
      6f5e04a8
    • Nicolas Jager's avatar
      profile: avatar selection during account wizard · b413b300
      Nicolas Jager authored
      - sets name and photo to profile.
      - adds avatar selection dialog.
      - allows to take a photo as avatar.
      - allows to choose a picture from disk as avatar.
      - alter photo/picture to 100x100px.
      - allows to save avatar on the computer.
      - handles some case if no webcam can be set by lrc.
      
      Tuleap: #655
      Change-Id: Ib88b66596e83c3e3bf1e38d272ccffbca402a2bc
      b413b300
  7. 03 Jun, 2016 1 commit
    • Stepan Salenikovich's avatar
      ringmainwindow: prevent crash on exit · f9681389
      Stepan Salenikovich authored
      The NumberCompletionModel should not be explicitly deleted as its parent
      is set to the PhoneDirectoryModel in the LRC code, which means it will
      be freed once its parent is.
      
      Tuleap: #755
      Change-Id: I3bc1ebe51dffd5dfbefd5b04c507fd97bafd737a
      f9681389
  8. 27 May, 2016 1 commit
  9. 18 May, 2016 1 commit
  10. 17 May, 2016 2 commits
  11. 23 Mar, 2016 1 commit
  12. 21 Mar, 2016 1 commit
    • Edric Milaret's avatar
      adapt to LRC API changes · 58e71073
      Edric Milaret authored
      CodecModel used to be in the Audio namespace, this was
      changed last year, but the install guidelines were accidentally
      not updated.
      
      This is related to gerrit change #3889.
      
      Change-Id: If1713584e9fdefc24e26ff6f18a0075cafeff083
      Tuleap: #350
      58e71073
  13. 18 Mar, 2016 1 commit
  14. 17 Feb, 2016 1 commit
    • Stepan Salenikovich's avatar
      account wizard: remove second step · babe26f2
      Stepan Salenikovich authored
      The ring ID is shown and explained in the welcome view of the main
      window now, so there is no need for a second step in the account
      wizard process to explain it.
      
      This also allows users to leave their username blanc and in this
      case it is set to 'Unknown'.
      
      Change-Id: Id25b49b2663e81990847dddb89cb1997d449b155
      Tuleap: #366
      babe26f2
  15. 05 Feb, 2016 1 commit
  16. 25 Jan, 2016 1 commit
    • Stepan Salenikovich's avatar
      update copyright headers · be87d2c7
      Stepan Salenikovich authored
      Update for 2016. Remove OpenSSL clause since we don't use OpenSSL.
      Fix instances of capitalized 'f' in 'Savoir-faire Linux'.
      
      Change-Id: I92daa0021a25b2af992de3da5b4448e5295c1a3f
      Tuleap: #218
      be87d2c7
  17. 21 Jan, 2016 1 commit
    • Stepan Salenikovich's avatar
      main window: fix dataChanged inception · 504f7728
      Stepan Salenikovich authored
      Because setData can be called inside of a Qt signal handler, a
      dataChanged signal handler can then also be called as a result
      (since connections made using lambdas are called directly, rather
      than being scheduled on the main loop).
      
      In this case it caused item_changed() to be called inside of
      selection_changed() in certain cases resulting in 2 CurrentCallViews
      to be constructed and one of them was never destroyed.
      
      The fix is to place the handler on the main loop queue via a g_idle
      call so that its not called inside of another handler.
      
      Tuleap: #252
      Change-Id: I4a091037075af3823fc74cfd80fd3ac5bd7b0926
      504f7728
  18. 15 Jan, 2016 1 commit
  19. 14 Jan, 2016 3 commits
    • Stepan Salenikovich's avatar
      mainwindow: improve view updates · 9c9a049f
      Stepan Salenikovich authored
      Connect to the dataChanged signal of the RecentModel instead of the
      callStateChanged and incomingCall signals of the CallModel. The
      RecentModel is driven by the signals of the CallModel, so in certain
      cases we could receive those signals before the RecentModel and the
      RecentModel will not yet be updated properly, causing an incosistent
      view. Since the view is now driven by the RecentModel, we should
      connect to its signals instead of that of the CallModel.
      
      Change-Id: I3db7152a7429623ba95822597160647f8be65487
      Tuleap: #203
      9c9a049f
    • Stepan Salenikovich's avatar
      out of call chat · c6a3b98a
      Stepan Salenikovich authored
      Initial implementation. Now clicking on an item in the Conversations
      view (RecentModel) will bring up a chat view. In the case of a Person
      (contact) it will select the chat with the last used ContactMethod of
      that person. If there is more than one ContactMethod, as combo box will
      be displayed giving the choice of ContactMethods to use.
      
      To make a call, double-click the item as before. Any call (incoming or
      outgoing) will superseed the chat view.
      
      Out of call chats use the account based chat API. In call chats still
      use the call based chat API.
      
      Change-Id: I3deb09fd22c3dda7b78ea9be0eef32a6f27adecb
      Tuleap: #203
      c6a3b98a
    • Stepan Salenikovich's avatar
      RecentContactsView: use RecentModel selection · c132342a
      Stepan Salenikovich authored
      This allows for better selection behaviour in the tree view.
      We still update the CallModel selection since the UserActionModel
      does not yet work with other models.
      
      Tuleap: #203
      Change-Id: I8e7799faaff308561e1a4e3cc379581bf5333ae9
      c132342a
  20. 04 Jan, 2016 1 commit
  21. 16 Dec, 2015 2 commits
    • Stepan Salenikovich's avatar
      destroy call view when settings are shown · bd4b3770
      Stepan Salenikovich authored
      This is to make sure only one clutter stage is
      instantiated at a time to possibly prevent a
      clutter related crash.
      
      Change-Id: I9e3a1011fe1b790f046b4e2623640625875b3b13
      Tuleap: #161
      bd4b3770
    • Stepan Salenikovich's avatar
      change how fullscreen is created · e1b5489a
      Stepan Salenikovich authored
      The fullscreen video is now created by making the main window
      fullscreen and hiding the left panel. This is done instead of
      creating a 2nd GtkWindow and placing a new VideoWidget inside
      of it.
      
      This allows to easily have all the overlays and controls in
      the video in the fullscreen mode.
      
      This is also potentially a way to prevent a clutter related
      crash.
      
      Tuleap: #161
      Change-Id: Iac2792b22ede4aaaff98a76d3de34189bcb4150c
      e1b5489a
  22. 09 Nov, 2015 1 commit
    • Stepan Salenikovich's avatar
      main view: remove ringID at the bottom · f1157333
      Stepan Salenikovich authored
      The ringID is shown in the welcome text. It no longer needs to be
      displayed at the bottom during calls. This also better corresponds
      with the UI mockups.
      
      Change-Id: Ie1ab39279b7d12e7f2430a7235ecd8342100f749
      Tuleap: #33
      f1157333
  23. 27 Oct, 2015 2 commits
    • Stepan Salenikovich's avatar
      search entry: remove minimum size requirement · 1dc88647
      Stepan Salenikovich authored
      So that the left pane of the main window does not take up so
      much room, especially in languages where the placeholder text
      is longer.
      
      Change-Id: Ib03c1f619c85bcbf795ce6edbd4c9be6dede883a
      Tuleap: #46
      1dc88647
    • Guillaume Roguez's avatar
      adapt code to LRC API change · 5d1514b8
      Guillaume Roguez authored
      LRC API (Singleton's implementation) has changed.
      This patch adapats the code to these changes.
      Moslty changes deferencement '->' for direct access '.'
      
      Tuleap: #44
      Change-Id: Ic87b1306a1239fdb8a6af0affe1ecbc1d16f609c
      5d1514b8
  24. 21 Oct, 2015 3 commits
  25. 13 Oct, 2015 1 commit
    • Stepan Salenikovich's avatar
      ui: remove animations between call views · 3034d92e
      Stepan Salenikovich authored
      For systems running gtk+ >= 3.16 there seems to be a segfault
      which happens very often, but not quite systematically at the
      begining or during the animation process of the GtkStack when
      it is switching between calls in progress.
      
      Getting rid of the GtkStack widget as the container, and thus
      the transition animations seems to prevent this bug. This patchset
      modifies the GtkStack with a simple GtkFrame until a better fix
      can be found.
      
      Issue: #81596
      Change-Id: I1bc571150fbffb3df9bf206622b31f21a8cf7c74
      3034d92e
  26. 30 Sep, 2015 1 commit
    • Stepan Salenikovich's avatar
      search entry: set width chars to fit placeholder text · 48b45c1e
      Stepan Salenikovich authored
      Set the "width-chars" property to the length of the placeholder
      text so that it is fully displayed, unless it is longer than 50
      chars (the English version is currently 31 chars long).
      
      This also moves the placeholder text from the .ui file into code
      so that a comment can be added to the translation.
      
      Issue: #80819
      Change-Id: I0870b5505f276f16efab8d7ca1d250e29393dde6
      48b45c1e
  27. 25 Sep, 2015 5 commits
    • Stepan Salenikovich's avatar
      welcome view: hide RingID at the bottom · 86648735
      Stepan Salenikovich authored
      We do not need to show the RingID at the bottom of the main
      window when the welcome view is visible since it already shows
      the RingID.
      
      Issue: #80846
      Change-Id: I9df9f896d2e809972cfbd2eae42ed726405ccd65
      86648735
    • Stepan Salenikovich's avatar
      welcome view: add logo and text explaning Ring · 2cde7612
      Stepan Salenikovich authored
      It also shows the RingID if a RING account exists.
      
      This replaces the empty "placeholder" view.
      
      Issue: #80846
      Change-Id: Ia42684d2ca0c2613416dd131625b5a83c3faeb78
      2cde7612
    • Stepan Salenikovich's avatar
      utils: move RING account detection to utils · 30e134e6
      Stepan Salenikovich authored
      This code might be re-used elsewhere.
      
      Issue: #80846
      Change-Id: I5dd8036896ce94efca02514a06f3257ce20a7768
      30e134e6
    • Stepan Salenikovich's avatar
      code improvement: replace #defines with constexpr · 9ffad5ed
      Stepan Salenikovich authored
      Issue: #80846
      Change-Id: Ifd23ac301c95867a5efc5643f683ee01d17eeaec
      9ffad5ed
    • Stepan Salenikovich's avatar
      contacts list: restructure view and code · a7a19bc7
      Stepan Salenikovich authored
      Place the frequent contacts, contacts, and history tree views
      in separate tabs in a GtkNotebook. This simplifies the structure
      of the code replacing the GtkStack and manual switching between
      the views. This also removes the comboboxes which control the
      sorting of the contacts and the history as they are not very
      useful and are somewhat buggy.
      
      This purpose of this patch is primarily in preparation of replacing
      the calls tree view (which shows the CallModel) and the frequent
      contacts view by the the "smart view", a tree view which
      will show the RecentModel.
      
      Issue: #80698
      Change-Id: I76b2f6c1fcfe9fa82dba65104d928abc9df0b895
      a7a19bc7
  28. 24 Sep, 2015 1 commit