Commit Graph

916 Commits

Author SHA1 Message Date
Stefan ccd8c5b65f feat(wallet) Wallet Connect integration prototype
Implement a prototype of integrating [WalletConnect Web SDK]()

- integrate WalletConnect Web SDK using Node.js and packing it using
  [webpack](https://webpack.js.org/guides/getting-started/)
  - this way, we achieve the same versioning strategy for the SDK
- add WalletConnectSDK view
  - it is used to load the web SDK via a WebView (validated working on
  Mac and Windows)
- add new app dependency of WebView QT
  - also update vendor packages `Dotherside` and `nimqml` to add
    required WebView::initialize API used to initialize the WebView
    integration at the app start
- add WalletConnectPage to Storybook for quick prototyping
  - Also add dependency for WebView Qt lib
- index.js is the wrapper used to provide a simple stateful interface
  with the WC SDK
- Entry in ui/generate-rcc.go ensures the node_modules cache is excluded
  from the resource file

Notes:

- Added `com.apple.security.cs.allow-jit` entitlement when signing the
app package. This allows Execution of JIT-compiled Code Entitlement
required by the fast-path of the JavaScriptCore framework on MacOS
platforms.
- Keep some debugging entries expected to help debugging Linux package
- Removed outdated `DerivationPathInputRegressionTests` qml test

Closes #12301
2023-10-30 09:29:33 +01:00
Igor Sirotin a3239d9e2b
fix `ImportCommunityPopup` issues, remove private key importing (#12554)
* feat(Storybook): added "Always on top" setting
* fix(ImportCommunityPopup): show result, remove private key support
2023-10-27 11:25:27 +01:00
Patryk Osmaczko c6c1c0e873 chore: bump status-go 2023-10-26 15:58:50 +02: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
Mykhailo Prakhov ff1cbe29c8
fix: prevent nil dereference in for existing communities (#12490) 2023-10-23 11:21:28 +02:00
Mykhailo Prakhov 3c5b353ab7 fix: setup owner as CommunityDescription signer after minting community owner token 2023-10-19 09:48:40 -04:00
Michal Iskierko 671b462052 chore(@desktop): Upgrade status-go
Issue #12364
2023-10-18 14:43:26 +02:00
Sale Djenic e1149c9227 feat(@desktop/wallet): support keycard authentication for transactions
Closes: #8566
2023-10-18 08:55:48 +02:00
Jonathan Rainville 48d2f72876 feat(sync): sync and pair 1-1 chats and groups
Fixes #10324 and https://github.com/status-im/status-go/issues/3547
2023-10-17 15:04:47 -04:00
Anthony Laibe e31d8ebd3e feat(@wallet): arbitrum sepolia 2023-10-17 10:05:51 +02:00
Igor Sirotin 22ce35cf9c
feature: support url unfurling settings (#12441) 2023-10-16 17:05:55 +01:00
Igor Sirotin 520d34240a
feature: support unfurled Status links (contact/community/channel) (#12303)
* chore: move `LinkPreviewThumbnail` to a separate file
2023-10-13 14:36:07 +01:00
Khushboo Mehta bc85bc8cd3 feat(@desktop/wallet): Include watch only per account
fixes #12305
2023-10-13 12:11:36 +02:00
Dario Gabriel Lipicar 328d4f75e5 feat: trigger collectibles refresh on transfer
Fixes #9823
2023-10-11 16:51:43 -03:00
Anthony Laibe 18c37fbdac feat(@wallet): Enable sepolia network 2023-10-09 15:06:52 +02:00
Igor Sirotin 3321708629
fix: process community info requests fails (#12357) 2023-10-07 09:47:48 +01:00
Dario Gabriel Lipicar 3354af0784 feat(@desktop/wallet): use Alchemy API key for Ethereum main/goerli 2023-10-05 10:29:48 -03:00
Mikhail Rogachev cd4d92aef0
Feat/issue 11795 introduce KickedPending and BannedPending states (#12068)
* feat(Communities): Introduce pending states for kick, ban and unban actions

Close #11795

* feat(Communities): Show bannedMembers pending states on the UI

* feat(Communities:) make kick, ban and unban methods async

* feat(Communities): add signal about community membership status change

* fix(Communities): move membership managment to to the appropriate model

* chore: review fixes
2023-10-05 00:41:51 +03:00
Michal Iskierko 14eec8f8d9 chore(@desktop): Upgrade status-go
Issue #11954
2023-10-04 12:08:50 +02:00
Cuteivist 158bb87b4a
@bug(wallet/activity): Implemented collectibles model (#12294) 2023-10-03 14:15:11 +02:00
Cuteivist 7d852c3565
feat(@desktop/wallet): Refresh recipients model (#12298) 2023-10-03 12:48:47 +02:00
Dario Gabriel Lipicar b7d4cb9605 feat(@desktop/wallet): implement collectibles error states and retry
Fixes #11636
2023-09-27 17:21:19 -03:00
Sale Djenic d107a9f90b feat(@desktop/keycards): managing mocked keycards when running keycard flows 2023-09-27 18:20:43 +02:00
Jonathan Rainville 807df7530f chore(status-go): up status-go to have the 1-1 message marker update
Fixes #10195

Makes sure that 1-1 messages up the chat counter but only every 2 minutes

Does not create the activity center notification. This requires more work
2023-09-27 10:41:15 -04:00
Dario Gabriel Lipicar 18a50c6de5 feat(@desktop/wallet): add community info to collectibles
Fixes #12172
2023-09-22 19:05:27 -03:00
Jonathan Rainville fe0b0ee795 fix(curated_communities): support curated.communities.update signal
Fixes #12207
2023-09-22 12:17:21 -04:00
Anthony Laibe 3e985e62e1 fix(@wallet): update network form 2023-09-21 10:45:04 +02:00
Michał Cieślak fb48e7be0b feat: Refactor AmountToSend to use exact amounts for transactions
Closes: #12168
2023-09-20 15:15:29 +02:00
Mykhailo Prakhov 069b7dab25
chore: status-go update with share requests to join and revealed addresses with privileged roles code (#12211) 2023-09-20 13:10:34 +02:00
Boris Melnik c102d2de07 feat(activity-center): Display album of images
Fixes: #9951
2023-09-19 22:52:07 +03:00
Stefan 7e5ed80847 chore(wallet) remove activity filter dependency on accounts
Bumps status-go and pass the all addresses selected to the API

Close #11980
2023-09-19 10:59:02 +02:00
Anthony Laibe 5b3b673eca feat(@wallet): empty fallback url 2023-09-18 13:00:56 +02:00
Dario Gabriel Lipicar 52e6fddcab feat(@desktop/wallet): implement partial collectibles updates
Fixes #12150
2023-09-15 19:28:49 -03:00
Boris Melnik db436b4e43 fix(archives): Stop importing archives when the user isn't a member of community
Fixes: #12005
2023-09-15 17:17:55 +03:00
Sale Djenic 0d2c68411b chore(@desktop/syncing): sending `pairings.json` file content removed from local pairing (maintained on the status-go side) 2023-09-13 17:52:49 +02:00
Sale Djenic 243b70a3eb chore(@desktop/keycard): desktop side handling of status-go #4003 issue 2023-09-13 17:52:49 +02:00
Khushboo Mehta 702dfd892d chore: bump statusgo to develop 2023-09-12 15:38:47 +02:00
Khushboo Mehta f597ef4e6a feat(@desktop/wallet): Glue for sending nft
fixed #12128
2023-09-12 14:01:10 +02:00
Sale Djenic 3f3c5a6ce1 chore: keycard lib updated to support v2 cards 2023-09-11 12:14:36 +02:00
Lukáš Tinkl 95f6350e8f feat: Passing an empty seq to dataChanged doesn't apply all roles
When calling `QAIM.dataChanged(index, index, [roles])`, passing nothing
(ie omitting the paramater altogether), an empty array `[]`, or an empty
sequence `@[]` means "all roles", just like the C++ counterpart in
https://doc.qt.io/qt-5/qabstractitemmodel.html#dataChanged

Fixes #11830
2023-09-08 14:12:06 +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
Stefan 2c769602f4 feat(wallet) lazy load activity NFT information
Bump status-go to include required changes

Implement processing of activity updated message

Updates: #11600
2023-09-04 14:33:19 +02:00
Stefan 7ae28ec386 fix(wallet) fix pending transactions notification
Bump status-go head to include the fix
2023-09-01 15:30:10 +02:00
Sale Djenic c59f6d72d8 feat(@desktop/wallet): account interaction - stop using a keycard for non profile keypair
Part 2 of: #11737
2023-09-01 09:20:54 +02:00
Sale Djenic c81dfdc7c7 feat(@desktop/wallet): account Interaction - move keypair to a keycard
Part 1 of: #11737
2023-08-30 16:50:33 +02:00
Michal Iskierko ae5381a29f chore(@desktop): Upgrade status-go
Issue #12011
2023-08-29 13:27:43 +02:00
Sale Djenic 6b570d1114 fix(@desktop/wallet): notification centre item relating to import of keypair to another of the user's synced devices (point 1)
Point 1 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic 00513ed306 feat(@desktop/wallet): make a partially operable account fully operable on the first use
This commit makes any partially operable account a fully operable when user
provides a password/pin from whatever reason.

Closes: #11781
2023-08-24 10:07:31 +02:00
Stefan 38377d3c05 fix(wallet) fix pending transactions by using the wallet DB
Bump status-go to include the fix

Closes: #11987
2023-08-23 13:37:52 +02:00
Mykhailo Prakhov 3f5df7e3ef
feat: owner and token master permissions (#11942) 2023-08-22 20:09:34 +02:00
Stefan 8941b218d5 fix(wallet) duplicate entries in activity
The multi-transaction ID was not propagated. The status-go change fixes
this.

Close: #11754, #11404
2023-08-22 19:16:46 +02:00
Ivan Belyakov 43f49c0b2d chore: Bump status-go to include fixes for collectibles migration
issue and wallet db password issue.
2023-08-22 17:49:19 +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
Igor Sirotin 3560786e2a
feat: Unfurl images (#11940) 2023-08-22 10:26:54 +03:00
Boris Melnik 95f829665b
feat(communities): Update permissions list for spectated community tokens model (#11803)
Fixes: #11480

* hook up join popup to permission model

* fix chats not being put in the permission model

* make it work with channel permissions as well

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-21 14:54:57 -04:00
Ivan Belyakov ca5b07af42 chore(wallet): bumped status-go to merge wallet dedicated DB 2023-08-18 09:34:41 +02:00
Mikhail Rogachev f4b028bd71
feat(CommunityTokens): Display community member contact data for token holders list (#11787)
* feat(CommunityTokens): proposal of CommunityCollectibleOwner

Close #11143

* feat(Communities): implement viewProfile from token holders list

* fix: re-request community token owners after a contact get removed from a community
2023-08-17 11:24:14 +04:00
Michal Iskierko dc950d828f chore(@desktop): Upgrade status-go
Issue #11276
2023-08-16 12:11:12 +02:00
Dario Gabriel Lipicar 21eea92d34 feat(@desktop/wallet): adapt to multiclient collectibles api 2023-08-15 11:07:53 -03:00
Michal Iskierko bb2f24693e chore(@desktop): Upgrade status-go
Issue #11250
2023-08-14 21:40:57 +02:00
Sale Djenic 4c6af4f1ad feat(@desktop/syncing): make a not operable account fully operable, part 2
- handles import keypairs (without syncing via qr)

Closes the second part of #11779
2023-08-11 17:22:27 +02:00
Jonathan Rainville 24d26cc038 feat(airdrop): get revealed accounts using new API instead of desc
Fixes #11817

Instead of getting revealed accounts from the community description (it's no longer available), uses the new `getRevealedAccountsForAllMembers` API. Uses it async so that we do not slow the start process. The model is updated correctly when we finish loading them.
2023-08-10 11:59:09 -04:00
Khushboo Mehta 11820d0400 feat(@desktop/wallet): Wallet settings - Notification after each action
fixes #11719
2023-08-09 11:53:28 +02:00
Cuteivist f8dd1dc811
fix(@desktop/wallet): Properly return token id value (#11792) 2023-08-04 14:24:28 +02:00
Dario Gabriel Lipicar 06f8ef2186 chore: adapt to new collectibles api 2023-08-03 14:33:45 -03:00
Jonathan Rainville f4c6cec87d feat(communities): add getCommunityPublicKeyFromPrivateKey function 2023-08-02 13:51:21 -04:00
Mikhail Rogachev edba946a71
feat(Community): Community messaging statistics chart (#11696)
* feat(Community): Community messaging statistics chart

Close 11152

- Use se `collectCommunityMessageMetrics` for messaging statistics chart
in community overview

* feat(Community): Transfer community metrics with dto objects

* feat: impl simple string-based model for community metrics

* fix(Community): Review fixes and fix for changing community when chat is open

* Update src/app/modules/main/chat_section/controller.nim

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-02 20:03:52 +04:00
Igor Sirotin d8c9802d77
fix: Restore window after closing on MacOS (#11748) 2023-08-02 16:49:28 +03:00
Sale Djenic 2e1b60ab06 feat(@desktop/wallet): account Interaction - remove master key and accounts
Closes: #11707
2023-08-01 14:27:23 +02:00
Khushboo Mehta 6c5c36584a feat(@desktop/wallet): Account view - Prefered network
fixes #11578
2023-08-01 09:51:33 +02:00
Dario Gabriel Lipicar bf4af3d7d4 chore(wallet) remove transactions module
Bump Status GO to support session based activity requests

Transaction module was replaced by activity module,
this change removes the old code.

Details:

- Remove transaction.Item and use the DTO directly
- Replace the still using missing functionality
- Remove old way of fetching transactions in response to the history event
- Use activity filter to provide history for "recents" in Send.

Closes #11339
2023-07-31 19:01:33 +02:00
Jonathan Rainville 5eaabe8ea6 chore(status-go): update status-go to get the fix for replies with image
Fixes #11695
2023-07-31 09:28:18 -04: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 dc75c120df feat(wallet): use new status-go collectibles backend
Fixes #11558
2023-07-27 12:48:17 -03:00
Pascal Precht 7e714e33fc feat: implement delelete community token functionality
This partially addresses #11186 as it implements the delete
functionality for community tokens.

If a deployment failed, users have the ability to delete the added
community token from the list.

The retry functionality will be implemented in a follow up commit.

Needs: https://github.com/status-im/status-go/pull/3794
2023-07-26 19:52:33 +02:00
Pascal Precht 9719b5899b refactor: make use of newly introduce `SaveCommunityToken()` API
As discussed in https://github.com/status-im/status-go/pull/3798, there
was a need to separate the logic in `AddCommunityToken()` into two API.

This commit adjust the client to these changes such that:

1. After community token deployment tx was sent, we create
   a `CommunityToken` and add it to the database for tracking purposes
2. Once the tx is mined or dropped, we add the community token to the
   community description and publish it, or we update the deployment
   state in the database

Needs: https://github.com/status-im/status-go/pull/3798
2023-07-26 15:14:34 +02:00
Sale Djenic f0258b5f3a chore(@desktop/wallet): wallet accounts improvements - soft delete
Closes: #11581
2023-07-25 18:45:35 +02:00
MishkaRogachev 8dafd27933 Fix: update status-go an seen mutual state messages
Close 11580
2023-07-25 11:09:41 -04:00
Sale Djenic 45c5a8d3c5 fix(@desktop/syncing): discard messages coming from waku if user didn't follow recover account path
Fixes: #11582
2023-07-25 08:35:29 +02:00
Mikhail Rogachev b75d8630ca
feat: use community.isControlNode as visible for archiveSupporVisible (#11560)
Close #11089
2023-07-22 01:05:42 +04:00
Sale Djenic 9b17a66935 fix(@desktop/wallet): `Wallet -> Settings -> Account order` - drag and drop accounts in account list is not smooth
Fixes: #11508
2023-07-20 18:01:14 +02:00
Jonathan Rainville 0b47412889 chore: up status-go to get fix to approving community requests 2023-07-19 16:02:42 -04:00
Dario Gabriel Lipicar 39117170ab chore: bump status-go 2023-07-19 10:52:49 -03:00
Lukáš Tinkl 02e40adfca feat: New design flows to integrate Revealing addresses...
... when joining Community functionality

Closes #11138
2023-07-19 12:44:16 +02:00
Mykhailo Prakhov fe94bd0c69
chore(@desktop/adminEvents): refactor admin events backend logic
Apply status-go changes for community admin events
2023-07-19 11:18:51 +02:00
Michal Iskierko 1fcdf255e4 chore(@desktop): Upgrade status-go
Issue #11565
2023-07-18 17:02:51 +02:00
Anthony Laibe 3ea5464c33 feat(@wallet): verify json rpc URL 2023-07-18 15:39:21 +02:00
Jonathan Rainville f5693d0136 feat(community): add airdropAddress param to request to join functions
Fixes #11479
2023-07-14 15:11:45 -04:00
Stefan acc100a9ec chore(wallet) index filter data for performance improvements
Closes #11351
2023-07-14 19:38:31 +02:00
Khushboo Mehta a468635ddc feat(@desktop/wallet): Networks - New List UX with link mainnet/testnet + testnet mode enable/disable
fixes #11252
2023-07-14 08:57:36 +02:00
Mikhail Rogachev 1a7532d92c
fix: Fix behaviour issues with CRs and mutual update messages (#11178)
Close #11121
2023-07-13 01:39:56 +04:00
Michal Iskierko f829909aa7 chore(@desktop): Upgrade status-go
Issue #11129
2023-07-12 11:16:57 +02:00
Sale Djenic 37448b01f3 chore: bump status-go
fixes error on login issue
2023-07-11 22:15:44 +02:00
Sale Djenic 1561b170e4 chore(@desktop/syncing): keycards syncing improvements part 2/2
Handling keycards related syncing improvements done on the status-go side.

Closes: #11268
2023-07-11 22:15:44 +02:00
Alex Jbanca 5ed2454532 chore: bump nimqml
Include the fixes for different crashes happening after a QObject destruction is triggered by nim GC
2023-07-05 21:44:20 +03:00
Sale Djenic a10e83bcba chore(@desktop/syncing): wallet keypairs/accounts syncing improvements part 1/2
Handling syncing improvements done on the status-go side.

Closes: #11267
2023-07-05 15:29:43 +02:00
Pascal Precht c10809863a feat: add support for cropped asset data when deploying community NFTs
Needs: https://github.com/status-im/status-go/pull/3705

Closes: #10317
2023-07-05 12:56:37 +02:00
Stefan 2487b4b1cb feat(wallet) make filer apis async
Bump status-go to include required changes

Refactor the API usage to use the new async APIs.
Support multiple events in the same block
Report loading state for all the APIs

Also

- fix the loadingData state in the controller.nim
- reset the model to empty when the filter is invalidated due to
address and chain IDs change

Closes #11170
2023-07-03 17:40:19 +02:00
Michal Iskierko 73c0eea487 chore(@desktop): Upgrade status-go
Issue #10987
2023-06-29 17:27:36 +02:00
Khushboo Mehta a2dd87c18b feat(@desktop/wallet): Watch only account toggle + persisted
fixes #11221
2023-06-29 10:18:42 +02:00