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

1955 commits

Author SHA1 Message Date
Sébastien Blin
ee08eae0ee contactmodel: avoid to re-write profile several time
Also, force the format of the vcard to always be the same to
avoid to change the shasum in a useless way.
Finally, only change if there is new details

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1558

Change-Id: I95bc52e13c8d1020eae6ad64e77d4e58b1ee734b
2023-04-11 16:30:46 -04:00
Andreas Traczyk
b8b5e2f502 tests: fix some possible crashes
Prevents some uncaught exceptions that could occur depending on test implementation.

Gitlab: #899
Change-Id: I5b06c270c924071f331e20f3b894a4bb80228137
2023-04-11 16:20:24 -04:00
Sébastien Blin
8dc0be11d6 jamistrings: fix experimental string
Change-Id: I4071f7a6f94c95a6e11135c2f0229bf51960d721
2023-04-11 14:58:04 -04:00
Sébastien Blin
b82842876c swarmdetails: add "Contact details" option in members list
This allow to easily get URI + QRCode

Change-Id: If986b42e46c074971c7467de4d7446d2c8d3a865
GitLab: #955
2023-04-11 14:10:12 -04:00
Franck LAURENT
334f794490 MaterialTextField: fix rendering
+ set the maximum number of characters in the input
+ elide the text when it's too long
+ save on focus change in the settings view

GitLab: #1064
Change-Id: I973ff09cb3ce56cda98a0b40cedde88ac3829c1d
2023-04-11 14:07:08 -04:00
Jenkins
150d198469 i18n: automatic bump
Change-Id: Ia25778e44625815e10fe79c4dbeaacd04e637ca5
2023-04-10 16:42:57 -04:00
Andreas Traczyk
797fe6b297 packaging: fix beta build for Windows
CMake build type shouldn't include "Beta".

Change-Id: I38e92a7d821c8a55614b82da1e0bae69862368ec
2023-04-07 19:14:23 -04:00
Andreas Traczyk
8bdce956bf auto-updater(Windows): fix failed connection
Now that the settings are not loaded on start, the updatemanager signals need to be moved to the main window component.

Gitlab: #1056
Change-Id: I17e750ef1417e8bfca7d06976f14a1d75492cec5
2023-04-07 17:50:50 -04:00
Franck LAURENT
c454a85c25 CreateAccountPage: fix rendering problem
+ fix top margin for the error label in usernameTextEdit.
+ fix the info button margin when placeHolder text is active.

GitLab: #1060
Change-Id: I3ca5421c908a0b77c7c175af54a45d49aacf8f57
2023-04-07 15:16:57 -04:00
Franck LAURENT
bb54f4527f SettingsView: fix update page visibility
Change-Id: I5c8cc068f0d8c2ab2996b026db88b637f919414c
2023-04-07 15:16:37 -04:00
Sébastien Blin
eba6f8f361 utils: use accountPhoto when generating a swarm image
Change-Id: I1fd1181aeedc47114876e2f0355b076602ac6649
GitLab: #1050
2023-04-07 15:16:14 -04:00
Sébastien Blin
6c0bb455c7 audiosettings: select correct audio manager
Else, on GNU/Linux it will select "alsa" in the UI.
Also AVSettingsPage is unused.

Change-Id: I5744b2c8dc02b65d97e6ea2bf8dcec477ae0042c
2023-04-07 15:16:05 -04:00
Sébastien Blin
1e59b83025 webengine: fix emojipicker
selecting an emoji results in emojiIsPicked undefined

Change-Id: Ieff7f5ae554179868586560d7707cbea73fc18c8
2023-04-07 15:16:02 -04:00
Sébastien Blin
39b9d293fa misc: cleanup useless resources
GitLab: #477
Change-Id: I52b4896fcdd3284b75bade44ec3028742e1a50a0
2023-04-07 15:13:35 -04:00
Franck LAURENT
72f7b37503 SettingsPage: dynamically load the individual pages of the settings view
Replace StackLayout with StackView. The StackView manages the lifetime of the view.

GitLab: #897

Change-Id: I25892310eb83ad70f4b06f91e94ec5ea8b87ef86
2023-04-07 11:54:38 -04:00
Fadi SHEHADEH
acd4b3065c SettingsView: apply the new design
Change-Id: I03f536a22eb24c30a33f9d1736ac0e7849d66c42
2023-04-07 11:49:24 -04:00
Sébastien Blin
91163b8bed migration: avoid race conditions for account status
Setting an account to migrating is asynchronous. So the status
of the account should be checked via dedicated signals and not
just at the startup, else the migration view is not shown.

Also removing two accounts to migrate wasn't working correctly.

