Commit Graph

1036 Commits

Author SHA1 Message Date
Igor Sirotin 4239f77941
Fix/issue 12651 unfurl status links (#12751) 2023-11-17 16:28:31 +00:00
Patryk Osmaczko 6f39f8782b chore: bump status-go
closes: #12277
2023-11-16 19:25:21 +01:00
Stefan 783a755230 feat(wallet) integrate Wallet Connect sign APIs
Bump status-go that brings the sign APIs support for send transaction
and personal sign

Extend SDK

- simple SDK event handling in QML
- support session request response APIs
- pairing management

Closes #12637
2023-11-15 17:21:27 +01:00
Khushboo Mehta b315d8b9b8 chore(@desktop/wallet): Wallet: explore streamlining "all tokens model" spread across different sections
closes #12424
2023-11-15 10:40:36 +01:00
Sale Djenic 5257d003d9 fix(mocked-keycard-lib): details for the default export public flow updated 2023-11-15 09:53:08 +01:00
Cuteivist 9514853e5f
Chore: bump status-go (#12735) 2023-11-15 09:03:44 +01:00
Patryk Osmaczko 1eab90173e chore: bump status-go
fixes: #12691
2023-11-13 23:13:57 +01:00
Richard Ramos de68d250a6 feat: shards.test fleet 2023-11-13 09:09:47 -04:00
MishkaRogachev a3ef9d6a27 bump status-go on master 2023-11-09 15:57:03 -05:00
MishkaRogachev 84f3626390 feat(Contacts): Show profile showcase data for contacts 2023-11-09 15:57:03 -05:00
Michal Iskierko 2910317c9a chore(@desktop): Upgrade status-go
Issue #11964
2023-11-08 14:35:51 +01:00
Boris Melnik 3030a689d8 feat(discord): Process import cancelled event
Fixes: #12504
2023-11-07 16:43:30 +03:00
Sale Djenic 94953bb925 fix(@desktop/wallet): send modal not working with bridge hop (mainnet to optimism)
Fixes #12615
2023-11-06 21:39:04 +01:00
Patryk Osmaczko 10f71e7413 chore: bump status-go
Updates Community Directory contract addresses.
2023-11-06 19:42:59 +01:00
Patryk Osmaczko cbb59e0fe5 chore: bump stats-go 2023-11-03 17:11:18 +01:00
Sale Djenic ad7774799a feat(@desktop/keycard): joining communities using addresses migrated to a keycard
Closes: #12170
2023-11-03 16:14:18 +01:00
Dario Gabriel Lipicar 99c113c829 feat: implement generalized collectibles filter
Closes #12520
2023-11-02 12:15:33 -03:00
Mykhailo Prakhov b414d616a6
feat: info msg if owner is not awailable after community ownership change (#12560)
feat: info msg if the owner is not available after community ownership change
2023-10-31 18:55:41 +01:00
Jonathan Rainville 36c9493c2d chore(status-go): update status-go to get migration fix
Fixes #12566
2023-10-30 10:45:34 -04:00
Stefan f4c739e730 fix(wallet) update nimqml reference to the master 2023-10-30 13:07:38 +01:00
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
Stefan cc388ec134 fix(wallet) fix crash if to_address is NULL in transfers
Bumps status-go to include the required changes

Updates #11170
2023-06-28 10:35:34 +02:00
Pascal Precht 7b9c78b843 fix: don't allow admins to kick or ban admins
This hides the action items to kick or ban users if they happen to be
admins. There's also a change in status-go that prevents admins to kick
or ban other admins that has to land first here:

https://github.com/status-im/status-go/pull/3666

Closes #10936
2023-06-27 12:13:29 +02:00
Alex Jbanca 56b616f38b fix(DOtherSide): Crash when a QSortFilterModel is collected by nim GC
QSortFilterModel can be used as sourceModel in proxy models. Proxy models rely on receiving the `QObject::destroyed` event when the source model is destroyed to clean the internal data.
Calling `QObject::disconnect` will also disconnect any connections to the `QObject::destroyed` event leaving dangling pointers in the proxy models.
2023-06-27 10:25:06 +03:00
Anthony Laibe 31aca3ac35 feat(@wallet): Sort account by position 2023-06-26 22:21:20 +02:00
Boris Melnik cdac45010a feat(communities): Adds mute community intervals
Fixes: #9369
2023-06-22 20:46:33 +03:00
Stefan eb0406b556 feat(wallet) api to retrieve last activity timestamp
Bumps status-go to include the new API endpoint.

Integrate the new API endpoint with the ActivityFilterPanel.

Closes #11169
2023-06-22 15:53:11 +02:00
Dario Gabriel Lipicar d5d4bba374 fix(@wallet): use fixed activity type from backend
Part of #11080
2023-06-22 08:54:45 +02:00
Stefan 2ba9680316 feat(wallet): filter activity by ERC20
Refactor code to use the token identity instead of token code
Removed the debugging activity view as now we have the API integrated
in the history view
Fixed the activity type in the activity entry

Closes: #11025
2023-06-21 11:49:02 +02:00
Pascal Precht b3329d790e feat: channel permissions
Closes: #10996, #10995, #10993, #10997, #9537
2023-06-20 21:57:37 +02:00
Jonathan Rainville fe8a58c5db fix(badges): fix muted chat not being marked as read
Fixes #11041

Fixes the bug where going to a muted channel with a mention doesn't mark it as read. This was because the QML doesn't call mark as read when a channel doesn't have unviewed messages. That was because our Nim code put 0 as unviewedMessageCount when a channel is muted.

I changed it so that channels always have the value from status-go. No more conditions on the Nim side. Now the condition is on the QML side. So we hide the badge in QML instead. That also means that showing the number of unviewed message, even in a muted channel works.

I also fixed a bug where we counted muted messages on app restart for the normal badge. Usually it didn't cause issues, because it's rare that you had messages in a muted channel and nothing else. You'd also have unread messages in an unmuted channel. so you'd go there, read it, and it would then update the parent badge. 
While testing this issue, I discovered that we in fact count muted channels for the parent badge.
So i fixed it in this one too.
So while chats don't have any Nim code for muted chats, sections do, because status-go doesn't really give us that information.
2023-06-16 15:12:12 -04:00
Dario Gabriel Lipicar 9fc8f66fbd feat(@dekstop/wallet): use amounts from activity backend
Part of #11080
2023-06-16 11:06:23 -03:00
Mikhail Rogachev fecf58102c
feat(Communities): Request to join should ask for a wallet password (#10967) 2023-06-16 15:02:03 +04:00
Igor Sirotin 60d78eb0ad
fix: Re-enable light mode for status.prod (#11042) 2023-06-15 21:34:25 +03:00
Michal Iskierko ff8fc9a9a8 chore(@desktop): Upgrade status-go
Issue #10816
2023-06-15 17:11:15 +02:00
Boris Melnik aa8eb07f56 feat(universal-links): Adds universal links support for macOS
Fixes: #7957
2023-06-15 14:29:06 +03:00
Mykhailo Prakhov 82a1ed2f7a
feat(@desktop/community): Community admin permissions (#10909)
* chore:
- replaced admin bool to memberRole
- activate admin permissions
- configured admin restrictions
2023-06-14 18:00:41 +02:00
Dario Gabriel Lipicar 093fed8688 chore: bump status-go 2023-06-14 08:44:03 -03:00
Dario Gabriel Lipicar 39a5a67937 chore(wallet): split multitransaction command from full struct
Part of #10791
2023-06-13 09:19:03 -03:00
Stefan 43c7258328 feat(wallet): make filter API async
Bump status-go to include the async API changes
Handle the wallet-activity-filtering-done event
Propagate the has more flag
Extend the debugging UX

Update #10994
2023-06-12 18:36:24 +02:00
Lukáš Tinkl 6bfe79a7f3 fix(Chat): Context menu for gif downloads/copies a png file
Detect the MIME type using `QMimeDatabase` from the actual content and
save it in that same format using `QSaveFile`, as `QImage` does NOT
support saving a GIF

Fixes #10747
2023-06-12 16:51:33 +02:00
Pascal Precht fe491aba6e feat: introduce and handle `checkPermissionsToJoinCommunity()`
This is an improved version to check wether a user has permission to
join a community and updating the join community view accordingly.

We now asynchronously do all the checks in status-go and process
a single result upon token permission updates, additions and deletions.

Depends on: https://github.com/status-im/status-go/pull/3494

Closes #10481 #4939
2023-06-12 12:41:47 +02:00
Stefan 16304ab26b feat(wallet) filter activity by status
Parse the status information from the API response
Added debugging status as to the debug view

Closes: #10746
2023-06-12 10:38:31 +02:00
Richard Ramos a8c8f5b36c chore: bump go-waku 2023-06-09 14:16:33 -04:00
Sale Djenic a0d72f9532 fix(@desktop/onboarding): recovering an account from waku
Fixes: #10969
2023-06-09 19:10:44 +02:00
Lukáš Tinkl 9aeba367df fix: download remote image URLs in DOS/C++
this should resolve the CI issues in `e2e` target by moving away the
httpclient NIM impl to DOS (C++)
2023-06-08 20:46:06 +02:00
Lukáš Tinkl a01bb75b3f fix(DOS): fix the "image_resizer" to accept both paths and blobs
- accept both the blob (`data:image/jpeg;base64` payload) or a path/URL
to a local file
- remove the usage of QPixmap, QImage is enough and more suitable for
save/load and resizing as well
- remove usage of an extra file when saving
2023-06-08 15:33:46 +02:00
Mikhail Rogachev 010640acd0
feat(Chat): display MutualStateUpdate system messages in 1-to-1 chats (#10847)
* feat(Chat): Display MutualStateUpdate system messages in 1-to-1 chats

* feat(ActivityCenter): Add AC notification when a user get removed by another contact

* fix: crutch fixing segfault on contact removal
2023-06-08 16:52:03 +04:00
Patryk Osmaczko 216a5511f2 chore: bump status-go 2023-06-08 13:09:59 +02:00
Boris Melnik 73eb12c914 feat(communities): Adds mute category interval
Part of: #9369
2023-06-08 00:16:54 +03:00
Alex Jbanca dc20651a97 chore: Bump status-go version to include sqlcipher upgrade 2023-06-07 15:50:22 +03:00
Sale Djenic ae492fe631 fix(@desktop/profile): profile social links
- added to sync mechanism
- added to backup mechanism
- UI updated according to the newest changes

Closes: #10390
2023-06-07 13:22:59 +02:00
Stefan 197f5f74d5 fix(wallet): speed up loading of wallet by indexing data
Bump the status-go HEAD to include the index changes
2023-06-06 16:10:00 +02:00
Patryk Osmaczko 4b2d328a07 chore: bump status-go 2023-06-06 09:39:54 +02:00
Khushboo Mehta 28654e0187 \chore(@desktop/wallet): Change customisation colours on desktop to match those used on mobile
fixes #10637
2023-06-02 19:48:19 +02:00
Jonathan Rainville ceb810e63d fix(contacts): fix inconsistency when banning or unbanning contact
Fixes #10501

The problem was that didn't have access to the updated contact from status-go after banning or unbanning, so we just changed the banned property, but there is more that gets changed in the backend, like `removed` being set to `true` as well.
With this fix, when you unban someone, you go back to a fresh start, as **non** contact, so you need to send a request again. That was the state you got if you restarted the app, so "re-sync" the state with status-go.
Another issue was on the frontend (QML). When banned,  and after restarting to get the right state, the unban button would be disabled and the Add contact request button would show, which is not good. We only want to send requests when unbanned.
2023-06-01 14:25:20 -04:00
Cuteivist 088dd76257
desktop(DOtherSide): Set env var before creating gui app (#10891) 2023-06-01 20:24:31 +02:00
Igor Sirotin e82f6ebf53
fix: Manual login after local pairing (#10858) 2023-06-01 11:15:51 +03:00
Patryk Osmaczko 557fbdc0a2 chore: bump status-go 2023-05-31 10:54:48 +02:00
Jonathan Rainville 44ffc05077 chore(status-go): up status-go to get fix for group chats disappearing 2023-05-30 14:30:24 -04:00
Anthony Laibe 1f582451aa feat(@wallet): returns only enabled networks 2023-05-29 09:44:06 +02:00
Sale Djenic ea068e4dab fix(@desktop/wallet): let user add a new account even address' activity details are not fully fetched
Fixes: #10800
2023-05-26 10:53:14 +02:00
Sale Djenic 38ce51e4bb chore(@desktop/wallet): changes caused by accounts improvements on the `status-go` side
Closes: #10592
2023-05-26 06:54:50 +02:00
Lukáš Tinkl 6233eedf58 [chore] up status-go to get the AES encryption improvements
Fixes #10726
2023-05-25 13:07:39 +02:00
Patryk Osmaczko 6b8632206a chore: bump status-go 2023-05-23 16:39:19 +02:00
Mikhail Rogachev cba67b3b23
fix(Contacts): fix accepting contact request for synced contacts (#10739)
Close #10032
2023-05-22 19:34:35 +04:00
Anthony Laibe be8c5d7534 fix(@wallet): Address details per chain
fixes #10068
2023-05-22 10:24:32 +02:00
Lukáš Tinkl 684d17d968 perf: update status-go to include the SHA1 improvements
Needs: https://github.com/status-im/status-go/pull/3490
Fixes: https://github.com/status-im/status-desktop/issues/10559
2023-05-17 12:28:38 +02:00
Mikhail Rogachev 3a030102fe
Fix(Contacts): fix weird behaviour in some contacts flows edge cases (#10613)
* fix(Chat): Fix displaying CR messages in the chat

* fix(Contacts): Relay on actual status-go state during contact state manipulation

Close #10500
2023-05-15 15:22:04 +04:00
Alex Jbanca ac6307c77c chore(status-go): bump status go 2023-05-15 12:14:27 +03:00
Jonathan Rainville 8e1d7cac05 fix(logs): fix issue where all logs were kept archived
Part of #3610
2023-05-11 15:15:57 -04:00
Sale Djenic 534e172397 chore(@desktop/wallet): `KeyPairDto` which actually refers to keycard is renamed to `KeycardDto`
This change is needed for further changes which are part of issue #10592
2023-05-10 10:11:26 +02:00
Sale Djenic 5122815df8 feat(@desktop/wallet): removing wallet account without an authentication
Closes: #10569
2023-05-09 12:05:49 +02:00
Stefan 528bb53b77 fix(Wallet) move deletion of pending transactions in nim
Bump status-go HEAD that removes deletion of pending multi-transactions
in status-go

Previous implementation was relying on the fact that all pending
transactions are also multi-transactions, which it seems not to be
the case (e.g. ens, airdrop collectible)

Also tried to extend the deletion of multi-transactions to status go
but it was causing crashes for minted/dropped tokens.

Updates #10474
2023-05-08 11:58:50 +02:00
Jonathan Rainville 162662a09a chore(status-go): up status-go to have permissions crash fix 2023-05-05 14:56:31 -04:00
Patryk Osmaczko 935ab046e6 chore: bump status-go 2023-05-05 19:57:39 +02:00
mprakhov 60bd0d2a6c feat(@desktop/communities): Automaticaly encrypt closed communitites 2023-05-05 19:04:29 +02:00
Sale Djenic 0323325231 fix: fixing keycard lib for mac M1 2023-05-03 18:05:39 +02:00
Jonathan Rainville 6997e05586 fix(chats): fix unread counters in many instances
Fixes #10076

Reverts the refactor that makes getChannelGroups (ie getChats) not return chats (now it does return all chats too).
That way, we actually have the right mentions and unread count when receiving new messages

Also fixes an issue where mentions and unread count would get reset to 0 when getting a community update, because the signal doesn't have enough info
2023-05-02 14:33:14 -04:00
Igor Sirotin abf58b008f
fix(Pairing): Added installation info to pairing results (#10418) 2023-04-29 13:33:08 +03:00
Jonathan Rainville 17e5aa20c7 fix(message_model): mentions not being removed when deleted or edited
Fixes #10335
2023-04-27 11:27:04 -04:00
Lukáš Tinkl c548a96a2a fix(Settings/LanguageView): do not change language on the fly
disable retranslation, display a confirmation dialog and apply the
language change after app restart

rationale: the way the retranslation works internally is that it force
reevaluation of _all_ QML bindings which:
- might lead to crashes (immediately or later)
- lots of warnings printed to console, some bindings can get broken as a result
- not all UI is correctly retranslated on the fly (we have lots of places
where we assign the text imperatively via JS code), so these wouldn't
appear translated before app restart anyway

Fixes #7823
2023-04-27 16:12:33 +02:00
Boris Melnik 22ee49c551 feat(edit-message): Edit image messages
Fixes: #10072
2023-04-26 14:47:03 +03:00
MishkaRogachev 0ae1881564 fix(ActivityCenter): Fix contact request notifications
Close #9788
2023-04-25 16:16:32 +04:00
Mikhail Rogachev 579ca265b4
Fix(DOtherSide): Exclude threaded renderer all darwin architectures (#10411) 2023-04-25 15:25:31 +04:00
Jacek Sieka c3d1133dfd re-point status-desktop@nimbus-build-system to common 1.6.12 commit 2023-04-24 12:38:35 -04:00
Jacek Sieka e4f7269587 Nim 1.6
Upgrade Nim compiler to 1.6.

The necessary changes are related to how `for` loops now implicitly
create a `lent` type, which is Nim's way of creating a "temporary"
reference to an item inside a collection - this helps performance by
avoiding a copy of the data, but it also means that the copy that
previously was implicit in the for loop must be made explicit in the
code.
2023-04-24 12:38:35 -04:00
Anthony Laibe c8d0cb36e6 feat(@wallet): sort saved addresses
fixes #9772
2023-04-22 11:06:59 +02:00
Sale Djenic ec17309348 fix: `saveAccounts` status-go endpoint change handling 2023-04-21 17:12:10 +02:00
Dario Gabriel Lipicar fb8ea4a054 feat: add api to get list of owners from a given nft contract
Fixes #10290
2023-04-19 16:34:58 -03:00
Richard Ramos cacca6ff31 chore: set default sync period to 9d via status-go migration 2023-04-18 11:24:18 -04:00
Mikhail Rogachev c1b28d23c5
fix(ActivityCenter): Update status-go ActivityCenterNotificationTypeCommunityKicked and fix accepting community requests from AC (#10283)
* fix(ActivityCenter): Move ActivityCenterNotificationTypeCommunityKicked to the right place

Close #9811

* fix(ActivityCenter): fix accepting community request to join
2023-04-14 15:27:13 +04:00
Igor Sirotin aefa2b9f48
fix(StatusQ): StatusQ is QML module (#10207)
* StatusQ QML module
* qzxing is static lib again
* updated StatusQ resources
* fixed Emoji lookup
* added display to tests-imports ci
2023-04-14 11:18:56 +03:00
Jonathan Rainville 713b145653 fix(chat): fix unread count on community by upping status-go
Fixes #10264
2023-04-13 13:47:58 -04:00
Michal Iskierko 4716842a26 chore(@desktop): Upgrade status-go
Issue #10161
2023-04-13 12:06:04 +02:00
Sale Djenic 358869fd6c chore: improvements to `GetWalletToken` function on the `status-go` side 2023-04-06 19:29:16 +02:00
Igor Sirotin 7ebfcd0183
fix(SendContactRequestModal): Implemented contact info request and loading UI (#10177) 2023-04-06 10:56:50 +03:00
Michal Iskierko 617ff8d98d chore(@desktop): Upgrade status-go
Issue #10035
2023-04-05 12:42:02 +02:00
Khushboo Mehta a6df4566dd fix(@desktop/wallet): checkConnected API doesnt return correct values
fixes #9833
2023-03-31 19:59:49 +02:00
Stefan eb39d2814f feat(wallet): implement DerivationPathInput control
The enforcing of the derivation path editing rules is done in a structured
way by handling all the changes on the array of `Element` stored in
d.elements and then recomposing the HTML string to be displayed after
every change.

Main limitation is the workaround in `onTextChanged` that regenerates
the text in order to dismiss foreign characters introduced by pasting
which I couldn't find a way to disable without disabling also the ability
to copy content to clipboard.

Highlights:
- Implement DerivationPathInput control that intercepts the modifiable
keyboard events in order to edit the visible TextEdit.text while
respecting the requirements of the derivation path editing
- Implement a JS Controller that handles the logic of the
  decomposing and recomposing the derivation path string
- Add anew StatusQ with the TextEdit basic look and feel to be used
  in DerivationPathInput control without duplicating the style
- Allow passing modifiable events that are not generating characters in
  order to allow copy to clipboard
- Disable add account when control is in error state
- Limit to maximum 5 elements in the derivation path

Testing:
- Integrate the control with StoryBook for a quick preview of the
  control
- Add unit tests for the Controller basic functionality and regression
  for the main control Item
- Removed forcing x64 architecture on apple arm64 hardware from the
  storybook build configuration

Note: initially the implementation was suppose to be simple parse the
derivation path string edit elements and format it. However, I could not
find a quick way fix the circular dependency issue between editing the
text and reformatting it. The solution was to use a one way from the
structured data to the formatted string which complicates the
implementation logic.

Closes: #9890
2023-03-31 17:08:19 +02:00
Igor Sirotin 14c264e350
feature(Syncing): Embed QR code scanner for syncing devices on onboarding (#9981)
* fix(StatusQrCodeScanner): Improve QR code scanner
- Almost async loading
- Added camera selector
- Added `captureRectangle` property
- Add component info to sandbox qr code scanner page
- Embed QrCodeScanner into desktop app
* Compile and link qzxing as shared library
* Hardcode settingCurrentNetwork. Propagate inputConnectionString errors.
* Added qzxing libdir to e2e tests ld_library_path
2023-03-30 20:57:18 +03:00