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

59 commits

Author SHA1 Message Date
Ming Rui Zhang
77aae84786 call: add call status indicator when adding new participants into a conference
Gitlab: #410

Change-Id: Iff3b06b123363478794fd7e419db3d2d0ae10bb7
2021-05-27 17:21:55 -04:00
Andreas Traczyk
abde3cbac0 calloverlay: implement new action button design
- minor cosmetic changes to the call view overlay
- add the ability to change audio/video input during a call
  from the call screen overlay

Gitlab: #411
Change-Id: Id6bbb2278d807f3bd7ad1478db405669088584ce
2021-05-27 13:58:29 -04:00
Andreas Traczyk
25f85712d7 calladapter: add calloverlay model
Introduce a model to manage the overlay logic.

It is not used in this commit.

Gitlab: #411
Change-Id: I6a666fe00e7f66c7e217ae1f77360327e83fdcd6
2021-05-25 16:39:07 -04:00
Sébastien Blin
946e4482fe callview: fix peer recording status
Change-Id: Id98c0d890d694c61da2fbcbd7fe3c0fcf85458a2
GitLab: #430
2021-05-25 09:28:29 -04:00
agsantos
9f155d9922 callview: redesign changes in incoming and outcoming call views
Lrc verifies if we should call refuse or hangup, so now we can unify the call ending function in client.

GitLab: #408
Change-Id: I35f7ca282c6e49e669d849a140772600e501711a
2021-05-25 09:20:29 -04:00
Sébastien Blin
1c7ef6269f calladapter: fix setCurrentCall usage
Change-Id: I062d679ecb0fa45755abda8c902a00a2042d2729
GitLab: #431
2021-05-21 15:39:39 -04:00
Andreas Traczyk
1b56c4aa0f calls: fix returning to main view from setting while in a call
This fixes the call stack view not being reset when exiting the
settings.

Gitlab: #417
Change-Id: I1af534a1a164a28e1d29b9a4064cc0c78496557c
2021-05-18 16:58:58 -04:00
Ming Rui Zhang
460c6203de calladapter: redesign for the call duration timer
Change-Id: Ie49de27f78d0f28df61c77041686957e3fcce838
2021-05-14 15:05:23 -04:00
Ming Rui Zhang
9d0f84d8be accountadapter: move current account id and type properties to lrcinstance
Change-Id: I609452e83edd55a909d0f30aa6cb0daa3687ff3c
2021-05-14 15:05:20 -04:00
Andreas Traczyk
e64a9e7ee7 sidepanel: improve smartlist interface with underlying models
Minor cosmetic changes to the account combo box, search bar, filter
tabs, and smartlist.

Change-Id: Ie8173504859b325374e42f0dbb4e0ae75f3ed740
Gitlab: #373
Gitlab: #374
Gitlab: #388
2021-05-07 15:41:28 -04:00
agsantos
ce88a30712 conference: show avatar for videoMuted peer
GitLab: #379
Change-Id: I885ad338d7a5c06fca7c765680e644c44f33228d
2021-04-30 14:39:25 -04:00
Andreas Traczyk
8ab37ab46e calls: prevent getting stuck in fullscreen mode when a call ends
Change-Id: I2ac4a683f3857425f59483f73f8511f00158cc30
2021-04-09 16:00:55 -04:00
Andreas Traczyk
cfa10ce268 calls: fix call overlay updates
- don't query the recording state in the set time text function
- change set time text function interval from 20ms to 1000ms
- stop the account-wide time text update timer when there are
  no calls

Change-Id: Iaaabfd52a50ba61aaabade59cae4f061c562cb2d
2021-04-09 16:00:51 -04:00
Andreas Traczyk
cc3931b36e lrcinstance: represent the selected conversation as a QML property
Change-Id: I01dbfc0d6cfcf407d6636ba59b136830ee0342bc
2021-04-09 16:00:43 -04:00
Andreas Traczyk
ac87d33d9f misc: put lrcinstance implementation into cpp file
Change-Id: I46c4e17124b2c0cbf6e92c696d3d47e1b0ad2d0d
2021-04-09 16:00:33 -04:00
Andreas Traczyk
7f28ac65df notifications: add avatars to gnu/linux notifications
Gitlab: #320
Change-Id: Ib2121257af2704dd2a246b499961657b66ae944d
2021-04-07 16:06:59 -04:00
Andreas Traczyk
2cc82053c9 notifications: implement libnotify on gnu/linux
Gitlab: #320
Change-Id: I39ffd7e0ba8c5160e81a6b64260f3d92ab8c619a
2021-04-07 16:06:05 -04:00
Ming Rui Zhang
a767690f95 misc: crash fix for calladapter when there is no account
Change-Id: I6432c6ebb7776bb0968846c661bd98ed78cde2bb
2021-04-07 15:51:32 -04:00
Mingrui Zhang
2e60568307 project: don't use Qt keywords for signal/slot/emit
Gitlab: #320
Change-Id: Ia2a16a05be3fd6452a39df999660a5c8440eea13
2021-04-02 15:37:43 -04:00
Andreas Traczyk
4ce208ec33 injection: remove the remaining c++ singleton classes
- refactor qml object registration
- inject AppSettingsManager and SystemTray

