166 Commits

Author SHA1 Message Date
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
Richard Ramos
810a6bb5f5 chore: remove bloom filter usage 2023-02-01 14:05:00 -05:00
Igor Sirotin
1523c9f2a0 feat: Added chainId to ens usernames 2023-02-01 08:23:14 +03:00
Sale Djenic
52597472ed fix(@desktop/keycard): keycard may be factory reseted during unlock flow in some scenarios (shared module part)
- Unexpected wiping out the data during the unlock flow handled (shared module part)

Fixes: #9183
2023-01-26 09:05:57 +01:00
Sale Djenic
b44fc7a842 fix(@desktop/keycard): keycard may be factory reseted during unlock flow in some scenarios (onboarding part)
- Unexpected wiping out the data during the unlock flow handled (onboarding part)
- Back button actions fixed part 2/2 (onboarding part)

Fixes: #9183
2023-01-26 09:05:57 +01:00
Richard Ramos
519f08241e fix: call logout on exit 2023-01-25 09:08:32 -05:00
Sale Djenic
3ca03bdd49 feat(@desktop/onboarding): Lost Keycard - Create replacement Keycard with seed phrase flow
This commit introduces:
- `Create replacement Keycard with seed phrase` flow
- `Order new keycard` option

Closes: #7641
2023-01-23 18:02:44 +01:00
Dario Gabriel Lipicar
7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes #8640
2023-01-12 15:21:27 -03:00
Patryk Osmaczko
ce08265e0d chore: re-enable logging in prod version
closes: #8932
2023-01-04 18:16:04 +01:00
Sale Djenic
6b6aaf3af1 fix(@desktop/onboarding): onboarding flows for I already use Status path do not match figma requirements (2/2)
Continuation:
desktop app updated after we decided to remove 30 secs waiting time from `status-go` and introduce it
on the desktop app side.
2023-01-04 11:15:58 +01:00
Sale Djenic
19ba018a1d fix(@desktop/onboarding): onboarding flows for I already use Status path do not match figma requirements (1/2)
Profile fetching (display name and identity images) implemented on the status-go side and
integrated in the desktop app.

Signal notifying about the progress while fetching backed up data from waku implemented on
the status-go side and integrated in the desktop app.

`I already use Status -> Enter a seed phrase` and `I already use Status -> Login with Keycard`
updated so they match figma now.

Fixes: #8467
2023-01-04 11:15:58 +01:00
mprakhov
fb254fd775 fix:(@desktop/keystone): Request saving password to keystone on a startup after changing the password through settings 2022-12-21 17:02:38 +02:00
Igor Sirotin
50427390dd ens: Fix ens name inconsistency across app 2022-12-14 23:46:50 +03:00
Jonathan Rainville
59a05243af fix(community): fix messages being gone when we re-join a community
Fixes #7512

The problem was twofold.
1. We didn't try to fetch the messages when we re-joined, since the cursor was not reseted
2. The messages are not longer in the DB since they get deleted on joining.

I fixed 1. by reseting the cursor on leave and calling fetch on spectate
I fixed 2. in the status-go PR so that we no longer delete the messages when leaving.
2022-12-12 10:47:17 -05:00
Igor Sirotin
e436d6937d fix: Removing and releasing ENS names 2022-12-09 18:56:33 +03:00
Sale Djenic
7bae51335b fix(@desktop/onboarding): Onboarding -> Generate keys for a new keycard - display name is not set
Fixes: #8671
2022-12-07 14:22:38 +01:00
Richard Ramos
97190ce716 fix: read fleet from nodeconfig if not available in settings 2022-12-05 11:11:30 +01:00
Richard Ramos
7261c78650 fix: display an error if StartMessenger fails 2022-12-02 11:07:40 -04:00
Pascal Precht
ba4c4b3e93 fix(Settings): better error handling for toggling archive protocol
Enabling the community archive protocol could fail when another app is
using the same port that is specified as torrent client port.

This would cause the app to crash.

With these changes we:

1. No longer crash the app but output an error in the logs
2. We popup a dialog telling the user that the specified pord is in use

Closes #7328
2022-11-23 14:56:08 +01:00
Anthony Laibe
6e6f708d49 fix(@wallet): switch account being slow
Now when switching account all remote call are non blocking

fixes #7430
2022-11-15 14:13:33 +01:00
Sale Djenic
557703543c fix(@desktop/keycard): migrating keypair looks somehow stucked for a while before switching to Migrating key pair to Keycard state
Fixes: #8177
2022-11-15 12:12:07 +03:00
Sale Djenic
3d163cfa33 fix(@desktop/keycard): keystore file for a keypair is not removed once that keypair is migrated to a Keycard
When we're migrating profile or any other keypair to a Keycard
corresponding locally stored keystore files are removed.

