1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-02 05:45:59 +02:00
Commit graph

1132 commits

Author SHA1 Message Date
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
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
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
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
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