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

1416 commits

Author SHA1 Message Date
Kateryna Kostiuk
5aca889630 packaging: fix path for macOS
Change-Id: Id0aca1fd0d2cc95450c44b48ad0c82360430a6bd
2022-10-21 12:36:01 -04:00
Sébastien Blin
1a994173ec
conversationmodel: fix loading for some conversations
If there was too much following merge commits, sometimes the
conversation was not correctly loaded.
Moreover, the lastMessageUID was not correctly calculated from
time to time, leading to empty conversations in the smartlist.

Change-Id: I1224269c5df72936ae51f34211ce3f63dbf606ff
2022-10-21 09:34:54 -04:00
Andreas Traczyk
644c841a39 chat-view: fix data transfer image size reload loops
Changing the source size property of the QML Image component causes
a reload using the new source dimensions. The image loading process
was triggering reloading that was not recognized as a binding loop.

This commit also corrects the image sizing algorithm to prefer and
restrict height, which prevents images that are too tall from
taking up too much vertical space in the chat list view.

GitLab: #857
Change-Id: I049b1bb8ea4d23a753e7b54de884d9c1eafdf83c
2022-10-21 09:23:51 -04:00
Aline Gondim Santos
c0315bbc71 camera: fix closing
- camera stays open after call with dbus
- camera stays open after call to account on same device

Change-Id: I2f2adf37b681009adfced6fe4d02d326b9408866
GitLab: #858
2022-10-20 16:47:48 -03:00
Andreas Traczyk
cf2b9cc18f chat-view: fix image message aspect ratio calculation
This fixes a binding loop, but introduces another less fatal one,
since commit d6ed9adf.

Change-Id: I67934b4cdde2efe04e20064fe41191241b0689b9
GitLab: #857
2022-10-19 14:58:24 -04:00
Jenkins
b24687d161 i18n: automatic bump
Change-Id: Iae4c49f99b775a39665fa109f85b05b43cc3b429
2022-10-18 08:11:42 -04:00
Amin Bandali
bb7b5b62c2 i18n: fix repo root path in update-translations.ps1
GitLab: #852
Change-Id: I1ff3099abdb539efb4761b5e0108779a71f701ec
2022-10-17 22:21:46 -04:00
Jenkins
536da22e50 i18n: automatic bump
Change-Id: I034a72ca0147a552e1791d497e86dac8551717b8
2022-10-17 16:42:35 -04:00
Amin Bandali
ca7b1e70e4 build: Add daemon submodule and optionally use it.
This allows invoking cmake with -DWITH_DAEMON_SUBMODULE=true to use
the daemon header files and library from the submodule.  Note that it
is currently still necessary to build the daemon separately first,
either manually or using the build.py convenience script.

The goal is to eventually add support for building the daemon with
CMake in the future, so that we could add_subdirectory(${DAEMON_DIR})
in client-qt's CMakeLists.txt and have CMake take care of everything.

Change-Id: I3a16c44837e6c79616b3101fea8a6ff3defa3ab5
2022-10-17 16:20:47 -04:00
Amin Bandali
3f1bc76c08 build: Simplify FindLibJami.cmake module.
* extras/build/cmake/modules/FindLibJami.cmake: find_library's NAMES
option can take multiple library names.  So, just use that instead of
multiple almost-duplicate calls to find_library for trying different
names.

Change-Id: I9ae5d96e1abcb8117ad65b79b3cc27424b4f87d7
2022-10-17 16:02:27 -04:00
Jenkins
e31c4f8af0 i18n: automatic bump
Change-Id: I37e6de330dde179efaf8b1d6436adea45de01aad
2022-10-17 13:39:30 -04:00
Sébastien Blin
ef2d588abc swarmdetailspanel: link to setConversationPreferences
Save current color, and notification's preferences

Change-Id: I3197be53bf622528aa3bc2e3f0d9aea29068e144
2022-10-17 09:17:43 -04:00
Aline Gondim Santos
3f33fb19e5 fix: close camera when call ends
Change-Id: I81beded4eed352c90e49ad1060efa8d7ac4e83d2
2022-10-14 16:47:51 -03:00
Jenkins
3455a13147 i18n: automatic bump
Change-Id: I3d75e9dc3654926b6cddd1f631c715ff3715d5dc
2022-10-12 16:41:19 -04:00
Aline Gondim Santos
145c1ad1f2 plugins: not reload when setting preferences
Daemon should handle if reloading is necessary.

GitLab: https://git.jami.net/savoirfairelinux/jami-plugins/-/issues/24