Gitlab: #320
Change-Id: Ic8232a290003245d09ad9452c9f5518fd260af78
2021-04-02 15:37:33 -04:00
Andreas Traczyk
e60eeff357 injection: place parent QObject as last parameter in ctors
Lrc object injection should never be a null pointer.

Change-Id: Ib574c751673fd35e223ce2447cee74bce7dfbf3e
Gitlab: #337
2021-04-02 15:37:33 -04:00
ababi
59c8a75cc3 callview: fix conversation selection when call ends
- avoid using smartlist index change for conversation selection
when call ends (instead it can be triggered from calladapter)
- break long lines

Gitlab: #260

Change-Id: Iaa1f9269d9ba6889fb1a7e466cd586fa86263bc7
2021-03-26 10:41:20 -04:00
Ming Rui Zhang
3f8f1f1e25 call: use callAdapter updateCall when setting up main view
It is to make sure that all other call related UI will be
set up correctly.

Gitlab: #298
Change-Id: Iabc1587e0c0622cc6b9c0fecd99bfd35b156fcf7
2021-03-25 12:20:57 -04:00
Ming Rui Zhang
7951764b2e misc: remove LRC singleton
GitLab: #337

Change-Id: Ifb671d38d364714818650a8154c43a5787460039
2021-03-22 15:47:14 -05:00
Sébastien Blin
ccb412c6ad calladapter: fix preview when switching account
Gitlab: #310

Change-Id: I0a45f24e87b4baba16c5a8172c0aae705745e30f
2021-03-16 14:58:00 -05:00
ababi
c36d5cc324 callview: inhibit screen saver while in a call
Gitlab: #272

Change-Id: I25c1a9547b526f8889231a9d5061e63c349c39f1
2021-02-12 17:18:21 -05:00
ababi
4a7c859197 conference: separate local and moderator mute logic
Change-Id: I6683925e37a06893a88a5fb8b4285dcee4d2e676
2021-01-15 04:38:15 -05:00
Mingrui Zhang
9ef94561a5 lrc: avoid excessive copying of conversation info objects
1. Container View api
2. use optional conversation info ref api

Change-Id: I38aa57edc1fbf304ea0ef95d48000e0495c409ee
2021-01-07 14:09:31 -05:00
ababi
08236cf5e7 recording: show message when peer starts / stops recording the call
Gitlab: #160

Change-Id: Id8125c56145cc661941f445c2f52b73fd983c97d
2021-01-04 17:18:11 -05:00
Ming Rui Zhang
3c15299fd2 calls: fix the client crash when having multiple calls
Gitlab: #236
Change-Id: I9f9af107db27cfe8ab09911b2f2b0516f56d2578
2021-01-04 11:45:35 -05:00
Ming Rui Zhang
768ea9d601 refactor: use ApplicationWindow as the main entry point
Change-Id: I5e298e51fdc4099f0380d8a2ce2176cd66070eed
2020-12-11 17:07:10 -05:00
Ming Rui Zhang
4cbfe7a966 calladapter: initialize auto answer calls for non-current accounts
Gitlab: #193
Change-Id: I9ab1c298a1f720165affa55c0350bb27dfd67030
2020-12-11 17:06:57 -05:00
ababi
b35f26e316
conference: fix call switch when finishing a conference
- check for calls IN_PROGRESS when returning to call after finishing a conference

Change-Id: I483dc0ded3217e5fca27e6f2b7e2837fb736de72
Gitlab: #206
2020-12-11 15:49:59 -05:00
Pierre Lespagnol
c353360ee2 conference: add kick participant for moderator
Change-Id: Ife3de2e6174a9914fe4f164b8ac5a0bf653f0656
2020-12-11 13:38:18 -05:00
ababi
0fa4fe6fe4 conference: change UI for moderator
- set UI according to sketch prototype
- add moderation overlay menu instead of context menu
- only update participants overlay when necessary
- avoid minimum size for ResponsiveImage

Gitlab: #207, #208

Change-Id: I65c9932319e55840518cbb0ce3cfa1a46e2275f0
2020-12-11 13:37:11 -05:00
Pierre Lespagnol
18abbce09d conference: add mute participant for moderator
Change-Id: I9bb1f7476fcbd4d2830ee2b73b6984f607e5395a
2020-12-11 13:37:03 -05:00
ababi
0c3b2df65b conference: host can add or remove moderator for a conference or rendez-vous
Change-Id: I89d3ef02fea54448f3b7bc38da5550cc52d6cbcd
2020-12-11 13:36:50 -05:00
Ming Rui Zhang
087d234836 calladapter: avoid the crash when receiving a call for rendezvous account
Gitlab: #189
Gitlab: #190
Change-Id: I7a5358c545b2362677091e167810d80553c60c27
2020-11-04 15:54:17 -05:00
Ming Rui Zhang
be1419c0a6 wizardview: adapt the added best name and id logic in lrc
Note: if the Displayname/alias is the same as the username,
      it should be the only line shown

