Commit Graph

3078 Commits

Author SHA1 Message Date
Lukáš Tinkl f798d6d0e6 fix(profile): the profile image is blurred in different places
Closes #6295

- use the recently introduced `profileLargeImage` property for bigger user
images
- fix some QML(lint) warnings
2022-07-08 09:40:22 +02:00
Lukáš Tinkl aa804ffaef fix(CreateChatView): hide the Contacts label when no contacts
- hide the TagSelector's `listLabel` and disable the `textEdit` when the
  contacts model is empty
- add forgotten `qsTr()`
- remove some no-op positioniers/anchors/width/height bindings (these are
  handled automatically for QQC2 Control's header and contentItem)
2022-07-08 09:40:02 +02:00
Stefan a710558c6b chore(CPP): foundation for user onboarding
Contains minimal account creation and login

Considerations:

- migrated status-go wrapper and login code from the fix/cpp-structure (241eec)
- Minimal refactoring and changes at the moment. Expect further refactoring
follow up to reach the desired state.
- Fix missing keychain initialization
- Fix accounts DB initialization call done by startup -> Controller.openedAccounts -> status-go.OpenAccounts calls
- Small refactoring and todos for other steps
- fix SignalsManager
- fix async access to dereferenced status-go memory from SignalsManager
- fix SignalsManager not starting when registering
- finish dev end to end test for create account and login
- small improvements and added TODOs for future work
- add onboarding test helpers and start messaging test
- Refactoring towards Login UI integration

Closes: #5909
Closes: #6028
2022-07-07 23:23:09 +02:00
Sale Djenic e3b0610b65 single instance handled 2022-07-07 23:23:09 +02:00
Sale Djenic a9f179cab3 StatusSyntaxHighlighter added 2022-07-07 23:23:09 +02:00
Sale Djenic 922a38108d feat(@desktop/cpp-app): base structure for new cpp app
- applied new project structure
- new cmake scripts organizations
- conan script for adding gtest and boost::di
- boost::di introduced
- gtest introduced

Fixes #4894 #4834
2022-07-07 23:23:09 +02:00
Richard Ramos 75a3ff858c feat: check for updates (using status-go) 2022-07-07 09:54:55 -04:00
Pascal Precht 04037d1d64 fix(Profile): ensure backup seedphrase warning disappears
The warning to back up the seedphrase should disappear after either
dismissing the message, or in fact backing up the seed phrase.

The latter was not happening because the banner didn't take that
information into account. This commit fixes this by ensuring we let the
banner know whether the seed phrase was already backed up.

Notice that we don't want to render the banner when the seed phrase has
*not* been backed up yet, but was dismissed by the user.

Fixes #6255
2022-07-07 15:18:56 +02:00
Mikhail Rogachev f03d89ad0d Update ui/app/AppLayouts/Profile/popups/BackupSeedModal.qml
Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com>
2022-07-07 14:47:12 +03:00
MishkaRogachev 6d72e19568 fix(@desktop): Refactor Backupseed modal
Close #6144
2022-07-07 14:47:12 +03:00
Lukáš Tinkl 4e71f813a2 fix(settings): flags are blurred in the Languages list
Fixes #6306

- update the StatusQ components to the latest commit which includes
the StatusIcon fixes
- switch the LanguageStore and CurrenciesStore to use SVG icons for flags
and money icons instead of PNGs
2022-07-06 20:52:48 +02:00
Jonathan Rainville f5d2d9d0ac fix(MessageView): slow chat switching because of height recalculation 2022-07-06 14:05:06 -04:00
Patryk Osmaczko 963374502b chore(translations): update qml_en.ts file 2022-07-06 19:09:50 +02:00
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Boris Melnik bb2c9e02c2 feat(communities): Add muting category methods
Closes: #5975
2022-07-06 19:48:44 +03:00
Jonathan Rainville 1e7c648300 feat: contact verification request and trust status
feat: contact verification

fix: add remove identity verified btn

fix: add toast message

feat: received verification request model


feat: finish identity verification flow

Fixes #4784
2022-07-06 10:43:33 -04:00
Michal Iskierko 45448db90a feat(@desktop/general): Change user statuses
Handle user statuses from status-go: Always Online, Automatic, Inactive.
Handling updating own status on member list.

Issue #5886
2022-07-06 09:38:11 +02:00
Boris Melnik 42fca84c76 fix(chat): Fix chat screen for empty state visibility
Closes: #6199
2022-07-06 09:48:37 +03:00
MishkaRogachev 6fac00673f Hotfix: Community settings tags 2022-07-05 19:29:50 +03:00
Patryk Osmaczko 0e3c20fb22 chore: remove duplication 2022-07-05 17:10:15 +02:00
Sale Djenic c9fe428940 fix(@desktop/chat): messages sometimes assigned to the wrong user
Fixes #6004
2022-07-05 17:10:15 +02:00
Patryk Osmaczko 51aa4a6d86 chore: extract Utils.elideText() 2022-07-05 17:08:36 +02:00
Patryk Osmaczko ff747c2a5f chore(@desktop/community): refactor TransferOwnershipPopup 2022-07-05 17:08:36 +02:00
Patryk Osmaczko 1b49fd4c35 fix(@desktop/community): make backup community key field readonly
fixes: #6104
2022-07-05 17:08:36 +02:00
Lukáš Tinkl 94bf0a0f88 fix(gif popup): fix the popup after sending a GIF
Close #6083
2022-07-05 12:37:56 +02:00
Lukáš Tinkl 6d8cee9541 fix(gif/emoji popup): pre-focus the search field
Close #6165
2022-07-05 10:16:52 +02:00
Lukáš Tinkl f306ecebfe fix(QtC): QtCreator fixes
- display our own JS files in the Project tree as well
- help QtC detect some more module imports
- QML files are not resources, don't confuse QtC with them
2022-07-05 10:16:52 +02:00
Patryk Osmaczko a2489f4cc3 chore(translations): update qml_en.ts file 2022-07-04 20:23:32 +02:00
Patryk Osmaczko 9baf31c6ea chore(translations): remove *.ts files other than qml_en.ts
Current Lokalise workflow is:
1) Upload strings to translate (qml_en.ts)
2) Translate strings to selected languages (this is driven by Lokalise
   configuration)