Change-Id: I0bb716982ec5fe76aaba3ad4cb6f47b1ef0aa710
GitLab: #1062
2023-04-07 09:44:11 -04:00
Andreas Traczyk
09dfc021db tests: make the webengine resources available for QML test fixtures
Gitlab: #899
Change-Id: I5defa1135f23da975fa0f60cb2762b67d7bc7e86
2023-04-06 16:55:56 -04:00
Andreas Traczyk
012034fe67 misc: migrate the webengine resources from libclient to the client
Adds a `--with-engine` option for the resource generator script which will prevent packaging unused resources when building without webengine support.

Change-Id: If2f31284ef59166615221235427a53d0df8da2ce
2023-04-06 16:55:38 -04:00
Andreas Traczyk
7c265a950c misc: utilsadapter: remove unused function
Change-Id: Id593b7f551efc2fc465c4ec0e8936c77628f7f48
2023-04-06 16:55:23 -04:00
Andreas Traczyk
01489b9dfc tests: qml: fix some ViewCoordinator related warnings
Gitlab: #899
Change-Id: I5bc73e07f15e73ee2f84e8e5c02689c81e670272
2023-04-06 16:55:13 -04:00
Andreas Traczyk
990615f425 accountadapter: reinstate accountRemoved signal for qml testing
Gitlab: #899
Change-Id: Id00f91996fe93279992a2aa8c5778de8a93dcdbc
2023-04-06 16:54:59 -04:00
Andreas Traczyk
270fe6c167 tests: add an option to force fail on warning for certain tests
Several subsequent patches will be required so this can be used for our tests.

Gitlab: #899
Change-Id: I3939770ed34fe40aafa2ab93e2bab3cd77a20955
2023-04-06 10:52:42 -04:00
Andreas Traczyk
690148eac3 misc: remove QML module version numbers in import statements
This may have negative side-effects depending on the build environment.

Change-Id: I70356e80f26683ec4f5ed6993c134a44807d6def
2023-04-06 10:37:04 -04:00
Andreas Traczyk
421c0d139c positioning: handle cases where no default source is available
In this case we simply don't connect to a null object pointer.

This was causing invalid connections during test setup.

Gitlab: #899
Change-Id: I1c38c9338451f6817444576b95809c19bb28e3ff
2023-04-06 10:37:04 -04:00
Andreas Traczyk
5566c1a968 tests: qml: initialize the preview engine
This was causing invalid connections during test setup. Not having a null preview engine will prevent dereferencing a null pointer once messaging tests are implemented, however, the webengine will not work correctly due to missing resources which may be corrected in a subsequent patch.

This commit also moves .clang-format to the root repo dir so it will apply to the test source code (the test source code should be within the src dir).

Gitlab: #899
Change-Id: I8cac1fb937a0c60a91219b11ed1e0b5f323b1816
2023-04-05 13:54:41 -04:00
Andreas Traczyk
df5b955465 misc: fix test suite and tooling on Windows
- simplifies and fixes the python build script for Windows
- applies pep8 to the script also

Gitlab: #899
Change-Id: Ieb3debd08ddf1649a46208fc52362d20c504c1b1
2023-04-05 13:54:23 -04:00
Franck LAURENT
7c30803673 AdvancedAccountSettings: fix margin problem
GitLab: #1057

Change-Id: I626cf3d11952c236c82a2329fadb7d893da42ce9
2023-04-04 13:44:23 -04:00
Sébastien Blin
1ed5bb1e1f participantsmodel: move to current call
Not useful in calladapter as we need to check if it's for the current
call. Also, fix some race-confitions where the callparticipantsmodel
was empty (in swarm-call with only the host in general)

https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/639

Change-Id: I69df1aa9f7d2d5b198c0fdc01e88e36f9c2c0bd7
2023-04-04 10:38:31 -04:00
Sébastien Blin
28476a01d5 callmodel: emit currentCall changed
Else, because we show the incomingCallView, the currentCall may
be different to what we show

Change-Id: I8d996df5db22a8b2cb4a69ed070c278c08816b07
2023-04-04 10:38:21 -04:00
Sébastien Blin
f265b71d9a messagebartextarea: tab should focus next item
Change-Id: I5d15ad9b8019fc1c758224bccd024679288bec98
GitLab: #1055
2023-04-04 10:38:09 -04:00
Sébastien Blin
712db6ff5c preview: add option to mirror preview on conference
And set default to true

Change-Id: Idc871c5d0497bc4d7e5c137795e9165ca987274d
GitLab: #1039
2023-04-04 10:38:09 -04:00
Jenkins
02a4bb3bb0 i18n: automatic bump
Change-Id: I9b4d8af860511901d1976de5de14e0cab24b23de
2023-04-03 16:43:01 -04:00
Franck LAURENT
26b62451a1 projectcredits.html: contributor added
- Contributor added to credits

