Skip to content
Snippets Groups Projects
  1. Jan 31, 2024
    • 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
  2. Jan 03, 2024
  3. Jul 14, 2023
    • Andreas Traczyk's avatar
      messageparser: replace regexes with tidy API · 61126cfa
      Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
      Depend on tidy API for attribute extraction rather than regexes.
      
      1. htmlparser methods return nodes instead of pre-parsed strings
      2. htmlparser provides some methods to extract text/attr from nodes
      
      Gitlab: #1248
      Change-Id: I367d703680938fb0b7c5055ac41e079c1322da30
      61126cfa
  4. Jul 13, 2023
  5. 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
  6. Apr 06, 2023
  7. Apr 05, 2023
  8. Feb 06, 2023
  9. Jan 06, 2023
  10. Nov 12, 2022
  11. Sep 30, 2022
  12. Jul 12, 2022
  13. Jan 06, 2022
  14. Dec 22, 2021
  15. Dec 21, 2021
  16. Jul 29, 2021
    • Ming Rui Zhang's avatar
      test: enhance the google unit tests of the client · e2dbc33a
      Ming Rui Zhang authored
      1. Move JAMI_DATA_HOME, JAMI_CONFIG_HOME, JAMI_CACHE_HOME
         setup into individual test main entry
      2. Use google test assertion macros instead of Qt
      3. Add QT_QPA_FONTDIR to avoid QFont warnings
      4. Tests will now fail if the env variables cannot be set
      
      Change-Id: I63f6498d26b646d8ebc60799d8797fd5f13b54f9
      e2dbc33a
  17. Jul 09, 2021
    • Andreas Traczyk's avatar
      lrcinstance: remove custom setter/getter for currentAccountId · 285316dd
      Andreas Traczyk authored
      Using a custom getter setter cause the setting of the value to
      require manual changed signal emission and in addition to being
      error prone, this prevents the changed signal from being emitted
      upon initial selection. Some excess workaround code may be removed
      in following commits.
      
      This patch also refactors the banned contact signaling as part of
      an accountadapter connection cleanup.
      
      Change-Id: I73fb751001e53e086adc7a6a8d706671c2878a77
      285316dd
  18. Jun 30, 2021
  19. Jun 29, 2021
    • Maxim Cournoyer's avatar
      Rename dring to jamid, ring to jami. · a7e7105c
      Maxim Cournoyer authored and Sébastien Blin's avatar Sébastien Blin committed
      Automated via the following command:
      
        $ git grep -l dring | grep -v '.ts$' | xargs sed -i
        's/dring/jamid/g'
        $ git ls-files | xargs sed -i 's,bin/jamid.lib,bin/jami.lib,g'
        $ git ls-files | xargs sed -i 's,src/jamid,src/jami,g'
        $ git ls-files | xargs sed -i 's,-mutejamid,-mutejami,g'
        $ git checkout docker
      
      Change-Id: I030209b60817372f866055daadb4d0a1c1e2e9df
      a7e7105c
  20. Jun 16, 2021
  21. Jun 08, 2021
  22. May 04, 2021
  23. Nov 06, 2020
Loading