- 13 Oct, 2016 2 commits
-
-
Stepan Salenikovich authored
For some reason certain system trays (panel indicator applets) are not able to properly scale the current ring icon, resulting in very large panel icons. This is a scaled down version (16x16) of the original svg with the adobe binary stripped out as well. Change-Id: I3e2190653a1154ae44f28dbafa9ebd299df793d4 Tuleap: #839
-
aviau authored
This patch implements multi-device support: - The account creation wizzard has now two options "Existing Ring account" and "New Ring account". "Existing Ring account": Allows for fetching a Ring account archive from the DHT. Requires pin and password. "New Ring account": This is the previously existing wizard. It was modified to ask for a password which will be used to encrypt the account archive. This password is then required for exporting the account on the Ring. - Creating a new Ring account with the "+" button now triggers the account creation wizard. - The account menu now has a "devices" tab. This tab contains a table with device names (currently a short hash) and device ids (a long hash). In the "devices" tab, there is an "add device" button which allows for exporting the current account to the Ring, giving a pin to the user. - When the client encounters old-format accounts, it will trigger a migration popup which asks the user for a password. This password will be used to create an archive and encrypt it. One password will be asked for each Ring account to migrate. Change-Id: I3d52b2b7ca4f82cb477ee294c962b5d50d5c6a04 Tuleap: #896
-
- 07 Oct, 2016 1 commit
-
-
Stepan Salenikovich authored
Now the views will actually get cleared, without having to restart Ring (though the ContactMethods generated from the history will still remain). This also amends the outdated dialog message which asks the user to confirm this operation. Change-Id: Ib71f20f7a0e804648242638361f615aec8781ee1 Tuleap: #925
-
- 04 Oct, 2016 3 commits
-
-
Stepan Salenikovich authored
This warning is useless and the wrapper works for models with multiple columns, at least in the cases currently implemented in LRC. Change-Id: If0bfb819f77099946df9d87ad54820562ddf9993
-
Stepan Salenikovich authored
This Qt model wrapper class was added because GtkQTreeModel didn't seem to work for QSortFilterProxy models; however this does not seem to be the case any longer. Either something was fixed in the GtkQTreeModel code, or else the initial problem was due to another bug. Either way this reduces and simplifies the code base. Change-Id: I8d1f7bb83c17708e2ef3c544ee32c13a4b2b3e7d
-
Stepan Salenikovich authored
This changes the default behaviour of the search entry, the button next to it, and the autocompletion drop down to opening the chat view with the selected CM/Person instead of placing a new call. This allows people who wish to simply chat with a new RingID to do so, instead of first having to call that RingID or add it to a Contact in their addressbook. Additionally, a setting has been added to change this behaviour, so that (typically) SIP users can easily place new calls by entering phone numbers in the search entry. Also, a "Place call" button has been added to the chat view (when not in a call), so that users can easily call someone they are chatting with without having to double click on that contact in the contacts list. Change-Id: Ia833fb36620fd34afdbb3c3a4357c212a87f8796 Tuleap: #953
-
- 03 Oct, 2016 1 commit
-
-
Stepan Salenikovich authored
When copying a number from a contact using the context menu, don't include the category of the number. Change-Id: If7b8bfe5fc2c49cbc93fbfe35a93579e4b3a513d Tuleap: #1068
-
- 29 Sep, 2016 1 commit
-
-
Stepan Salenikovich authored
In case the menu is needed before there is anything to select. This fixes the bug of an empty context menu (when right clicking) in case there are no items in the list. Change-Id: I908052005cf07d64da4a00d504e88a7392e35947 Tuleap: #1036
-
- 21 Sep, 2016 2 commits
-
-
Stepan Salenikovich authored
Because its cool. Also because when the QR code is displayed below the button the user might not see it depending on the size of the main window. Reviewed-by:
Alexandre Viau <alexandre.viau@savoirfairelinux.com> Change-Id: Idcf9f73faed59ca46777c9e622ae1c9fd2499635
-
Stepan Salenikovich authored
Update the welcome view properly when the accounts change. This prevents displaying the ringID and QR code of a Ring account when the last one is deleted (which would cause a segfault). Change-Id: I59833436a502dc931944dda0606cb76ad391eed1 Tuleap: #730
-
- 15 Sep, 2016 4 commits
-
-
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
-
Stepan Salenikovich authored
Adds two new settings which allow enabling/disabling of the call and chat notifications (individually). They are both enabled by default. Change-Id: Ic6996d53740e3f87f348ca8614ecd130495a65eb Tuleap: #926
-
Stepan Salenikovich authored
For notification servers which support actions, override the default action so that the selection in the RecentModel is changed to the ContactMethod in the notification. This will also change the state of the window to be shown in the case that it was closed (hidden). Change-Id: I6f13a962745246971d965cbbd297c933f685e9aa Tuleap: #926
-
Stepan Salenikovich authored
The crop area was not being set correctly when selecting an image from a file. Also the crop area needs to be re-set (re-initialized) each time a new image is used because otherwise it behaves weirdly if the new image is smaller than the previous. Change-Id: Ieef9b3f537567f3823dbd9f4cb18667c80d740c7 Tuleap: #917
-
- 14 Sep, 2016 5 commits
-
-
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
-
Stepan Salenikovich authored
This patch prevent showing already read messages in chat notifications which was happening in certain cases. This is fixed in several different ways depending on which notification daemon is being used on the system. In the case of notify-osd, even though it supports appending notifications, we try to update the previous notification, but only with unread messages. The issue with appending is that notify-osd does not respond to trying to close notifications, which means messages which have been marked as read already will continue to be displayed. In the case of the notification daemons which don't support appending, we simply replace the old msg text. This prevents many notifications from the same person from building up; the new messages are also displayed immediately instead of waiting for the notification timeout. We also don't try to display multiple unread messages because these daemons don't usually support multi-line message bodies. Change-Id: Ibbd5adbdd5eb4bafadb517ac39064eaecd74228e Tuleap: #426
-
Stepan Salenikovich authored
In the case the a new photo was taken, the return (undo) button would get stuck in an infinite loop when trying to return from edit state to photo state and then from photo state to current state. In this case it would keep going between the edit and photo state instead of going back to the current state. Change-Id: I7550b3fa0bdcdb3d5d373911fae56f46c09eaef8 Tuleap: #917
-
Stepan Salenikovich authored
CcCropArea code is taken from gnome-control-center code. It is used to crop avatar images in the control center and in gnome contacts. Using it unifies the interface more with other gnome programs and also gets rid some of the small bugs in the previous implementation. Now instead of creating a new selection each time, the user simply moves and resizes one selection. Change-Id: I764e958cf9e5e6f1aadd754ddd1ad5d542415365 Tuleap: #917
-
Stepan Salenikovich authored
Use white instead of black for the background color when avatar images contain transparency. This is a more standard choice and looks better for most images than black. Change-Id: Id14fb32fcd4a54862d0d33a7040aeffa6e8a7ffb Tuleap: #917
-
- 08 Sep, 2016 3 commits
-
-
Baptiste Jonglez authored
Commit 40a77bd4 ("remove markup in strings marked for translation") removed the markup from all strings to be translated. This commit batch-updates all translations accordingly, removing the markup in translated strings. Change-Id: I546e2b7d99ccdbcf39ec6dbde65cc6076059289a [stepan.salenikovich@savoirfairelinux.com: added tuleap id and rebased] Signed-off-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> Tuleap: #967
-
Baptiste Jonglez authored
Change-Id: I63db42c816eb188c8de44a6e3b83edcb6d2572e5 [stepan.salenikovich@savoirfairelinux.com: added tuleap id and rebased] Signed-off-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> Tuleap: #967
-
Baptiste Jonglez authored
The command used was the following: for pofile in *.po; do msgmerge -U --no-wrap $pofile ring-client-gnome.pot; done Change-Id: Id89b188ffccab22fb6f72b1de36ea93f6154192f [stepan.salenikovich@savoirfairelinux.com: added tuleap id] [stepan.salenikovich@savoirfairelinux.com: removed unused (commented) translations] Signed-off-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> Tuleap: #967
-
- 06 Sep, 2016 2 commits
-
-
Stepan Salenikovich authored
libqrencode is packaged and available on all supported distros, we also don't provide submodules for any other dependencies of gnome-ring so it seems strange to do so for qrencode. Reviewed-by:
Alexandre Viau <alexandre.viau@savoirfairelinux.com> Change-Id: Ifc411ca0022a3e08cdbcc7feb3ddae1c42f8a9f9
-
Stepan Salenikovich authored
Ubuntu 14.04 LTS now uses glib-2.0 >= 2.40.0, so we no longer need to support older version which required us to have some preprocessor checks. This patch gets rid of the code which was needed to support older versions and adds a min version check for glib in the CMakeLists.txt Reviewed-by:
Alexandre Viau <alexandre.viau@savoirfairelinux.com> Change-Id: Ia11f675d592f34996ca8cb8c770dae67ded68842
-
- 02 Sep, 2016 1 commit
-
-
Olivier Gregoire authored
Use smartInfoHub API to display relevant advanced information during a call. Change-Id: Ia4e19953e69460ee7e006654cba553bfc2d06581 [stepan.salenikovich@savoirfairelinux.com: got rid of mem leaks; disconnect from signal on destructions; improved menu item; perform start/stop action in RingClient so that it can be called from anywhere] Signed-off-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> Reviewed-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
-
- 31 Aug, 2016 1 commit
-
-
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
-
- 29 Aug, 2016 1 commit
-
-
Stepan Salenikovich authored
Now rightclicking on an item in the contact treeviews (Conversations, Contacts, History) will result in the item clicked on being selected. Before the popup menu would open for the selected item, but the selection would not change if the click was on a different item. This also fixes a small memory leak where the a new menu widget would be created on every right click, but the old menu was never destroyed. Now the same menu widget is used, it is simply updated once the selection is changed. The menus are also now synchronized across all the 3 contact treeviews and code duplication is reduced by moving the popup code into its own widget. Menu items which are not relevant to the current selection are now greyed out instead of the menu simply being different for different items, this is more in line with standard GTK+ behaviour. Change-Id: I4e54d618a090e28b565cbef719065c943a826b0e Tuleap: #930
-
- 25 Aug, 2016 2 commits
-
-
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
-
Stepan Salenikovich authored
Update the list of files to be translated. Update the translations source file. Change-Id: I0e1530fd789ad0c7d42a5eaae4caba9033899ffb Reviewed-by:
Alexandre Lision <alexandre.lision@savoirfairelinux.com>
-
- 24 Aug, 2016 1 commit
-
-
Stepan Salenikovich authored
Use attributes instead to make translation easier. The markup tags should not be in the translation strings. Change-Id: I2c22925b79f67675dcfc9e650adf6f59a1a2ba45 Reviewed-by:
Alexandre Lision <alexandre.lision@savoirfairelinux.com>
-
- 17 Aug, 2016 1 commit
-
-
Stepan Salenikovich authored
Calling g_error when the daemon cannot be connected to causes an abort() and a core dump. g_error() should not be used for expected errors, as per the doc. We use exit() instead to quit the application in a cleaner way. Change-Id: I227f19220db2146075cfe3d8eb44eda5f8b0d128 Tuleap: #892
-
- 15 Aug, 2016 1 commit
-
-
Stepan Salenikovich authored
On some systems, when opening the camera to take a new picture for the avatar, the result is a black image. The log also outputs "bad dawable". It seems the VideoWidget doesn't like being a page directly in a GtkStack. Instead we put it in a GtkFrame which does not get destroyed. This seems to fix the issue. Change-Id: Ia3796ad3b3f02947619c2b0ba57ad4b54e30552e Tuleap: #840
-
- 12 Aug, 2016 1 commit
-
-
Guillaume Roguez authored
Change-Id: Idc1bda96de5289aeff64adcbac71d2aaccaad796
-
- 03 Aug, 2016 1 commit
-
-
Stepan Salenikovich authored
Changes interface to mimick the one in Gnome Contacts: - no more trash or export buttons - the first choice is to take a photo or import - adds return/undo buttons during selection process Change-Id: I432f4bad48c1379f6fb26569edea32a24cbb98e9 Tuleap: #840
-
- 27 Jul, 2016 1 commit
-
-
Stepan Salenikovich authored
This is the API version on ubuntu 14.04, it is missing some of the functions we were using. Change-Id: If0ac066844ec9710d4f1638dbf508e43039127d2 Tuleap: #845
-
- 22 Jul, 2016 2 commits
-
-
Stepan Salenikovich authored
libnm is too new and is not in all of the distros that we still support (eg: ubuntu 14.04). We can use libnm-glib instead. libnm is just an API improvement to libnm-glib; since we don't use many features of this library almost no changes are required in the code. Change-Id: Ic40e7e26a91b91f3d104c68e8f60e945f1731fc3 Tuleap: #845
-
Stepan Salenikovich authored
We monitor the primary connected network and notify the daemon when it changes so that it can re-establish account connections. This functionality is achieved using libnm, thus libnm is added as an optional dependency. Change-Id: I60233801c13740619b2e6473f5bc6d17901d7bf3 Tuleap: #845
-
- 15 Jul, 2016 1 commit
-
-
Stepan Salenikovich authored
Change-Id: I92ec970d5a2e167dbe9483bc494e05d8161143fe Tuleap: #846
-
- 11 Jul, 2016 1 commit
-
-
Guillaume Roguez authored
Change-Id: I8149496f6242150bc2bab86e07a711254ed7a713
-
- 07 Jul, 2016 1 commit
-
-
Stepan Salenikovich authored
For some reason Unity doesn't like the GtkMenu which is built from the GMenuModel from a .ui file. This patch creates the menu via code and fixes these issues in the status icon menu in Unity: - the "Show Ring" checkbox is not consistent when the window is closed via the 'x' - the 'Quit' menu item was being rendered with a checkbox Change-Id: I9fe488a88c881ac795b93e88f4925096a4acf361 Tuleap: #370
-