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

1053 commits

Author SHA1 Message Date
Sébastien Blin
f69df3416c messages: add read receipt support
Change-Id: Ide4b1336a13972a9291cb1e9e2bf881b32b97198
GitLab: #468
2021-11-04 13:35:55 -04:00
agsantos
4a2bf0d61e calls: hide video related features if video disabled
Call controls and features are restrained if video is disabled in account advanced settings.

+ Do not show "accept in video" if there is no video device available

GitLab: #525
Change-Id: Iacc8801c8a302a1b00642a6c31603973ff5f24b6
2021-11-02 15:24:57 -04:00
Sébastien Blin
2d22884939 messagesadapter: remove useless method
openFile is unused

Change-Id: I991ccf489f742f87dda4af206766956b95772fa5
2021-11-01 14:21:48 -04:00
agsantos
a79ea5fd3f conference: add handsUp feature
GitLab: jami-project#855
Change-Id: Ic76b717fb70f5c8aec332f92ed38ecb57fbaaa16
2021-11-01 11:09:21 -04:00
agsantos
021ab43dfe calls: file/screen sharing in audio only calls
GitLab: #499
Change-Id: I76754b4b32cde4cf8445c6058649aab912d7a0b4
2021-11-01 11:09:21 -04:00
Sébastien Blin
641730c425 rendermanager: fix rendering on GNU/Linux
use directRenderer storage if libwrap is enabled.
Avoid potential crashes by replacing reserve by resize

GitLab: #580
Change-Id: I5b8d83a6be2157164b755156bb16a424b38c70ad
2021-10-29 12:16:26 -04:00
Ming Rui Zhang
39c029da6e messagedelegate: add author property to DataTransferMessageDelegate
Avoid potential undefined access to child author property

Change-Id: I3926243ff20cab9c66ac8c6e6b61e71fe46b8a63
2021-10-28 16:58:00 -04:00
Ming Rui Zhang
8874bc94e9 sip: fix sip account password onEditFinished
Change-Id: Ic308ccc2571917cba0d6bd9316a8d0d4b3b29599
2021-10-28 16:54:59 -04:00
Andreas Traczyk
ab934442bc chat: fix "open location" feature on windows
+ 3 or 1 slashs in file scheme (rfc1738 3.10)

Change-Id: I77c9be41a5f4b7ca99929d53efbf1883ed127d52
2021-10-28 11:45:48 -04:00
Andreas Traczyk
996ad1d58c Revert "chatview: remove useless /"
rfc1738 3.10 describes the file URL form: file://<host>/<path>
According to wikipedia, "file://path (i.e. two slashes, without a
hostname) is never correct, but is often used."

This reverts commit 4e6336d8dd.

Change-Id: Ic3f7c48eb5faa1ec97347328a03c8fda94513faf
2021-10-28 11:28:24 -04:00
Sébastien Blin
4bfe269029
datatransfer: add context menu to open location, export to downloads
Change-Id: I90fcbc735f084ab37abfa3b466b97cf56c640247
2021-10-27 16:38:46 -04:00
Sébastien Blin
5ddfab1b7b previewEngine: fix display hyperlink preference
Change-Id: I3c9813e41f6c857d096d9d685d5902d3c4c361cd
2021-10-27 14:57:22 -04:00
Sébastien Blin
4e6336d8dd
chatview: remove useless /
file:// is enough for the scheme

Change-Id: Ic1500155f9025b8f4c55252c0a5468c822d8c315
2021-10-22 17:01:26 -04:00
Sébastien Blin
9cc1848897
chatview: open files on click
Seems that Qt.openUrlExternally doesn't find symlinks. At least
with MessagesAdapter::openUrl everything seems good

Change-Id: I636822a7f2f7e9ef27f2faedb49987ea2cbba343
2021-10-22 17:00:39 -04:00
Sébastien Blin
dd1ea5c2dc
messagebar: fix paste
Change-Id: Ifd1a6a24535ffbab6576993dde7dd23bb6200185
2021-10-22 10:22:02 -04:00
Ming Rui Zhang
3185df0837
messageListView: add typing indicator
Gitlab: #552

Change-Id: I0a4dc3b61a22aafb40d8a301033c59d2cc02bc79
2021-10-21 10:34:50 -04:00
Sébastien Blin
02a80519ab
settings: hide STUN settings for Jami accounts
as the DHT will do the job of the STUN

Change-Id: If122f93f0430c687c040b31066a8bd5b61cf03ee
2021-10-21 10:23:39 -04:00
Ming Rui Zhang
fa313b002c messageListView: add ScrollToBottomButton
Gitlab: #551

