206 Commits

Author SHA1 Message Date
Igor Sirotin
c8bc68b96c
refactor: use create/restore/login status-go endpoitns for keycard (#15090)
* chore: remove unused storeDefaultKeyPair

* chore: added CreateAccount keycard parameters

* chore: remove unused newKeycard argument

* chore: create keycard account with ImportAccountAndLogin endpoint

* fix: remove keycardWhisperPrivateKey CreateAccount parameter

* feat: use LoginAccount endpoint for keycard

* fix: use CreateAccount RootDataDir instead of BackupDisabledDataDir

* fix: use loginAccountKeycard instead of loginAccountKeycardUsingSeedPhrase

* fix_: use `login` instead of `loginLocalPairingAccount` an `loginAccountKeycard`

* chore: refactor scheduling reencrpytion

* fix: FirstRunOldUserKeycardImport

* chore: improve code readability

* feat: use RestoreAccountAndLogin endpoint for keycard

* update status-go
2024-06-26 14:12:39 +02:00
Stefan
4d080e12aa feat(dapps) authenticate user for session request
Trigger authentication with identity of the request
Track the authentication using the identity and allow only once
Add tests for the new functionality
Minor improvements around the code

Closes #15018
2024-06-12 16:52:12 +02:00
Stefan
35b81eadf6 feat(dapps): show dapps list in wallet connect popup
Things done here:

Integrate basic functionality for wallet connect in status-go
Update the list of dapps from the SDK
Retrieve the persistence dapps list from the backend as a fallback
if there is no connection and SDK can't be initialized
Provide a basic simple view of dapps in the wallet connect popup

Closes: #14557
2024-05-30 10:57:42 +02:00
Stefan
07bc6c49df feat(dapps) attempt to fix the wallet connect abstraction
Spent too much time figuring out the puzzle of
service->module->view->QML just to call a
status-go function.

Keeping this attempt for later while moving to a
simplified Controller/Provider approach. I will
come back to the abstraction when we add tests
to use it.

Updates: #14615
2024-05-30 10:57:42 +02:00
Sale Djenic
dd104960ba feat(walletconnect): initial code organization
Closes #14395
2024-05-02 09:47:30 +02:00
Mykhailo Prakhov
55dd8e3065
feat(@desktop/activityCenter): show notification about invite to group chat from non our mutual contact (#14415) 2024-04-12 18:28:28 +02:00
Igor Sirotin
795b999ad8
chore: extract move gifs module (#14315) 2024-04-09 19:01:24 +01:00
Khushboo Mehta
ff951f624a fix(@deaktop/wallet): Remove old tokens_service under accounts service and only keep new one.
fixes #13142
2024-01-30 10:56:51 +01:00
Sale Djenic
daecb836ac feat(onboarding): remove mnemonic as early as possible
Closes: #13260
2024-01-23 16:38:41 +01:00
Dario Gabriel Lipicar
b186a133ab feat(@desktop/wallet): implement token management settings for collectibles
Fixes #13233
2024-01-18 13:10:07 -03:00
Sale Djenic
3ac13a7678 chore(savedaddresses): preparing saved address for reuse in wallet settings section
Part 1 of #13088
2024-01-04 17:45:57 +01:00
Sale Djenic
e24e3d734c feat(walletconnect): check for potential WalletConnect pairings after the user logs in
Closes: #12993
2023-12-18 09:25:42 +01:00
Igor Sirotin
6c6967faf2
Fix TRACE log level support (#12935) 2023-12-06 11:25:57 +00:00
Khushboo Mehta
3a41a81890 feat(@desktop/wallet): Add new go api to get token market values not bundled with token balances
fixes #12668
2023-11-30 16:50:20 +01:00
Jonathan Rainville
b5ceddb208 fix(delete): fix closing the app before login would make it crash
Fixes #12880
2023-11-28 14:41:44 +03:00
Jonathan Rainville
b30c2992a5 Revert "fix(delete): fix closing the app before login would make it crash"
This reverts commit 7c7ab85690b7bc1ecbf36433fcac0b57132eb232.
2023-11-27 13:19:22 -05:00
Jonathan Rainville
7c7ab85690 fix(delete): fix closing the app before login would make it crash
Fixes #12880
2023-11-27 13:15:26 -05:00
Mikhail Rogachev
9a714cfec0
feat(ActivityCenter): Sync message & AC notification read state (#12815)
* feat(ActivityCenter): Use signal for delivery of AC notifications from other services

Close #9349

* feat(ActivityCenter): Sync messages read state with AC notifications
2023-11-27 16:22:58 +04:00
Jonathan Rainville
d66c1f7b0d feat(sharding): add shard info args to requestCommunityInfo calls
Fixes #12015
2023-11-16 13:32:48 -05:00
Noelia
88c09b3941 feat(@desktop/communtiies): Set signer flow
Setting signer logic and computing fees.
AC messages for different transfer ownership states.
Declining ownership logic.
Added `CommunityTokensStore.qml` stub.
Removed deprecated property.

Issue #11964
2023-11-08 14:35:51 +01:00
Mikhail Rogachev
c7c5ec340d
feat(Profile): Profile showcase backend (#12510)
* feat(Profile): simplified approach to reuse existing models with profile

* feat(Profile): adapt nim models for view actions (move and change visibility)

* feat(Profile): save profile showcasse model changes to the db

* feat(Profile): update profile showcase models on changes from status-go

* feat(Profile): Various bug fixes for profile showcase

* fix(Profile): Fixes storing profile order and review fixes

* chore(Profile): Rename and minimise signals for updating base model filters
2023-11-01 20:54:22 +04:00
Sale Djenic
f88c23dc7b refactor(@desktop/general): env variables sorted and CL args introduced
- Necessary env variables to build the app:
STATUS_BUILD_INFURA_TOKEN
STATUS_BUILD_INFURA_TOKEN_SECRET
STATUS_BUILD_POKT_TOKEN
STATUS_BUILD_OPENSEA_API_KEY
STATUS_BUILD_ALCHEMY_ETHEREUM_MAINNET_TOKEN
STATUS_BUILD_ALCHEMY_ETHEREUM_GOERLI_TOKEN
STATUS_BUILD_ALCHEMY_ARBITRUM_MAINNET_TOKEN
STATUS_BUILD_ALCHEMY_ARBITRUM_GOERLI_TOKEN
STATUS_BUILD_ALCHEMY_OPTIMISM_MAINNET_TOKEN
STATUS_BUILD_ALCHEMY_OPTIMISM_GOERLI_TOKEN

- The list of available env variables as well as CL arguments can be seen running
the app providing `--help` argument. All env vars are prefixed with `STATUS_RUNTIME_`.
2023-10-24 13:16:58 +02:00
Sale Djenic
b22b632b2d feat(@desktop/wallet): account interaction - stop using a keycard for profile keypair - handling on paired devices
Part 4 of: #11737
2023-09-07 14:49:06 +02:00
Sale Djenic
85d4bfdfea feat(@desktop/syncing): generating connection string and inserting connection string for transferring keystore files introduced
Refers to the third part of #11779
2023-08-22 12:22:32 +02:00
Sale Djenic
2749236a56 feat(@desktop/syncing): recovering from waku if backed up data refers to a profile migrated to a Keycard
Closes: #11661
2023-07-28 17:06:35 +02:00
Dario Gabriel Lipicar
44cf2b6faa chore(wallet): remove collectibles service 2023-07-27 12:48:17 -03:00
Boris Melnik
43a5d7eeeb feat(new-links): Parse url data and display
Fixes: #10852
2023-07-27 15:08:21 +03:00
Khushboo Mehta
9800dad3ba feat(@desktop/wallet): Account view - New Account view UI
fixes #11537
2023-07-21 15:37:30 +02:00
Sale Djenic
51edc1b256 fix(@desktop/onboarding): cannot run any keycard flow after creating a Keycard replacement
Fixes: #11494
2023-07-13 08:46:49 +02:00
Boris Melnik
184745cf1b fix(biometrics): Change keychain keys from DisplayName to KeyUid
Fixes: #10424
2023-05-12 15:57:41 +03:00
Jonathan Rainville
b9a2e62602 fix(message/service): fix msg not appearing in new chat because of race
Fixes #10340

Fixes a race condition when receiving a message in a channel that doesn't exist yet (for example in a delete 1-1 chat).
What happens is that the status-go signal contains both the message and the chat. Both are handled by different services, so there was a race between the two of them. If the chat service handled the chat first, then the message was added correctly, but in the case of the message service handling it first, it would try to add the message to a chat that doesn't exist yet, so it wouldn't work.

I also cleaned the ChatUpdateArgs by removing the messages arg that was not used anywhere and also was a bit counter-intuitive. Why did a Chat arg have messages?
2023-05-05 11:09:32 -04:00
Sale Djenic
61bd370b20 fix(@desktop/onboarding): ignore applying fetched waku data if user didn’t follow recover account onboarding path 2023-04-27 16:06:01 +02:00
Sale Djenic
2fae4cdaf1 fix(@desktop/wallet): a few wallet account related issues fixed
- index was not returned properly because of case sensitive address comparison
- delete account was not done properly for keycard accounts
- after login the app was asking for store to keychain even it was a test environment
2023-04-13 19:51:10 +02:00
Michal Iskierko
4ceeb905dc fix(@desktop/communities): Compute deployment fees in async way.
Improve showing errors when estimating fees.

Fix #10035
2023-04-05 12:42:02 +02:00
Dario Gabriel Lipicar
bbf260067e fix(@desktop/wallet): fix how collectibles are shown after an error, according to the design
Part of #10063
2023-04-03 10:58:51 -03:00
Khushboo Mehta
a6df4566dd fix(@desktop/wallet): checkConnected API doesnt return correct values
fixes #9833
2023-03-31 19:59:49 +02:00
Michal Iskierko
d759bda81d fix(@desktop/communities): Computing fees in ETH and USD for Sign Transaction dialog
Issue #10007
2023-03-27 16:25:49 +02:00
Khushboo Mehta
df121445ca fix(@deaktop/wallet): Implement error states with automatic retries
fixes #9688
2023-03-23 15:26:22 +01:00
Igor Sirotin
33d38a4081 fix: Device syncing
- Added local pairing signals
- Remove slash ending from keystorePath
- Implemented localPairingState. Fixed sync new device workflow. 
- Error message view design update 
- Moved local pairing status to devices service
- ConnectionString automatic validation
- Async inputConnectionString
- Added all installation properties to model. Minor renaming.
- Removed emoji and color customization
- Show display name, colorhash and color in device being synced
- Add timeout to pairing server
- Add device type
Fix `DeviceSyncingView` sizing. Fix `inputConnectionString` async task slot.
2023-03-16 00:27:21 +13:00
Pascal Precht
919f3dc6f7 refactor: load gifs asynchronously
Instead of loading recent gifs right on startup eagerly,
we postpone the task to when it's actually needed (when the gif popup is
opened and the recent gifs tab is activated), and on top of that
we also load the data asynchronously to keep the amount of work
that needs to be done in a single tick as short as possible.

This needs: status-im/status-go#3170

Closes #9437
2023-03-08 12:00:40 -05:00
Ivan Belyakov
e27f2ec667 feat(@desktop/wallet): update saved addresses list
Fixes #8599
2023-03-07 15:00:46 +03:00
Michal Iskierko
5f28d8b809 fix(@desktop/communities): Pass chainId to status-go call
Fix #9725
2023-03-06 11:27:57 +01:00
Jonathan Rainville
e9f4426e61 refactor(devices): make loading devices lazy load and async
Fixes #9439
2023-02-28 17:06:16 -05:00
Alex Jbanca
79b4d7638a fix(QAbstractItemModel): Fixing memory leaks and crash when using startupModule after the object is deleted 2023-02-28 18:37:34 +02:00
Sale Djenic
c83794470b chore(keycard): sync keycard with the current app state updated
This commit resolves a crash happened due to connection to
`SIGNAL_WALLET_ACCOUNT_TOKENS_REBUILT` when keycard sync
flow was run in the background.

Also updated the keycard synchronization process with the current state of
the application and is the first step of many which leads towards completion
of entire syncing feature.
2023-02-27 17:02:47 +01:00
Dario Gabriel Lipicar
27b8180fdd feat(@desktop/Wallet): use new status-go currency formatting API
Fixes #9453
2023-02-17 13:06:52 -03:00
Michal Iskierko
b6f5c558a9 feat(@desktop:communities): Minting functionality with dummy data
Add Community Tokens testing UI with minting button, enabled by a Advanced Settings toggle.
Add minting module,view and needed models.
Add community_tokens service to call collectibles smart contract functions.

Issue #8921
2023-02-13 13:42:29 +01:00
Jonathan Rainville
f8ecd9dbce refactor(chat): make getChats async to speed up start time
Fixes #9340
2023-02-08 16:18:44 -05:00
Sale Djenic
ca3f82848b chore:(@desktop/general): storing to keychain logic simplified, improved 2023-02-03 10:55:22 +01:00
Sale Djenic
1818347da3 fix(@desktop/wallet): migrate non profile keypair and delete account fix
Due to changes done in https://github.com/status-im/status-go/pull/3133
we had to update procedure for adding migration keypair (which includes
local keystor files deletion for the accounts being migrated) and procedure
for account deletion, cause in order to delete local keystore file for the
acount which is being deleted, we have to provide a password now (states
only for non keycard accounts, keycard accounts use empty password).
2023-02-02 17:00:54 +01:00