3) Export *.ts files with translations (e.g. qml_de.ts, qml_es.ts)
2022-07-04 20:23:32 +02:00
Patryk Osmaczko a57fdf698a chore(translations): fix qml_en.ts locale
Lokalise expects *_en files to be en, not en_US.
2022-07-04 20:23:32 +02:00
Igor Sirotin c7d2157d20 fix(MyProfileView): New design 2022-07-04 21:56:04 +04:00
MishkaRogachev 5c6b5f1f47 feat(Communities): support tags in community edit page
Close #6089
2022-07-04 18:53:48 +03:00
Khushboo Mehta e6f809b921 feat(@desktop/wallet): Using Floating Buttons in the Send Modal
fixes #6228
2022-07-04 15:28:35 +02:00
Anthony Laibe 9b298e4ace fix(@wallet): Always display snt/eth/dai
fixes #6160
2022-07-04 11:12:50 +02:00
Anthony Laibe ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Stefan cecfd7f8e8 chore(CPP): base for the window and layouting system
Demo controls migrations to Qt6
POC for an application layout with isolated components

Closes: #5902
2022-07-01 16:57:51 +02:00
Igor Sirotin 36a079aea8 fix(icons): Updated arrow icons 2022-07-01 17:43:13 +04:00
Stefan 37ab1a5513 chore(CPP/CI): basic CI setup for linux cmake build
Linux dockerized build and AppDir generation for compilation errors

Also added AppImage TODOs, basic setup for MacOS and Windows but they
still need work to have at least validation running

Temporary disable CPP windows/mac until limitations are
addressed in a follow up commit

Extra: add build configuration fixes for rest of the platforms

closes: #5998
2022-07-01 14:41:28 +02:00
Igor Sirotin eb7fa5be8b fix(ChatButtonsPanel): Added pin/unpin and delete buttons 2022-07-01 12:59:03 +04:00
Stefan 1e8c851283 chore(CPP): Basic project configuration setup using Qt6
Considerations

