1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-19 06:55:24 +02:00
Commit graph

637 commits

Author SHA1 Message Date
Andreas Traczyk
3cca2e7078 calloverlays: cleanup main and participant fadeout mechanisms
Unfortunately, QQuickMouseArea force accepts all move events by
design, which makes passthrough events tricky to catch. In-call
overlays for conference participants should be a layer below the
main overlay. So, using QML MouseAreas makes correctly implementing
both overlay fade mechanisms with passthrough for participant menus
too complex. To properly implement the signal relay mechanism we
would need to listen to all the child components with MouseAreas
and relay the positionChanged events to parenting MouseAreas.

To avoid the complexity, we can install an event filter for the
main overlay and listen to global mouse move events that are
contained in it's geometry.

Additionally, we can use Control components instead of transparent
Rectangles to access a hovered property which can be used to
prevent the fade out, and effectively freeze the visibility of menu
components.

Gitlab: #420
Gitlab: #421
Gitlab: #423
Change-Id: I7f05d2bc79ad6a8db0951b7b59e52f671fdf4798
2021-05-26 16:15:50 -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
580f0f2d4c callview: squash audio and video ongoing views
some callstack cleanup

GitLab: #414
Change-Id: Id746e9f1085959103f5774266ffa17d2669871f7
2021-05-25 09:28:27 -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
Mohamed Chibani
4c6514e58e sip-regitration: fix expiration time max limit
The current registration expired max limit was set too low. The max
limit as per RFC-3261 is ((2**32)-1). Since this is a user setting,
it's best to give control to the user. However, a max limit set to
1 week should be reasonable.

Gitlab: #532

Change-Id: I61b05de2adbbb177ac2e83d85e7f72ab42347554
2021-05-25 09:18:20 -04:00
Jenkins
e4a9307e1f i18n: automatic bump
Change-Id: Ie4c05318b1c10f613a4f3fc6d5373a143d549a1a
2021-05-24 16:42:54 -04:00
Ming Rui Zhang
6d00268adc messagewebview: adjust theme for new chatview icons
Change-Id: I16b0c0d9a2e8111908eb46c0a68c8c55bb074d6c
2021-05-21 16:53:21 -04:00
Ming Rui Zhang
8660373b0c contactadapter: fix SelectableProxyModel ownership
Currently the ownership of SelectableProxyModel instance
is assumed by QML engine, but we will use the following
rule to avoid that.

QML engine respects the normal QObject parent ownership
semantics of Qt C++ objects, and will never delete a
QObject instance which has a parent.

https: //doc.qt.io/qt-5/qtqml-cppintegration-data.html
Change-Id: Ifa37d14b8d74bfce050b0dee2949b42a7f784d3a
2021-05-21 16:53:21 -04:00
Sébastien Blin
1c7ef6269f calladapter: fix setCurrentCall usage
Change-Id: I062d679ecb0fa45755abda8c902a00a2042d2729
GitLab: #431
2021-05-21 15:39:39 -04:00
Sébastien Blin
8f1971908f incomingcallpage: translate "is calling you"
Change-Id: If6ad1b33f7a6636ad72d86103b4d314792e315ff
Gitlab: #419
2021-05-20 09:23:08 -04:00
Andreas Traczyk
5bb5ce0f09 smartlist: filter banned items when the filter string is empty
Gitlab: #418
Change-Id: I1c1a8004b8d268cb3be158a7766c5ae82d451e63
2021-05-19 13:22:48 -04:00
Sébastien Blin
a3d287148d misc: update version name and credits
Change-Id: I2a34d613f3bccd5f16c333a6a4fa2eed94dc28fa
2021-05-19 11:30:03 -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
Andreas Traczyk
c8008c5414 fix: in-call chat view opening and closing
- fixes the in-call chat view requiring reselection to open
- fixes the in-call chat view staying open, on top of the principal
  chat view when a call ends

