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

1336 commits

Author SHA1 Message Date
Sébastien Blin
9e31eeeffc sip: use latest registration expire preference
Change-Id: I0f99a159de945d2d82d77ec3a94a18027c89fa66
2022-10-05 09:29:12 -04:00
Nicolas Vengeon
dbd7aa528e tooltips: changes on tooltips management
-Tips are no longer deleted
-Tips are shown randomly
-Custom tooltip and backup tooltip are shown first if needed

Gitlab: #846
Change-Id: Icadc1dcef23ff7d5783e840d3d1528d399166e24
2022-10-04 17:09:39 -04:00
Amin Bandali
d6e7a6b7c0 misc: Set SortFilterProxyModel submodule's branch to 'qt-6'.
* .gitmodules: Set the 'branch' property for the SortFilterProxyModel
submodule to 'qt-6'.  This is needed because by default git picks
'master' when the '--remote' option is given for submodule update,
and our fork of the SortFilterProxyModel repository currently has the
latest changes only in the 'qt-6' branch.

Change-Id: I3d7797d847324ff4a7268f682b11ec88630931fa
2022-10-04 13:52:23 -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
Amin Bandali
7fb102ed45 build: Tweak CMakeLists.txt pkg-config usage for finding avutil.
* CMakeLists.txt: Prepend CMAKE_PREFIX_PATH with the location of
libavutil.pc from daemon's contrib before trying to find libavutil
using pkg-config, and remove it afterwards.  Further, there is no need
to link the application executable against libavutil; the application
only needs its headers (libclient, however, does already link against
libavutil).

Change-Id: Iffa5af43bfd1bb62bc24cc94dce292f87e9ecb2a
2022-10-04 10:08:00 -04:00
Amin Bandali
fb94c38540 build: Fix find_library for contrib avutil on GNU/Linux.
* src/libclient/CMakeLists.txt: Set the right 'hint' path for the call
to find_library for ffmpeg avutil from daemon's contrib, to match the
directory name used by daemon's 'contrib/bootstrap' script: the name
of the directory is the value returned by the C++ compiler (either GNU
or Clang) when invoked with the '-dumpmachine' option.

Change-Id: I03de150aa941a1e32471e5b4cbe507e5d09787f5
2022-10-04 10:08:00 -04:00
Jenkins
b2947e1cba i18n: automatic bump
Change-Id: Ib2226355a41d18bd6be2221c1852ad254e0f8042
2022-09-30 17:33:58 -04:00
Sébastien Blin
bad7cff316 accountcombobox: show unread count
Change-Id: Ia6d7ba0ee9e32d5830b35b863b3981e2487df183
GitLab: #821
2022-09-30 15:43:35 -04:00
Maxim Cournoyer
730b00bd5d libclient: Explicitly link to avutil when using libwrap.
Otherwise, when libjami is compiled as a shared library and
dynamically linked with all its dependencies (including ffmpeg), the
build would fail with:

  ld: src/libclient/liblibjamiclient.a(directrenderer.cpp.o):
  undefined reference to symbol 'av_frame_alloc@@LIBAVUTIL_56'
  ld: /gnu/store/...-ffmpeg-jami-4.4.2/lib/libavutil.so.56:
  error adding symbols: DSO missing from command line

* src/libclient/CMakeLists.txt: Call find_library for avutil, with
hints for contrib path on GNU/Linux and macOS.
[ENABLE_LIBWRAP]: Add target link to avutil if not on Windows.

Co-authored-by: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
Co-authored-by: Amin Bandali <amin.bandali@savoirfairelinux.com>
Change-Id: Id9681132b046fd828002cd3daa24afc8a6dd1eae
2022-09-30 13:32:15 -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
Aline Gondim Santos
7b7d12fb22 fix: selectscreen opening from contextmenu
Change-Id: I1761688aa2b8a2e7ab882926cd997a1d5a066ca7
2022-09-28 08:05:32 -04:00
Andreas Traczyk
cb0acdc2a8 3rdparty: bump SortFilterProxyModel submodule
Change-Id: I1ab3c16d7ff99293c5931cea32097961c55528f9
2022-09-27 13:02:52 -04:00
Aline Gondim Santos
3dea363a59 fix: immediately announce video media change
Change-Id: I6ca77e4b60082202b8e1147b2982248c8545ff20
GitLab: #841
2022-09-27 11:03:37 -04:00
Aline Gondim Santos
0bb7e6b236 multistream: do not set video_1 if no video_0
Starting from audio only call:
 - start sharing;
 - add camera;
 - stop sharing;
 The camera stream should remain and not the sharing one.