- Use versioned files. Versioned Qt CMake APIs are disabled to force explicit calls and say that we don't support older `QT`s
- Don't use blobbing. Use `target_sources` and `qt_target_qml_sources`
- Distribute `CMake` definitions closer to the context: main folders with their own `CMakeLists.txt`
- Everything in libraries under `Status` namespace for cleaner code.
- Includes are exposed with Module folder externally and without prefix internally
- File/Folders name matches definitions they contain for uniformity that leads to cleaner code
- All source files (cpp, qml, js ...) have to be added to one of the CMakeLists.txt files to be tracked by CMake build system.
- Use BUILD_DEBUG, BUILD_RELEASE and BUILD_DEVELOPMENT variables from Helpers library
- Avoid Include directories. Not needed anymore CMake `target_*` APIs handles this through `INTERFACE`, `PUBLIC` and `PRIVATE` scope identifiers
- `StatusQ` is meant to be compiled as an external library, therefore StatusQ tests are kept inside its own directory
- Forced CMake version to `3.21` for the latest features and fixes. It is desired to be kept as recent as possible due to its backward compatibility. Following Qt's shipped version might be an option
- Depends on status-go changes to allow forcing of arm for apple silicon

Found limitations to CMake Qt API with Qt 6.3

- Having `0` as major version when using `qt_add_qml_module` doesn't work. Qml engine reports loading the `qmldir` but won't load the plugin library and no error is reported outside that exposed types are not found.
- `qt_target_qml_sources` doesn't work now, it generate a double copy error when deploying qml files in bin-directory. For now we stick with adding files using `qt_add_qml_module` central place
  - Need to add `OUTPUT_DIRECTORY` to `qt_add_qml_module` to use the workaround
- If `MACOSX_BUNDLE` target property is set breaks importing of QML files. Disabled until fixed or workaround found
- For an unknown reason application executable tries to include the `QML_ELEMENT` include files, therefore for now I include all the C++ qml elements in INTERFACE
2022-06-30 12:16:33 +02:00
Jonathan Rainville 9d2862a602 fix(chat): fix gifs staying active in the background when switching chat 2022-06-29 16:48:01 -04:00
Khushboo Mehta 6deb900ac5 hotfix(@desktop/chat): Removed the condition that was causing the chat highlight animation to run each time it was visible 2022-06-29 14:18:40 -04:00
MishkaRogachev 3271aff7c7 fix(@desktop): Hotfix Popup's margins
This is a combination of 2 commits.

fix(@desktop): Hotfix Popup's margins

chore: bump statusq
2022-06-29 14:09:33 -04:00
Jonathan Rainville ce51a29119 hotfix(USerImage): user image not showing because binding not working 2022-06-29 18:40:03 +02:00
Jonathan Rainville 8685ad92c9 fix(chat): fix switching back to chats is very slow
Fixes #5615
2022-06-28 16:24:49 -04:00
Alexandra Betouni b550a23dfc fix(Wallet): Fixed padding in add account popup
Closes #6245
2022-06-28 16:24:09 -04:00
Iuri Matias 7927c99985 bug(@status-desktop): only run animations when they are visible to avoid cpu issues
chore(status-q): update status-q

bug(@status-desktop): only run animations when they are visible to avoid cpu issues

bump status-q
2022-06-28 11:23:38 -04:00
MishkaRogachev a9b2459d79 fix(@desktop): Remove nested popups in create community
Close #6027
2022-06-27 13:12:52 -04:00
Noelia 70383a51bd feat(CommunitiesPortal): Enable Communities portal & update chat menu
- Removed 'Communities Portal' toggle from the advanced settings and enable it by default.
- Removed dropdown menu. The button opens directly the join public chat modal.
- In the portal, "Import community" button is now clickable and opens the import community modal.
- In the portal, "Create community" button is now clickable and opens the create community modal.
- Enabled navigation to the clicked community.

Closes #6099
2022-06-27 10:28:36 +02:00
Noelia dd2925533e fix(ActivityCenter): Activity center button has not the same size than the other toolbar buttons
Bump statusq: https://github.com/status-im/StatusQ/pull/742

Fixes #6216
2022-06-27 09:02:00 +02:00