Use updateHistory instead. This prevents "Contact added" message
duplication. We also clear the unread messages at this point which
will prevent an uncleared unread first message when adding a new
conversation.
Gitlab: #482
Change-Id: I927e15dfe945aa3f2f33db3fb91739522db5ea9b
Read-only conversation has:
- a lock icon in the smartlist item
- no message send bar in the chat view
- no call actions available from the chat view header
- no call actions available from the smartlist context menu
- no double click to call
Change-Id: I0497b94038b450f0a0a22fc007de1281b7b2214d
Gitlab: #475
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
resources.qrc & src/constant/JamiResources.qml are unversioned.
Glob checks for changes to the resource dir and forces a
reconfigure.
Change-Id: Ic88e4e861b8367ba44bc0eea6c323e08310afb8b
Gitlab: #477
gen-resources.py should be used to generate resources.qrc and
JamiResources.qml. Steps to add an image resource:
- add the resource file to the appropriate path under resources/
- run gen-resources.py
- use the newly available resource
Note: only icons and images will be represented by Qml properties.
The resource file generation may be made to run during CMake
configuration in a subsequent commit.
Some unused components were also removed during the refactor.
Gitlab: #477
Change-Id: I8e7f13d465031666be2bbadd5f29f9afc94d210d
If the account is initially disabled, the presense indicator
will still show the green color since the initial value is missed.
Change-Id: Ic580e485d4a73867789ef3774045a6939acbae4a
1. Adjust QML main setup
2. Add resources.qrc for test and Qt Creator display
3. Change LRCInstance and ScreenInfo to QML Singletons
4. Move QML type registration entirely to qmlregister
Change-Id: I5c8a854173a2ec1f85ffa971707af262fa344505
A property is provided to notify of changes to the content of the
current account's stored avatar. If one is stored, then a button
used to clear the avatar becomes available.
Gitlab: #473
Change-Id: I37640acaea3ca43e5abd14678d68b4eeebb3829e
Filter either the same conv id or peer list of the currently
selected item when responding to the conversationReady signal.
For dialogs we make sure the peer list(1) is same and for all other
swarm conversations we match the conv id.
This will prevent programmatic auto-selection of the smartlist
during account sync.
Depends on: https://review.jami.net/c/ring-lrc/+/18793
Change-Id: I6cedb8494f7c001bf886fe36dd03adffd201bb51
Prevents 1 to 1 conversations of the same id on different accounts
(local) from having the same avatar after switching account.
Change-Id: Id30af117b2da8bd35d64b54f2e02cbbed0710848
Gitlab: #466
Replaces live updates to the avatar preview when editing the alias
field on the profile page during account creation.
Gitlab: #466
Change-Id: I93dd4611949ab0e76f9cea78f9d7aaa1949daa13
Wrap avatars in a Loader to avoid constantly querying the image provider
for remote video participants.
Change-Id: Ieca2457416dfd4c33fc3a960a1e36643ea1f11ef
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
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
1. New emoji picker by customizing emoji.js
2. New message bar ui (textarea, buttons, tooltips)
3. New pending files transfer container
4. Use MaterialToolTip for all PushButton
Change-Id: I05d0531c65c019ced42b04668a780919c8a4fac3
Only save the draft if it changes and filter for index on data
changed signals before updating the avatar.
Change-Id: Ia23a35b512249e4b7953e3a2cef2cedbda386e65
Removes profile type filter entirely. Treats swarm and non-swarm
differently when accessing role data.
depends on https://review.jami.net/c/ring-lrc/+/18656 for changes to
helper function names in conversation::Info
Change-Id: Ife69d4c70072ea524fed873136fd9ec39632d6d8
1. Add building tests only option in the build script
2. Google test intergration enhancement
3. Properly use QSignalSpy wait function
Change-Id: I5ec1b33e191cebd8a14c19d92ee4eb4d40f054c3