Change-Id: Iea2d90248a8c16cf96d9e97f72bdf98e0f6f13a0
2021-10-07 14:29:41 -04:00
Ming Rui Zhang
b3788e0082 misc: do not cache AnimatedImage in message delegates
Change-Id: I8448d3eb3b277be60b6223cfe1b3956c9cbc20fd
2021-10-06 15:58:54 -04:00
Ming Rui Zhang
b00d61fc90 lrcinstance: clear the interaction cache when switching the conversation
Gitlab: #550
Change-Id: I713af229a3f90ca9d6b3e526ae3c710e7f573c66
2021-10-06 15:58:31 -04:00
Ming Rui Zhang
44fdbb8378 messages: divide up MessageDelegate and use DelegateChooser
1. GeneratedMessageDelegate, TextMessageDelegate and
   DataTransferMessageDelegate
2. DelegateChooser in MessageListView

Change-Id: I5a3718f59e74b3499afc4abfa2826bab6cf442c8
2021-10-06 15:57:56 -04:00
Andreas Traczyk
e85d4506de chatview: implement side-by-side styling
+ fix multiline richtext
+ add SBS msg bubbles
+ limit timestamp visibility
+ render link previews
+ render data transfer interactions

Gitlab: #467
Change-Id: I80b6db33d786180d479730213855b9816bea4793
2021-10-06 15:55:24 -04:00
Sébastien Blin
fe9745ce23 messagewebviewheader: clean code
+ Change name to ChatviewHeader as no webview
+ Avoid anchors hell and use a RowLayout

Change-Id: Iff4bbeabc70cfa496a7a208ee5da0c9ea1b6ff08
2021-10-06 15:51:59 -04:00
Trevor Tabah
2e67dc1bd8 chatview: replace web chat view with qml listview
Introduces a primitive QML ListView based chat view lacking
features present in the previous web chat view, that will be added
in subsequent commits(styling, preview/media/link/file-transfer
message type support, etc.).

Gitlab: #467
Change-Id: Iedc40f6172a6cdacc48cda6f4187053fbf226713
2021-10-06 15:51:20 -04:00
Sébastien Blin
d0ae6190bf
revoke dialog: fix text color
Change-Id: I61bc0ed71d79bdd268d19d7dccadb44350766b26
GitLab: #519
2021-10-01 15:11:57 -04:00
Ming Rui Zhang
9807ed0947 backupKeyPage: fix unfunctional export account logic
1. Logic fix - use file url instead of folder url
2. Add informative dialog like it used to have

Gitlab: #540

Change-Id: I73e8335e65d7048294f88988991888ab244b3144
2021-09-28 16:26:41 -04:00
Sébastien Blin
98a6a396e4
lrc: let lrc hold conferences
Change-Id: I2eddb949a8d8e33186cef201ccbdf065c7fcf4db
2021-09-21 17:10:06 -04:00
Andreas Traczyk
68c1665a51 photobooth: don't save cropped image data to the profile vcard
Change-Id: Iab7e5b9f7f8128bed25b75256eb228588704fa5a
2021-09-21 09:58:46 -04:00
Sébastien Blin
3f27289fd8 messagesadapter: do not use .arg() for printing messages
This breaks messages with %Num inside. .arg() is useful for
l20n but here we don't care as the two arguments will always be
in the same order.

GitLab: #529
Change-Id: I018bdecdf51d30be887ab4a50ef54401f2f34235
2021-09-16 15:29:58 -04:00
Sébastien Blin
d058ce201d linkdevicedialog: do not cut pin
GitLab: #527
Change-Id: I88ccd32f044fe352400c7971ef41c52277a33c84
2021-09-16 14:29:16 -04:00
Ming Rui Zhang
e0737f4b70 settings: refactor for SettingsView - stage two
1. Remove redundant functions in AvAdapter
2. Add CurrentDevice for video device treatment
   Audio device treatment should be improved in the next
   stage
3. Add QSortFilterProxyModel to all video list models and
   manage them together to avoid redundant function calls
4. Video device call action should be responsive to device
   change as well

Gitlab: #508

Change-Id: I3df949a08bc19042b73f033139cd6ab06925c0b6
2021-09-14 16:52:45 -04:00
Ming Rui Zhang
a196513d2e settings: refactor for SettingsView - stage one
1. Add account config QML properties and use them
   in settings directly to avoid manual update
2. Rough clean up for video/audio settings
3. Remove settingsAdapter entirely and split the
   responsibility

Change-Id: Icf81b91d5a3a0dd9f2a52824159cd222367b801f
2021-09-14 16:52:30 -04:00
Andreas Traczyk
8e1736fd9e account-migration: fix dialog avatar loading
Broken javascript caused the dialog component to fail.

Change-Id: I049f651e2db16749dbdf8f6fe3ee61df05361986
Gitlab: #524
2021-09-14 15:25:15 -04:00
Andreas Traczyk
f7ce4b69f6 audio-preview: synchronize start/stop calls off the UI thread
Use QThreadpool to queue the start and stop of the audio device preview.

