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

29 commits

Author SHA1 Message Date
Sébastien Blin
72e8cf42fa chatview: fix footer on banned contacts
isBlocked doesn't exist, it's isBanned.
Also link spfm and webengine to tests (in order to fix
tst_ChatViewFooter.qml)

Change-Id: Ic4ac0565ba5975213728b16e3e3d5718aa9851b6
2022-12-20 09:12:53 -05:00
Sébastien Blin
5487a9ab43
newswarmpage: clear fields on visibility changed
This avoid to get previous text when creating a second swarm

Change-Id: I86bb907cc30133432601cb59d9384758971fb331
2022-12-05 11:45:21 -05:00
Sébastien Blin
2136262b4a misc: fix build for tests
Change-Id: I393ba9f6a18061de9036953bf178a8898c9380f1
2022-12-02 12:44:17 -05:00
Sébastien Blin
da61006eb9 tests: add tests to CI and start to migrate old ones
Pretty all tests are broken, but at least, forcing the CI to build
it will force people to check it.

Change-Id: I974905a893b6a53ce71890b63a01be6a791ea556
2022-12-02 11:20:48 -05:00
Maxim Cournoyer
6119597c4e tests: Fix broken QML import directives.
Fixes
<https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/883>.

Automated via:
  $ find tests -name '*.qml'  | xargs sed -i 's,qrc:/src,../../../src,'

Change-Id: Ic1a2f419e3e328e8bf861e7fdf370f15da66675f
2022-11-11 11:50:06 -05:00
Maxim Cournoyer
eabbf15681 tests: Fix Qt dependencies.
Partially fixes
<https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/882>.
This follows commit dae92490.

* tests/CMakeLists.txt: Rename QML_LIBS to QT_LIBS, a regression
introduced in d82e382070.  Remove the
dependency on on the Widgets module, now provided via QT_LIBS.
* tests/qml/main.cpp [WITH_WEBENGINE]: Include QtWebEngine modules
conditionally.
(main) [WITH_WEBENGINE]: Initialize webengine conditionally.

Change-Id: I0df4e11ca3571338fb1e8967784dc6f09ca1dfee
2022-11-08 13:51:05 -05:00
Sébastien Blin
fe3f8521e8 backupkeypage: transform into TipBox
Split TipBox into dynamic components to avoid to load all the things.
Show the Customize Tip Box only if necessary
Replace backup key page by a tipbox

Change-Id: Ie499fb16fe67648bbdd327eb24705a1881d9cea8
2022-09-19 16:19:24 -04:00
Amin Bandali
c7fdf3ff30 misc: move application sources from 'src/' to 'src/app/'
In preparation for vendoring libjamiclient into 'src/libclient/'.

GitLab: #734
Change-Id: Ibd956abc8fe9bd454ac0e9a5a28b77a5a74174e7
2022-05-19 15:47:30 -04:00
Amin Bandali
db0fd56763 misc: update (and fix) copyright years to 2022
Change-Id: I8eb66c1c3cddb3bf73b6784a9876dd9dc9c12481
2022-01-06 11:24:13 -05:00
Ming Rui Zhang
be41f0e7a6 misc: Qt 6.2.0 initial migration
Remove unsupported QtQuick One component and it will be
added back in the following patches

Change-Id: Iad206a880096cf956a4220a81dca85a993721fbd
2021-12-21 14:21:36 -05: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
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
32ac718ef4 qmlengine: bump version to 1.1 for custom modules
Change-Id: I6e912c7a3dbba63f874b063770ba5c68a3f2de2f
2021-08-23 14:40:18 -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
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
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
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
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
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
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
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
Ming Rui Zhang
9200818a50 script: use consistent name for mute jami dring option
Change-Id: I7e3db31838884bc585d981ced91b4294cd5a8c14
2021-06-30 10:08:46 -04:00
Maxim Cournoyer
a7e7105cda Rename dring to jamid, ring to jami.
Automated via the following command:

  $ git grep -l dring | grep -v '.ts$' | xargs sed -i
  's/dring/jamid/g'
  $ git ls-files | xargs sed -i 's,bin/jamid.lib,bin/jami.lib,g'
  $ git ls-files | xargs sed -i 's,src/jamid,src/jami,g'
  $ git ls-files | xargs sed -i 's,-mutejamid,-mutejami,g'
  $ git checkout docker

Change-Id: I030209b60817372f866055daadb4d0a1c1e2e9df
2021-06-29 16:12:18 -04:00
Sébastien Blin
3d71bfa8ae swarm: first implementation to follow api changes
- use QString for interactionId

- swarm conversations: use loadConversationMessages and
subscribe to newMessagesAvailable signal

- avoid displaying "merge" and empty "data transfer" messages

- link composing status

Change-Id: Ic524bb786b2ff0471f03b1bb02d41d6da38e716a
2021-06-11 17:47:27 -04:00
Ming Rui Zhang
a2858a883b test: change the location of local storage files when running tests
Change-Id: I6ee537ee1ee3928c93b9a579e2b55b6ef97af779
2021-06-08 15:11:01 -04:00
Ming Rui Zhang
a7eafe4793 test: add building blocks for qml and GTest on windows
- Also updated the INSTALL.md

Gitlab: #385

Change-Id: Ib5bf9f0348dbc6da57e586475d698fe8dec0351b
2021-05-04 11:19:59 -04:00
Mingrui Zhang
2e60568307 project: don't use Qt keywords for signal/slot/emit
Gitlab: #320
Change-Id: Ia2a16a05be3fd6452a39df999660a5c8440eea13
2021-04-02 15:37:43 -04:00
ababi
4048a9d710 tests: add first samples for c++ and qml testing
- add QtQuickTest, QtTest and googletest support
- create tests folder within cmake hierarchy
- avoid using wildcards in Dockerfile

Change-Id: I81661a86757f01333538908dbc81a0bafae00ab7
2020-11-06 10:53:34 -05:00