1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-16 05:25:22 +02:00
Commit graph

59 commits

Author SHA1 Message Date
Sébastien Blin
24a0a384ff contactmodel: no need to call both addContact/acceptConversationRequest
only acceptConversationRequest is enough to accept a request

Change-Id: I4720ea70def6cd35153167ef9577b1c7528e7140
2023-06-27 13:54:19 -04:00
Sébastien Blin
c37ec740e2 misc: fix click on remove conversation
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/855
Change-Id: I2c0caa3db05c663c5ee23367774c987aeca3324f
2023-06-14 15:41:38 -04:00
Sébastien Blin
771e8bcb9d conversationmodel: use mode before conversation deletion
Change-Id: Ibf6fffae59475ce415a60ab1bbf09687d6d30c29
2023-05-04 15:58:39 -04:00
Sébastien Blin
d58fcabdbf conversationmodel: fix swarm creation with details
Change-Id: Ie5fff0d9688d82ae0c31d1b07f970a33c80fe26a
GitLab: #1071
2023-05-04 14:15:16 -04:00
Sébastien Blin
1c24fbf89b conversationmodel: show correct timestamp for syncing conversations
Because no interactions was added, a conversation was shown at the
bottom while syncing

Change-Id: I9cdba00f7fe328e0cf6486d7076fc377fc573a32
2023-03-23 09:27:34 -04:00
Sébastien Blin
b41e5867c6 SIP: possibility to set custom avatar/display name
This allow users to be able to easily identify their contacts by
changing the avatar/display name of a contact (for SIP and 1:1)

https://git.jami.net/savoirfairelinux/jami-project/-/issues/757
Change-Id: I483a9116b78b08d43962abff982e73089bfec1d7
2023-03-23 08:11:12 -04:00
Sébastien Blin
0de8f019b2 conversation: add the possibility to answer with a file
Also remove retryInteraction as useless in new versions.

Change-Id: I79a016c9fa7b8bc4d5fcdb0aeff51d78aea2f314
GitLab: #1017
2023-03-06 14:46:07 -05:00
Sébastien Blin
8a15f18d1c conversationmodel: handle double call at the same time
If both sides are calling at the same time, the daemon will chose
one of the call. We must use this one.

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/743

Change-Id: I09c991c0facf34cf7ed83d8782b7646b3075eed8
2023-03-02 13:00:00 -05:00
Sébastien Blin
4e088783a4 misc: avoid weird crash
Change-Id: I6e42a4f494b42330bafcfa4c9616ab78818ddf00
2023-03-02 08:31:47 -05:00
Sébastien Blin
759e3ea310 sip: fix outgoing text message
Change-Id: I3aba2f02e375d47a9bfdacb923e2907c40f4f151
2023-02-27 09:26:40 -05:00
Aline Gondim Santos
3a8068f990 misc: open swarm after creation
Change-Id: I936abb96b5e232b63a917428892f716ca0985db2
GitLab: #952
2023-02-22 09:10:51 -05:00
Nicolas Vengeon
06ab19f213 Feature: search messages
Change-Id: Ia458e2e6ee183cad9d0418af0dbbbcd990f14281
GitLab: #918
2023-02-20 09:04:49 -05:00
Sébastien Blin
1a9aa18680 sip: fix outgoing call messages
The author was empty instead of current uri

Change-Id: I4022c5e8bbbe4bd57c1a3fd7bc33ba8be6861bde
2023-02-17 16:40:05 -05:00
Aline Gondim Santos
8147baef2b fix: add default flag to sendAccountTextMessage
Change-Id: I08ef8b2f383c3aa1035518a2d4f92e941048e211
2023-02-16 09:40:27 -03:00
Amin Bandali
8d46acedf1 misc: Update copyright years to 2023
Change-Id: Idf38e82631a4e22540aa5dec8ec2db0ab4a38c2e
2023-02-06 01:47:15 -05:00
Sébastien Blin
bcfc2ccf0e invitationview: sort per received timestamp
We sort the invites by last interactions. However on swarm, there
is no interaction yet. Add one with the received timestamp given
by the daemon.
(Regression appears because we were showing trust request before
not conversation requests)

Change-Id: Ic7f4d1a5d485325c95a19c2c38ae9c74630829ce
GitLab: #956
2023-02-05 16:35:30 -05:00
Sébastien Blin
07c0f890da conversationmodel: get registered name for non contact members
Because in a swarm you can talk with non contacts, we should at
least retrieve the username when possible.

