Skip to content
Snippets Groups Projects
  1. Jan 15, 2024
  2. Jan 05, 2024
  3. Jan 03, 2024
  4. Jan 02, 2024
    • Sébastien Blin's avatar
      messagelist: use history given from daemon (except SIP accounts) · 32b76c8d
      Sébastien Blin authored
      With Jami-Daemon >= 14.0.0, the client doesn't need to construct
      itself the history. This part is now handled by the daemon.
      This patch uses the new API:
      + loadConversationMessages->loadConversation
      + SwarmMessageReceived/SwarmMessageUpdated/ReactionAdded/ReactionRemoved
      + remove MessageReceived
      + ConversationLoaded->SwarmLoaded
      
      + No need to use loadConversationUntil, the daemon will load whatever
      the client needs.
      + No need to clear cache, just reset the body and emit data changes
      
      Everything should work like before (even re-translation & changing
      preview preference)
      
      Change-Id: Iaf1fa3e84e8e157ae2d0bec210977f9a34415ebc
      32b76c8d
    • Sébastien Blin's avatar
      misc: fix QML tests · 2d664eac
      Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
      Moreover, add two accounts (for ChatView testing)
      
      Change-Id: Ifb2a45002dd9e86921868257124561764e9b94c5
      2d664eac
  5. Nov 17, 2023
  6. Oct 24, 2023
  7. Aug 21, 2023
  8. Jul 14, 2023
  9. Jul 13, 2023
  10. Jun 07, 2023
  11. Jun 02, 2023
    • Andreas Traczyk's avatar
      chatview: fix emoji responses under Qt v 6.4.x and up · d94c3083
      Andreas Traczyk authored and Adrien Béraud's avatar Adrien Béraud committed
      Qt.bindings are not supported for properties within when calling createObject anymore. Instead, we can pass component references, or generate bindings post-creation.
      
      Note: in this case, the popup closes and observation is not really needed here.
      
      Gitlab: #1169
      Change-Id: I21c1d95f4ca725c86fcf276834830145587458cc
      d94c3083
  12. May 15, 2023
    • Andreas Traczyk's avatar
      chat: preprocess text msgs w/md4c+tidy-html5 · 8db188c5
      Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
      Introduces MessageParser to encapsulate text treatment for raw text messages.
      
      The async parsing sequence is as follows:
      - Markdown -> HTML (md4c)
      - link coloration (tidy-html5)
      - notify UI
      - request link preview info from PreviewEngine for the first link
      - Preview engine uses QtNetwork instead of QtWebengine
      - Linkification is handled by MessageParser instead of linkify.js
      
      QtWebengine is no longer required for message parsing.
      
      Gitlab: #1033
      Gitlab: #855
      Change-Id: Ief9b91aa291caf284f08230acaf57976f80fa05b
      8db188c5
    • Sébastien Blin's avatar
      recordbox: fix focus policy on record box · 73419e41
      Sébastien Blin authored
      The focus policy was broken and this patch fix also the tests
      due to an incorrect conversationModel.
      
      Change-Id: I9e7f76b0dff80548d3b92296f22bdd7b848ee931
      73419e41
  13. Apr 26, 2023
  14. Apr 11, 2023
  15. Apr 06, 2023
  16. Apr 05, 2023
    • Andreas Traczyk's avatar
      tests: qml: initialize the preview engine · 5566c1a9
      Andreas Traczyk authored
      This was causing invalid connections during test setup. Not having a null preview engine will prevent dereferencing a null pointer once messaging tests are implemented, however, the webengine will not work correctly due to missing resources which may be corrected in a subsequent patch.
      
      This commit also moves .clang-format to the root repo dir so it will apply to the test source code (the test source code should be within the src dir).
      
      Gitlab: #899
      Change-Id: I8cac1fb937a0c60a91219b11ed1e0b5f323b1816
      5566c1a9
    • Andreas Traczyk's avatar
      misc: fix test suite and tooling on Windows · df5b9554
      Andreas Traczyk authored
      - simplifies and fixes the python build script for Windows
      - applies pep8 to the script also
      
      Gitlab: #899
      Change-Id: Ieb3debd08ddf1649a46208fc52362d20c504c1b1
      df5b9554
  17. Feb 28, 2023
  18. Feb 06, 2023
  19. Jan 06, 2023
  20. Dec 20, 2022
  21. Dec 05, 2022
  22. Dec 02, 2022
  23. Nov 12, 2022
  24. Nov 11, 2022
  25. Nov 08, 2022
    • Maxim Cournoyer's avatar
      tests: Fix Qt dependencies. · eabbf156
      Maxim Cournoyer authored
      Partially fixes
      <#882>.
      This follows commit dae92490.
      
      * tests/CMakeLists.txt: Rename QML_LIBS to QT_LIBS, a regression
      introduced in d82e3820.  Remove the
      dependency on on the Widgets module, now provided via QT_LIBS.
      * tests/qml/main.cpp [WITH_WEBENGINE]: Include QtWebEngine modules
      conditionally.
      (main) [WITH_WEBENGINE]: Initialize webengine conditionally.
      
      Change-Id: I0df4e11ca3571338fb1e8967784dc6f09ca1dfee
      eabbf156
  26. Nov 06, 2022
  27. Sep 30, 2022
  28. Sep 19, 2022
    • Sébastien Blin's avatar
      backupkeypage: transform into TipBox · fe3f8521
      Sébastien Blin authored and Nicolas Vengeon's avatar Nicolas Vengeon committed
      Split TipBox into dynamic components to avoid to load all the things.
      Show the Customize Tip Box only if necessary
      Replace backup key page by a tipbox
      
      Change-Id: Ie499fb16fe67648bbdd327eb24705a1881d9cea8
      fe3f8521
  29. Jul 12, 2022
  30. May 19, 2022
  31. Jan 06, 2022
Loading