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

1728 commits

Author SHA1 Message Date
Sébastien Blin
1b51dcc8e6 misc: fix webengine initialization
Change-Id: I1210f5ca8c98d80aea0bcc6f8591aba4a968b07b
2023-05-17 11:48:35 -04:00
Andreas Traczyk
1943cda28d avmodel: use QReadWriteLock instead of QMutex
Change-Id: I27a829e6b6b57fbe31fc3fcf49fce4ba2bfaf168
2023-05-16 15:11:39 -04:00
Sébastien Blin
9a5829803e ongoingcallpage: fix vertical layout
Change-Id: I695b1c737c4bd08a8352176877f0ec2797a36c24
2023-05-16 13:51:10 -04:00
Sébastien Blin
d17578ffa7 packaging: fix build for Qt6 webengine
Fedora:
"WARNING: QtWebEngine won't be built. Python3 html5lib is missing."
Ubuntu 20.04:
Curl not found for nodejs

Change-Id: Ic35aee309f25be20a8934b5033e3fe3ea0a8b6c0
2023-05-16 13:51:10 -04:00
Sébastien Blin
992fdb7d5e TextMessageDelegate: fix "Deleted message"
Because we moved from markdown to rich text, we should use "<i>"
instead of "*"

Change-Id: Ie67f1db247534d96a7a5432b193cf327418fd21b
2023-05-16 13:51:10 -04:00
Sébastien Blin
fa406c70eb packaging: add submodules to packaging
Change-Id: I820865a0477aaab73f79dc504f35a668fc076603
2023-05-16 13:51:10 -04:00
Sébastien Blin
5e48794638 misc: fix link on macOS with updatemanager
Change-Id: I5dda5a48b4203d16b949d59689e2bbda4e4cebd4
2023-05-16 13:51:10 -04:00
Jenkins
ad205e994f i18n: automatic bump
Change-Id: I616654a52abb5c568f4dc8a0dbc077e431e1d635
2023-05-16 13:13:40 -04:00
Andreas Traczyk
0b11282d88 avmodel: hold lock when erasing renderer
Change-Id: If10ad2bf40ce05b0052016123755f4c9dca18097
2023-05-16 08:44:13 -04:00
Sébastien Blin
9a3634471e qt6: fix DropShadow
Change-Id: I8bab1ea3560a584074bed9644a2c40ed51009208
2023-05-15 15:44:22 -04:00
Andreas Traczyk
8db188c513 chat: preprocess text msgs w/md4c+tidy-html5
Introduces MessageParser to encapsulate text treatment for raw text messages.

The async parsing sequence is as follows:
- Markdown -> HTML (md4c)
- link coloration (tidy-html5)
- notify UI
- request link preview info from PreviewEngine for the first link
- Preview engine uses QtNetwork instead of QtWebengine
- Linkification is handled by MessageParser instead of linkify.js

QtWebengine is no longer required for message parsing.

Gitlab: #1033
Gitlab: #855
Change-Id: Ief9b91aa291caf284f08230acaf57976f80fa05b
2023-05-15 15:44:20 -04:00
Sébastien Blin
07527be378 misc: bump daemon
Change-Id: I44673b296f0a6e20d8f15a0bf93d8ff0bf640b03
2023-05-15 15:29:31 -04:00
Vladimir Stoiakin
9b876c198e videoprovider: cleanup synchronization with the scene graph renderer
Applies some suggestions based on reviews by vstoiakin regarding concurrent resource access and overall structural simplification.
- Create and handoff ownership of QVideoFrames each frame
- use QReadWriteLocks when multiple reads are possible instead of QMutex
- remove the superfluous layer of unique_ptrs on QVideoFrames which are explicitly shared using QExplicitlySharedDataPointer for their underlying data.

This patch is required to prevent crashes when using Qt 6.4 and up.

Gitlab: #938
Change-Id: Ia9a9f0310344bcee47dbd88ec622bc3daa2ce6d7
2023-05-15 15:27:04 -04:00
Sébastien Blin
4d2c55348b packaging: migrate from Qt 6.2.3 to 6.4.3
Python2 is removed from Debian stable/unstable and
latest Ubuntu. So, we need to use a newest version of
Qt (here Qt 6.4.3).

Change-Id: I6c8b1eee644aab787d54e467f64011762ffd7548
2023-05-15 11:27:50 -04:00
Sébastien Blin
2c97fea14d SettingsPage: update design
- moved view layout from appearance to callSettings
- changed layoutView from combobox to radio button
- removed rectangle on radiobutton for theme
- changed typo of appearance
- MaterialRadionButton, added icon, color variables, behavior on visibility

