add ID to smartlist items in history

this patch adds the ID of a contact under its alias
in the smartlist. This allows to differentiate the
contact methods and helps to prevent identity spoofing.

Change-Id: Ia8b8943f4b7a5f223e1fdc1ae5b3bd74f90e6582
Reviewed-by: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
1 file changed
tree: 1f98b4324594ed2bd3a184a075863e4af4be702f
  1. .tx/
  2. docker/
  3. images/
  4. translations/
  5. .gitignore
  6. .gitmodules
  7. .gitreview
  8. aboutdialog.cpp
  9. aboutdialog.h
  10. aboutdialog.ui
  11. accountdetails.cpp
  12. accountdetails.h
  13. accountdetails.ui
  14. accountserializationadapter.cpp
  15. accountserializationadapter.h
  16. accountstatedelegate.cpp
  17. accountstatedelegate.h
  18. callutilsdialog.cpp
  19. callutilsdialog.h
  20. callutilsdialog.ui
  21. callwidget.cpp
  22. callwidget.h
  23. callwidget.ui
  24. combar.cpp
  25. combar.h
  26. combar.ui
  27. configurationwidget.cpp
  28. configurationwidget.h
  29. configurationwidget.ui
  30. contactdialog.ui
  31. contactmethodpicker.cpp
  32. contactmethodpicker.h
  33. contactmethodpicker.ui
  34. contactpicker.cpp
  35. contactpicker.h
  36. contactpicker.ui
  37. contactrequestitemdelegate.cpp
  38. contactrequestitemdelegate.h
  39. contactrequestlistwidget.cpp
  40. contactrequestlistwidget.h
  41. contactrequestwidget.cpp
  42. contactrequestwidget.h
  43. contactrequestwidget.ui
  44. currentaccountwidget.cpp
  45. currentaccountwidget.h
  46. currentaccountwidget.ui
  47. globalsystemtray.cpp
  48. globalsystemtray.h
  49. ico.rc
  50. idlabel.cpp
  51. idlabel.h
  52. imdelegate.cpp
  53. imdelegate.h
  54. instantmessagingwidget.cpp
  55. instantmessagingwidget.h
  56. instantmessagingwidget.ui
  57. License.rtf
  58. main.cpp
  59. mainwindow.cpp
  60. mainwindow.h
  61. mainwindow.ui
  62. navstack.cpp
  63. navstack.h
  64. navwidget.cpp
  65. navwidget.h
  66. pathpassworddialog.cpp
  67. pathpassworddialog.h
  68. pathpassworddialog.ui
  69. photoboothdialog.cpp
  70. photoboothdialog.h
  71. photoboothdialog.ui
  72. pixbufmanipulator.cpp
  73. pixbufmanipulator.h
  74. qualitydialog.cpp
  75. qualitydialog.h
  76. qualitydialog.ui
  77. quickactcontactrequestwidget.cpp
  78. quickactcontactrequestwidget.h
  79. quickactcontactrequestwidget.ui
  80. README.md
  81. ressources.qrc
  82. ring.nsi
  83. ringbutton.cpp
  84. ringbutton.h
  85. ringbutton.ui
  86. ringcontactlineedit.cpp
  87. ringcontactlineedit.h
  88. ringthemeutils.h
  89. RingWinClient.pro
  90. selectareadialog.cpp
  91. selectareadialog.h
  92. sendcontactrequestwidget.cpp
  93. sendcontactrequestwidget.h
  94. sendcontactrequestwidget.ui
  95. settingskey.h
  96. shmclient.cpp
  97. shmclient.h
  98. smartlist.cpp
  99. smartlist.h
  100. smartlistdelegate.cpp
  101. smartlistdelegate.h
  102. stylesheet.css
  103. update-translations.py
  104. utils.cpp
  105. utils.h
  106. videooverlay.cpp
  107. videooverlay.h
  108. videooverlay.ui
  109. videoview.cpp
  110. videoview.h
  111. videoview.ui
  112. videowidget.cpp
  113. videowidget.h
  114. windowscontactbackend.cpp
  115. windowscontactbackend.h
  116. wizarddialog.cpp
  117. wizarddialog.h
  118. wizarddialog.ui
README.md

Windows client for Ring

For more information about the ring project, see the following:

Requirements

  • Ring client library and Ring daemon
  • Mingw-w64 build environment
  • Qt5 (we link against Qt5Core, Qt5Widgets, Qt5Gui) built with Mingw
  • Qt5 Svg, Qt5 ImageFormats & Qt5 WinExtras built with Mingw

Get the source code

  • git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows

Build instructions

USE THE QMAKE OF Qt BUILT WITH MINGW (e.g. /usr/bin/[i686 | x86_64]-w64-mingw32-qmake-qt5)

cd ring-client-windows
mkdir build && cd build
export QTDIR=<path to mingw qt> (e.g. /usr/[i686 | x86_64]-w64-mingw32/lib/qt)
git submodule init && git submodule update
cd libqrencode
./autogen.sh && ./configure --host=[i686 | x86_64]-w64-mingw32 --prefix=<Install dir of Ring and LRC>
make
make install
cd ..
qmake ../RingWinClient.pro -r -spec win32-g++ RING=<Install dir of Ring and LRC> [BUILD=Debug]
make
make install

You will find all files in ./release directory.

#Auto update

If you want to enable auto-update

  • Build winsparkle In the client directory after having initialized the submodule
    cd winsparkle
    mkdir build && cd build
    cmake -DCMAKE_TOOLCHAIN_FILE=<LRC Directory>/cmake/winBuild.cmake -DCMAKE_INSTALL_PREFIX=Install dir of Ring and LRC> ../cmake",
    make
    make install
    
  • Compile the client with ENABLE_AUTOUPDATE=True

Debugging

Compile the client with 'BUILD=Debug' and libRingClient with '-DCMAKE_BUILD_TYPE=Debug'

Packaging

cd build/release
makensis ring.nsi