Gitlab: #415
Gitlab: #416
Change-Id: Idcfaaf263d5d53451dedf955ce441f0a705309a9
2021-05-18 12:18:45 -05:00
Jenkins
2bca28b7f3 i18n: automatic bump
Change-Id: I63244e663c895adc0806dd8210bac5362caff03d
2021-05-17 16:43:05 -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
Ming Rui Zhang
76eb198b9c mainapplication: use QScopedPointer and control the order of destruction
Change-Id: I48b9019acdb505cdde3da183a1022dea8eacebc0
2021-05-14 15:04:12 -04:00
Ming Rui Zhang
9a5afd3918 accountcombobox: use QSortFilterProxyModel to filter out current account
Gitlab: #405

Change-Id: I364d7945739ef45319e0bb7834075ac52ec5c009
2021-05-11 14:56:30 -04:00
Ming Rui Zhang
1a3b3e649e avatarimage: fix opacity animation when switching to another screen
Gitlab: #404

Change-Id: I38983d2616fb618f7960112a2408a52bb3c9ad35
2021-05-10 16:32:47 -04:00
Ming Rui Zhang
8e1497bd1a build: use the correct path for files of translations
Change-Id: I7fff92d4df8e327a2f0065b4a125ebdae9fd0219
2021-05-10 16:32:41 -04:00
Andreas Traczyk
8230fb863c adapters: handle injecting lrcinstance with zero accounts
Change-Id: I1ec652c60620cf4e7e1caad7fd00ddf1aa40d64d
2021-05-10 16:31:55 -04:00
Ming Rui Zhang
01cf3f9367 utils: add the missing colon in the time format string
Change-Id: Ib15edf23cfcc5536d2e430becba084d5eac0f826
2021-05-10 12:39:28 -04:00
Ming Rui Zhang
d7e76178d7 calloverlay: remove add to conference button for sip calls
Change-Id: I305f45f47890898a5f2b2f53fa468a86cd5d1a94
2021-05-07 16:06:49 -04:00
Ming Rui Zhang
2ae9521558 avadapter: consider devicePixelRatio and screen layout when sharing screens
Gitlab: #395

Change-Id: Ic34a084fb9dc5a6605e3242ae7823db35e01a0d8
2021-05-07 16:06:19 -04:00
Ming Rui Zhang
eb2eb786be update: ensure that version update dialog shows up when mainview is loaded
Change-Id: I310be96a8c085fd1da6f444c7d85e4eb06326f5f
2021-05-07 16:00:17 -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
Andreas Traczyk
0d6d94d124 accountcombobox: cleanup and simplify qml layer
- remove some faulty hover state management, excessive text metrics
  objects. Split the code up too and increase declarativeness.
- fix the rendering of account avatars in the dropdown list
- make the 'add account' item always visible
- make the popup modal with transparent overlay

Gitlab: #388
Change-Id: If0e5f95d1250ee77902c518469878bdb678c8b9d
2021-05-06 14:39:09 -04:00
Jenkins
9aa9823083 i18n: automatic bump
Change-Id: I528ea033b180ff96156f24d8485b080416161759
2021-05-06 12:35:19 -04:00
Ming Rui Zhang
a7eafe4793 test: add building blocks for qml and GTest on windows
- Also updated the INSTALL.md

Gitlab: #385

Change-Id: Ib5bf9f0348dbc6da57e586475d698fe8dec0351b
2021-05-04 11:19:59 -04:00
Jenkins
192919bb5e i18n: automatic bump
Change-Id: I4ba008f273f9058d8799f16c4ee5db35e0b2ceca
2021-05-03 16:42:08 -04:00
agsantos
ce88a30712 conference: show avatar for videoMuted peer
GitLab: #379
Change-Id: I885ad338d7a5c06fca7c765680e644c44f33228d
2021-04-30 14:39:25 -04:00
agsantos
9e40648b8e fix: set use ListViewJami in contact and plugin pickers
Change-Id: Ia5258e115055c44091a1d20186878d6b35e023f5
2021-04-30 10:25:35 -04:00
Ming Rui Zhang
b420ca3a20 renderer: improve the video quality by using rendering hint
Gitlab: #390

