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

1963 commits

Author SHA1 Message Date
Sébastien Blin
ad3e02f5ef misc: fix crash on invalid iterator
Change-Id: I7a5eb63fb2d6ad08e4826905e873bcbe95bf2a0b
GitLab: #860
2022-11-21 09:26:55 -05:00
Sébastien Blin
4a429072c8 swarmdetailspanel: show for 1:1
This allow users to set a color, notification preferences and get
access to all documents in a conversation.

Change-Id: I8fd4a46c0940afa0436f9c5b91188f87a05c5a2d
2022-11-19 11:54:44 -05:00
Nicolas Vengeon
a891b2636f Chat-view: animated image messages aren't animated
Change-Id: I98e8307c1d44a983939a096e2171ff8cf12f4220
GitLab: #860
2022-11-18 17:32:06 -05:00
Amin Bandali
72315f918d build: Use WITH_DAEMON_SUBMODULE rather than LIBJAMI_BUILD_DIR.
* extras/scripts/install.sh: Use WITH_DAEMON_SUBMODULE rather than
LIBJAMI_BUILD_DIR in install.sh, which is called by our build.py
convenience script.

Change-Id: I5ee797608110bf5e4dbb292fce872f0c5d77e846
2022-11-18 15:51:30 -05:00
Amin Bandali
cb7b0fee61 scripts: Update commit-msg from Gerrit 3.6.1.
Change-Id: I1c7099fd82251a1434bebcaf804278cedbb6e6d9
2022-11-17 15:01:27 -05:00
Amin Bandali
355c0e63d5 build: Import build.py and associated scripts from jami-project.
Bring over the build.py script and its associated scripts from the
scripts subdirectory of the jami-project.git as of commit
14a328b88007bff5ea21650fb00f6d4ead14cf02, with small changes to
simplify and drop unneeded parts and adapt to their new locations.

Change-Id: I500702854e45392a931ff7505e191b966015cd16
2022-11-17 14:57:32 -05:00
Amin Bandali
adcdcc8c1e build: Move build.py to extras/scripts/build-windows.py.
This build.py script is Windows-specific, as such we move it to
extras/scripts/build-windows.py in preparation for importing the main
cross-platform build.py script from the jami-project.git repository.

Change-Id: I7d7d98ffb67f7fcdea767d28fd8cdefabea98d4b
2022-11-17 14:56:24 -05:00
Sébastien Blin
60617a280c misc: improve UX when disconnected/disabled
Show a notification in the conversation like Anroid when the account
is disabled or when there is no network connectivity

Change-Id: I0f875fd24a2b29b8f7f48746651b156451e1250f
2022-11-17 13:58:08 -05:00
Sébastien Blin
0996b167d9 swarm: add call buttons and interactions for multi-swarm
+ Add call buttons to start a new call
+ React to events from the swarm
+ call interactions (Join call/Call ended, etc)
+ active calls area
+ Add call management logic in LRC
+ Feature is enabled via the experimental checkbox

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/312
Change-Id: I83fd20b5e772097c0792bdc66feec69b0cb0009a
2022-11-17 13:16:02 -05:00
Sébastien Blin
9b2dbb64ea misc: fix build without webengine
Change-Id: I2511cd89e1ce7f60424f69ab6576d7fb992dd58c
GitLab: #881
2022-11-15 09:51:19 -05:00
Andreas Traczyk
9e4f5a19c6 misc: regenerate qml.qrc at configure time
Our qml.qrc is:
- commonly in conflict and prone to erroneous conflict resolution
- platform dependant (generation is used anyway for removing
  webengine dependant resources)
- a poorly maintained hodge-podge with resources in subdirectories
  that aren't grouped
- requires alteration when moving resources (if not done correctly,
  without tests, results in uncaught runtime failures)

This patch uses a python script at configure time to generate the
qml.qrc resource file, and removes it from versioning.

GitLab: #749
Change-Id: Ia2b81bb5b2c29d0bf6f5a5302e76795864e93e40
2022-11-15 09:51:19 -05:00
Andreas Traczyk
a230365a92 misc: clean image resource generation python script
Conform to PEP8 and Qt6/QML (remove QtQuick module version).

GitLab: #749
Change-Id: Ibccc8023e6f622f039bcdb470f3cade34cc2be9e
2022-11-15 09:51:19 -05:00
Jenkins
eb543c34be i18n: automatic bump
Change-Id: I69391eb6df08bf1727b15802832ddd7ad07e3c3d
2022-11-14 16:42:51 -05:00
Sébastien Blin
f8ff14f278 misc: change "hide audio-only behavior"
+ Rename to "Hide spectators"
+ Hide if audio + video are disabled and not hand raised

Change-Id: I08e18731c28ceaa8222806ea6223e35d7af445a2
GitLab: #822
2022-11-14 11:48:38 -05:00
Maxim Cournoyer
e2ce5c4d98 Move xcb include/link directives from jami to libclient.
Relates to <https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/882>.

This problem was discovered when attempting to build the test suite:

   ld: ../src/libclient/liblibjamiclient.a(avmodel.cpp.o): undefined
   reference to symbol 'xcb_get_setup'

* CMakeLists.txt: [!(APPLE or MSVC] Move xcb includes and link directives to...
* src/libclient/CMakeLists.txt [!(APPLE or MSVC]: ... here.

Change-Id: If9b6653e157081300caad8f13cafe4979a49630b
2022-11-14 09:28:04 -05:00
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