Commit Graph

3217 Commits

Author SHA1 Message Date
Emil Sawicki 18526103fa feat(wallet): Networks model improvements
* refactor getters for chainIds and enabledChainIds
* simplify community chainIds getter
* simplify usage of network dto objects
* remove duplicated roles from send area
* rename network model in send module to network route model
2024-07-02 15:20:02 +02:00
Emil Sawicki 9d0c802805 feat(wallet): Wallet accounts model improvements 2024-07-02 14:41:06 +02:00
Cuteivist c1cc74750f
fix(wallet): Consider ERC1155 as NFT (#15365) 2024-07-02 14:22:05 +02:00
Stefan 97413d99d1 feat(dapps) implement eth_sendTransaction support for wallet
Add `Fees` section to request modal

Closes: #15126
2024-07-02 09:24:09 +02:00
Khushboo Mehta e2949ad6e7 feat(@desktop/wallet): Implements Approve spending cap
fixes #14833
2024-07-02 00:14:19 +02:00
Dario Gabriel Lipicar 9cf4c59ba0 fix(@desktop/wallet): avoid duplicate Approve when performing a Swap
Closes #15330
2024-07-01 15:53:21 -03:00
Dario Gabriel Lipicar 25127bfd63 chore(@desktop/wallet): intergrate uuid to Swap
Part of #15330
2024-07-01 15:53:21 -03:00
Dario Gabriel Lipicar c6fd0f41db fix(@desktop/wallet): fix swap in routerV2 integration 2024-07-01 16:19:15 +02:00
Sale Djenic 7e9f680e0b chore: router v2 integration
Closes: #15204
2024-07-01 16:19:15 +02:00
Andrey Bocharnikov 5c349d1938 chore: Use optimized endpoint to get communities with images
fixes #15340
2024-06-28 23:13:09 +07:00
Jonathan Rainville 7a7dbb631c
perf: use community members for unpermissioned channels (#15156)
Fixes #15149
2024-06-27 10:56:49 -04:00
Jonathan Rainville 775df8097c
fix(links): fix sending links plus images (#15352)
Fixes #15290
2024-06-27 09:42:45 -04:00
Andrey Bocharnikov 174114538e fix(community): community tokens disappear when minting of a new token is finished
fixes #15076
2024-06-26 19:20:27 +07:00
Andrey Bocharnikov ad7053f809 fix(communityUI): Channel name is not changed in the top nav bar when editing a channel
fixes #15146
2024-06-26 19:20:12 +07:00
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 cb368ea5fb feat(dapps) fix missing list of dapps in wallet connect
Updates: #15126
2024-06-26 12:00:54 +02:00
Stefan 92d0420449 feat(dApps) implement sign transaction for wallet connect
Uses status-go's endpoints:
- `wallet_buildTransactions` to format the transaction
- `wallet_signMessage` to sign the transaction
- `wallet_buildRawTransaction` to format the final signed transaction

Updates #15126
2024-06-26 12:00:54 +02:00
Alex Jbanca 901362dfc1 feat(networkSelector): Refatoring of NetworkSelector to remove backend dependency 2024-06-21 16:18:51 +03:00
Jonathan Rainville 8ca51c34cc
refactor(messages): make message sending async (#15237)
Fixes #12411

Makes message sending async and adds a placeholder "Sending.." message
2024-06-20 18:46:12 -04:00
Alex Jbanca 8b4cbc59a8 refactor: Refactoring of AccountSelector dropdown
The new account selector expects a generic account model. It will display all the account data if provided, including preferred chains, balance or asset balance. Otherwise it will display only the available data.
The account selector can receive an initial selection based on account address and will provide the current selected address and the current selected model item.

- Unify the account selector between communities and wallet
- Update the account selector to work with addresses instead of model indexes
- Adapt all components using the account selector or the account selection
- Move/reuse qml components involved in the account selector UI
- Remove nim logic used to handle index based account selection.
- Adding storybook page
2024-06-20 11:24:35 +03:00
Dario Gabriel Lipicar 15452aa79c feat(wallet): integrate swap slippage percentage parameter
Closes #15096
2024-06-19 09:58:36 -03:00
Andrey Bocharnikov f118af8403 fix(community): update hidden channels visibility when joining the community
fixes #14719
2024-06-19 19:57:54 +07:00
Igor Sirotin 430f2501d4
fix: bandwidth usage (#15231)
* feat: added bandwidthStatsEnabled login flag

* update status-go
2024-06-18 15:19:10 +01:00
Igor Sirotin eb9c629bbf
fix: removeTrustStatus response processing (#15206) 2024-06-18 11:08:30 +01:00
Igor Sirotin 067f406572
feat: limit message link previews count (#15214) 2024-06-18 11:08:14 +01:00
Jacek Sieka b51eec7099
chore(nim): task simplification (#13956)
This PR slightly simplifies the way tasks are passed between threads,
removing some unnecessary boilerplate while improving type safety by
removing casts.

This approach works because `nimcall` turns a `proc` into a simple
pointer which just like `cstring` is safe to pass between threads.

Further simplification is possible, but left for a future PR.
2024-06-18 10:10:01 +02:00
Stefan 758dbc55e5 feat(dapps) implement signing of messages
Implement infrastructure and integration with status-go to support
general session requests

Supported methods:
- personal_sign
- eth_signTypedData_v4

depends on status-go change that exposes the signing methods

Also

- support hex or utf8 encoding for personal_sign
- format the typed data for display in the modal

Tests are disabled for now, as they are crashing on CI

Close: #14927
2024-06-17 15:06:26 +02:00
Alex Jbanca ccc2dfc547 refactor: Adding a users_model holding all contacts
Adding a new users_model instance holding all contacts. The users_model is adapted to contain all the user details.
This model is temporary until the full refactoring is done.
2024-06-14 17:17:18 +03: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
Patryk Osmaczko 3b2a7b8f08 fix(communities): fetching owners of erc20
fixes: #14908
2024-06-12 16:04:53 +02:00
Dario Gabriel Lipicar 75d755ea0f feat(@desktop/wallet): initial integration for swap proposal, approve tx and swap tx
Closes #14824
2024-06-11 14:15:26 +02:00
Anthony 51770b063d fix(wallet): display collectibles even if account is not in total
balance

fixes #15128
2024-06-11 11:31:09 +02:00
Dario Gabriel Lipicar 10fbdbfc2c fix(wallet): properly marshall multiTxCommand type
Part of #15098
2024-06-10 12:35:04 -03:00
Andrey Bocharnikov 4145be8f76 fix(settings): fix saving settings
* fix saveNewWakuNode in the settings
* fix setNimbusProxyConfigEnabled in the settings
* fix setLightMode in the settings
2024-06-10 22:26:06 +07:00
Andrey Bocharnikov 7e166ca9f2 fix(message/service): unify error parsing 2024-06-10 22:25:24 +07:00
Sale Djenic eaf5f0263f fix: onboarding keycard issues fixed
- no emojihash and identicon ring displayed in for keycard onboarding flow
- can't restore account (windows and linux), issue #15101
- can't create new account with keycard (linux, windows), issue #15055
- illegal storage access issue when hitting Start using status button (which actually was a crash after pressing the button), issue #15035
2024-06-10 12:30:30 +02:00
Godfrain Jacques ca1ec5281c
fix(@desktop/permission): fix permissions lock icon visibility (#15049)
Fix permissions lock icon visibility on channel permissions,
fixes #14746
2024-06-07 08:04:23 -07:00
Michal Iskierko a7b9a62745 fix(@desktop/communities): Lazy loading token holders
Token holders are not fetched when application starts.
They are fetched only when token details screen is opened.

Fix #14974
2024-06-06 10:18:16 +02:00
Jonathan Rainville 146a6e8501 fix(search): fix searching for hidden chats
Fixes #14961
2024-06-05 13:36:42 -04:00
Godfrain Jacques 9d5c5c64cc
fix(@desktop/group chat): fix empty member list in group chat (#15052)
fixes #14907
2024-06-05 09:39:14 -07:00
Andrey Bocharnikov 3345a9cc48 fix(HistoryNodes): Fix mailserver management UI controllers
Fixes #14982
2024-06-04 15:37:06 -04:00
Jonathan Rainville c4928cfe40 fix: set joined to all members of the comm since they are in the list (#15016)
Fixes #14994

If you are part of the community member list, it means you are joined. It made no sense to add conditions to it.
2024-06-04 14:43:58 -04:00
Andrey Bocharnikov a93455c2d0 fix(chat): Display mention tag even if there is no mention
fixes #14928
2024-06-04 22:51:52 +07:00
Khushboo Mehta aa03edf17c feat(@desktop/wallet): Integrate recurring onramp providers in Recurrent tab
fixes #14820
2024-06-04 11:09:59 +02:00
Jonathan Rainville b2fb287beb
refactor: rely on canPost and canView instead of checking permissions (#14993)
* refactor: rely on canPost and canView instead of checking permissions

Fixes #14983

* chore: remove all Light permission checks that are no longer needed
2024-06-03 15:06:34 -04:00
Michal Iskierko d0b82bc8dc fix(@desktop/communities): Update UI when receiving information about token actions made by other owner/tokenmaster
Fix #13371
2024-06-03 16:10:35 +02:00
Mikhail Rogachev 6c053dd251
hotfix: use canPost and canView from chat in case of a new channel (#15003) 2024-05-31 18:44:21 +02:00
Mikhail Rogachev f62b6eb348
fix(communities): Correct handling 'hide channel from certain members' (#14977)
Close #14915
2024-05-31 12:28:09 +02:00
Jonathan Rainville 2830f01932 Fix missing reaction and edit buttons on permissioned channels (#14933)
* fix poster actions (edit, delete)

* use canPost instead

* fix chat getting updated without community
2024-05-30 10:04:36 -04: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