Change-Id: Ie01cd10cc1231fc4024bd5a08c30c08d69e8e7f0
GitLab: #948
2023-02-03 08:44:57 -05:00
Aline Gondim Santos
b0ad6c484e fix: get last selfmessage Id
Change-Id: Ibd901be120c061d7b726f657a5d51636716acdcc
2022-12-29 09:34:36 -05:00
Sébastien Blin
97872288d8 misc: cleanup trust request (replaced by conversation requests)
Change-Id: I5d3d7cd5cb7570ff2063ea5a981c312480a6990a
2022-12-20 11:17:22 -05:00
Sébastien Blin
8d74ad3602 callmessagedelegate: fix isOutgoing
Change-Id: Ia4529e9646cd676d15c60f6f48e7ab31fd2bbbc1
2022-12-16 16:37:01 -03:00
Nicolas Vengeon
7bb5ad0ee0 Emoji: Implement emoji-reactions
Change-Id: I83f27e86a6a7ee2140dc3028a4e183dcb8de8a27
GitLab: #875
2022-12-14 16:06:53 -05:00
Sébastien Blin
995bd420aa locationsharing: add notification
Show notification when a peer is sharing its position on the non
current conversation.
This needed a lot of changes. Now we store shared position via
accountId + peer.
This also fix location icons and keep state when changing from
one account to another.

Change-Id: I8c1848890efa09f6e296e9da779a355167e4d3d4
GitLab: #888
2022-12-02 14:58:22 -05:00
Aline Gondim Santos
50888a2865 shortcut: add option to edit last sent message
GitLab: #892
Change-Id: Ia62ac144d187e705644742ebaa9b1679c45d2ae0
2022-12-01 10:22:01 -05:00
Sébastien Blin
3ba007d02b misc: fix incoming message sip
We do not need to check contacts for SIP as it will be considered
automatically as a contact

Change-Id: If78113e9d79dcd695c39c2d12c0441e2cb282737
2022-11-29 10:41:19 -05:00
Nicolas Vengeon
e5b54ad787 feature: show and share user location
copyright OpenLayers v7.1.0: ol.css
copyright OpenLayers v7.1.0: ol.js

GitLab: #867

Change-Id: I4e01f6d9727d56541d1b44023f26959ebe4fbe26
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
2022-11-23 14:05:36 -05:00
Sébastien Blin
1c53598247
misc: update searchConversation
Change-Id: I2bb01e2846a2c543b7f17086794cd007c2ac39ae
2022-11-21 11:40:59 -05:00
Sébastien Blin
0996b167d9 swarm: add call buttons and interactions for multi-swarm
+ Add call buttons to start a new call
+ React to events from the swarm
+ call interactions (Join call/Call ended, etc)
+ active calls area
+ Add call management logic in LRC
+ Feature is enabled via the experimental checkbox

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/312
Change-Id: I83fd20b5e772097c0792bdc66feec69b0cb0009a
2022-11-17 13:16:02 -05:00
Sébastien Blin
98a9eebc89 misc: update profile before members
Change-Id: Idb51e3e6cf895fe1aaf88156c0b0296bdf95b263
GitLab: #873
2022-11-10 03:39:00 -05:00
Sébastien Blin
90ae50ee5f misc: rename DRing->libjami
Change-Id: I15d382406687cc506c1456ce43286ad6b0f23529
2022-10-29 16:53:42 -04:00
Nicolas Vengeon
7a34209583 feature: documents flow in the swarmDetailsPanel
Change-Id: I24a94b9ced0ec3930a0b9e20f3fa0440e2d8fd00
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
2022-10-27 09:30:01 -04:00
Sébastien Blin
47cd60fbe4 messagelistmodel: support message edition
Handle application/edited-message type to support message edition.
Previous bodies are saved in the interaction to be able to get the
original post to avoid unwanted editions.

While loading a conversation, we store the editions in a temporary
map that we link once the edited message is detected. This work
because we can't edit a message before this message exists.
PreviousBodies in interaction.h contains every previous body detected
and the client can show previous version of the message in a popup.

Deleting a message works the same way, just that any message
with an empty body is not shown.

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/316

Change-Id: Ib158abd16ad4b629532de11694e88d86a12d72a8
2022-10-25 16:15:22 -04:00
Sébastien Blin
f2b40af3e2 misc: cleanup settings
+ Remove "Accept files from unknown senders" because since swarm
we can't get files from non contacts are the conversation is not
cloned, and non swarm files are ignored
+ Rename "ignore the swarm" to "Mute conversation" as ignore is
unclear

Change-Id: Ifced8f8efe841e2345d50530ee313e6b95b35920
2022-10-24 14:28:22 -04:00
Sébastien Blin
8e7e39c1e9 sip: search conversation filter
The URI we search can be the id of another conversation, causing
another contact to be shown.

Change-Id: Icdbc01b5466559fd6c9f77dde57338903e54ea99
2022-10-24 11:39:45 -04:00
Sébastien Blin
1a994173ec
conversationmodel: fix loading for some conversations
If there was too much following merge commits, sometimes the
conversation was not correctly loaded.
Moreover, the lastMessageUID was not correctly calculated from
time to time, leading to empty conversations in the smartlist.

Change-Id: I1224269c5df72936ae51f34211ce3f63dbf606ff
2022-10-21 09:34:54 -04:00
Sébastien Blin
ef2d588abc swarmdetailspanel: link to setConversationPreferences
Save current color, and notification's preferences

