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
This breaks messages with %Num inside. .arg() is useful for
l20n but here we don't care as the two arguments will always be
in the same order.
GitLab: #529
Change-Id: I018bdecdf51d30be887ab4a50ef54401f2f34235
1. Add account config QML properties and use them
in settings directly to avoid manual update
2. Rough clean up for video/audio settings
3. Remove settingsAdapter entirely and split the
responsibility
Change-Id: Icf81b91d5a3a0dd9f2a52824159cd222367b801f
Adds a new chat view footer to describe for read-only conversations
to describe the concept and provide options to remove the contact
or restart a new conversation with the contact.
Gitlab: #475
Change-Id: I6ca0e8dfbf49f17a6ff93a2744c552b76d923773
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. 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
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
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
When the needsSyncingSet signal is caught, we need to update the
UI to change filter tab, reload the conversation, etc.
Change-Id: I70170d75afa50acad6e79d53fcaeb82752c38e81
To accept incoming requests, a new acceptConversationRequest api
should be used and makePermanent is now only called for outgoing
requests.
Change-Id: I70bcfc0e323ae250641420f4fda91c6987cac720
This should fix a race condition preventing the right conversation
from being selected after an outgoing interaction and, more rarely,
accepting an invitation.
Change-Id: Iccd1f91ba4d46285c2f1e4594122a736824b752f
1. Decline invites now auto-select the next one and de-select the
conversion when there are no more invites
2. Block conversations behaves the same as before
Gitlab: #402
Change-Id: Ibd3385e40cb2329d58ea90aa3347dfa4b66a4496
- 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
Minor cosmetic changes to the account combo box, search bar, filter
tabs, and smartlist.
Change-Id: Ie8173504859b325374e42f0dbb4e0ae75f3ed740
Gitlab: #373
Gitlab: #374
Gitlab: #388
- Remove icons and resize side panel tab bar.
- Change icons and style for chatview header and combo box buttons.
- Update chatview colors.
Gitlab: #241
Change-Id: Ic5f4e0db5e1912c85cc4f658264371af8104cd8f
Accessing smartlist on conversationRemoved can return invalid
items. Instead, only show welcome view and use modelChanged signal
for updating smartlist.
Also avoid duplicate navigation to welcome view.
Gitlab: #300
Change-Id: Ic1c192fecceeb59287267e3445fabf6afb91ffd5
- switch tab to conversations smartlist
- go to welcomeview
TODO: define UI behavior while waiting for the smartlist update
Gitlab: #284
Change-Id: I251c49e5b0b418f41d5872ef09d32db5bc940df2