Change-Id: If6dd0fb7a6ddd8603626c66c792e75e3cf05275e
2022-09-27 11:03:37 -04:00
Andreas Traczyk
085b71bd76 videodevices: replace C++ filter proxy model with QML-SFPM
Change-Id: I348cd7acc4cccee4b5a6784cc2430156bb73667b
2022-09-27 10:53:29 -04:00
Nicolas Vengeaon
49aadea7ba fix: open shortcuts window on correct screen
corrections:
- open on the same display,
- center to the parent window,
- has dimensions not more than the parent window

Change-Id: I2315d62fef6d830b6957770807ace462fbb77901
Gitlab: #774
2022-09-27 10:41:47 -04:00
Andreas Traczyk
682721b7a7 jami-devices: replace C++ filter proxy model with QML-SFPM
Change-Id: I740199bc2c3da90dfe865a41b6ea3855a1b41fc4
2022-09-26 12:29:19 -04:00
Andreas Traczyk
bb54825082 callparticipants: replace C++ filter proxy models with QML-SFPM
Change-Id: Ic6ea084c704cc07fa48733f496727664c404e56c
2022-09-26 12:28:53 -04:00
Andreas Traczyk
cda1f335e7 messagelistmodel: replace C++ filter proxy model with QML-SFPM
Change-Id: I7471b4cf5539bd253d4d1b9e9b2bfd10030a9525
2022-09-26 12:28:43 -04:00
Andreas Traczyk
f644ab8a76 accountlistmodel: replace C++ filter proxy model with QML-SFPM
Change-Id: I5eb2ffc538c1dedd71305f6c538d9b09daa4d22b
2022-09-26 12:28:37 -04:00
Andreas Traczyk
0da3d936f2 cmake: build SortFilterProxyModel(QML module) as part of the client
Change-Id: I977986b69d5906a4d9feeb427c6d2867a4930270
2022-09-26 12:28:32 -04:00
Nicolas
ffa38fb8ef InitialCallPage: see the video preview
GitLab: https://git.jami.net/savoirfairelinux/jami-project/-/issues/1309
Change-Id: Ib9abac518d94e74d6ef6554ec38e2dda520937f4
2022-09-26 12:16:20 -04:00
Andreas Traczyk
ef0569b0c8 3rdparty: add SortFilterProxyModel QML helper
Can be used directly in QML without having to derive from
QSortFilterProxyModel and manage source model settings from C++
code.

Change-Id: Icac1f6dadfc0d1f64b4459ae0cdbebdd30b79b3e
2022-09-26 10:41:46 -04:00
Aline Gondim Santos
43ab7e29d4 fix: do not open camera after closing sharing
While in an audio only call, if a sharing is started and then stopped,
the camera was open.

Change-Id: I5af5f7c106c2c53a97ee6b754b0344c7ecb35526
2022-09-23 14:07:34 -04:00
Aline Gondim Santos
87acb931b9 fix: open correct preview when sharing
While in an audio only call, if a sharing is started, the preview could
open the camera instead.

Change-Id: I03d8a9df3385f856f65995a9bbaa1835949d8bdc
2022-09-23 14:02:41 -04:00
Nicolas
4127200d8d EditableLineEdit: text input not aligned with label
Change-Id: I6bb5dda8364eba67c861b7d769b490bb28c5a0c7
Gitlab: #842
2022-09-23 11:45:45 -04:00
Sébastien Blin
fe3f8521e8 backupkeypage: transform into TipBox
Split TipBox into dynamic components to avoid to load all the things.
Show the Customize Tip Box only if necessary
Replace backup key page by a tipbox

Change-Id: Ie499fb16fe67648bbdd327eb24705a1881d9cea8
2022-09-19 16:19:24 -04:00
Sébastien Blin
95f1c4d76d
messagelistmodel: use correct total size on incoming file
use the size from the daemon if the file is downloaded, else
use the size from the commit.

Change-Id: Ia4e7123558e93a1ab0879feab9a141ceefaf183a
GitLab: #833
2022-09-16 16:31:38 -04:00
Sébastien Blin
452efbc7fc
misc: fix some strings
Change-Id: I9a2c841d072c03d60e34197098daf6b710745ba9
GitLab: #837
GitLab: #788
2022-09-16 15:54:05 -04:00
Sébastien Blin
5df5172112 sidepanel: do not show "Start swarm" for SIP accounts
Change-Id: I4efb18d87e8d2f4d07df0ebf0a5a6f0f11927bb5
GitLab: #834
2022-09-16 14:19:35 -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
Nicolas
1b0b7c3fb7 jamiStrings: can't choose JPG as image
UpperCase extensions had to be added manually as Qt fileDialog's
nameFilters property is case sensitive.

