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

1251 commits

Author SHA1 Message Date
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
Andreas Traczyk
1a61af02f3 resources: remove unused images and icons
gen-resources.py should be used to generate resources.qrc and
JamiResources.qml. Steps to add an image resource:
- add the resource file to the appropriate path under resources/
- run gen-resources.py
- use the newly available resource

Note: only icons and images will be represented by Qml properties.

The resource file generation may be made to run during CMake
configuration in a subsequent commit.

Some unused components were also removed during the refactor.

Gitlab: #477
Change-Id: I8e7f13d465031666be2bbadd5f29f9afc94d210d
2021-07-20 21:57:27 -04:00
Ming Rui Zhang
6e4fadcf11 accountComboBox: provide initial value for account status
If the account is initially disabled, the presense indicator
will still show the green color since the initial value is missed.

Change-Id: Ic580e485d4a73867789ef3774045a6939acbae4a
2021-07-20 09:46:00 -04:00
Ming Rui Zhang
14661adac6 tests: add FilesToSendContainer and MessageWebViewFooter tests
1. Adjust QML main setup
2. Add resources.qrc for test and Qt Creator display
3. Change LRCInstance and ScreenInfo to QML Singletons
4. Move QML type registration entirely to qmlregister

Change-Id: I5c8a854173a2ec1f85ffa971707af262fa344505
2021-07-20 09:45:42 -04:00
Jenkins
803ad9a0db i18n: automatic bump
Change-Id: Ib3722cd5ff23fa82b8393678b7fbf189533c7cd7
2021-07-19 16:43:02 -04:00
Sébastien Blin
912fd3f595 accountcombobox: only show username if different from best alias
This follow changes from lrc fixing getBestId.

Change-Id: I6ef298dfbcac9095cd5557c7b1d3caf42c0c3f3e
2021-07-19 16:06:30 -04:00
Sébastien Blin
a6ec3930fc settings: improve update dialog
Change-Id: I5aa4a5d9fa7c4c40fd001fa78237eb1d96531750
GitLab: #332
2021-07-19 15:43:08 -04:00
Andreas Traczyk
ab4c68adb5 avatars: add clear feature to photobooth
A property is provided to notify of changes to the content of the
current account's stored avatar. If one is stored, then a button
used to clear the avatar becomes available.

Gitlab: #473
Change-Id: I37640acaea3ca43e5abd14678d68b4eeebb3829e
2021-07-19 12:57:31 -04:00
Andreas Traczyk
275530746a smartlist: filter conversation update/reselection
Filter either the same conv id or peer list of the currently
selected item when responding to the conversationReady signal.

For dialogs we make sure the peer list(1) is same and for all other
swarm conversations we match the conv id.

This will prevent programmatic auto-selection of the smartlist
during account sync.

Depends on: https://review.jami.net/c/ring-lrc/+/18793

Change-Id: I6cedb8494f7c001bf886fe36dd03adffd201bb51
2021-07-19 12:57:18 -04:00
Ming Rui Zhang
37c45c27a5 settings: add allow IP auto rewrite option
Change-Id: I09c24f1185b37c728eb9ce1968cca21a99b79452
2021-07-16 11:01:54 -04:00
Ming Rui Zhang
a31fb6c0d8 conversationsadapter: make conversation filter correct when rejecting invitations
Gitlab: #471

Change-Id: I00db0c43c76f46ab934a196df1896005d936f4ff
2021-07-15 15:03:33 -04:00
Ming Rui Zhang
29b51b5a2a misc: remove unused onFilesToSendCountChanged slot
Change-Id: If0f4c70e4ebec83af1b99da35a8c2d428a2d68c7
2021-07-15 15:03:33 -04:00
Andreas Traczyk
50490dea9b avatars: invalidate cache when changing account
Prevents 1 to 1 conversations of the same id on different accounts
(local) from having the same avatar after switching account.

Change-Id: Id30af117b2da8bd35d64b54f2e02cbbed0710848
Gitlab: #466
2021-07-15 14:43:16 -04:00
Sébastien Blin
d0b5667449 systray: change systray icon when we have notifications
Also use jami.svg for regular systray icon.

Change-Id: I6325c756d10216a017eb89042ab2f6ca0e988703
2021-07-14 17:13:45 -04:00
Andreas Traczyk
26c922da4d wizard: fix profile page avatar previews
Replaces live updates to the avatar preview when editing the alias
field on the profile page during account creation.

Gitlab: #466
Change-Id: I93dd4611949ab0e76f9cea78f9d7aaa1949daa13
2021-07-14 16:50:49 -04:00
Andreas Traczyk
34f8d019e0 avatars: remove redundant scale op for conversation avatars
Change-Id: I69c12fcf53bb2e7b9d6dcff4d3d32c037210494a
2021-07-14 16:50:26 -04:00