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

1251 commits

Author SHA1 Message Date
Andreas Traczyk
c8007db590 conference: only load avatars if visible
Wrap avatars in a Loader to avoid constantly querying the image provider
for remote video participants.

Change-Id: Ieca2457416dfd4c33fc3a960a1e36643ea1f11ef
2021-07-14 16:50:06 -04:00
Andreas Traczyk
4aef4a690d conference: avoid excessive image caching during resize events
Throttle avatar image queries to the image provider when the
component size changes.

Gitlab: #466
Change-Id: Ie619671a593bcca75899f3d97c2af2071c427ab4
2021-07-14 16:44:00 -04:00
Andreas Traczyk
92a3d03206 conference: fix participant overlay avatars
Gitlab: #466
Change-Id: Id7bd241c3c88dfba90505dd399127d5ceedbf028
2021-07-14 16:31:12 -04:00
Sébastien Blin
417a0fe042 generalsettings: add file transfer settings
+ Auto accept files from trusted sources (default: true)
+ Auto accept files from untrusted sources (default: false)
+ Size limit (default: 20Mb)

Change-Id: I0e1068e3996786b23ba9a7797d02b7f8bb0f89d1
GitLab: #160
2021-07-14 10:20:07 -04:00
Andreas Traczyk
1e7c712a10 chatview: scale button animation along with opacity
Also uses behavior instead of states and suppresses the animation
during conversation load.

Change-Id: I7082fc7b04660236641b9aa0745356f5b09cdc52
2021-07-13 10:15:25 -04:00
Jenkins
459b57c68d i18n: automatic bump
Change-Id: Ie45c4ce76a7665dfaa07c185a3929d3aca32eaf7
2021-07-13 09:18:03 -04:00
Ming Rui Zhang
b3d853a0d1 messagewebview: QML invition page implementation
Gitlab: #469

Change-Id: I661185530ee3703527fd85a7022b42a3bcb7f579
2021-07-12 17:42:30 -04:00
Andreas Traczyk
4bda330637 swarm: simplify and update avatar update mechanism
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
2021-07-12 17:29:48 -04:00
Andreas Traczyk
285316dd32 lrcinstance: remove custom setter/getter for currentAccountId
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
2021-07-09 15:11:27 -04:00
Ming Rui Zhang
f8d5ab7fe7 messagewebview: chatview message bar qml replacement - logic completion
Functionalities checklist:
  1. Emoji picker refinement
  2. DropArea on messageWebView
  3. Record box
  4. Send message button visibility
  5. TextArea paste (can paste image, files directly)
  6. TextArea content draft
  7. TextArea - Enter key -> Send message
  8. TextArea - Shift + Enter key -> New line
  9. TextArea - Composing indicator
  10. TextArea - Placeholder text

Change-Id: I115ad2927b74264dd396aa55b77a8f003dcd746b
2021-07-09 12:04:32 -04:00
Ming Rui Zhang
14620f8bc8 messagewebview: chatview message bar qml replacement - ui
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
2021-07-09 10:06:42 -04:00
Sébastien Blin
96c0084c3b conversationsadapter: use convId from request
This fix notification's actions for the notification, finding the
correct convId.

GitLab: #455
Change-Id: I9b70f723eacd930f95c2eaf01ecd52b8c5d28313
2021-07-08 12:57:33 -04:00
Andreas Traczyk
ccd7e08c3f swarm: fix unhandled exception when invoking the context menu
Querying peers should be done the with peersForConversation api.

Change-Id: Ia28d19b68e040f7fbd822e0781b3ad8c91186f27
2021-07-06 17:30:04 -04:00
Andreas Traczyk
e18c329741 smartlist: prevent excessive updates to items during reselection
Only save the draft if it changes and filter for index on data
changed signals before updating the avatar.

Change-Id: Ia23a35b512249e4b7953e3a2cef2cedbda386e65
2021-07-06 17:27:24 -04:00
Ming Rui Zhang
e165855e95 misc: use single process mode for qt webEngine
1. Add --single-process
2. Rename the httpUserAgent to jami-qt