Change-Id: Idf3ccf9ab5b29a984a36ea117e6cf495a9e80988
2021-04-29 10:25:26 -05:00
Ming Rui Zhang
9a84dcd631 previewRenderer: add rounded corner by using OpacityMask
Change-Id: I4433a72af9c5da9cb905cfcb742f71d53427207a
2021-04-27 16:46:10 -04:00
Ming Rui Zhang
1e60095ff2 messagewebview: adjust theme for new chatview icons
Change-Id: I953e07b3a709c7e26661bb3097b96516a24b0782
2021-04-27 15:02:13 -05:00
Andreas Traczyk
b391d947c3 misc: use QAbstractListModel in list model base class and rename
Inlcuding QAbstractListModel inlcudes qabstractitemmodel.h, but
this is not certain.

Change-Id: I5affb3462a09f4f6ea93be2f979144608d015969
2021-04-27 14:05:24 -04:00
Andreas Traczyk
2539eb715c misc: circumvent QtCreator "module not found" bug
When registering into QML namespaces from a non-global context,
certain QtCreator versions fail to find import modules. The only
effect is a lack of correct "intellisense". We can register dummy
namespace into the QML module namespaces we use to quiet the IDE.

Change-Id: Ideb06541475788c669619be82c30d993554435a9
2021-04-27 13:51:49 -04:00
agsantos
980de92c68 fix: pluginpicker keep close button in the right
Change-Id: Id74bf3661942fbd7b8b0235428b0e3d34fb0e6b8
2021-04-27 12:17:26 -04:00
Andreas Traczyk
de261df86f conversationadapter: use slots instead of lambdas
The UniqueConnections need slots to compare bindings. Also, member
functions are cleaner and easier to debug than lambdas.

Change-Id: I16ae3882e0f5ff0b92d1ca6c7ce383e5ceef8a79
2021-04-27 12:14:52 -04:00
Andreas Traczyk
e5858588f8 misc: implement redesign for the smartlist filter tabs
Change-Id: I3bdd0f331f9a038310646d5ecc9a6499a097cf87
Gitlab: #241
2021-04-27 12:14:52 -04:00
Ming Rui Zhang
9b85e00422 previewRenderer: fix not being able to reposition the preview
Gitlab: #387

Change-Id: I031fd7a8a3be540a2493d19e345f2a2ef95fe131
2021-04-27 12:04:44 -04:00
Sébastien Blin
2db3196d26 misc: update instructions
Change-Id: Ib157716ced18a19f4220ec570e03896bfee76610
2021-04-22 14:37:30 -04:00
Andreas Traczyk
3a74dc69b1 misc: use reals for sizes instead of ints
Change-Id: I5d8865347b57bf1c503f3a8b41e6eb27076e451c
Gitlab: #241
2021-04-22 12:05:58 -04:00
Andreas Traczyk
9741f326a5 smartlist: refactor filter tab QML
- remove some code duplication and MouseAreas

Change-Id: I2650aa94d302ab53dd7f389077f20d0ed3a62abd
Gitlab: #241
2021-04-22 12:05:54 -04:00
Sébastien Blin
964af7fe3c misc: improve touch screen support
Support single tap for showing call overlay and long press
to show context menu for the smartlist

Change-Id: I31a77169827860c07ec9d60e076c0c5c4e875408
2021-04-22 12:05:33 -04:00
Ming Rui Zhang
3b4e09d43a lrcinstance: add mute dring option in constructor
Change-Id: I3779731c330cc23a7aa7ddc27c76068ab648193c
2021-04-20 17:54:52 -04:00
Andreas Traczyk
a91bb6da19 misc: correct chatview background theme
Change-Id: Iff6b655d26d5003618aff892d205275dfa5a602b
Gitlab: #241
2021-04-20 10:21:58 -04:00
Andreas Traczyk
f715f72d49 misc: fixups to the smartlist search bar
- fix the svg rendering
- fix margins and padding
- fix the clear text icon

Change-Id: I88d709577697136377c6e405abab885c6aa54135
Gitlab: #241
2021-04-20 10:21:52 -04:00