1. 24 Oct, 2019 2 commits
  2. 02 Jan, 2019 1 commit
  3. 14 Dec, 2018 1 commit
  4. 05 Dec, 2018 1 commit
  5. 06 Jul, 2018 1 commit
  6. 06 Jun, 2018 1 commit
  7. 30 May, 2018 1 commit
    • Hugo Lefeuvre's avatar
      chatview: implement navbar · edad8832
      Hugo Lefeuvre authored
      Currently the navbar is implemented in native GTK, and has a pretty
      bad integration with the chatview. In this patch we implement a
      modern navbar *in* the chatview and remove the old GTK bar.
      
      *Changes summary*
      
      chatview, HTML/JS/CSS side:
      - Remove useless function setSendIcon from the chatview
      - Simplify setTemporary in the chatview
      - Use only one single showInvitation function instead of two
        showInvitation and hideInvitation functions.
      - Remove pointless/copy&pasted comments
      
      chatview, GTK side:
      - Simplify chatview update methods: instead of providing several
      separate functions to update the invitation/banned status of the chat
      view, only provide one (update_chatview_frame). This should have a
      good impact on the performances and simplify webkit crash handling.
      
      Change-Id: I6959240efd357fedb07d3c60d551efc8fca84812
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      edad8832
  8. 07 May, 2018 1 commit
    • Hugo Lefeuvre's avatar
      chatview: clearly display banned contacts as such · 6bbfd876
      Hugo Lefeuvre authored
      Whenever the chat view has to display a banned contact, it should:
      - Make place call, add to contacts and place audio call buttons
        unclickable
      - Hide the send message bar
      - Display the banned contact as such in the smart list results (grey bg,
        bold "Banned contact", etc.)
      
      This patch implements this behavior in the GNU/Linux GNOME client.
      
      For the moment the conversation popup is still mentioning invalid
      options such as «block contact» or «place call», but since fixing it
      requires LRC side changes we will address this issue in a separate
      commit.
      
      Change-Id: Ibc8da7d755319acae59a807cc248e3a87bd9d6da
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      6bbfd876
  9. 26 Feb, 2018 1 commit
  10. 21 Feb, 2018 1 commit
  11. 31 Jan, 2018 1 commit
  12. 02 Nov, 2017 1 commit
  13. 01 Aug, 2017 1 commit
  14. 19 Jul, 2017 1 commit
  15. 03 Nov, 2016 1 commit
    • aviau's avatar
      WebKitChatContainer: Distinguish senders by contactmethods · fc21355c
      aviau authored
      Instead of using the sender names to distinguish participants in the
      chatview, use the ContactMethods. This fixes an issue where "Me" would
      be hardcoded in the html file and could change depending on translation.
      This also avoids issues with two senders having the same name.
      
      Tuleap: #1073
      Change-Id: Iaab2bfe6914b62e7b96e06e0c806692d155667b9
      fc21355c
  16. 28 Oct, 2016 1 commit
    • aviau's avatar
      New chat view using gtkwebkit · 039001d7
      aviau authored
      This changes the text buffer widget to a WebKitWebView so that we can
      use web technologies to control the display.
      
      This change comes with a new dependency: libwebkit2gtk-4.0. Should
      this dependency not be available on the system, we can also build the
      client using libwebkit2gtk-3.0. However, the links won't be clickable.
      
      New features:
       - Implemented delivery reports.
       - Avatars are now displayed in the chat window.
       - Links in the chat window are now clickable.
      
      When the client is launched with the -d option, you may right click on
      the chat view to open up the dev tools.
      
      In order to improve performance, one WebKitWebView is re-used for all
      of the ChatViews, since we only display one at a time.
      
      Tuleap: #1073
      Change-Id: Ic945fa6c92f92e391f0362310ddc2f0fa16641bf
      [stepan.salenikovich@savoirfairelinux.com: added change_view(); start
       loading webkit on window init; destroy webkit on dispose; prevent
       warning when dispose is called more than once on ChatView]
      Signed-off-by: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
      039001d7