Change-Id: I3197be53bf622528aa3bc2e3f0d9aea29068e144
2022-10-17 09:17:43 -04:00
Sébastien Blin
6c8a5d7bc6
conversationmodel: fix crash if no interaction
Change-Id: Id50f7b2598e0cff7ca75f5fca13473702da5c207
2022-10-11 09:33:28 -04:00
Sébastien Blin
95f1c4d76d
messagelistmodel: use correct total size on incoming file
use the size from the daemon if the file is downloaded, else
use the size from the commit.

Change-Id: Ia4e7123558e93a1ab0879feab9a141ceefaf183a
GitLab: #833
2022-09-16 16:31:38 -04:00
Sébastien Blin
9c78604c1c mainapplication: handle jami: URIs
Asking jami to launch another instance with ./jami-qt jami:xxx
will search for "xxx" inside the application and select the
conversation if found.
This allow to support webpage with <a href="jami:username">

For GNU/Linux, in the .desktop file, x-scheme-handler/jami is
added.
For packaging, we will need to determine if the scheme is handled
automatically. For now, to test, we need to add:

x-scheme-handler/jami=jami-qt.desktop;

in "~/.config/mimeapps.list" (and jami-qt.desktop) should
be in a valid path.

Change-Id: Ibbb6e8942f1873d81a57640bdf6f839885981be3
GitLab: #655
2022-09-16 11:06:42 -04:00
Sébastien Blin
a2cba16f80 conversationmodel: cleanup duplicate code
Change-Id: Icfb1669e4c810b2ef74c3787f0f086646f17fb8d
2022-08-24 13:15:30 -04:00
Sébastien Blin
6f18afbaac chatview: add ability to reply to a specific message
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/318
Change-Id: I79916422b90c6eb12252c96bb12e209188a81f94
2022-08-24 12:59:38 -04:00
Sébastien Blin
71a4b4a252 revert: readstatus: major cleanup
This patch introduced some issues with file transfer

Change-Id: I6e4852f1f1c0eb1e1f820de8a1ecc8e2a6b28695
2022-08-24 11:17:06 -04:00
Sébastien Blin
72288798c9 readstatus: major cleanup
+ Update status for swarm
+ Show read status like android (right if 1 reader, under the bubble
if more)
+ Display a sending status

Change-Id: I653e3573c4dc75950cc274dd01859d9335e0177f
2022-08-19 13:35:33 -04:00
Sébastien Blin
ce3afea995 chatview: display signaled back-end errors
A signal exists for showing errors to the user to make failing cases
more explicit. With this patch, errors detected are displayed to
the end user so that they know that an error occured and what
kind of error occured.

Change-Id: Ib2d4d4fdb171235e0598de0f1c190b8fd0fcc336
2022-08-15 15:33:32 -04:00
Sébastien Blin
3164f8708b conversationmodel: fix wrong ordering for messages
Change-Id: Ida8cba2ea8d386abf3e5ff2bc024069860bfcda0
2022-08-11 16:32:46 -04:00
Sébastien Blin
ce7089a7a4 datatransfer: remove path for non swarm conversations
Change-Id: I48a4a03910400c004da7b760923303636eba42e6
GitLab: https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/524
2022-08-09 11:58:31 -04:00
Sébastien Blin
1881ffb45f swarm: transform non swarm to swarm conversations
+ Remove readOnly from conversation's as it was never used
and not necessary in multi swarm as you can re-add members anyway
so it's never read only.
+ Makes non swarm conversations just readable.
Users can save whatever they want and replace old non migrated
conversations to new swarm.

Change-Id: I8aa2521bc524b6159d7ba0b613834438e293e09e
2022-08-08 11:37:47 -04:00
Sébastien Blin
d74cc97395 swarm: compress avatar to send in conversation's request
As it's sent over the DHT, the max value is 64k, also, even if sent
as a SIP message (if member was already connected and we add a new
non 1:1 swarm with this contact), the sendSIPMessage will fail due
to a too large message (PJSIP_EMSGTOOLONG).

Change-Id: I7908809fe2c3f6e08f9a4b9c6f8aac654ab86c42
2022-08-03 10:18:41 -04:00
Sébastien Blin
c99b409d46 conversationmodel: listen for profile changes
Change-Id: I76b0fe1d35fa38ffe82812bc1c97b2565ceb9318
2022-07-21 13:51:30 -04:00
Sébastien Blin
d9432163f6 conversationmodel: let the daemon manage the removal
Change-Id: I00e8fd2552aa1e08c03ef8e7dada4629ebdd619d
2022-07-18 11:46:59 -04:00
Sébastien Blin
35b92aa3a4
misc: cleanup
Change-Id: Ie8124ce30e81ae47c92837dfe339a494139f7f36
2022-07-13 09:17:17 -04:00