Change-Id: Ided267a74c091fb5f93ec11f6a746b5ef241632d
2022-10-12 12:25:57 -04:00
Sébastien Blin
31340bc224
participantoverlay: add recording state
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/699

Change-Id: Ia480eef38ee054750ffbaf08ae0aed84090dc9a5
2022-10-11 15:09:17 -04:00
Sébastien Blin
6c8a5d7bc6
conversationmodel: fix crash if no interaction
Change-Id: Id50f7b2598e0cff7ca75f5fca13473702da5c207
2022-10-11 09:33:28 -04:00
Maxim Cournoyer
bf4a8c314f misc: Rename jami-qt to jami and remove launcher script.
Now that there is no longer a second official client (jami-gnome), we
can remove this uninteresting implementation detail from the name.

Mostly automated via:

  $ git grep jami-qt -l | xargs sed 's/jami-qt/jami/g' -i

* src/app/jami: Delete launcher script.
* CMakeLists.txt: Un-register it from installation.

Change-Id: I5167c29089feb4e64c12d7d01c1ce281e16c0613
2022-10-07 17:30:06 -04:00
Amin Bandali
2fc8661d08 misc: Clean up repository root.
This is the first in a series for cleaning up the top directory (root)
of the repository and move various files/folders into nicely organized
directory structures.

GitLab: #749
Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
2022-10-07 17:30:06 -04:00
Aline Gondim Santos
cbbe048303 localvideo: remove onvisiblechange
By removing the onVisibleChange from the LocalVideo, and leaving
that logic to the widget parents, we cleanup the noisy sink
(un)registrations.

Change-Id: I569e0529087be1e697178085cb59c1c18c52f2c6
2022-10-07 16:48:01 -04:00
Andreas Traczyk
50282f3259 windows-packaging: hide the reference to "Beta" in the about dialog
- Removes the explicit "(BETA)" from the msi installer.
- Changes BETA to Beta in the about menu.

Change-Id: Ifbf300ef1c39a4648f6a235cf3a17a89145d2152
2022-10-07 16:00:48 -04:00
Andreas Traczyk
577abd7bd4 wix: only add a desktop shortcut on the first install
Change-Id: I32680db1ca81db77b8c49550531ecac992897a47
2022-10-07 16:00:00 -04:00
Nicolas Vengeon
eb55c3193a feature: Display emojis stand alone
-Emojis are shown without bubbles when sent alone
-Changes on message reply design ( animation now include files and emojis)

GitLab: #690
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
Change-Id: I81d128367a9c393c76493e02ce88daf4f6a11bf4
2022-10-07 15:38:08 -04:00
Andreas Traczyk
b2c7fc0414 jamiidentifier: fix some UI issues
Introduces some new, more composable base components in an effort
to reduce synthetic "editing" states and have a more natural focus
change response.

Change-Id: I35a51f93ad6f92c0154fd0c40e944af6f54cbba2
2022-10-07 14:17:53 -04:00
Nicolas
d6ed9adf32 chatview: timestamp improvements
New timestamp computation and sequencing ( by day and hour)

GitLab: #827
Change-Id: Ie170f31c075dc37f00d393272410329dc045f2d3
2022-10-07 09:33:17 -04:00
Nicolas Vengeon
c3e8e38e99 fix: add of aboutPopup in WizardView/WelcomeView
Change-Id: I4d38b67ed3f194849bad6fb865254402f19b8e02
Gitlab: #839
2022-10-06 18:03:26 -04:00
Nicolas Vengeon
d4bbcfbeb4 wizard: size NoUsernamePopup according to content size
Didn't use BaseModalDialog:
- class doesn't adapt to content size
- can't be changed without breaking other popups

Change-Id: Id62febfe7651481fe4fb666b2d09c624d7f4fb6d
Gitlab: #844
2022-10-06 16:30:54 -04:00
Andreas Traczyk
c99d4967c6 accountwizard: remove some useless parameters
Change-Id: I19a26ef9ea3d58565ca2e62f1b75ff8c119abdee
GitLab: #847
2022-10-06 13:16:23 -04:00
Sébastien Blin
f377f25793 calladapter: switch to account receiving an incoming call
Change-Id: I1ac8dd0c9563923b9ed3ac4cfc0b63eee7bdaa9a
2022-10-06 11:28:08 -04:00
Sébastien Blin
5fba84031d wizard: fix rendezvous creation
Change-Id: Ia443e07471eee9dbf57029e0231a66b683856ef8
GitLab: #847
2022-10-06 08:54:56 -04:00
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