Skip to content
Snippets Groups Projects
  1. Jan 19, 2024
  2. Jan 15, 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
  5. Dec 25, 2023
  6. Dec 14, 2023
  7. Dec 08, 2023
  8. Nov 15, 2023
  9. Oct 24, 2023
  10. Oct 11, 2023
  11. Sep 11, 2023
    • Andreas Traczyk's avatar
      white-labeling: fix local file paths · f605cfce
      Andreas Traczyk authored
      Fixes white-labeling not working on Windows
      
      - use portable local file URI prefixes
      - emit download failed when the file can't be created locally
      - light refactor
      
      Change-Id: Id6c4c07a9b0edcc18d0d5f5c8852308aaf1e8b44
      f605cfce
  12. Jul 14, 2023
  13. Jul 13, 2023
    • Andreas Traczyk's avatar
      misc: fix isRTL function · bbdd68fb
      Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
      Uses the system locale name when the preference is set to "SYSTEM".
      Adds some extra ISO 639-1 RTL languages.
      
      Change-Id: Ia28ae1bc15992ce26f88ab11bc447d76054f0581
      bbdd68fb
  14. Jun 01, 2023
  15. May 23, 2023
    • Andreas Traczyk's avatar
      misc: fix clazy warnings · 05a09a82
      Andreas Traczyk authored
      Fix some warnings, and possible some bugs related to bad QObject::connects.
      
      Gitlab: #938
      Change-Id: Id4ca9a48b929e7c59df8cf20c6df3504c7971b4c
      05a09a82
  16. May 11, 2023
    • Sébastien Blin's avatar
      i18n: support RTL languages · e073c6f8
      Sébastien Blin authored and Aline Gondim Santos's avatar Aline Gondim Santos committed
      This patch introduces some mechanisms to fully support RTL languages:
      1. RTL detection via UtilsAdapter::isRTL() checking the locale name
      2. Using QML mirroring when needed based on UtilsAdapter.isRTL
      3. Inverting panels in DualPaneView and JamiListView when needed
      with SinglePane support
      
      Moreover, lot of anchors are added to automatically manage layout
      updates.
      
      GitLab: #235
      Change-Id: I40c245f2d7fae96d796c53505af5403f5e813e7f
      e073c6f8
  17. May 04, 2023
  18. Apr 11, 2023
  19. Apr 07, 2023
  20. Apr 06, 2023
  21. Mar 23, 2023
    • Sébastien Blin's avatar
      wizardview: use videopreview if webengine · 8adb4aa1
      Sébastien Blin authored and Andreas Traczyk's avatar Andreas Traczyk committed
      MediaPlayer is crashing on snap for an unknown reason. For now,
      the easiest thing is to use the webengine component as it's already
      used pretty everywhere and snap is built with.
      
      GitLab: #1037
      Change-Id: Ida24f0401bbd5c6a861a7229fb51135652722561
      8adb4aa1
  22. Mar 10, 2023
    • Andreas Traczyk's avatar
      misc: save split view states · 9ff32433
      Andreas Traczyk authored
      This commit simplifies the view coordinator and restructures the main view stack to not include a split view.
      
      This removes workaround logic for single pane view support that was previously in the view coordinator.
      
      The main view is now a stack that may contain both single and dual pane views.
      
      The ListSelectionView further specializes DualPaneView to add an index-based or custom selection mechanism.
      
      Gitlab: #902
      Change-Id: I81c9fe579b95c8d4774c3e491a16d7600323c40c
      9ff32433
  23. Mar 06, 2023
  24. Mar 03, 2023
  25. Mar 01, 2023
  26. Feb 22, 2023
  27. Feb 06, 2023
  28. Jan 31, 2023
  29. Jan 11, 2023
  30. Dec 06, 2022
    • Aline Gondim Santos's avatar
      windows: add support for system theme · 956b7f7d
      Aline Gondim Santos authored
      Use registry
      "HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion
      /Themes/Personalize/AppsUseLightTheme"
      to check if system theme is supported and if it is dark or
      light.
      
      Removes "EnableDarkTheme" in favor of "AppTheme".
      
      Requires Windows SDK version 10.0.18362.0 to build with
      system theme support.
      
      Note: This does not watch for changes in system theme in
      runtime as the support for it requires Windows Runtime
      version 10.0.10240.0.
      
      GitLab: #723
      
      Change-Id: Ice8f7936a90535f47dc1870d4f18215e062684ba
      956b7f7d
  31. Nov 30, 2022
  32. Nov 17, 2022
  33. Nov 08, 2022
  34. Oct 04, 2022
  35. Aug 30, 2022
    • Sébastien Blin's avatar
      gnulinux: add support for system theme · ec1d664b
      Sébastien Blin authored
      Use 'color-scheme' from gsettings if available to check if dark theme
      is preferred.  Otherwise, fall back on theme name from 'gtk-theme'.
      
      The default is to follow the system theme (if supported), and
      'EnableDarkTheme' would be unused.  'AppTheme' can currently have
      one of three values: 'System', 'Dark', 'Light'.
      
      Change-Id: I8008c8fe0f4750c97e71838fff0031f80b685f5e
      GitLab: #723
      ec1d664b
  36. Aug 24, 2022
  37. Jul 29, 2022
    • Fadi Shehadeh's avatar
      wizard: implement new wizard details · 41c21dac
      Fadi Shehadeh authored and Sébastien Blin's avatar Sébastien Blin committed
      This changes many things:
      + Except the backup page, all pages were re-designed
      + Heavily modify buttons and line edits with new components style
      + Update switches themes
      + Re-work username
      + Add future components
      + Update strings
      + Update PhotoBoothView
      
      GitLab: #769
      GitLab: #770
      GitLab: #766
      Change-Id: Ic97d36cf8c86c4242013bf71a524887f7ce56f8f
      41c21dac
  38. Jul 18, 2022
  39. Jun 08, 2022
    • Amin Bandali's avatar
      misc: vendor libjamiclient into 'src/libclient/' · e0b3b4ad
      Amin Bandali authored
      This is libjamiclient from the jami-libclient.git repository as of
      767c45b8b09806ac05cbada720864df93588c047, with the following changes:
      
      * src/libclient/newaccountmodel.cpp:
      (NewAccountModelPimpl::removeFromAccounts): The lock wait inside
      '#ifdef CHK_FREEABLE_BEFORE_ERASE_ACCOUNT' was not updated when the
      type of 'accounts' was changed over the years from this:
      std::map<std::string, account::Info>
      to this:
      std::map<QString, std::pair<account::Info, std::shared_ptr<Database>>>
      Basically we need to get the 'first' of the pair for 'account::Info'.
      So we now do that.
      
      * src/libclient/avmodel.cpp:
      * src/libclient/callbackshandler.cpp:
      * src/libclient/contactmodel.cpp:
      * src/libclient/conversationmodel.cpp:
      * src/libclient/database.cpp:
      * src/libclient/namedirectory.cpp:
      * src/libclient/newaccountmodel.cpp:
      * src/libclient/newcallmodel.cpp:
      * src/libclient/newdevicemodel.cpp:
      * src/libclient/peerdiscoverymodel.cpp:
      * src/libclient/pluginmodel.cpp:
      * src/libclient/smartinfohub.cpp:
      * src/libclient/vcard.h:
      * src/libclient/authority/storagehelper.cpp:  Replace Qt's 'foreach'
      with 'Q_FOREACH' and its 'emit' with 'Q_EMIT' because in the client-qt
      code base we have '-DQT_NO_KEYWORDS' to avoid conflicts with other
      libraries we use.
      
      * cmake/FindLibJami.cmake: Import cmake/FindRing.cmake from the
      jami-libclient.git repository.  Then, rename RING_BUILD_DIR to
      LIBJAMI_BUILD_DIR (though the old name is still supported for now).
      Also update other references of Ring to Jami.  Further, add additional
      calls to 'find_library' to make sure specified local paths for libjami
      are checked before system-wide ones (in case of older/obsolete libjami
      being available system-wide, which might happen on GNU/Linux systems).
      
      * translations/lrc_*.ts: Import translation files from the libclient
      repository.  The message location paths were corrected by running
      "sed -i 's|../src|&/libclient|g' lrc_*.ts" in 'translations/'.
      
      .tx/config: Add section for the newly-imported libclient translations.
      
      * CMakeLists.txt: Reformat, plus various fixes and cleanups, such as
      changing indentation to 2 spaces and wrapping lines at 70 characters,
      renaming the parent directory of translations from 'ring' to 'jami',
      and using all lowercase function calls.  Also add copyright headers.
      
      * src/app/appsettingsmanager.cpp:
      (AppSettingsManager::loadTranslations):
      * src/app/utilsadapter.cpp (UtilsAdapter::supportedLang): Update to
      adapt to the renaming of the parent directory of translations from
      'ring' to 'jami'.
      
      GitLab: #748
      Change-Id: I86e3b0fb30e554755023e7b858b6a0d132cd59ab
      e0b3b4ad
  40. May 19, 2022
Loading