Change-Id: I3b088297799c9aeede6fd092d80fdf49cd89ced9
2023-05-15 11:16:12 -04:00
Sébastien Blin
73419e417a recordbox: fix focus policy on record box
The focus policy was broken and this patch fix also the tests
due to an incorrect conversationModel.

Change-Id: I9e7f76b0dff80548d3b92296f22bdd7b848ee931
2023-05-15 11:16:10 -04:00
Sébastien Blin
2ce880670d qt6: fix misplacements and some warnings
Change-Id: I4ff37c5dd109ed51de3946d9a6337273e1812c64
2023-05-12 15:49:50 -04:00
Sébastien Blin
9207dfcd5b conversationlist: save linked account
This avoid some "contact not found" messages if a delegate is
checked while changing the account.

Change-Id: I05c4affa93a972ac95578507bd8263706e90298b
2023-05-12 15:25:49 -04:00
Sébastien Blin
a5de0d4196 misc: sentence case "Screen Sharing" for consistency
Change-Id: Ibabb824b6bf9d751dc1ffdb03b269ab014d8c990
GitLab: #1078
2023-05-12 11:05:49 -04:00
Sébastien Blin
b6ef1d90e5 misc: fix focus on messagebar
remove undefined values causing the focus on the messagebar to be
broken

Change-Id: I85170ee87d254e0b2764a67b3a0a17fdee535234
2023-05-12 10:56:46 -04:00
Sébastien Blin
53374b7ded chatview: add toast on file saved
Change-Id: Ie3ab68213f9337d5124eda4f989fb23c0e084d64
GitLab: #1027
2023-05-12 09:37:05 -04:00
Aline Gondim Santos
4d8b006c34 settingssidepanel: use ListView
Change-Id: I034edd72522badee2adb1ca558518854938b6deb
2023-05-11 16:00:12 -03:00
Aline Gondim Santos
58a96d14b7 RTL: fix layout width resizing
Change-Id: I65234d22ecd1e3cb3fc6544a449ec8fc1e78aee0
GitLab: #235
2023-05-11 15:39:20 -03:00
Sébastien Blin
e073c6f8a8 i18n: support RTL languages
This patch introduces some mechanisms to fully support RTL languages:
1. RTL detection via UtilsAdapter::isRTL() checking the locale name
2. Using QML mirroring when needed based on UtilsAdapter.isRTL
3. Inverting panels in DualPaneView and JamiListView when needed
with SinglePane support

Moreover, lot of anchors are added to automatically manage layout
updates.

GitLab: #235
Change-Id: I40c245f2d7fae96d796c53505af5403f5e813e7f
2023-05-11 15:38:56 -03:00
Sébastien Blin
44d807e6ab JamiIdentifier: fix registration on button click
Change-Id: Ib319bf5187ed5442d2389b23480860bdfd65c2ba
2023-05-11 15:38:56 -03:00
Andreas Traczyk
02d25db786 video: shm: replace fixed timer with waiting on producer
Removes the fixed rate QTimer that was used to query shm frames, and waits on the producer in a thread loop.

Also factors FPS value tracking into the Renderer base class.

Gitlab: #938
Change-Id: Icf44c8399d70c4127c512802b6cf6c6dccdccfd6
2023-05-11 11:48:51 -04:00
Sébastien Blin
b8bc061a86 misc: bump daemon
Change-Id: I749d8d11419da377cde5a0b799f6da66bb31271e
2023-05-09 15:37:46 -04:00
Jenkins
73a4f38207 i18n: automatic bump
Change-Id: I255a30db1a3dc4602b7bd5f15d9d5a4ca5472931
2023-05-08 16:49:26 -04:00
Sébastien Blin
928c86a85d documentPreview: show default icon if image is not present
Change-Id: I66f048b1ed96d02fe286dfbcf90473ab677979e4
2023-05-05 10:39:09 -04:00
Sébastien Blin
18c997fb99 i18n: remove lrc_* useless block
Change-Id: I35e2d1615d89e7d43a26a9bc59860494192dc06f
2023-05-04 16:32:34 -04:00
Jenkins
7529b1c0c4 i18n: automatic bump
Change-Id: Iea56e63db5b49172be56b0f39d4917faa54473dd
2023-05-04 16:22:35 -04:00
Sébastien Blin
f9b9ab4561 translations: move ring_client_windows to jami_client_qt
Change-Id: I707e96c32d5017dae5d92272e64739efe3c82e05
2023-05-04 16:17:40 -04:00
Sébastien Blin
771e8bcb9d conversationmodel: use mode before conversation deletion
Change-Id: Ibf6fffae59475ce415a60ab1bbf09687d6d30c29
2023-05-04 15:58:39 -04:00
Jenkins
4b0ac910cb i18n: automatic bump
Change-Id: I2badd3e4692fc0491abbe11b6bda2589088f3c36
2023-05-04 15:07:47 -04:00
Sébastien Blin
8e08352231 videosettingspage: remove useless label
if no video device is detected "Preview unavailable" is just useless
as there is no video device listed.

