Skip to content
Snippets Groups Projects
  1. Aug 08, 2024
    • Samuel Kayode's avatar
      tests: fix account accumulation on Linux systems · b99c2674
      Samuel Kayode authored and Adrien Béraud's avatar Adrien Béraud committed
      On non-dockerized Linux systems, the accounts generated during tests are
      only cleaned up occassionally. The test suite design implements
      consistent account cleanup post test. Accumulation of these accounts
      interfere with subsequent test runs, rendering the test suite ineffective.
      
      The main test scripts incorrectly utilize a Jami Windows environment
      variable for Linux systems. In adherence with the Jami client design,
      this patch utilizes the correct environment variable for Linux systems.
      Windows formatted paths were also modified to allow recogntion in Linux
      enironments
      
      GitLab: #1801
      Change-Id: I633dbd168af1e6d20ccee53d1109cd179bd1a187
      b99c2674
  2. Jul 04, 2024
  3. May 31, 2024
    • Sébastien Blin's avatar
      interaction: split status and transferStatus · df3e76a1
      Sébastien Blin authored and Andreas Traczyk's avatar Andreas Traczyk committed
      This allow to show the correct sending/sent/state for the interaction
      separated from the status of the dataTransfer. Else, we see a sent
      check for a file even if the peer didn't receive the file
      
      Change-Id: I15b9f0abc6a26a2ffd007be26827e9a37e859bca
      df3e76a1
  4. Apr 11, 2024
    • Andreas Traczyk's avatar
      misc: improve vscode integration · 6105f4f7
      Andreas Traczyk authored and Adrien Béraud's avatar Adrien Béraud committed
      - adds a task to toggle testing configuration
      - removes the test run launch configuration (now a task)
      - adds macOS support and fixes gtest CMake integration
      - removes the IPC launch configuration as it doesn't work correctly without delaying the client
      
      Change-Id: I89e1f3abd0e050e0bcf205f1331596c660dd0d34
      6105f4f7
  5. Mar 12, 2024
  6. Feb 29, 2024
  7. Feb 28, 2024
  8. Feb 22, 2024
  9. Feb 21, 2024
  10. Feb 19, 2024
  11. Feb 15, 2024
  12. Jan 31, 2024
    • Andreas Traczyk's avatar
      misc: fix automated tests · 50ce16e0
      Andreas Traczyk authored
      Broken by https://review.jami.net/c/jami-client-qt/+/26560.
      This moves some logic that has been previously duplicated between the app and tests into a common routine.
      
      Change-Id: I40f1af38893cfcef751578d3e4db7d7ba040505b
      50ce16e0
    • Andreas Traczyk's avatar
      link-preview: fix UTF-8 decoding · 154ce53e
      Andreas Traczyk authored
      The HTML string was being converted to a local 8-bit string prior to parsing with tidy.
      
      According to Qt documentation, this works on Unix systems as toLocal8Bit() is equivalent to toUtf8(), however, it may not on Windows, and may result in character replacement.
      
      Gitlab: #1536
      Change-Id: I7aec98cffbd9d72771d1c489f52b38dbb3a1ed9f
      154ce53e
    • Andreas Traczyk's avatar
      qmlregister: improve singleton registration · 35f85028
      Andreas Traczyk authored
      - better manage QML interop object lifetimes
      - allow intellisense to pick up QML registered symbols
      - fix for PreviewEngine threading
      
      Change-Id: I416cdede70b155dc34fc3ee94f428ae2128c8950
      35f85028
  13. Jan 26, 2024
    • Andreas Traczyk's avatar
      misc: implement frameless window · 35482fa9
      Andreas Traczyk authored
      Several major changes to the layout have been made.
      - The chat search bar is moved into the message search layout.
      - The Searchbar component is stripped of unused features.
      - Some remaining logic that was used to switch main loader components is removed.
      - ViewCoordinator.getView gets a "force create" parameter and we no longer preload low-cost views.
      
      NOTE: the option to use a frameless window is available within general settings
      
      Gitlab: #1524 (Frameless Window)
      Change-Id: Iec6bdf162cb0335d3ae3d9bd09dd9783991a4a57
  14. Jan 25, 2024
  15. Jan 24, 2024
    • Andreas Traczyk's avatar
      chat view: don't attempt to redefine a Loader's final property · 99d415b1
      Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
      We can't define a property called `status` for a Loader as it exists already. At best, the app will crash as it should be unable to create the chat view. At worst, this will introduce undefined behavior by confounding transfer/loader status assignments and comparisons.
      
      Gitlab: #1537 (crash)
      Change-Id: I66fb6da25cae695f7f1f520200f6eed8a2c93d03
      99d415b1
  16. Jan 19, 2024
    • Sébastien Blin's avatar
      datatransfer: allow to download a cancelled file · 90e9a36a
      Sébastien Blin authored
      Change-Id: If94c5e1c24d1a90f7a20f29bafc087d26782fe67
      GitLab: #1523
      90e9a36a
    • François-Simon Fauteux-Chapleau's avatar
      tests/qml: fix various issues with the MessageOptions test · 95e36ef8
      François-Simon Fauteux-Chapleau authored and Sébastien Blin's avatar Sébastien Blin committed
      This commit fixes three issues related to tst_MessageOptions.qml:
      1) There was no test to check that the call to createSIPAccount() at the
         beginning of test_createMessageOptionsPopup() actually succeeded
      2) The created account was not deleted at the end of the test
      3) The test would occasionally crash due to an uncaught
         std::out_of_range exception thrown by the
         AccountModelPimpl::slotAccountDetailsChanged function. I've modified
         the function to issue a warning instead, which makes it consistent
         with AccountModelPimpl::slotVolatileAccountDetailsChanged and avoids
         throwing an exception from a Qt slot (which is considered undefined
         behavior according to the Qt documentation)
      
      Change-Id: I4d939b29f27ee27de673aea7046997ef756fbcee
      95e36ef8
  17. Jan 15, 2024
  18. Jan 05, 2024
  19. Jan 03, 2024
  20. 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
  21. Nov 17, 2023
  22. Oct 24, 2023
  23. Aug 21, 2023
  24. Jul 14, 2023
  25. Jul 13, 2023
  26. Jun 07, 2023
  27. 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
Loading