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

1132 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Sébastien Blin
a2cba16f80 conversationmodel: cleanup duplicate code
Change-Id: Icfb1669e4c810b2ef74c3787f0f086646f17fb8d
2022-08-24 13:15:30 -04:00
Sébastien Blin
6f18afbaac chatview: add ability to reply to a specific message
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/318
Change-Id: I79916422b90c6eb12252c96bb12e209188a81f94
2022-08-24 12:59:38 -04:00
Sébastien Blin
71a4b4a252 revert: readstatus: major cleanup
This patch introduced some issues with file transfer

Change-Id: I6e4852f1f1c0eb1e1f820de8a1ecc8e2a6b28695
2022-08-24 11:17:06 -04:00
Sébastien Blin
adb5eca5e8 callactionbar: show share screen button for SIP
Change-Id: Ie25fbffd31011a3a9eb3d4e3bed3192b057cf7ed
2022-08-24 10:35:16 -04:00
Sébastien Blin
8e2d1e5cc8 jamiidentifier: minor fixes
+ Fix bottom margin
+ Add copy icon from media-resources
+ Wrap ID in read only
+ remove fieldLayoutWidth/fieldLayoutHeight

GitLab: #770
Change-Id: I65743ca488d3bc601ac7d74d920d0944f03e0ace
2022-08-24 09:09:37 -04:00
Sébastien Blin
ae7b446dda callactionbar: do not enabled hide self with participants on top
Change-Id: Ibb1e28386f61bd62c5042cca8e8fbd721e5db145
GitLab: #807
2022-08-24 09:09:13 -04:00
Sébastien Blin
52b6b2a99c settings: update chat layout in current call view on settings update
Change-Id: Ifd98fa04653ea81948554a45fd724bd86625c839
GitLab: #657
2022-08-24 09:08:36 -04:00
Sébastien Blin
fd182cd433 ConversationErrorsRow: remove warning
Change-Id: Ib050db807596bf104300602cabcc4901b8cc469c
2022-08-19 13:55:55 -04:00
Sébastien Blin
72288798c9 readstatus: major cleanup
+ Update status for swarm
+ Show read status like android (right if 1 reader, under the bubble
if more)
+ Display a sending status

Change-Id: I653e3573c4dc75950cc274dd01859d9335e0177f
2022-08-19 13:35:33 -04:00
Sébastien Blin
bdcf2c96eb chatviewheader: show buttons for sip account
GitLab: #809
Change-Id: I0b110c1d378db83ba20be5679dc11b8337483eec
2022-08-19 10:14:24 -04:00
Sébastien Blin
e326a1c158
misc: fix build dbus
Change-Id: Ic74e3a79ff5c79d48f4c4ab76eb0be690d296a0b
2022-08-16 13:17:12 -04:00
Amin Bandali
e7a23695f1 misc: many wording improvements/fixes throughout
Change-Id: Ifd2bd08ab29cf3ecdac2588f02928197884eeeb9
2022-08-15 16:04:17 -04:00
Sébastien Blin
f6147e322c callparticipantsmodel: show participants on voice activity
Change-Id: Ie15302269656e09b3af0dd34f402234e05f54338
GitLab: #802
2022-08-15 16:02:53 -04:00
Sébastien Blin
ce3afea995 chatview: display signaled back-end errors
A signal exists for showing errors to the user to make failing cases
more explicit. With this patch, errors detected are displayed to
the end user so that they know that an error occured and what
kind of error occured.

Change-Id: Ib2d4d4fdb171235e0598de0f1c190b8fd0fcc336
2022-08-15 15:33:32 -04:00
Sébastien Blin
b0f3bc5572 calloverlay: avoid flooding reset
Change-Id: Ic417ff896c002dd119974d4614caca6b659d1f34
2022-08-15 14:54:21 -04:00