Change-Id: I071da1e211b16f807ed22f69186a567db054c373
GitLab: #1076
2023-05-04 14:15:16 -04:00
Sébastien Blin
d58fcabdbf conversationmodel: fix swarm creation with details
Change-Id: Ie5fff0d9688d82ae0c31d1b07f970a33c80fe26a
GitLab: #1071
2023-05-04 14:15:16 -04:00
Maxim Cournoyer
984ad68195 .gitignore: Do not ignore extras/build subdirectory.
Change-Id: I46a669fbac7610e0af7521c4ecdda3121e543d75
2023-05-04 10:42:16 -04:00
Sébastien Blin
7ec68d326b callsettings: fix ringtone path selection
Change-Id: I033ee8497ad0424b9d106cace7eb796c7ced599b
2023-05-04 10:30:47 -04:00
Jenkins
250fc6b76d i18n: automatic bump
Change-Id: I1afc76507b329bfaa4b72c20a27642292bd627f9
2023-05-03 17:15:24 -04:00
Sébastien Blin
2d3015fa6d revokeDevice: correctly pass password
Change-Id: I4f1cb650884fb58e78bdd6490769cfab43211705
GitLab: #1090
2023-05-03 16:28:57 -04:00
Sébastien Blin
5f98f7cdc6 qt6: fix startSearch usage
Overload incorrectly managed by Qt 6.5 and we must pass a const ref

Change-Id: Ib0a85165b59f6cffd3f01815b803f666623e1b89
2023-05-03 15:04:13 -04:00
Sébastien Blin
bb3011fe62 chatviewheader: fix search visibility
The search bar should not be shown on a conversation request

Change-Id: I31f492c8200cf816021d0b6aa66b248af407a36f
2023-05-01 15:44:30 -04:00
Sébastien Blin
21b5c95eeb misc: fix some strings
Change-Id: Id5b85ed470c546c9903772fde82a23153f03bcf4
2023-04-27 10:26:42 -04:00
Franck LAURENT
dd8bf92f85 ChatViewFooter: add shortcut tooltip
Change-Id: Iceea3bda86ebfcc9c9b5f2b5039187dac9661add
2023-04-26 16:37:59 -04:00
Sébastien Blin
668e6dbe24 packaging: add fedora 38, ubuntu 23.04
Ubuntu 23.04 is not yet functional due to python2 missing.
We're working on fixing Jami for Qt 6.4 (they changed the whole video
pipeline and introduced some breaking changes).
Fedora 38 is working fine.

GitLab: #1086
Change-Id: I51bbecdfbcf908e2bf57c4c002ef4216a34d746d
2023-04-26 14:48:03 -04:00
Sébastien Blin
59843863ce currentconversation: reset CurrentConversationMembers
Else, we may access an invalid index

Change-Id: I0ba0ce2c13c9788ce61a487e0bf9117062dc90d5
GitLab: #1081
2023-04-26 14:46:12 -04:00
Maxim Cournoyer
f6c8197cba Reinstate "cmake: Simplify lookup logic for libjami headers."
The commit was reverted in 2b7a421e due to breaking some of the
packaging builds.  This has now been rectified.

Change-Id: I3ea67962cc65f243f106fe00316634d580f51a52
2023-04-26 14:38:58 -04:00
Franck LAURENT
a7e9ea8e22 FilesToSendDelegate: fix document preview
GitLab: #1089

Change-Id: Ia17f68998fb1b71f2cfbe0406a1dfffc283af0c2
2023-04-26 11:12:55 -04:00
Franck LAURENT
836b64a180 Focus: override activeFocus item
- add an outline on the item that have the active focus
- override only after a tab key press

GitLab: #1082

Change-Id: Ib549052e0fa2fe6d781df6980ce662919925c473
2023-04-26 09:58:49 -04:00
Sébastien Blin
f1f579b056 misc: bump daemon
Change-Id: I6832d1ca8b00fa47ef39643e5d564cd13e67db88
2023-04-26 09:52:31 -04:00