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

1728 commits

Author SHA1 Message Date
Jenkins
eb80660ae3 i18n: automatic bump
Change-Id: Ia78407c700d81d92d96a04580ad7c5fbc8df16a5
2023-04-24 16:43:11 -04:00
Maxim Cournoyer
80c81ed2b0 build.py: Really run in GDB when using --debug.
The usage (--help) says: "Build with debug support; run in GDB", but
GDB was only used when using the D-Bus daemon.  Run a libwrap built
Jami with GDB as well.

* build.py (run_run): Disable SIGINT when using GDB, and invoke the
Jami client with GDB.  Disable output redirection to logs when using GDB.

Change-Id: Icf3415a3d1fbb87f193d0ede07cb1e1fbb179ce2
2023-04-24 10:18:00 -04:00
Fadi SHEHADEH
9f2840884f tipbox: button height
Change-Id: I4c54ee69f275d3f3b0283a2459222e5d205fe5c3
2023-04-21 15:51:11 -04:00
Fadi SHEHADEH
9bf0176a39 linked devices: design update
- radius for linked devices
- hover
- buttons instead of icons for edition

Change-Id: I315262a29bf2828bf1f58356b7d84c7c7ab9ef18
2023-04-21 15:49:56 -04:00
Franck LAURENT
c43978cb12 ChatViewFooter: apply the new design
GitLab: #1067

Change-Id: Ia80f85c678cb202d8e91cb3efe83d9ea82c40ae6
2023-04-21 15:12:34 -04:00
Sébastien Blin
a5755bbdb8 sip: remove unused settings
Change-Id: Ifa8a5fa9ac0e41fddb85b163339ff1d0159c79fe
2023-04-19 08:52:24 -04:00
Jenkins
84c8478d94 i18n: automatic bump
Change-Id: Ic83628177ed5003a2daf09f779556becf05868f0
2023-04-17 16:43:01 -04:00
Maxim Cournoyer
72a266dc41 packaging: Only rebuild source tarball when tarballs manifest changes.
This partially reverts commit 6e0a30024bd5d0f24f8c16960a56b02737bf0131
from the former jami-project repository ("build: Improvements to the
generation of the release tarballs."), which caused the source tarball
to always be rebuilt, even in the absence of changes.

This gets in the way when testing the various packaging targets, so
revert it.

* extras/packaging/gnu-linux/Makefile (release-tarball): Do not always
clear the tarballs.manifest file.  The purge-release-tarballs target
can be used for that.

Change-Id: I30ebda8dc258d0c95c6cf7e02a814627ac5b812b
2023-04-17 11:53:54 -04:00
Andreas Traczyk
66e0e21482 packaging: windows: optionally skip windeployqt
This is a big time saver in the context of CI testing where we only need to supply some env vars instead.

It would also be nice to also have the env vars filled out for CMake-generated project runtime configs to prevent unnecessary deployment for development builds, but that's not done in this commit.

Change-Id: I338827cb87c9fc71c9a6b4b3076b22aa7cf7cfa3
2023-04-14 15:19:48 -04:00
Sébastien Blin
a56ee62dcf sip: do not show settings for read receipts (not supported)
Change-Id: I3881fde22fc57edcd5b0d90793d3feb9be2d81c5
2023-04-14 09:45:34 -04:00
Andreas Traczyk
c052c28f4d misc: format all QML files
Gitlab: #1059
Change-Id: Ia973ee1f8666bdd8597d6cbb47a87534ac4358c8
2023-04-14 09:06:44 -04:00
Andreas Traczyk
9e9b368deb misc: remove --force when calling qmlformat
It doesn't work with JS arrow function syntax.

Gitlab: #1059
Change-Id: I7da9c8ee7a2cb470aeb76cf4d1d0937e621eb221
2023-04-14 09:06:44 -04:00
Franck LAURENT
3f56754f1c SwarmDetailsPanel: add new icon design for document preview
Change-Id: I13cd2861bcbc3446a736f7e68b34044c34c2dce5
2023-04-13 16:19:28 -04:00
Andreas Traczyk
be32998ff1 misc: don't --normalize when using qmlformat
Removes some intelligent grouping in the code. Perhaps normalization can be selectively done to the the strings and theme files at some point.

Gitlab: #1059
Change-Id: If9b0363567bc715dca0bdb4e3662612a5b159361
2023-04-13 16:17:21 -04:00
Sébastien Blin
9b5ef6223d tipsmodel: retranslate on lang changes
GitLab: #1068
Change-Id: Ia876756f513e88d8a074b2b54edefa9f35b8b160
2023-04-13 16:17:18 -04:00
Sébastien Blin
a656070fea documentpreview: change font size
Change-Id: I030f80417946ea0ac50fa367ff98b03cf7945b6e
2023-04-13 15:59:52 -04:00
Sébastien Blin
9a29ebc955 swarmdetailspanel: fix string
Change-Id: I3cd9bf1c020a8c7a265e301ea021faedfd619295
2023-04-13 14:00:15 -04:00
Sébastien Blin
fb0d2434d0 swarm: remove members limit for swarms
Change-Id: I1b9a46fd524b2af4b795986491f5d2fd882437d5
2023-04-13 13:45:12 -04:00
Andreas Traczyk
ae1cde4dc1 misc: format QML files using the python format script
+ Requires that the Qt path is supplied when calling build.py --init.
+ format.py now also takes a --qt argument to specify the Qt path, used to locate qmlformat.
+ format.py takes a --type argument to specify the type of files to format (qml, cpp, or both).

qmlformat is called with `--normalize` and `--force`.

Gitlab: #1059
Change-Id: Id9ff4b17018370696792b44f55ed2f4bc8091193
2023-04-13 13:08:57 -04:00
Andreas Traczyk
a8f48df4f9 misc: use qt path instead of version as parameter in build scripts
This homogenizes the script calling convention with other platforms, and will allow for a cleaner approach when searching for Qt tools (qmlformat).

Gitlab: #1059
Change-Id: I540ff61bd92186bb5a2998670665631e352852b9
2023-04-13 13:08:57 -04:00
Andreas Traczyk
f3a578d8ac misc: migrate source formatting script to python
Devs will need to remove the existing pre-commit hook or regenerate the hook with `build.py --init`.

Gitlab: #1059
Change-Id: I1cec9150c7781d769cb229dfd170a9dcfc819edb
2023-04-13 13:08:57 -04:00
Fadi SHEHADEH
e153bd8854 update strings
- appearance
- link preview
- username
- link account

Change-Id: I48f77bfe71474ea17c0c41d951db497bbe47ead3
2023-04-13 08:50:28 -04:00
Sébastien Blin
36ef19d468 misc: bump daemon
Change-Id: I03f11d245d4c8c233b7c2008e84ac78ad79eb6da
2023-04-12 09:05:46 -04:00
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