Skip to content
Snippets Groups Projects
  1. Jul 20, 2021
  2. Jul 19, 2021
  3. Jul 12, 2021
    • Andreas Traczyk's avatar
      swarm: simplify and update avatar update mechanism · 4bda3306
      Andreas Traczyk authored
      Implements a leaner avatar caching system. The avatar component
      listens for uid filtering its id, which may be:
      - conversation id
      - account id
      - contact uri
      
      In response to the uid change, a the image source is updated with
      a new image url invoking a fresh QQuickImageProvider query. With
      this design, only the avatarregistry's uid mapping needs to be
      updated when profiles are changed, and no longer should specific
      avatar components receive manual source updates.
      
      Gitlab: #466
      Change-Id: Ie5313f5c187a0977ca51b890dd92187480a42537
      4bda3306
  4. 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
  5. Jun 11, 2021
    • Sébastien Blin's avatar
      swarm: first implementation to follow api changes · 3d71bfa8
      Sébastien Blin authored and Andreas Traczyk's avatar Andreas Traczyk committed
      - use QString for interactionId
      
      - swarm conversations: use loadConversationMessages and
      subscribe to newMessagesAvailable signal
      
      - avoid displaying "merge" and empty "data transfer" messages
      
      - link composing status
      
      Change-Id: Ic524bb786b2ff0471f03b1bb02d41d6da38e716a
      3d71bfa8
  6. Jun 07, 2021
  7. May 26, 2021
    • Andreas Traczyk's avatar
      calloverlays: cleanup main and participant fadeout mechanisms · 3cca2e70
      Andreas Traczyk authored
      Unfortunately, QQuickMouseArea force accepts all move events by
      design, which makes passthrough events tricky to catch. In-call
      overlays for conference participants should be a layer below the
      main overlay. So, using QML MouseAreas makes correctly implementing
      both overlay fade mechanisms with passthrough for participant menus
      too complex. To properly implement the signal relay mechanism we
      would need to listen to all the child components with MouseAreas
      and relay the positionChanged events to parenting MouseAreas.
      
      To avoid the complexity, we can install an event filter for the
      main overlay and listen to global mouse move events that are
      contained in it's geometry.
      
      Additionally, we can use Control components instead of transparent
      Rectangles to access a hovered property which can be used to
      prevent the fade out, and effectively freeze the visibility of menu
      components.
      
      Gitlab: #420
      Gitlab: #421
      Gitlab: #423
      Change-Id: I7f05d2bc79ad6a8db0951b7b59e52f671fdf4798
      3cca2e70
  8. May 14, 2021
  9. May 11, 2021
  10. May 07, 2021
  11. May 06, 2021
    • Andreas Traczyk's avatar
      accountcombobox: cleanup and simplify qml layer · 0d6d94d1
      Andreas Traczyk authored
      - remove some faulty hover state management, excessive text metrics
        objects. Split the code up too and increase declarativeness.
      - fix the rendering of account avatars in the dropdown list
      - make the 'add account' item always visible
      - make the popup modal with transparent overlay
      
      Gitlab: #388
      Change-Id: If0e5f95d1250ee77902c518469878bdb678c8b9d
      0d6d94d1
  12. Apr 19, 2021
  13. Mar 25, 2021
    • Ming Rui Zhang's avatar
      misc: qml module import clean up · fcb56bfb
      Ming Rui Zhang authored
      The main reason for this change is to remove the misusage
      of QQuick one in ElidedTextLabel and useless QQuick one
      module import
      
      Change-Id: Ie296c0f7a90c6ec26ab85bcf3d8b75393463fbed
      fcb56bfb
  14. Dec 11, 2020
  15. Dec 07, 2020
  16. Oct 30, 2020
  17. Oct 08, 2020
  18. Sep 30, 2020
  19. Sep 25, 2020
    • Albert  Babí Oller's avatar
      misc: refactor account change · a7378554
      Albert Babí Oller authored and Andreas Traczyk's avatar Andreas Traczyk committed
      - UI sensitive to currentAccountId property, remove getCurrAccId from UtilsAdapter
      - centralize signals / functions at MainView and avoid unnecessary propagation between modules
      - name revision (avoid syntax such as "needTo" or "slot..")
      
      Gitlab: #85
      Gitlab: #86
      
      Change-Id: Ie4060df4b64990bdd3f412d0e491080a4cd20092
      a7378554
  20. Sep 24, 2020
  21. Sep 23, 2020
  22. Sep 17, 2020
  23. Sep 15, 2020
  24. Sep 10, 2020
    • Andreas Traczyk's avatar
      qml interop: remove clientwrapper · ae058405
      Andreas Traczyk authored
      The clientwrapper class masks granular object registration within
      qml, and encourages code duplication between viewmodels(adapters)
      and code lasagnafication and the misuse of declarative Qml.
      
      Change-Id: I85fef214363e62e54fc0681282323ea4861000d6
      Gitlab: #66
      ae058405
  25. Sep 03, 2020
    • Andreas Traczyk's avatar
      qml interop: start replacing QMetaObject::invokeMethod with signals · eb53a622
      Andreas Traczyk authored
      It seems concurrent calls to invokeMethod using qml component
      object pointers can lead to access violations. These method
      invocations can be replaced with a signal/slot mechanism.
      
      This patch replaces only the invocations in conversationsadapter
      and accountsadapter that are known to be problematic for now.
      
      Some code cleanup is done for QmlAdapterBase derived classes.
      
      Gitlab: #61
      Change-Id: I72f47c9229a9bf42299ae52822c3a1a8c04eb423
      eb53a622
  26. Sep 02, 2020
  27. Sep 01, 2020
  28. Aug 28, 2020
  29. Aug 27, 2020
    • Albert  Babí Oller's avatar
      mainview: fix account selection · 69f5dfcd
      Albert Babí Oller authored and Andreas Traczyk's avatar Andreas Traczyk committed
      - avoid duplicate call of LRC's setTopAccount()
      - welcome view displays always the first account on the list, so passing the index is not necessary
      - conversationsadapter and messagesadapter no longer listen to currentAccountChanged signal since there is a specific function for the setup
      
      Gitlab: #12
      Change-Id: Iac932d2596bf59c7528d83be799342ccefeea6b0
      69f5dfcd
  30. Aug 25, 2020
  31. Aug 21, 2020
  32. Aug 20, 2020
  33. Aug 13, 2020
  34. Aug 03, 2020
Loading