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

710 commits

Author SHA1 Message Date
Ming Rui Zhang
fa313b002c messageListView: add ScrollToBottomButton
Gitlab: #551

Change-Id: Iea2d90248a8c16cf96d9e97f72bdf98e0f6f13a0
2021-10-07 14:29:41 -04:00
Amin Bandali
5a1b6d86c2
cmake: fix recently broken build
FindPython3 sets a different variable than the old FindPythonInterp,
namely it sets Python3_EXECUTABLE instead of PYTHON_EXECUTABLE.

Change-Id: I423bf0b9eb68d9fea42f8f51b72154a01449f095
2021-10-07 14:17:38 -04:00
Amin Bandali
c81ee90720 cmake: use FindPython3 on cmake >= 3.12.0 to require Python 3
Change-Id: Ic67188880997ee447bb12b53ee4c9455c1182200
2021-10-07 12:00:38 -04:00
Amin Bandali
930b882246 Revert "build: Make Python a required dependency."
This reverts commit a2e8238be5.

Reason for revert: breaks build on systems that symlink
/usr/bin/python to Python 2 rather than Python 3 -- for example,
Ubuntu 18.04.

Change-Id: Ia58fb4d9b337e65d0a7118ecbaa7e22e4b4619c2
2021-10-07 11:52:59 -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
Jenkins
e0b28eed7b i18n: automatic bump
Change-Id: I066e96e2cbe00751673d24e470c1e93442533152
2021-10-04 16:42:56 -04:00
Sébastien Blin
d0ae6190bf
revoke dialog: fix text color
Change-Id: I61bc0ed71d79bdd268d19d7dccadb44350766b26
GitLab: #519
2021-10-01 15:11:57 -04:00
Sébastien Blin
86fbe7d000
misc: update README
Change-Id: Ia637a958c0379af432561e568bfc5b818278d713
GitLab: #542
2021-10-01 14:24:00 -04:00
Maxim Cournoyer
a2e8238be5 build: Make Python a required dependency.
Python 3 is required to generate the resources.qrc file.

Change-Id: Ifb82097183715e6a1a1008a1bb58272afd8019ec
2021-10-01 09:30: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
Amin Bandali
42c5de9d3c
gitreview: update gerrit host and project
Change-Id: Ic3e2ea7200325983b508fe24a332e445b820acfb
2021-09-28 15:55:28 -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
Jenkins
106a37e8aa i18n: automatic bump
Change-Id: I5142f5176ad250a8c9bc8881149b8bb54c749a81
2021-09-20 16:42:56 -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
Jenkins
dc393c7ad0 i18n: automatic bump
Change-Id: I1667374590a4e88f34ff6ebed214047dda1d6e5e
2021-09-13 16:42:55 -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
Jenkins
be6c917c5d i18n: automatic bump
Change-Id: I3477ee2540a8ef8864334ccfd472adbc8e015934
2021-09-06 16:42:51 -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
Jenkins
8ef6029f75 i18n: automatic bump
Change-Id: I5b7f816cc8358a084e79fb21d54400a407d0cedb
2021-08-30 16:43:03 -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
Jenkins
b8542d5d8a i18n: automatic bump
Change-Id: Id05b3b191a83be704dc5d26a9d6c63148351c51a
2021-08-23 16:42:49 -04:00
Andreas Traczyk
32ac718ef4 qmlengine: bump version to 1.1 for custom modules
Change-Id: I6e912c7a3dbba63f874b063770ba5c68a3f2de2f
2021-08-23 14:40:18 -04:00
Andreas Traczyk
0521bd21f7 qmlengine: homogenize qml module registration
Make sure all the calls to register are using the same versions
from qmlregister.h.

Change-Id: I1b6d2b168778fa91d16342765c93ad732de596e0
2021-08-23 14:28:23 -04:00
Andreas Traczyk
e49e7805e7 misc: don't use 'required' qml keyword
Support Qt versions less than 5.15. This is not a good idea.
Something is wrong with package deployment.

Change-Id: Idc3daef154f7994f8e5ca089a3a0c6fe4d97dacf
2021-08-23 14:22:38 -04:00
Andreas Traczyk
d6300c2fd3 tests: remove test_createAccountPageKeyNavigation
This test relies on jams server response. We should be providing
a fake lrc implemtation for testing to guarantee signal emission.

Change-Id: I6a15d729d87db15ab535bec0962e1166a6944b33
2021-08-23 14:22:27 -04:00
Andreas Traczyk
e87e0d97e0 qrcode: fix account qr code generation
The current account id is passed to the qr image provider but is
interpreted as a model index.

Change-Id: I5e2a94d5d02d07daa4826315a5d76925e80f033e
Gitlab: #490
2021-08-17 15:26:08 -04:00