1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-04 14:13:28 +02:00
Commit graph

54 commits

Author SHA1 Message Date
Sébastien Blin
53374b7ded chatview: add toast on file saved
Change-Id: Ie3ab68213f9337d5124eda4f989fb23c0e084d64
GitLab: #1027
2023-05-12 09:37:05 -04:00
Sébastien Blin
a5755bbdb8 sip: remove unused settings
Change-Id: Ifa8a5fa9ac0e41fddb85b163339ff1d0159c79fe
2023-04-19 08:52:24 -04:00
Sébastien Blin
ee08eae0ee contactmodel: avoid to re-write profile several time
Also, force the format of the vcard to always be the same to
avoid to change the shasum in a useless way.
Finally, only change if there is new details

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1558

Change-Id: I95bc52e13c8d1020eae6ad64e77d4e58b1ee734b
2023-04-11 16:30:46 -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
506eb7bc78 messagelistmodel: never ever edit body from client
This is impossible to follow correctly, causing weird things.
Now Body always contains the original Body from the libclient,
LinkifiedBody the linkified Body and Linkified is empty if the
message is not linkified.

Change-Id: I29e5f7cf1c5a2093f5e4b7785216e8b9b24e9ad8
GitLab: #961
2023-02-28 14:04:26 -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
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
Nicolas Vengeon
b2643f5967 messagelistmodel: correctly search for index in model
Iterate through CPP elements and use positionView(ListView.Center)
as other approach seems bugguy or slower.

Change-Id: I43879969ccb457166879a156efb482e77ff07d6b
2023-02-05 16:35:30 -05:00
Sébastien Blin
977092171e callparticipantsmodel: fix participant equality
Else, changing the moderator state of a participant doesn't
refresh the controls

Change-Id: Ic00a7836b181bf9aa9c9d793720323bc2247196a
2023-02-05 16:35:30 -05:00
Sébastien Blin
5db4d29b73 messageadapter: fix types filtering
Some types where missing, causing the chatview to not show all
messages.

Change-Id: I2ac1dfa03de8330b38f2828e66eead7114b2cfe6
2023-02-05 16:35:30 -05:00
Nicolas Vengeon
86b84ea17e feature: save participant's view
Change-Id: I790f10542aed306a7416a4ce79f2eaf7a770135a
Gitlab: #698
2023-01-31 15:26:58 -05:00
Aline Gondim Santos
e1d85b2db0 window sharing: track window name change
If a window changes its name, we should share the parent process windows.
This can happen with chrome, visual studio code and file explorer for example.

+ Fixes non opening SelectScreen window when Jami language changes.

Change-Id: Ib16992dde08e6a9fa191c9fb1cbc4efd304efe6d
2023-01-18 17:19:00 -05:00
Nicolas Vengeon
c977c732f2 feature: improve advanced call information overlay
GitLab: #925

Change-Id: Id75b14bf431ac421b135beb75918dbf37a81d53c
2023-01-10 09:38:31 -05:00
Aline Gondim Santos
ce6c7dc02b callview: implement an observable object to detail the current call
Change-Id: Ic7025f66e472457e32149911053c8ff32e06bf21
2022-12-27 11:46:39 -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
8d81b90b7f interaction: do not rewrite author for outgoing interaction
Change-Id: I92d50aa0342a6d89e003cedabf1227fec029baeb
2022-12-15 12:13:39 -05: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
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
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
Nicolas Vengeon
7e9dce9c00 feature: Add 'advanced information' call overlay
Change-Id: Ia54d01ec56e01d0c04e360ec06da87aa37fe74fe
GitLab: #510
2022-11-02 09:31:02 -04: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
Antoine Noreau
9b1a6e471b
sip: fix incoming TLS calls by disabling secure dialog
Change-Id: I8925ba8d4cd29978efc700aa43c6e5acc7980365
2022-10-25 16:51:14 -04:00
Sébastien Blin
40672bb67f Revert "sip: fix incoming TLS calls by disabling secure dialog"
This reverts commit 9457c7ccbb.

Reason for revert: Break config

Change-Id: I320c69562969b8197a1bdc92acfc7da93b1e9a48
2022-10-25 16:38: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
Antoine Noreau
9457c7ccbb sip: fix incoming TLS calls by disabling secure dialog
Change-Id: I28e6135d9586adf7b4264431726f82f47856be51
2022-10-24 16:20:12 -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
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
31340bc224
participantoverlay: add recording state
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/699

Change-Id: Ia480eef38ee054750ffbaf08ae0aed84090dc9a5
2022-10-11 15:09:17 -04:00
Sébastien Blin
9e31eeeffc sip: use latest registration expire preference
Change-Id: I0f99a159de945d2d82d77ec3a94a18027c89fa66
2022-10-05 09:29:12 -04:00
Aline Gondim Santos
3250c0298b misc: fix call hold
GitLab: https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/769

Change-Id: I209215e0f81fe0e810a5cf243f122db9bb7065b6
2022-10-04 12:18:33 -04:00
Andreas Traczyk
15e133301e avmodel: use synchronous callbacks for DecodingStarted/Stopped
This is an older issue that has resurfaced where mobile device rotation
at the beginning of a call cause a frame-copy to a stale buffer because
the DecodingStarted event is handled asynchronously.

Noticed on Windows but I believe any non-dbus build should have it.

So we make all the connections blocking and adjust some parameters.
This commit also removes the DecodingStarted handler in CallModel which
was causing the client's target video frame to be reallocated for each
account present.

Change-Id: I23ac4e0bd4b446e7a532f0d362f7ecd209d3c790
GitLab: #536
2022-09-29 11:45:09 -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
5995d9b5d1
avmodel: use ringtone index and cleanup
Change-Id: If1f76e4c33bfb067769b6d2d81871e156d256aaf
2022-08-24 14:08:51 -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
d7d29156db vad: show a drop shadow around talking participants
use "voiceActivity" from the conferences informations to show
talking participants

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

Change-Id: Iaedc61ce485ff03464128b5a17e0a6a0ea9d2c2e
2022-08-15 08:43:59 -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
a374f8cf67 callmodel: remove deprecated switchInput
The only missing case were for changing the current default camera.
Other methods can be removed.

Change-Id: I91fce779f4a41fe4d667444aea57b1b454aa702b
GitLab: #651
2022-07-19 09:15:30 -04:00
Sébastien Blin
d9aee635a7 misc: drop 'new' prefix from model names
Change-Id: Idc960c96e4647dbb6f8c1d64f545fe25c80bbaa5
2022-07-12 10:43:59 -04:00
Sébastien Blin
553bd421ff conferences: support multistream
In a conference, with this patch, the user is able to share
a media while keeping the camera. The mute button for the camera
only control the camera and we use requestMediaChange to add medias.
To stop sharing a media, the user will click on the dedicated button.
If the peer is not compatible with multistream, the behavior will
be the same as before

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1429
Change-Id: If5e0634be6d0d06900ad82554b32a524fd4db36c
2022-07-11 11:43:43 -04:00
Sébastien Blin
5921740321 avatarregistry: avoid un-necessary updates
Only update the avatar when the profile changes.

Change-Id: I2b12d31f7a2e379093fe8e900233ebfbd8ab8974
2022-06-30 15:18:22 -04:00