Fixes: #8067
2022-11-10 11:03:44 +03:00
Richard Ramos
6e705eab2a fix: set TEST_PEER_ENR in wakuv2 2022-11-08 21:40:06 +03:00
MishkaRogachev
9c8fee09cd feat(ActivityCenter): Community membership status handling 2022-10-28 00:25:10 +03:00
Michal Iskierko
6d2a2e6e03 fix(@desktop/general): Fix clicking deep links in chat
Clicking any deep-link in chat: /u, /c, /cc does not open browser but executes instantly

Fix: #6302
2022-10-25 08:26:16 -04:00
Anthony Laibe
76aedc3615 feat(@wallet): display ens name with saved addressess 2022-10-24 12:39:34 +02:00
Sale Djenic
7a73452706 fix(@desktop/keycard): keypair is not registered for newly created keycard users
Fixes: #7899
2022-10-14 13:53:34 +02:00
MishkaRogachev
c4496483d3 feat(ActivityCenter): handle notification's updates via response 2022-10-07 15:09:56 +04:00
Sale Djenic
3687df2a2f chore(@desktop/keycard): isKeycardUser prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic
79aece0aeb fix(@desktop/keycard): updates to the onboarding/login flow
Changes done within this commit were required by the latest keycard
library change, where we gave up of sending few signals when we're
running/resuming flow, which were sent before (those were signal notifying
about unplugged reader, card not inserted and card inserted, they are sent
by the keycard lib now only if that is really needed).
2022-09-06 15:06:13 +02:00
Sale Djenic
398f62806f feat(@desktop/keycard): initial UI for the keycard settings
This is just a wireframe implementation, without any special functionalities.

Fixes: #7023
2022-08-24 14:18:06 +02:00
Sale Djenic
db44bc25d3 feat(@desktop/keycard): initial keycard implementation
Keycard implementation affected onboarding/login flows.
- new user - first run - new keys into keycard
- new user - first run - import seed phrase into keycard
- old user - first run - login importing from keycard
- login the app using keycard

Fixes: #5972
2022-08-04 09:50:04 +02:00
Jonathan Rainville
0419f8077d feat(windows): hook protocol uris to the urlManager
Fixes #5973
2022-07-28 10:00:43 -04:00
Patryk Osmaczko
8798f785f6 chore: add missing events object to language service 2022-07-27 14:22:50 +02:00
Sale Djenic
f9244e2c9f fix(@desktop/onboarding): Onboarding/Login flow improvements
- startup, login and onboarding modules merged into the single one
- `State` class introduced which is the base class for all states, every state
  determines what is the next state in each of 3 possible actions, and what
  is the previous state, if it has previous state
- `StateWrapper` class is introduced as a convenient way to expose
  `State`'s props and deal with them on the qml side
- startup module maintains states as a linked list and there are few convenient
  methods to move through the list `onBackActionClicked`, `onNextPrimaryActionClicked`
  `onNextSecondaryActionClicked`, `onNextTertiaryActionClicked`
- redundant code removed

Fixes: #6473
2022-07-22 08:13:27 +02:00
Sale Djenic
cd2d289af9 quick crash fix 2022-07-12 16:55:28 -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
Anthony Laibe
ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Pascal Precht
858caeca73 fix: handle bookmarks syncing signals properly
Bookmarks were only synced when devices were synced, but not when
bookmarks were added/removed/updated.

To account for this, there's are new messenger APIs in status-go
proposed here: https://github.com/status-im/status-go/pull/2709

Based on those APIs, desktop can now add/remove/update bookmarks and the
changes are automatically synced to other devices in real-time.
This commit also ensures that changes from other devices with regards to
bookmarks are handled and updated on the current device.

Partially addresses #5201
2022-06-20 12:01:23 +02:00
Pascal Precht
56f7c52e81 fix(sync): handle syncronization of user status
This fixes a bug where the new user status set by the logged in user
would not be broadcast because the corresponding setting would prevent
status-go from doing so.

The fix is done by always enabling broadcasting the user status, then
disabling it again right after setting, in case it was set to "offline".

This commit also ensures that, when current user status updates are
broadcast, the updates are handled across paired devices in real-time.

Partially addresses #5201
2022-06-16 14:02:49 +02:00
Anthony Laibe
00ed4f9c44 feat(@wallet): multi transaction simple view 2022-06-09 15:22:24 +02:00