1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-17 21:26:01 +02:00
Commit graph

19 commits

Author SHA1 Message Date
François-Simon Fauteux-Chapleau
95e36ef89b tests/qml: fix various issues with the MessageOptions test
This commit fixes three issues related to tst_MessageOptions.qml:
1) There was no test to check that the call to createSIPAccount() at the
   beginning of test_createMessageOptionsPopup() actually succeeded
2) The created account was not deleted at the end of the test
3) The test would occasionally crash due to an uncaught
   std::out_of_range exception thrown by the
   AccountModelPimpl::slotAccountDetailsChanged function. I've modified
   the function to issue a warning instead, which makes it consistent
   with AccountModelPimpl::slotVolatileAccountDetailsChanged and avoids
   throwing an exception from a Qt slot (which is considered undefined
   behavior according to the Qt documentation)

Change-Id: I4d939b29f27ee27de673aea7046997ef756fbcee
2024-01-18 21:21:22 -05:00
Sébastien Blin
84150e8977 misc: bump copyright to 2024
Change-Id: I8d5f968fbedbc884c91416246049a0ef4cd652eb
2024-01-03 09:54:49 -05:00
Sébastien Blin
9360458b9e misc: bump to daemon 15.0.0
Change-Id: Ifc5d5f4cb5156d75723aac58e1b34ecb5829c2b7
2024-01-03 09:54:47 -05:00
Sébastien Blin
32b76c8da4 messagelist: use history given from daemon (except SIP accounts)
With Jami-Daemon >= 14.0.0, the client doesn't need to construct
itself the history. This part is now handled by the daemon.
This patch uses the new API:
+ loadConversationMessages->loadConversation
+ SwarmMessageReceived/SwarmMessageUpdated/ReactionAdded/ReactionRemoved
+ remove MessageReceived
+ ConversationLoaded->SwarmLoaded

+ No need to use loadConversationUntil, the daemon will load whatever
the client needs.
+ No need to clear cache, just reset the body and emit data changes

Everything should work like before (even re-translation & changing
preview preference)

Change-Id: Iaf1fa3e84e8e157ae2d0bec210977f9a34415ebc
2024-01-02 15:22:10 -05:00
Sébastien Blin
452d49a439 settings: remove RTP fallback
As not present in other clients and if SDES is enabled, all calls
must be in SRTP. Else UX would be unclear.

Change-Id: If756f8738ef08109aa7fbf8cbcade3b4f4792093
GitLab: #1263
2023-07-19 10:54:35 -04:00
Matheo Joseph
593ecc9910 whitelabeling: add uicustom info in account property
GitLab: #1097

Change-Id: I1f7db2b14c437d033264ff58457d8067e4ff6c05
2023-07-11 14:34:31 -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
8716154b58 profile: minor fixes
+ ModalTextEdit should not change its editMode if isPersistent,
else some editions can be missed.
+ Do not emit profileChanged when the client changes only the
alias, as it's updated by the account's config.

Change-Id: I3381b7494366fcd2d6a8504f0dcf18b622dc1701
2023-03-02 12:13:48 -05:00
Amin Bandali
8d46acedf1 misc: Update copyright years to 2023
Change-Id: Idf38e82631a4e22540aa5dec8ec2db0ab4a38c2e
2023-02-06 01:47:15 -05:00
Aline Gondim Santos
c36ccb5fa9 currentCall: receive hideself and hidespectator
GitLab: #919
GitLab: #916
Change-Id: Id511b2194a69959acc2d38f9078f0fd3dd503ee8
2022-12-27 11:46:39 -05:00
Aline Gondim Santos
c48e533b05 newaccountmodel: check if credentials changed before setting
GitLab: https://git.jami.net/savoirfairelinux/jami-libclient/-/issues/376
Change-Id: If05aac4a99b06148467c82221ec3bd27edfd3bf6
2022-12-06 08:37:51 -03: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
Sébastien Blin
90ae50ee5f misc: rename DRing->libjami
Change-Id: I15d382406687cc506c1456ce43286ad6b0f23529
2022-10-29 16:53:42 -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
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
9e31eeeffc sip: use latest registration expire preference
Change-Id: I0f99a159de945d2d82d77ec3a94a18027c89fa66
2022-10-05 09:29:12 -04:00
Sébastien Blin
d9aee635a7 misc: drop 'new' prefix from model names
Change-Id: Idc960c96e4647dbb6f8c1d64f545fe25c80bbaa5
2022-07-12 10:43:59 -04:00
Renamed from src/libclient/newaccountmodel.cpp (Browse further)