Change-Id: I6de29ee89176b453f12ce225acf926dd1b819c18
2021-07-06 14:43:14 -04:00
Andreas Traczyk
712f2c3b30 smartlist: adjust draw/filter for swarm items
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
2021-07-06 14:38:29 -04:00
Ming Rui Zhang
3f8697e50f settingsadapter: ensure the state correctness for publishedSameAsLocal
Change-Id: I34b1386e81c0084aba8ddcc82c8480242e48ab41
2021-07-06 14:36:57 -04:00
Jenkins
8bc4902576 i18n: automatic bump
Change-Id: Ie86cd0fc63efe10c4b77e88cf6c6e8cd3dbd1b2c
2021-07-05 16:42:59 -04:00
Ming Rui Zhang
77f32dec36 callStackView: remove redundant print
Change-Id: Ic2943f1df82fa531f46b9e8814d421f874e6a697
2021-06-30 10:12:20 -04:00
Ming Rui Zhang
e564ec39b1 test: building structure refinement
1. Add building tests only option in the build script
2. Google test intergration enhancement
3. Properly use QSignalSpy wait function

Change-Id: I5ec1b33e191cebd8a14c19d92ee4eb4d40f054c3
2021-06-30 10:12:13 -04:00
Ming Rui Zhang
9200818a50 script: use consistent name for mute jami dring option
Change-Id: I7e3db31838884bc585d981ced91b4294cd5a8c14
2021-06-30 10:08:46 -04:00
Sébastien Blin
32a8978ff1 chatview: set displayName for files
Change-Id: I7fa866deeb355790ee0dc688a3167728ccc43be9
2021-06-29 17:41:03 -04:00
Sébastien Blin
a1de98c551 conversationsadapter: fix buttons for trust request notification
Change-Id: Ifa7ae09d5edc274a200fcf9d934ac27fe7c71956
GitLab: #455
2021-06-29 17:40:55 -04:00
Sébastien Blin
f74a00cbf1 smartlist: use title() to avoid to depends on contact
Change-Id: I18e50cc29ce4183a1d3c89f1e30f9ddb61248278
2021-06-29 17:40:32 -04:00
Sébastien Blin
6439832824 smartlist: show all swarm and draw items
Change-Id: Ib3e01a0af51736727b8056ed9eaa8ce9170c2d6c
GitLab: #438
2021-06-29 17:36:18 -04:00
Sébastien Blin
4e3cf29eb6 chatview: react to save button
Change-Id: I33717f148b837475a4f4874f327ed86de6f441cf
2021-06-29 17:35:50 -04:00
Maxim Cournoyer
a7e7105cda Rename dring to jamid, ring to jami.
Automated via the following command:

  $ git grep -l dring | grep -v '.ts$' | xargs sed -i
  's/dring/jamid/g'
  $ git ls-files | xargs sed -i 's,bin/jamid.lib,bin/jami.lib,g'
  $ git ls-files | xargs sed -i 's,src/jamid,src/jami,g'
  $ git ls-files | xargs sed -i 's,-mutejamid,-mutejami,g'
  $ git checkout docker

Change-Id: I030209b60817372f866055daadb4d0a1c1e2e9df
2021-06-29 16:12:18 -04:00
Jenkins
d21e40e67e i18n: automatic bump
Change-Id: Ia92de3f373da49572a8a546425b24cf2ba1fc4aa
2021-06-28 16:43:48 -04:00
Sébastien Blin
889ca51b64 conversationsadapter: fix build
conversationModel is a unique_ptr

Change-Id: If3f85387c3f322c83abe5921705ab6e8addf8373
2021-06-25 19:14:29 -04:00
Andreas Traczyk
0234fc6f94 conversations: respond to needsSyncingSet signal
When the needsSyncingSet signal is caught, we need to update the
UI to change filter tab, reload the conversation, etc.

Change-Id: I70170d75afa50acad6e79d53fcaeb82752c38e81
2021-06-25 17:29:00 -04:00
Andreas Traczyk
8409355e93 messagesadapter: use acceptConversationRequest api
To accept incoming requests, a new acceptConversationRequest api
should be used and makePermanent is now only called for outgoing
requests.

