Skip to content
Snippets Groups Projects
  1. Jan 03, 2024
  2. 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
  3. 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
  4. Feb 17, 2023
    • Andreas Traczyk's avatar
      mainapp: dynamically load views · 14ae0006
      Andreas Traczyk authored
      Introduces the ViewCoordinator component to promote dynamic view loading and reduce coupling between components.
      
      The following objects are now created and destroyed as needed:
      - SettingsView
      - WizardView
      - dialogs
      
      Further refactoring will be required in order to do the same with the ConversationView, which now parents the ChatView and the CallStackView.
      
      Gitlab: #897
      Change-Id: Ice6a0c133e62e1e0c8d7fb99ec2c41234c049b59
      14ae0006
  5. Feb 06, 2023
  6. Dec 09, 2022
  7. May 19, 2022
  8. May 10, 2022
  9. May 03, 2022
  10. Jan 25, 2022
    • Andreas Traczyk's avatar
      chatview: base previewengine on QWebEnginePage not QWebEngineView · 9aad9776
      Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
      Qt6 allows us to set the RHI backend, however QQuickWidget is only
      supported when using OpenGL. QWebEngineView instantiation uses
      QQuickWidget and isn't required as we wish to use the previewengine
      in a headless mode. So it can just be based on QWebEnginePage.
      
      Change-Id: If05ca5c89272704b54c29318803c8773984b087c
      9aad9776
  11. Jan 06, 2022
  12. Dec 21, 2021
  13. Oct 27, 2021
  14. Oct 06, 2021
    • Trevor Tabah's avatar
      chatview: replace web chat view with qml listview · 2e67dc1b
      Trevor Tabah authored and Ming Rui Zhang's avatar Ming Rui Zhang committed
      Introduces a primitive QML ListView based chat view lacking
      features present in the previous web chat view, that will be added
      in subsequent commits(styling, preview/media/link/file-transfer
      message type support, etc.).
      
      Gitlab: #467
      Change-Id: Iedc40f6172a6cdacc48cda6f4187053fbf226713
      2e67dc1b
Loading