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

1148 commits

Author SHA1 Message Date
Maxim Cournoyer
c58e3eb561 tests: unittests: Fix linking errors.
The linker would throw errors starting with GCC 10 (see:
https://gcc.gnu.org/gcc-10/porting_to.html).  Final fix for
<https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/882>.

* tests/unittests/account_unittest.cpp (globalEnv): Remove variable.
* tests/unittests/contact_unittest.cpp: Likewise.

Change-Id: I08cff055590c06afb9423759ff3e2c6c6c790e94
2022-11-11 23:17:03 -05:00
Nicolas Vengeon
6f30acf004 CallOverlay: file drag and drop in the CallOverlay
Change-Id: I76b163b6b8e7551a9983e08039b599fdf1cf2ce4
GitLab: #885
2022-11-11 21:17:35 -05:00
Maxim Cournoyer
6119597c4e tests: Fix broken QML import directives.
Fixes
<https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/883>.

Automated via:
  $ find tests -name '*.qml'  | xargs sed -i 's,qrc:/src,../../../src,'

Change-Id: Ic1a2f419e3e328e8bf861e7fdf370f15da66675f
2022-11-11 11:50:06 -05:00
Maxim Cournoyer
dfb4d47ad6 tests: Link with libjamiclient.
Partially fixes
<https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/882>.

* tests/CMakeLists.txt: Link test objects with ${LIBCLIENT_NAME}.

Change-Id: I6808202f046902c5c05c089c0c2fe3d97492a754
2022-11-11 11:48:19 -05:00
Sébastien Blin
98a9eebc89 misc: update profile before members
Change-Id: Idb51e3e6cf895fe1aaf88156c0b0296bdf95b263
GitLab: #873
2022-11-10 03:39:00 -05:00
Andreas Traczyk
26cc5cecd5 videosettings: restart the camera at the selected resolution
Change-Id: I6c7942bda27377c6b83946c855a43c1a09f900ff
GitLab: #872
2022-11-09 10:50:13 -05:00
Maxim Cournoyer
eabbf15681 tests: Fix Qt dependencies.
Partially fixes
<https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/882>.
This follows commit dae92490.

* tests/CMakeLists.txt: Rename QML_LIBS to QT_LIBS, a regression
introduced in d82e382070.  Remove the
dependency on on the Widgets module, now provided via QT_LIBS.
* tests/qml/main.cpp [WITH_WEBENGINE]: Include QtWebEngine modules
conditionally.
(main) [WITH_WEBENGINE]: Initialize webengine conditionally.

Change-Id: I0df4e11ca3571338fb1e8967784dc6f09ca1dfee
2022-11-08 13:51:05 -05:00
Jenkins
01c3c32dd8 i18n: automatic bump
Change-Id: I2a7179cfc092854995cd898203249421b3e7facc
2022-11-08 11:01:13 -05:00
Sébastien Blin
44c1ee49b8 misc: make swarm with multiple participants by default
Change-Id: Id5700e08e7966121ec182786d25b9645b7f6fd75
2022-11-08 02:26:37 -05:00
Maxim Cournoyer
dae9249098
tests: Add missing QtWidgets dependency.
Fixes <https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/882>.

* tests/CMakeLists.txt: Add "Widgets" Qt module to find_package call.
(QML_TEST_LIBS): Add Qt::Widgets.

Change-Id: I695010776e6d2638fb65009c79f3263269e1020e
2022-11-06 00:16:34 -04:00
Jerome Lamy
c04b123291 install: update depecated debian packages
update install instruction to include correct debian packages names.

Change-Id: Ida007c931b30d216563daf66aaa17075169b3131
2022-11-03 10:48:24 -04:00
Sébastien Blin
1b15fcf7d6 misc: update noiseSuppression API
Change-Id: I66d29899ec18b5d1fc0b66e7a44f5c1018237dd5
2022-11-02 16:29:29 -04:00
Nicolas Vengeon
7e9dce9c00 feature: Add 'advanced information' call overlay
Change-Id: Ia54d01ec56e01d0c04e360ec06da87aa37fe74fe
GitLab: #510
2022-11-02 09:31:02 -04:00
Sébastien Blin
8a59035c8a misc: update version code name to Világfa
Change-Id: If022ba8cdf4560ed03a678187c55ba3cded2407b
2022-11-01 12:18:42 -04:00
Jenkins
7e078c0bdb i18n: automatic bump
Change-Id: I4c629def1c3b0512c0c6fb9cd95f19d5e3684def
2022-10-31 16:43:00 -04:00
Andreas Traczyk
61ccbdf40f chatview: set timestamp component height
+ give the component some height when the hour is not shown
+ make sure the hour is shown if the day is shown

Change-Id: Ia6e4266539d60577899af63beca8017c6140644c
GitLab: #827
2022-10-31 12:09:44 -04:00
Andreas Traczyk
8f7891d038 debug: fix tag and constraints for Scaffold components
Change-Id: Ic83ec55631e9a914a53869f112032f3459b2e1c7
2022-10-31 12:09:44 -04:00
Andreas Traczyk
4245c13a42 chatview: fix message styling and timestamps after removing a msg
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/316

Change-Id: I26cd21f91571021de960f83f189d7323336fa41b
2022-10-31 12:09:44 -04:00
Sébastien Blin
9195cb0bc5 replytorow: correctly update row if original post is editted
Change-Id: I2a76104b96d5eba554113e5aace1661170bbbb5d
2022-10-31 09:21:11 -04:00
Thomas Ballasi
838591cba1 TextMessageDelegate: fix alignment for outgoing emojis
GitLab: #861
Change-Id: I32c643e56a730e4d3d5a6688308a50d18bf95cb6
2022-10-31 09:11:59 -04:00
Sébastien Blin
61b2bfdee7 chatviewfooter: pre-fill with previous body when editing
Change-Id: Ie2784a689bac5442198bbcfdaed54ff75de4003f
GitLab: #870
2022-10-30 11:44:28 -04:00
Sébastien Blin
90ae50ee5f misc: rename DRing->libjami
Change-Id: I15d382406687cc506c1456ce43286ad6b0f23529
2022-10-29 16:53:42 -04:00
Sébastien Blin
c6f2293ce3 conversationerrorsrow: only show in debug mode
The labels are pretty unclear for most of the users. We can show the
bar only if debug mode is enabled (-d) so that only developpers or
people who need to debug jami can see it while we choose better
error labels.

Change-Id: I2a37d00251f75db878eff44c665a2b17f95a9888
2022-10-27 16:37:01 -04:00
Nicolas Vengeon
7a34209583 feature: documents flow in the swarmDetailsPanel
Change-Id: I24a94b9ced0ec3930a0b9e20f3fa0440e2d8fd00
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
2022-10-27 09:30:01 -04:00
Antoine Noreau
9b1a6e471b
sip: fix incoming TLS calls by disabling secure dialog
Change-Id: I8925ba8d4cd29978efc700aa43c6e5acc7980365
2022-10-25 16:51:14 -04:00
Sébastien Blin
40672bb67f Revert "sip: fix incoming TLS calls by disabling secure dialog"
This reverts commit 9457c7ccbb.

Reason for revert: Break config

Change-Id: I320c69562969b8197a1bdc92acfc7da93b1e9a48
2022-10-25 16:38:01 -04:00
Sébastien Blin
47cd60fbe4 messagelistmodel: support message edition
Handle application/edited-message type to support message edition.
Previous bodies are saved in the interaction to be able to get the
original post to avoid unwanted editions.

While loading a conversation, we store the editions in a temporary
map that we link once the edited message is detected. This work
because we can't edit a message before this message exists.
PreviousBodies in interaction.h contains every previous body detected
and the client can show previous version of the message in a popup.

Deleting a message works the same way, just that any message
with an empty body is not shown.

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/316

Change-Id: Ib158abd16ad4b629532de11694e88d86a12d72a8
2022-10-25 16:15:22 -04:00
Antoine Noreau
9457c7ccbb sip: fix incoming TLS calls by disabling secure dialog
Change-Id: I28e6135d9586adf7b4264431726f82f47856be51
2022-10-24 16:20:12 -04:00
Sébastien Blin
f2b40af3e2 misc: cleanup settings
+ Remove "Accept files from unknown senders" because since swarm
we can't get files from non contacts are the conversation is not
cloned, and non swarm files are ignored
+ Rename "ignore the swarm" to "Mute conversation" as ignore is
unclear

Change-Id: Ifced8f8efe841e2345d50530ee313e6b95b35920
2022-10-24 14:28:22 -04:00
Sébastien Blin
8e7e39c1e9 sip: search conversation filter
The URI we search can be the id of another conversation, causing
another contact to be shown.

Change-Id: Icdbc01b5466559fd6c9f77dde57338903e54ea99
2022-10-24 11:39:45 -04:00
Sébastien Blin
38009024ff TextMessageDelegate: fix alignment
Change-Id: If196e9ab73257e4f133e0b4d517f426fb6d59e8b
GitLab: #861
2022-10-24 10:56:58 -04:00
Aline Gondim Santos
bf8b7ca8bd docs: update Windows build instructions
GitLab: #854

Change-Id: Iae54035ecafa83aece46def43621532b6329a92a
2022-10-24 09:24:15 -03:00
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