Change-Id: I70bcfc0e323ae250641420f4fda91c6987cac720
2021-06-25 17:28:52 -04:00
Sébastien Blin
2865b3841f misc: replace dockerfile as ubuntu 20.10 will be eol soon
Change-Id: I54cedf53b70fc141e1f2b5f5cecf979b2c2a5433
2021-06-25 16:10:51 -04:00
Andreas Traczyk
7529e2e3ec conversations: turn off request filter when switching accounts
Change-Id: Icbf4b20ae23360262d6ed0214101c8775ac9e9d8
2021-06-25 15:48:45 -04:00
Sébastien Blin
cbcc0e4752 messagesadapter: fix composing connection
GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/455
Change-Id: I91b00492dfd9ef856cdc5a620085b77c4ec6ac68
2021-06-25 15:36:36 -04:00
Andreas Traczyk
83bb6fb082 conversations: refactor list reselection when making permanent
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
2021-06-25 15:27:41 -04:00
Andreas Traczyk
392c423bc1 conversations: fix filter setting when a conversation is selected
Set the account and request filters separately.

Change-Id: Ib7d93caa4058e086d3cbcf39ac3fb9a30097aba1
2021-06-25 15:27:34 -04:00
Trevor Tabah
416be0833c added previewInfo.js: compile with other libraries
Change-Id: I074ae0ddc502524b9a1553770fb27b19ddca4e7b
2021-06-25 15:19:34 -04:00
Trevor Tabah
dfffe91a8f display links toggle: correct text and variable names
Change-Id: I4e4f1837f2f8ba53b776c4401067f8d7feaa2f76
2021-06-25 15:19:27 -04:00
Trevor Tabah
1934fce8bb hyperlink previews: add dark mode compatibility
Change-Id: Ic035092605e0f995f082c5859c1e58aabcc89a90
2021-06-25 15:19:21 -04:00
Trevor Tabah
a368444afd logs preview: added background logging
Change-Id: I31ef642661e99a715af0a1d9992ac540c5d19594
2021-06-25 13:12:52 -04:00
agsantos
95fa54802b callstack: change accept call button order
Change-Id: I08e45afe465bb1073319131adf94c41feff53357
GitLab: #462
2021-06-22 16:18:45 -04:00
Andreas Traczyk
41138a9682 debug: add command-line option to mute daemon logging
Note: other parts of the client, lrc, daemon, and scripts, use
muteDring still and should be changed to something more generic.

Change-Id: If9253d6bd8d53f379bc9d5209b49b0c3af92edc2
2021-06-22 10:55:54 -04:00
Andreas Traczyk
6ddbce1506 debug: fix empty file logs
Change-Id: I10099c3db5f48fb147f05e434b3131cdb4acf8f5
2021-06-22 10:55:54 -04:00
Jenkins
52c6089513 i18n: automatic bump
Change-Id: Ic6ada03bd86fd39fd714358e52c9d36c858e7b81
2021-06-21 16:42:54 -04:00
Andreas Traczyk
85bbcf37d6 swarm: make conversation filters great again
PENDING profile is no longer a valid filter criteria. isReqeust is
now used instead and the profile type is restricted to account
types and tracked as a separate property.

Change-Id: I4848e32f005ea7a6a8b5f2fa25d40b7e1e4d63b8
2021-06-21 13:26:24 -04:00
Ming Rui Zhang
0e602266c8 sip: recover call transfer contact picker
Gitlab: #455

Change-Id: Ib61d6e671d894608dc13b3583f935ebc98453504
2021-06-18 11:38:39 -04:00
Ming Rui Zhang
1e7f407e3c conversationsadapter: recover avatar update for conversations
1. Remove unused conversationSmartListModel
2. Properly update conversation model by using onProfileUpdated

Change-Id: I8d6f3a3a5fea2cee38258ca0cc5bd6ca6f447395
2021-06-16 16:31:27 -04:00
Ming Rui Zhang
872fbeb5d3 unittest: add SIP account creation and contact adding tests
Add global test environment for google test

Change-Id: Id035ebf31498e11574b6bf4671b4c6e12d29ddc7
2021-06-16 16:31:23 -04:00
Andreas Traczyk
ce22cbbabe misc: use ScrollBar instead of ScrollIndicator for scroll areas
Interactive scroll areas with long lists should have a scroll bar
to grab in order to accelerate the scroll process.

Gitlab: #457
Change-Id: I24fe7d4f4f3cdda13432a6ac713bbe5bee5132f7
2021-06-16 16:31:19 -04:00
Jenkins
ba61d924fc i18n: automatic bump
Change-Id: Iaf5e985bd0b651d6068ca9946019416eb79aa7f3
2021-06-14 17:46:03 -04:00