Gitlab: #129
Change-Id: I2c3dc8d304bd730a2ae114e4686c9ae899087c6b
2020-10-30 11:35:47 -04:00
ababi
3e5ee2fb8e auto_answer: switch to incoming call
- shows callview for auto-answered incoming calls
- if call is not for current account shows a notification

Gitlab: #103
Change-Id: Ia482abc575f13b9d7eebd701ac1d51d2089de2b7
2020-10-07 17:06:13 -04:00
ababi
95df47c717 misc: fix contact request UI issues
- switch between "conversations" - "invitations" smartlists according to call origin
- "Accept Request" button from msg's view header: hide on contact accepted, set on view load according to userType
- correct requests smartlist item selection on tab switch
- accept incoming call from pending contact makes conversation permanent

Gitlab: #74

Change-Id: Iadfef0d7e4032002d8007a4f18a9eae27f7ba230
2020-10-07 17:06:13 -04:00
ababi
2df280c3fb mainview: UI call management refactor
- AccountAdapter::navigateToWelcomePageRequired is no longer required since subscription to property change in QML
- avoid unnecessary CallAdapter signals for UI management. Listen to BehaviorController and avoid duplicated / unnecessary signals.
- avoid duplicated code:
  - account selection only in AccountAdapter::changeAccount and ConversationsAdapter::selectConversation
  - simplification of ConversationsAdapter::selectConversation
  - conversation UI always managed by ConversationsAdapter -> ConversationSmartListItemDelegate
- smartlistmodel: no need to show callstack for outgoing calls in state ENDED

Gitlab: #86
Gitlab: #87
Gitlab: #88

Change-Id: I7025d4292914939f5a78aee1c4742104b370641d
2020-10-07 17:06:13 -04:00
Sébastien Blin
695dff3994 calladapter: use infos from daemon to know if we are the conf moderator
Make the difference between a host and a moderator. The main difference for
now is that the host can hang up calls, not the moderator because they don't
know the calls hosted

Change-Id: Iec36c4d26ae32126e8628bef6491c35d0228a45f
2020-10-02 11:29:08 -04:00
Sébastien Blin
c5f7584d0a
calladapter: setActiveParticipant accepts URI
Change-Id: I7de33f90ff291979808b568183e57ab551210942
2020-09-25 16:40:33 -04:00
Andreas Traczyk
87a4602b9a notifications: implement incoming message notifications
- Note: adds forcing the main window to the top to overcome a
  Qt/QML bug which prevents this from working when activating
  from a notification window source.

Change-Id: Ib5a93d3937fe5a4de0229f7aeae8469d1ffdfba3
2020-09-17 17:32:40 -04:00
ababi
8fc729f63b callview: show outgoing calls from unselected conversations
reset account and conversation id for outgoing calls

Gitlab: #77
Change-Id: I04b0707549f7b7170ce28854acf87f924a36f1bd
2020-09-17 15:20:04 -04:00
ababi
be70e36bf7 mainview: call flow review
- incoming / outgoing call UI management
- add system native notifications
- incoming call page same model as outgoing
- UserInfoCallPage is used to display common information for incoming / outgoing calls

Gitlab: #32
Change-Id: If33196a30c51698b4edad55cb8f718066034e422
2020-09-14 11:04:21 +02:00
Andreas Traczyk
eacf5bb458 misc: apply clang-formatting
Change-Id: I9d2ec496aa8d6cc0a41f9096ad153308c3308e8b
2020-09-10 18:00:08 -04:00
Andreas Traczyk
88816940fb qml interop: refactor and remove utilsadapter from clientwrapper
- Separate utilsadapter into files and expose it to Qml so it can
  be used without passing through clientwrapper.

Change-Id: I7c351d7191cd166521b6e0a685ea9d4a9731f165
Gitlab: #66
2020-09-10 14:54:58 -04:00
Andreas Traczyk
eb53a622b7 qml interop: start replacing QMetaObject::invokeMethod with signals
It seems concurrent calls to invokeMethod using qml component
object pointers can lead to access violations. These method
invocations can be replaced with a signal/slot mechanism.

This patch replaces only the invocations in conversationsadapter
and accountsadapter that are known to be problematic for now.

Some code cleanup is done for QmlAdapterBase derived classes.

Gitlab: #61
Change-Id: I72f47c9229a9bf42299ae52822c3a1a8c04eb423
2020-09-03 16:25:59 -04:00