1. 12 Apr, 2019 1 commit
    • Sébastien Blin's avatar
      mainwindow: alert user if minimizing in systray with calls · a250f0f7
      Sébastien Blin authored
      When the user click on close when systray is enabled, the app will
      only be minimized, not closed. So the call will continue to turn in
      background. This means that the camera will be still visible to the
      peer. This patches had a dialog to warn the user about that.
      
      Change-Id: Ib5afe0415156aa5d7d29ee66acec89865e59e73d
      Gitlab: #1000
      a250f0f7
  2. 25 Mar, 2019 1 commit
    • Sébastien Blin's avatar
      systray: fix systray on ubuntu · dd12601c
      Sébastien Blin authored
      XDG_CURRENT_DESKTOP is not Unity anymore but Ubuntu:gnome.
      Now use libayatana if built with. Else, fallback on deprecated
      GtkStatusIcon.
      
      Issue: #983
      Change-Id: Ifeb661963243b853cac7d06e0d06a6c4f5d7321a
      dd12601c
  3. 02 Jan, 2019 1 commit
  4. 29 Dec, 2018 1 commit
  5. 26 Dec, 2018 1 commit
  6. 13 Dec, 2018 2 commits
    • Sébastien Blin's avatar
      scripts: automatic versionning · e0cca53a
      Sébastien Blin authored
      If the client is for a release. So, following the current format,
      the branch will be release/yyyymm, use the format yyyy.mm.pp where
      pp is the number of patches.
      
      Change-Id: I4f5981524faf013d0f1f1736143f19a445adebd5
      e0cca53a
    • Sébastien Blin's avatar
      systray: change icon to jami · 43e448a6
      Sébastien Blin authored
      Change-Id: I7524c041d1cd70310b9b4408017332abfd381a8f
      Gitlab: #940
      43e448a6
  7. 12 Dec, 2018 1 commit
  8. 05 Dec, 2018 1 commit
  9. 19 Nov, 2018 1 commit
  10. 18 Nov, 2018 1 commit
  11. 14 Sep, 2018 1 commit
    • Hugo Lefeuvre's avatar
      fix memory leaks, hazardous frees and misc issues · 55d24730
      Hugo Lefeuvre authored
      accountgeneraltab:
      + remove useless <iostream> import
      
      accountmigrationview:
      + remove useless <iostream> import
      + add missing <memory> import
      
      currentcallview:
      + remove useless <iostream> import
      + add missing <memory> and <string> import
      + use g_debug instead of std::cout (not the standard debug output)
      
      ringmainwindow:
      + fix multiple memory leaks in print_account_and_state(),
        on_clear_all_history_foreach() and changeAccountSelection()
      + fix use of deprecated method gtk_entry_set_icon_from_stock()
      + use G_GNUC_UNUSED to remove unused parameter warnings
      + remove various unused variables
      + remove unused function on_save_accounts_timeout()
      + fix multiple places where char* was passed to printf-style function
        with %i formatter
      
      ringwelcomeview:
      + fix multiple memory leaks in ring_welcome_update_view() and
        render_account_avatar()
      + return FALSE in case of failure in draw_qrcode()
      
      webkitchatcontainer:
      + webkit_chat_container_execute_js should take const char*, not char*
      + return true in case of success in webview_chat_context_menu()
      
      usernameregistrationbox:
      + make "Enter the password of your Ring account" string translatable
      
      ring_client:
      + fix multiple memory leaks in ring_client_open()
      
      ring_notify:
      + improve ring_hide_notification() return values
      + fix multiple potential hazardous free() calls
      
      video_widget:
      + fix leak in case of error in video_widget_on_drag_data_received()
      + fix hazardous free() call in switch_video_input_file() (uri might be
        NULL even if the answer of the dialog is GTK_RESPONSE_ACCEPT)
      
      Change-Id: I7db8b63ba1b8ad272d464d0739b2fe24cc18c0b4
      Gitlab: #917
      Gitlab: #821Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      55d24730
  12. 27 Jul, 2018 1 commit
    • Sébastien Blin's avatar
      ringnotify: rewrite notification system · cc4e824b
      Sébastien Blin authored
      Ring will now use three types of notifications:
      
      1. Call notifications: opened when an incoming call is here
      and closed at the end of the call.
      2. Request notifications: opened when a new trust request
      arrives and closed when the user accepts/refuse/block or
      just open the conversation.
      3. Chat notifications: arrives with new interactions and if
      the current conversation is different or the client not focused. Closed
      by Gnome or when the conversation is opened.
      
      Change-Id: I5e5abf20507bac8bb37c429bc929c671fe66bd6b
      Gitlab: #868Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
      cc4e824b
  13. 24 Jul, 2018 1 commit
  14. 06 Jun, 2018 1 commit
  15. 19 Apr, 2018 1 commit
  16. 12 Apr, 2018 1 commit
  17. 31 Jan, 2018 1 commit
  18. 15 Jan, 2018 1 commit
  19. 11 Jan, 2018 1 commit
  20. 19 Dec, 2017 1 commit
  21. 02 Nov, 2017 1 commit
  22. 19 Oct, 2017 1 commit
  23. 19 Jul, 2017 1 commit
  24. 17 Jul, 2017 1 commit
  25. 25 Apr, 2017 1 commit
  26. 23 Mar, 2017 1 commit
  27. 22 Mar, 2017 1 commit
    • Victor Nikulshin's avatar
      Call Ring ID accepted as command line argument · 167bbb6d
      Victor Nikulshin authored
      Allows gnome-ring to accept as the first command-line argument and
      automatically call a target RingID in the form of 'ring' URI scheme:
      "ring:[0-9a-z]{40}".
      
      It is possible to use filename and URI parsing capabilities of
      GTK applications to extract RingID from command-line argument
      if it is provided.
      
      This patch implements the 'open' hook of the GTK-application,
      as recommended by GTK documentation, to correctly communicate data
      between multiple running instance of the application. By doing this,
      the following behavior is achieved:
      
      1. If gnome-ring is not yet running and it is invoked with
      a command-line argument, a new application instance will be initialized
      and will start a new call at once.
      
      2. If gnome-ring is already running, the 'open' event with the RingID
      will be dispatched to the primary application instance and make it start
      a new call.
      
      = Testing the patch
      
      Apply the patch, recompile gnome-ring and execute it
      with the command-line argument in the Ring URI-scheme format:
      
      gnome-ring 'ring:0000000000000000000000000000000000000000'
      
      = Expected behaviour
      
      The main application window will appear and automatically start
      a call to the destination RingID.
      
      [GR: fix ci msg line lenght (limit to 72)]
      [GR: fix naked raw ptr and build warnings]
      
      Change-Id: I109f118fb4765e764dc399486091e456ef19117e
      Tuleap: #1539
      167bbb6d
  28. 27 Feb, 2017 1 commit
    • Stepan Salenikovich's avatar
      Only use AppIndicator in Unity · 72d812fa
      Stepan Salenikovich authored
      Using AppIndicator in other DE (at least in GNOME) seems to cause
      a bizzare critical log message at launch. To prevent this we use
      the GtkStatusIcon API instead unless we're on Unity.
      
      Note that this change removes the 'USE_APPINDICATOR' CMake variable.
      We will always check for the presence of the lib, but only use it
      on Unity.
      
      Change-Id: Icb2e56853a5f2ac16d74fdd1b9d5c5d17a02479e
      Tuleap: #1440
      72d812fa
  29. 14 Oct, 2016 1 commit
    • Stepan Salenikovich's avatar
      prevent calling extra connectivityChanged · 221beae7
      Stepan Salenikovich authored
      The NMClient seems to always emit an extra notify::primary-connection
      signal on startup which resulted in always calling connectivityChanged
      and so reloading the accounts in the daemon for no reason.
      
      We save the NMActiveConnection pointer to make sure it has really changed.
      
      Change-Id: I8ee920c0f12e0e599bde37a2a0adf2a36561a75b
      Tuleap: #1097
      221beae7
  30. 15 Sep, 2016 1 commit
  31. 06 Sep, 2016 1 commit
    • Stepan Salenikovich's avatar
      require glib-2.0 >= 2.40 · 03c42af9
      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: default avatarAlexandre Viau <alexandre.viau@savoirfairelinux.com>
      Change-Id: Ia11f675d592f34996ca8cb8c770dae67ded68842
      03c42af9
  32. 02 Sep, 2016 1 commit
  33. 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
  34. 17 Aug, 2016 1 commit
    • Stepan Salenikovich's avatar
      do not abort when daemon not found · 541a40ab
      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
      541a40ab
  35. 27 Jul, 2016 1 commit
  36. 22 Jul, 2016 2 commits
    • Stepan Salenikovich's avatar
      use libnm-glib instead of libnm · 28ca3174
      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
      28ca3174
    • Stepan Salenikovich's avatar
      monitor network status using libnm · 472c9050
      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
      472c9050
  37. 07 Jul, 2016 1 commit
    • Stepan Salenikovich's avatar
      systray icon: fix icon menu in Unity · 9717736b
      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
      9717736b
  38. 22 Jun, 2016 1 commit
    • Stepan Salenikovich's avatar
      fix restore main window state regression · 3f27dc9d
      Stepan Salenikovich authored
      A regression was introduced by 982b2883
      causing the main window to always be hidden when launching with the '-r'
      option to restore the previous window state (visible or hidden). This
      patch fixes this bug.
      
      Change-Id: I16ef616eb53b76db39ddf953f3cc395ec5e89d7d
      Tuleap: #370
      3f27dc9d