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

1416 commits

Author SHA1 Message Date
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
Ming Rui Zhang
576da3e087 wizardview: add key navigations
Gitlab: #470

Change-Id: I2ec5c4a4b490895ea32fef64baf1e7c5b85cf9d5
2021-08-05 12:48:04 -04:00
Ming Rui Zhang
b6a566d13f wizardview: hide back button while waiting for account generations
Gitlab: #470

Change-Id: I79d1b5c77ae9e983e1c264532727616afb23f3ab
2021-08-05 12:48:04 -04:00
Ming Rui Zhang
4f56712c67 wizardviewstepmodel: remove profile page flow from imported accounts
Gitlab: #470

Change-Id: I9dd65e83885e89b447d6354c984d3d707e9f7061
2021-08-05 12:48:04 -04:00
Ming Rui Zhang
4884708a3d welcomepage: refine showAdvancedButton toolTipText
Gitlab: #460

Change-Id: I9f6bba8b93974922ad45f68365e2eb8d60eff2b3
2021-08-05 12:48:04 -04:00
Ming Rui Zhang
bbdecfaa9b wizardview: add tests & small issue fixes
1. Move accountStatusChanged and profileUpdated signals
   out from safeInit.
2. Add interrupter concept into Utils::oneShotConnect
   to avoid oneShotConnect being triggered after.
3. Add varieties of tests for wizardview including
   accounts creation tests (SIP, Jami, Rendezvous, Backup)
4. Remove uncleared stackLayoutIndex

Gitlab: #470

Change-Id: I22c04811110b277eee53610f4ae34c924316a20a
2021-08-05 12:48:04 -04:00
Andreas Traczyk
a3aea50985 misc: prevent tooltips from being clipped by the main window
Change-Id: Id46bb3920e992101561fcb558fb4f8cb7571f6b1
2021-08-03 13:07:44 -04:00
Andreas Traczyk
f42cd49c25 chatview: avoid drawing a duplicate id in the header
Change-Id: I88e37cac4bce5ba2b66ea7d35d54da84df7ecb86
2021-08-03 13:07:39 -04:00
Andreas Traczyk
519ced58f7 chatview: don't call printHistory
Use updateHistory instead. This prevents "Contact added" message
duplication. We also clear the unread messages at this point which
will prevent an uncleared unread first message when adding a new
conversation.

Gitlab: #482
Change-Id: I927e15dfe945aa3f2f33db3fb91739522db5ea9b
2021-08-03 08:55:56 -04:00
Jenkins
06ebd40b2d i18n: automatic bump
Change-Id: I0f3951cf470eb1dddd3139a2263874152adfa6ac
2021-08-02 16:43:07 -04:00
Andreas Traczyk
f05ffbce44 swarm: prevent interacting with read-only conversations
Read-only conversation has:
- a lock icon in the smartlist item
- no message send bar in the chat view
- no call actions available from the chat view header
- no call actions available from the smartlist context menu
- no double click to call

Change-Id: I0497b94038b450f0a0a22fc007de1281b7b2214d
Gitlab: #475
2021-08-02 12:10:41 -04:00
Ming Rui Zhang
e2dbc33ac0 test: enhance the google unit tests of the client
1. Move JAMI_DATA_HOME, JAMI_CONFIG_HOME, JAMI_CACHE_HOME
   setup into individual test main entry
2. Use google test assertion macros instead of Qt
3. Add QT_QPA_FONTDIR to avoid QFont warnings
4. Tests will now fail if the env variables cannot be set

Change-Id: I63f6498d26b646d8ebc60799d8797fd5f13b54f9
2021-07-29 14:17:45 -04:00
Ming Rui Zhang
0aa3275b93 misc: use BackButton when necessary
Change-Id: I220038edeb4dc83d85d8e4048168c97c2a992940
2021-07-29 10:48:50 -04:00
Ming Rui Zhang
234ee7a2e9 wizardview: refactor account creation ui and enhance flow
1. Use MaterialToolTip in MaterialButton
2. Add BubbleLabel and BackButton
3. Add WizardViewStepModel
4. Focus re-visit

Gitlab: #470

Change-Id: I818da76c4b97cb08d2b6df6b2c8e2752d7a522f2
2021-07-29 10:48:39 -04:00
Ming Rui Zhang
7657de1176 ringtones: use correct default ringtone folder for FileDialog
Change-Id: I95c4713ffdb8e772dcea3edc5cdeb0eaa1080c75
2021-07-28 15:37:17 -04:00
Ming Rui Zhang
05a602c81c cmake: add missing ringtones deployment
Change-Id: Ie56185a88e57606337d45bea8f70259433ba476c
2021-07-28 15:37:01 -04:00
Andreas Traczyk
397b799cbf swarm: swarmify the message view
Change-Id: I85a070e8ea44b108fa75d69a8c6f544e8e2c8581
2021-07-28 12:25:32 -04:00
Sébastien Blin
488d735dfd wizardview: do not show profile page for imported account
as the avatar and alias will come from other connected devices
and from the archive too.

Change-Id: Ia3cbb91d4802c4119538c709a2432e45d396624c
2021-07-27 13:27:34 -04:00
Andreas Traczyk
d10e519d4e resources: remove unused icons
Gitlab: #477
Change-Id: Ie8be0721017f18de656874a0b82cc8d5a97276fa
2021-07-27 13:26:53 -04:00
Andreas Traczyk
279f92d2af misc: generate image resource files during cmake configure
resources.qrc & src/constant/JamiResources.qml are unversioned.

Glob checks for changes to the resource dir and forces a
reconfigure.

Change-Id: Ic88e4e861b8367ba44bc0eea6c323e08310afb8b
Gitlab: #477
2021-07-27 13:26:53 -04:00
Jenkins
2a291486ef i18n: automatic bump
Change-Id: I904cecba7f821e5f7f333fd7c8566644703dea85
2021-07-26 16:42:58 -04:00
Sébastien Blin
a19ffcaca7
misc: update IRC address
Change-Id: I76c89a32c52bc6e4e87645e5a4153e9ff6b510ea
2021-07-23 07:51:10 -04:00