Change-Id: I121c5edea1a9339f3b06aec0c63badda9dc5ded4
2023-03-31 09:35:34 -04:00
Sébastien Blin
5e106ea665 tips: title should not go outside the box
Change-Id: I28ed5573adb50b4372f4b763d3565eefeb00ae35
GitLab: #1018
2023-03-30 16:12:00 -04:00
Sébastien Blin
06ddff4584 sip: hide non working button
https://git.jami.net/savoirfairelinux/jami-project/-/issues/1538
Change-Id: I50593347fe2c1adbeecdd371400f639234dad74c
2023-03-30 16:11:54 -04:00
Sébastien Blin
8db63dcebc misc: lookup username
Change-Id: If8e285c8188be453b6df0c1b5c86626bfbd46ab0
GitLab: #1053
2023-03-30 16:11:35 -04:00
Franck LAURENT
e154ba9ba2 SwarmDetailsPanel: apply the new design
GitLab: #1054

Change-Id: I003f88c111c6c012434f7e3f7437d6c5475edcfd
2023-03-30 16:07:30 -04:00
Jenkins
530aa34788 i18n: automatic bump
Change-Id: I3a7b5ecb87877bf272f6500ef9ea4f6edde3f1a1
2023-03-28 09:20:50 -04:00
Sébastien Blin
c20a549c33 about: update year to 2023
Change-Id: I079903c9c4cd4e7f8978e4e889450ea1d2202450
GitLab: #1047
2023-03-24 14:26:50 -04:00
Sébastien Blin
1510ccaede ongoingcallpage: move button to flip preview
Change-Id: I564e5b721b65caab9e8f01c12d30194db9e4844f
GitLab: #1039
2023-03-23 11:46:27 -04:00
Sébastien Blin
1c24fbf89b conversationmodel: show correct timestamp for syncing conversations
Because no interactions was added, a conversation was shown at the
bottom while syncing

Change-Id: I9cdba00f7fe328e0cf6486d7076fc377fc573a32
2023-03-23 09:27:34 -04:00
Sébastien Blin
2321aeeb52 readstatus: make list non interactive
Change-Id: I3460bb918231965fdf1e86aca89d91493a4365d0
GitLab: #1042
2023-03-23 08:14:43 -04:00
Sébastien Blin
8adb4aa117 wizardview: use videopreview if webengine
MediaPlayer is crashing on snap for an unknown reason. For now,
the easiest thing is to use the webengine component as it's already
used pretty everywhere and snap is built with.

GitLab: #1037
Change-Id: Ida24f0401bbd5c6a861a7229fb51135652722561
2023-03-23 08:11:25 -04:00
Sébastien Blin
b41e5867c6 SIP: possibility to set custom avatar/display name
This allow users to be able to easily identify their contacts by
changing the avatar/display name of a contact (for SIP and 1:1)

https://git.jami.net/savoirfairelinux/jami-project/-/issues/757
Change-Id: I483a9116b78b08d43962abff982e73089bfec1d7
2023-03-23 08:11:12 -04:00
Andreas Traczyk
43dbedbe0a chat-view: add a larger offscreen buffer for the message list view
Message delegates can have different heights and scrolling through the list view may cause vertical flickering without a substantial pre-fetching of items.

GitLab: #1020
Change-Id: Ic776b67d62773294f4548be3475804cd1824ef2b
2023-03-23 08:07:37 -04:00
Andreas Traczyk
4d2e31a5f3 chat-view: simplify chat details panels and save split states
- Saves (session only) the open state of the swarm details panel
- Saves the details index, and falls back when not available

Gitlab: #902
Change-Id: I7ad0c53007dac95f4b1984fc1fcf0094ae59a755
2023-03-23 08:07:07 -04:00
Maxim Cournoyer
8832f40b19 build.py: Fix building with Guix.
The manifest has moved from guix/manifest to
extras/packaging/gnu-linux/guix/manifest.scm; adjust the script for it.

* build.py (GUIX_MANIFEST): New variable.
(run_dependencies, run_install, main): Use it.

Change-Id: Ic2adf89be1eb21c672d8d8950ea6bbf93f5a2773
2023-03-22 16:42:18 -04:00
Andreas Traczyk
0c9499910c mainapplication: fix spoiled rebase
Reverts accidental rebase issues in f6f9034 (Patchset 24 -> 25). Fixes view management during last account deletion and first account creation.

Gitlab: #902
Change-Id: Ieacf816ef9a30e27973115dc70d029106b72bb07
2023-03-22 16:15:57 -04:00
Sébastien Blin
3b973aa5b3 utils: improve error logs
Change-Id: I2fd8650cf106f6f0ececd3d4ce2b021061224b04
2023-03-22 13:43:58 -04:00