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

637 commits

Author SHA1 Message Date
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
Andreas Traczyk
f2ba34ca51 accounts: introduce currentaccount
A structure to represent the currently selected account and it's
properties as observables.

Change-Id: I6b4ae92e15b492a4c4d61ec5da019e2c7e937401
2021-08-17 10:14:57 -04:00
Andreas Traczyk
2410262fae chatview: focus on the message bar when selecting a conversation
This patch restores the auto focus with new QML message send bar.

Change-Id: I34e76c246c3d22c27d5e07f0294f18404a612f2c
2021-08-17 08:53:59 -04:00
Andreas Traczyk
db6c39cc4c chatview: hide the show plugins button for read-only conversations
Gitlab: #492
Change-Id: I4f5d0ed77dd8d2b4ed20af37525b9d33e967d649
2021-08-17 08:53:59 -04:00
Andreas Traczyk
53b5add8e7 chatview: make participant avatars available in the webview
Gitlab: #492
Change-Id: Ia9df04b26d80b9178993d73bb6ec3f8d187178f9
2021-08-17 08:53:59 -04:00
Jenkins
47c8f6014e i18n: automatic bump
Change-Id: I7e6aa5dfbf893418099a9ed92cbfb3caa977d092
2021-08-16 16:42:51 -04:00
Ming Rui Zhang
51c09e0142 filesToSendDelegate: use js startsWith to check qt resource url
Gitlab: #492

Change-Id: I67c9c1eafe29ce8d8a150af2b914a15f9c74d7f2
2021-08-16 12:16:06 -04:00
Ming Rui Zhang
a811b9666c materialLineEdit: ui simplification
materialLineEdit should be a rather simple component and
any futher changes should be in another component such as
UsernameLineEdit.

Change-Id: I7d284c6fa87653468e64fd42874f8042a58d99cf
2021-08-16 09:20:32 -04:00
Ming Rui Zhang
37fd251413 wizardview: line edit enter key submits
Add enter key event handle for lineEdits in wizardview

Gitlab: #470

Change-Id: I41948196742068cd0a03ff37efe93982410e91ce
2021-08-16 09:20:19 -04:00
Ming Rui Zhang
77b8f2858e keyEvent: replace the unclear StandardKey comparisons
StandardKey.MoveToNextLine, StandardKey.MoveToPreviousLine
and StandardKey.InsertParagraphSeparator maybe confusing and
better to be replaced by direct key comparisons

Change-Id: I13361a43437214b9368d01a97b2e542f57835964
2021-08-16 09:20:02 -04:00
Ming Rui Zhang
6ceba6a792 profilepage: improvments on ui
1. Remove the "Select file" button during the camera picture-taking process
2. Add missing cancel (x) button during the first step of the camera picture-taking process
3. Disable all interactive components when the account creation is unfinished

Gitlab: #486
Change-Id: I91e279052aecdd9327f59e9a1377c344d9052323
2021-08-16 09:19:55 -04:00
Andreas Traczyk
9d6fe53f40 callpages: consume currentconversation observables
Change-Id: Ib8a1cf6fe3ba90c973c89e4806cfd3d6da1aa390
2021-08-13 16:20:22 -04:00
Jenkins
2ee3ec078b i18n: automatic bump
Change-Id: I100680c0e5bb4d8fad96ffda9c1737843e506c2a
2021-08-13 16:16:54 -04:00
Andreas Traczyk
014362c8c3 convs: remove user interface to removeConversation
Change-Id: I2e11054cdbc73b3b196c4d9559836afe2e90a69b
2021-08-13 13:43:52 -04:00
Andreas Traczyk
a45754ed8c conversations: provide descriptive help banner for read-only convs
Adds a new chat view footer to describe for read-only conversations
to describe the concept and provide options to remove the contact
or restart a new conversation with the contact.

Gitlab: #475
Change-Id: I6ca0e8dfbf49f17a6ff93a2744c552b76d923773
2021-08-13 10:21:15 -04:00
Andreas Traczyk
6d0c125546 misc: remove some uses of the "ring" uri prefix
Change-Id: I3c9e065264b551eb0d28de743b4568116b1e0ec0
2021-08-12 15:08:54 -04:00
Andreas Traczyk
9914d496de misc: refactor materialbutton
A button component should have implicit dimensions based on it's
content item. This patch provides implicit dimensioning around the
content item so that non-fixed size buttons can be made by not
specifying the preferredWidth property.

Change-Id: Idc30eb1d9a33d8dd4b416e1060b45593b4fc4cba
2021-08-12 15:08:30 -04:00
Ming Rui Zhang
2bbb452e65 importFromDevicePage: clear all textFields when entering the page
Change-Id: Ia72453166b28b0a598288663c4b5d84461556b38
2021-08-12 15:03:52 -04:00
Sébastien Blin
7ccfd469d4
messagesadapter: re-add isSwarm
This show "Copy to Downloads" for file transfer in swarm.

Change-Id: I7002ce22898ced361ca3df1fa535dd7ec88e0d70
GitLab: https://git.jami.net/savoirfairelinux/ring-project/-/issues/1282
2021-08-11 16:59:13 -04:00
Andreas Traczyk
748e161b2b video: don't start the camera for no reason when it's plugged in
When the video device count goes to 1 from 0, previewing is
activated even if we're not in the av settings view. This patch
emits a signal that can be responded to by the settings view.

Gitlab: #489
Change-Id: Id0ed2809015359423ec0f829d8494f598a89c8ea
2021-08-11 10:08:00 -04:00
Andreas Traczyk
2ea0a000e1 swarm: fix chatview ui state when selecting conversations
depends on: https://review.jami.net/c/ring-lrc/+/18979

Change-Id: Ic29e5a6f6eced04a095dd097352c37ca0b253eda
2021-08-09 16:59:22 -04:00
Sébastien Blin
7531305be2 account: add support for sendReadReceipt
Change-Id: Iba44d7b7618c61db01d37477aee0a73ead094ca8
GitLab: https://git.jami.net/savoirfairelinux/ring-daemon/-/issues/599
2021-08-09 09:30:27 -04:00
Andreas Traczyk
6b3bf5149f misc: add a qml adapter class to represent the current conversation
Provides observable property representations of a conversation info
structure. Is updated when the selected conversation Id changes.

This object is only exposed in this commit, and will be used in
subsequent commits to introduce a more declarative approach in the
UI code.

Change-Id: I25be0f6b82cf9341b67fbf04fdeb04bffbf8ab24
2021-08-06 11:56:01 -04:00
Ming Rui Zhang
c2be09f55a test: add wizardview key navigation test
Gitlab: #470

Change-Id: I598cab490149739858958e89cc40cabb5820714a
2021-08-05 12:48:04 -04:00