GitLab: #832
Change-Id: I61a81ebcaa66f0f16db41924b542c146fc79a4b0
2022-09-15 15:19:39 -04:00
Sébastien Blin
fc3a0e7d79
accessibility: add shortcuts to mute camera/mic during a call
Change-Id: Ib125fcac0620326d5864e577d9252e9ea9b3c3d9
GitLab: #788
2022-09-15 10:58:36 -04:00
Adrien Béraud
c12086ac1a i18n: update config for new tx version
Change-Id: I8c5cd5602a79e40465b8946acfa296b44ff57495
2022-09-14 13:43:29 -04:00
Jenkins
9e4ef51647 i18n: automatic bump
Change-Id: I82f667181aeff59c9af089a0e1d2394f867ee68a
2022-09-14 08:50:10 -04:00
Andreas Traczyk
cf81ef06f2 search-bar: fix reference to missing module
fixes "ReferenceError: CurrentAccount is not defined"

Change-Id: I859766cf543ed4e63f1bd478700e4fc431fa097f
2022-09-12 12:05:14 -04:00
Sébastien Blin
b2aa7076bb conference: improve layout for 2 people
Change-Id: I88d67b8fef7363e3c483fe3e0719866907eaaafc
GitLab: #732
2022-09-09 21:33:13 -04:00
Sébastien Blin
a95386e5a4 misc: start to unify terminology
https://git.jami.net/savoirfairelinux/jami-project/-/issues/1468

Change-Id: I1be757e13b1602d306ee4a399d816ba2aaf43dd1
2022-09-09 21:33:01 -04:00
Sébastien Blin
dfb7e918f0
replyto: set the body on one line
Change-Id: I69292cfd3c2ad222fdd038d1a209c8d43bad8784
2022-09-08 12:11:55 -04:00
Aline Gondim Santos
528e204195 language: set JAMI_LANG variable
GitLab: https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/747

Change-Id: I4c87490fb21eb5e7c5f11deadf871f56755eb2f1
2022-09-08 09:44:53 -04:00
Jenkins
41db1d0561 i18n: automatic bump
Change-Id: I41b600a6f8e071291b440ada273898ef109c8f39
2022-09-05 16:44:31 -04:00
Sébastien Blin
cad1c5c268 INSTALL.md: remove LRC for windows
GitLab: #783
Change-Id: Ic1ded1eba802eca8ee44c77b49792b3ad89960b5
2022-09-01 11:53:48 -04:00
Sébastien Blin
5235b4485f namedirectory: use accountId
Avoid to add a nameserver manually and use settings

Change-Id: If31cb67d75ae6e71a9afbcf0bd7b80283e5ffeb7
GitLab: #789
2022-08-31 06:55:10 -04:00
Sébastien Blin
50ca3cd08a sip: fix "transfer to" label
Change-Id: If3324a34c9be6ff2b09bdab48b148946abe02c51
GitLab: #815
2022-08-30 09:59:53 -04:00
Sébastien Blin
ec1d664b0c gnulinux: add support for system theme
Use 'color-scheme' from gsettings if available to check if dark theme
is preferred.  Otherwise, fall back on theme name from 'gtk-theme'.

The default is to follow the system theme (if supported), and
'EnableDarkTheme' would be unused.  'AppTheme' can currently have
one of three values: 'System', 'Dark', 'Light'.

Change-Id: I8008c8fe0f4750c97e71838fff0031f80b685f5e
GitLab: #723
2022-08-30 09:34:02 -04:00
Jenkins
90a8563ace i18n: automatic bump
Change-Id: Ib05101e7abfe1193c3950ad8485c6423b5c0df97
2022-08-29 16:44:35 -04:00
Jenkins
8a41a4301b i18n: automatic bump
Change-Id: Ia4c43b4d9c09a179a597e23a9e79bfa68460cf52
2022-08-26 10:34:33 -04:00
Sébastien Blin
4b746879b1 sip: various fixes
Change-Id: I466683f1c95e983ca6a33d084b4aabf4c3d6549e
GitLab: #816
GitLab: #814
2022-08-25 08:26:34 -04:00
Sébastien Blin
b58bb644e8 avmodel: check index
Change-Id: Ic51fda2e43e27fad851ab33d6e091124c645011b
2022-08-24 21:07:03 -04:00
Sébastien Blin
5995d9b5d1
avmodel: use ringtone index and cleanup
Change-Id: If1f76e4c33bfb067769b6d2d81871e156d256aaf
2022-08-24 14:08:51 -04:00