Gitlab: #522
Change-Id: I476e754628e0d1e00475c0ead7f1421579683ada
2021-09-14 09:04:11 -04:00
Ming Rui Zhang
1ab4edb6cc misc: issue fixes for LinkedDevices view
1. Use correct model for calling revokeDevice
2. Fix RevokeDevicePasswordDialog background color

Change-Id: I0056bcde8012d76a9010c6ba95f93a8cb8bffc2e
2021-09-07 11:55:50 -04:00
Sébastien Blin
5bd82d184d linkdialog: add ability to copy PIN
Change-Id: I2471d3e72db309c65dceeade262904cd48055904
2021-09-03 09:01:24 -04:00
Ming Rui Zhang
e7d594b5f7 misc: use single-process mode when migrating to Qt 6.2
Change-Id: I0e02cd89039ff8573c1b8ab974d19976151b4c38
2021-08-31 14:25:25 -04:00
Andreas Traczyk
fdc5af126f calling-views: use currentconversation for ids/names
Prevents out of date monikers visible within the incoming and
outgoing call views.

Change-Id: Ic5154b1aa694d31e2504c55cdb5f1a1eaa99cfa2
2021-08-30 15:14:58 -04:00
Ming Rui Zhang
804ff2ac1b settingsview: add line edit commits
1. Line edit commits for all SettingsMaterialLineEdit
2. LinkDeviceDialog & NameRegistrationDialog refactor
3. Line edit commits for SettingSpinBox
4. Clean up for SettingsMaterialLineEdit, SettingSpinBox
   and SettingsComboBox

Change-Id: I025735ca8d1241e31655e859ac9ce5431985ce0c
2021-08-30 11:45:23 -04:00
Ming Rui Zhang
66edc82b82 settingsview: LinkedDevices view refactor
1. Remove deviceModel from AccountAdapter
2. Use QSortFilterProxyModel to make sure that
   current device is always on top and the rest are
   in alphabetical order
3. Elide device name properly in DeviceItemDelegate

Change-Id: Ic66a11fb4a4a8cca65916653e0981b15c939bce6
2021-08-30 11:45:17 -04:00
Ming Rui Zhang
95315ce608 adapter: move bannedStatusChanged connection out from redundant safeInit
Gitlab: #492

Change-Id: I8bab7bc1cd1f5bdbf7c6c54e615a21690dad1585
2021-08-30 11:45:14 -04:00
Ming Rui Zhang
cc440b93a7 listview; remove unused border in ListViewJami
Change-Id: Ie0e704090bf00002d6db9327396485fb32061a98
2021-08-30 11:45:11 -04:00
Ming Rui Zhang
4a2fd81e19 defaultModerator: fix contact picker for default moderator
Gitlab: #509

Change-Id: Iaaffd774c673a18029104977b0248705f8826118
2021-08-30 11:45:06 -04:00
FuchtelJockel
8871db4986 build: fix includes, add glib and gio to CMakeLists.txt
First I added glib to cmake this fixed the glib.h not found error.
Then I got build errors from the missing GIO include as seen in the linked issue.
After adding the #include <gio/gio.h> the linker failed to find the gio library.
After adding the gio check to cmake all build issues were solved.

GitLab: #504
Change-Id: Iac537e10261f2e9dfa61029c4591e000851a378c
2021-08-30 11:07:08 -04:00
Ming Rui Zhang
dff474700c messageBarTextArea: disable overwriteMode
Gitlab: #492

Change-Id: I2d7f42d30adc51394e066ece776db4e0a2ffe96f
2021-08-26 14:59:12 -04:00
Sébastien Blin
85286bb874
linux: disable qmldiskcache
Seems bugguy on some distributions...

Change-Id: I985d64cc36445ce2b68fe091ad060601071a3e04
2021-08-25 14:39:39 -04:00
Andreas Traczyk
ce0c7124af misc: homogenize source file line-endings to LF
Change-Id: I1623baee58bed8cd70900abc4085b49e54b50c4b
2021-08-23 19:23:09 -04:00
Andreas Traczyk
b334ed370b misc: bump QML modules versions to x.15
Change-Id: Ia80632cf2e217e8dd6844a6a8c0d0d8c0f6e1baf
2021-08-23 19:14:06 -04:00
Andreas Traczyk
a2b5e77568 misc: cleanup QML import modules
Change-Id: Ia344d9f57a216f2d27ef40153af2d6bd787bfb77
2021-08-23 19:12:02 -04:00
Andreas Traczyk
53c1c4b83b misc: remove VideoCallPageContextMenuDeviceItem(unused)
Change-Id: I42d84f9e80e87f5e17ed5e1c40811009660fdf8b
2021-08-23 18:46:17 -04:00