Commit Graph

2962 Commits

Author SHA1 Message Date
Anthony Laibe 8abd9c56a1 fix(@wallet): random failure with building dto
fixes #12581
2023-11-09 10:29:34 +01:00
Igor Sirotin 4c99ca3f76
fix: activate community channel link (#12653) 2023-11-08 16:51:57 +00: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
Sale Djenic fa3be8623b fix(@desktop/general): LoadAllTransfers flag is set to true when a user is logging in 2023-11-08 12:09:40 +01:00
Boris Melnik 3030a689d8 feat(discord): Process import cancelled event
Fixes: #12504
2023-11-07 16:43:30 +03:00
Boris Melnik 99712a076b feat(discord): Import single channel from discord
Fixes: #12238
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
Igor Sirotin 52dd0abbce
feature: live status link previews (#12613)
* feat: live received status link previews
* link preview cards: active members count
* update `requestCommunityInfo` to new backend. Add `requiredTimeSinceLastRequest` arg
2023-11-06 19:26:44 +00:00
Anthony Laibe 2b92c1561e fix(@wallet): enable all networks by default 2023-11-06 09:50:05 +01:00
Patryk Osmaczko 59048b2069 feat(communities): integrate community sharding
closes: #12408
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
Sale Djenic 0e16a4e2fb feat(@desktop/general): signing flow added globally
Signing flow can be run globally (similar as authentication flow is run) emitting
`SIGNAL_SHARED_KEYCARD_MODULE_SIGN_DATA` from any part of the app
and listening for a signal `SIGNAL_SHARED_KEYCARD_MODULE_DATA_SIGNED`
to get corresponding result.
2023-11-03 16:14:18 +01:00
Sale Djenic 9c9bcef6d2 feat(@desktop/keycard): sign flow added to the shared keycard module 2023-11-03 16:14:18 +01:00
Sale Djenic 52d760d1b3 fix(@desktop/keycard): resolving v param for data signed on a keycard fixed 2023-11-03 16:14:18 +01:00
Sale Djenic 37e35d143e chore(@desktop/community): unused code removed 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
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
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
Sale Djenic 1e2f4387b6 fix(@desktop/general): error while generating account
Fixes: #12563
2023-10-31 12:30:36 +01:00
Anthony Laibe a5aba6e4e2 fix(@wallet): send to only operable account
fixes #12509
2023-10-31 10:28:28 +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
Jonathan Rainville fd0e4eff43 fix(pairing): fix pairing error on too fast login
Fixes #12550

The problem was that we used the pairing event saying "Finished" to show the Login button, however, when that even is received, the Node hasn't started fully yet, so we might try to login when the accounts are still empty in the cache.

The solution is to use the return from the async task, since that one returns at the very end when the process is over and the node is ready. Obviously, if tat returns an error, we still use the error instead.
2023-10-27 14:49:40 -04:00
Cuteivist bbfe9a89f8
feat(@desktop/token): Add community id to Token struct (#12534) 2023-10-27 19:09:03 +02: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
Igor Sirotin 9881c15f3c
Fix/issue 12356 no shared url data (#12557)
* refactor service `parseSharedUrl` functino
* drop unused RootStore functions
* refactor Utils shared urls functions
* fix(MembersSeectprView): ignore shared url data
* drop `openContactRequestPopupWithContactData`
* fix loading of data to popup
2023-10-26 14:58:05 +01:00
Alex Jbanca c22dc23ce0 fix(LinkPreviews): Fix link preview settings
Removing link preview settings leftovers after integration.
2023-10-26 14:13:13 +03:00
Cuteivist b1a8fd6260
fix(@desktop/wallet): Prevent nil conversion to qvariant (#12546) 2023-10-26 10:01:52 +02:00
Anthony Laibe 5c4dd60f1e fix(@wallet): all highlight
fixes #12492
2023-10-25 15:58:35 +02:00
Alex Jbanca 8ac6eb8916 fix(LinkPreviews): Fixing gif hyperlink detection in StatusChatInput
The link preview model can be filtered, but the hyperlink detection needs an unfiltered model to properly highlight all URLs. This brought in the need to separate the urls model and the link previews model.
2023-10-25 09:58:38 +03:00
Alex Jbanca 3050e97c9c feat: Link preview settings to Status chat input unfurling mode
Changes:
1. Update privacy controller to react to external unfurling settings change
2. Add handler to input controller and react to external unfurling settings change
3. Small other fixes
2023-10-24 17:35:07 +03:00
Sale Djenic 428ac1a4de fix(@desktop/general): status.prod fleet is always used regardless of the fleet being chosen 2023-10-24 13:16:58 +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
Anthony Laibe 0ba9ce9c8e fix(@wallet): token not always visible
fixes #12508
2023-10-23 16:05:19 +02:00
Alex Jbanca 1cd00b77a0 fix(StatusQ): Extend StatusToastNotification to support RichText and allow larger content
Changes:
1. StatusToastMessage now supports dynamic content height
2. Add new StatusToastMessage type: Danger
3. Update StatusToastMessage to support RichText content
4. Fix StatusQ sanboxapp compilation
5. Add the new StatusToastMessage content to sandbox
2023-10-23 16:33:17 +03:00
Michal Iskierko 92e1c3c4cd feat(@desktop/communities): Pass owner&master tokens addresses whend deploying assets
Issue #12364
2023-10-18 14:43:26 +02:00
Igor Sirotin e5b68e8823
fix: messaging settings and url unfurling fixes (#12457)
* remove browser selection setting
* remove main whitelist settings. replace tenorGif setting with gifUnfurlingEnabled
* remove old unfurling
* move history nodes section
* disable outdated e2e tests step
* remove isGifWidgetEnabled setting
* fix: StatusMessage height when gif unfurling disabled

---------

Co-authored-by: Anastasiya Semenkevich <anastasija.ig@gmail.com>
2023-10-18 10:03:32 +01: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
Dario Gabriel Lipicar febc2d061f feat(@desktop/wallet): support received community collectibles event
Fixes #12425
2023-10-17 13:47:43 -03:00
Anthony Laibe e31d8ebd3e feat(@wallet): arbitrum sepolia 2023-10-17 10:05:51 +02:00
Khushboo Mehta 246f58ef94 fix(@desktop/wallet): (tokens) unknown RPC method wallet_updateVisibleTokens
fixes #12405
2023-10-17 09:59:29 +02:00
Igor Sirotin 22ce35cf9c
feature: support url unfurling settings (#12441) 2023-10-16 17:05:55 +01:00
Sale Djenic fd5e8127c7 fix(@desktop/general): env vars evaluation fixed
Env vars were read correctly and evaluated during the runtime, but then
assigned to a const evaluated during the compile time and that const was
used in the code, leading to ignoring a real env value.
2023-10-16 13:18:35 +02:00
Lukáš Tinkl 607a7acbd1 fix: CTRL+K navigation doesn't work for 1-1 chats (only for communities)
make a few "fixups" for OneToOne and Group chats so that we set the
correct `sectionId` and `sectionName`

Fixes #12264
2023-10-16 11:37:21 +02: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
Jakub Sokołowski ac935b00d7
chore(e2e): rename TEST_ENVIRONMENT to STATUS_RUNTIME_TEST_MODE
Because the environment variable name is far too generic and barely
means anything. It needs to clearly indicate that it's supposed to be
used at runtime and it changes how the Status app behaves.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-13 09:02:44 +02:00
Alex Jbanca fcd9567677 feat: Add settings card to control link previews settings in chat input
This commit adds the link preview settings card in the chat input area and connects the settings to the controller.

Not included in this commit: Backend for the preserving the settings, syncing the settings and enforcing the settings on the backend side.

Whenever an url is detected in the chat input area, the link preview settings card is presented. This card enables the user to choose one of the following options:

1. `Show for this message` - All the link previews in the current message will be loaded without asking again. The current message can be defined as the message currently typed/pasted in the chat input. Deleting or sending the current content is resetting this setting and the link preview settings card will be presented again when a new url is detected.
2. `Always show previews` - All the link previews will be loaded automatically. The link preview settings card will not be presented again (in the current state, this settings is enabled for the lifetime of the controller. This will change once the settings are preserved and synced)
3. `Never show previews` - No link preview will be loaded. Same as the `Always show previews` option, this will be preserved for the lifetime of the controller for now.
4. Dismiss (x button) - The link preview settings card will be dismissed. It will be loaded again when a new link preview is detected

The same options can be loaded as a context menu on the link preview card.

Changes:
1. Adding `LinkPreviewSettingsCard`
2. Adding the settings context menu to `LinkPreviewSettingsCard` and `LinkPreviewMiniCard`
3. Connect settings events to the nim controller
4. Adding the controller logic for settings change
5. Adding the link preview dismiss settings flag to the preserverd properties and use it as a condition to load the settings.
6. Adding/Updating corresponding storybook pages
2023-10-12 15:40:01 +03:00
Khushboo Mehta dd8c3173f6 fix(@desktop/wallet): Wallet -> Setting -> Edit network: toast message is not displayed when reverting to default
fixes #12419
2023-10-12 15:36:36 +03:00
Alex Jbanca 422bb2c064 feat: Generate link previews in StatusChatInput - Small updates + Add basic zoom to Storybook InspectionWindow 2023-10-12 14:08:28 +03:00
Alex Jbanca ebe102ac8a feat: Generate link previews in StatusChatInput - introduce remove/reload link to link preview model
1. Updating the link preview model to allow remove URL data. This will discard the link preview data and mark the item as immutable. When an item is immutable it won't accept further updates.

2. Remove reset model when the model urls is changing. Use insert/update/remove rows to avoid any unnecessary UI updates and visual artefacts.

2. Add reload link API. It will request again the link preview
2023-10-12 14:08:28 +03:00
Lukáš Tinkl 2abe0358fc feat: Add URL trust options when the user clicks on a link
- add a popup asking the user before clicking on an unfurled link
preview
- add a checkbox for the above popup to remember the trust for such
domain
- use local Settings to persist the "trust domain" locally; for
global persistence across devices, see
https://github.com/status-im/status-go/issues/4132

Closes #12388
2023-10-12 10:57:15 +02:00
Dario Gabriel Lipicar 328d4f75e5 feat: trigger collectibles refresh on transfer
Fixes #9823
2023-10-11 16:51:43 -03:00
Igor Sirotin ac8fb8ffdb
fix: attach link previews in `SendImages` (#12402) 2023-10-11 13:28:52 +01:00
Anton Iakimov 834753351c
update status/wakuv2 fleets DNS discovery enrtree
https://github.com/status-im/infra-misc/issues/171
2023-10-10 17:12:31 +02:00
Khushboo Mehta 601be63774 feat(@desktop/wallet): Wallet Setting: New designs for edit network settings
fixes #11751
2023-10-09 18:01:01 +02: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
Khushboo Mehta 8252baf846 fix(@desktop/wallet): Selecting other than the mainnet doesn't display all tokens in the send popup
fixes #12255
2023-10-05 17:19:00 +02:00
Dario Gabriel Lipicar 3354af0784 feat(@desktop/wallet): use Alchemy API key for Ethereum main/goerli 2023-10-05 10:29:48 -03:00
Stefan a587e504ef fix(wallet) forever loading balances
Allow the balances to be nil in the BalanceDTO.

It seems in some corner-cases the balances are returned with rawBalance
as "<nil>" which can't be parsed as a valid Int256; see change cbf56fec.

"<nil>" is not a valid json value, so this is still a workaround.

Closes: #12330
2023-10-05 09:47:42 +02: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
Jonathan Rainville 9dc5527627 fix(chat): fix chat highlighted because it was never marked as read
Fixes #11365
2023-10-04 09:24:29 -04:00
Michal Iskierko 5981e946fd feat(@desktop/communities): Adjust owner and master tokens deployment flow to new API
Issue #11954
2023-10-04 12:08:50 +02:00
Richard Ramos bfa2fe088c feat: enable filter full node by default 2023-10-03 16:26:21 -04: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
Shinnok d9e6fbe0d5
fix(messenger_contacts): Add toast notification when removing a contact
Fixes #10497
2023-10-03 13:37:20 +03:00
Michal Iskierko 4fcf0bfb06 fix(@desktop/communities): Catch all exceptions and use default values for non deployed tokens
Fix #12315
2023-10-03 11:47:01 +02:00
Patryk Osmaczko 2d4e20585b fix: propagate hashed password to threadpool
fixes: #11913
2023-10-02 22:02:01 +02:00
Patryk Osmaczko d51b78468d Revert "fix(threadpool): stop logging task args because they may contain pwd"
This reverts commit b38faeae64.
2023-10-02 22:02:01 +02:00
Jonathan Rainville c6449f67c6 feat(communities): use async getCommunityTokens for list creation 2023-10-02 10:01:33 -04:00
Jonathan Rainville 34dfa00c57 feat(communities): only call getCommunityTokens once per community
Fixes #12032
2023-10-02 10:01:33 -04:00
Lukáš Tinkl 892c4eaa2f feat: add a setting to enable creation of sharded communities
Needed for https://github.com/status-im/status-desktop/issues/12197
2023-10-02 15:04:17 +02:00
Khushboo Mehta d19e95cb5b chore(@desktop/wallet): SendModal: complete storybook flow
closes #12244
2023-10-02 12:27:15 +02:00
Jonathan Rainville 10197dc83a fix: community freezes when editing because of sync operations
Fixes #11808

The problem was that when creating and editing communities, we got the community tokens and all the details about it.
The thing is, those fetches were all done sync, and half of them needed to go to status-go for it.

I fixed it by making those operations async.
2023-09-29 09:45:47 -04:00
Khushboo Mehta 91de960e08 fix(@desktop/wallet): Wallet: Send a multi tx, the notification for the 2nd transfer is not visible
fixes #12242
2023-09-29 14:43:45 +02:00
Stefan e805a9bf26 feat(wallet) user can repeat a Send transaction from activity view
Enable user action to repeat a Send transaction from the activity view
(HistoryView) and details view (TransactionDetailView).

Extend AppMain send modal entry and SendModal API to allow for selecting
all the required parameters for repeating a transaction.

Optimize update of start timestamp for activity filter only when user
attempts to open the filter panel.

Closes #12122
2023-09-29 14:34:16 +02:00
Jonathan Rainville 6e1fd1bb33 fix(backup): fix import not setting recoverAccount so backup wasn't used 2023-09-28 09:55:37 -04:00
Noelia 23966ec2cb fix(Wallet/Collectibles): Applied special collectible format only to community special collectibles
- Updated default value for `communityPrivilegesLevel` to `2 = Community`.
- Added `communityId` checker in `CollectiblesView`, `CollectibleDetailView` and `WalletLayout`.

Closes #12283
2023-09-28 13:40:00 +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 2af8e49ee3 fix(@desktop/onboarding): reading keycards regardless of the way of providing keycards 2023-09-27 18:20:43 +02:00
Sale Djenic d107a9f90b feat(@desktop/keycards): managing mocked keycards when running keycard flows 2023-09-27 18:20:43 +02:00
Sale Djenic b97e1fc8da fix(@desktop/onboarding): getting back to login screen doesn't check if inserted keycard match the selected user - fixed 2023-09-27 18:20:43 +02:00
Jonathan Rainville c05fb6cb83 fix(main/module): make sure to add community only when it is not there
Fixes #12234
2023-09-26 12:13:35 -04:00
Khushboo Mehta 29629a3d6d fix(@desktop/wallet): Send Modal Improvements & missing features
fixes #12243
2023-09-26 12:58:28 +02: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
Cuteivist 5bf905b91d
feat(@esktop/wallet): Implemented filter by similar option (#12232) 2023-09-22 12:57:24 +02:00
Khushboo Mehta 76615b0bf7 fix(@desktop/wallet): Move selected recipient and send type to nim
fixes #12206
2023-09-21 15:34:00 +02:00
Khushboo Mehta c8c9c706d9 fix(@desktop/wallet): SendModal: Move logic to nim Part 2, parsing recipient address string to separate the chain prefixes
fixes #12149
2023-09-21 13:54:04 +02:00
Anthony Laibe 3e985e62e1 fix(@wallet): update network form 2023-09-21 10:45:04 +02:00
Cuteivist fddcc3a83f
feat(@desktop/wallet): Transaction collectibles filtering (#12162) 2023-09-21 08:58:44 +02:00
Dario Gabriel Lipicar 521be27ae0 fix(@desktop/wallet): fix transparent background color in detailed collectible view
Fixes #12163
2023-09-20 19:07:17 -03:00
Stefan d443e631b6 fix(wallet) remove optimization for all chains selected
The optimization was breaking testnet enabled use case by showing
the cached activity for all chains ignoring the testnet on/off flag

Closes #12200
2023-09-20 22:49:13 +02:00
Alex Jbanca 7c8436f492 feat: Adding new user profile cards for link previews 2023-09-20 19:56:18 +03:00
Jonathan Rainville fb4f77b9bb fix(message/service): fix crash on missing assignment of MessageResult
Fixes #12195
2023-09-20 11:51:44 -04:00
Jonathan Rainville 7cef5fcbf5 refactor(section_details): simplify section_details to only contain needed props 2023-09-20 10:13:16 -04:00
Michał Cieślak fb48e7be0b feat: Refactor AmountToSend to use exact amounts for transactions
Closes: #12168
2023-09-20 15:15:29 +02:00
Boris Melnik c102d2de07 feat(activity-center): Display album of images
Fixes: #9951
2023-09-19 22:52:07 +03:00
Khushboo Mehta 1f85ec1bd6 fix(@desktop/wallet): Fixing bugs found during demo 2023-09-19 13:59:46 +02: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
Patryk Osmaczko 720f6884b8 feat(communities): integrate token permissions pending state
closes: #11852
2023-09-18 15:29:03 +02:00
Lukáš Tinkl 848d3b14f5 feat(community ownership) Move community control node flow UI
Implement the UI part of the new flow for moving community control nodes
w/o involving private keys

Closes #12088
2023-09-18 11:00:46 +02:00
Dario Gabriel Lipicar 2ac484dd57 feat(@desktop/wallet): implement collectibles ownership state
Fixes #12159
2023-09-15 19:28:49 -03:00
Dario Gabriel Lipicar 52e6fddcab feat(@desktop/wallet): implement partial collectibles updates
Fixes #12150
2023-09-15 19:28:49 -03:00
Jonathan Rainville f71caf8e77 Revert "refactor(section_details): simplify section_details to only contain needed props"
This reverts commit 9968495ef3.
2023-09-14 14:42:59 -04:00
Jonathan Rainville 9968495ef3 refactor(section_details): simplify section_details to only contain needed props 2023-09-14 14:41:29 -04:00
Alex Jbanca 4f2f9646ec fix: Defer QModelIndex delete when it is created
It's fixing a crash on dataChanged when SortFilterProxyModel is used in qml on top of nim models. The model index is destroyed too early and the SFPM will use a deleted index.

(cherry picked from commit 8032cf7244)
2023-09-14 10:04:39 -04:00
Alex Jbanca 856b0d8139 fix: Crash when 1-1 chats order is changing in the UI
(cherry picked from commit ba00228d0f)
2023-09-14 10:04:39 -04:00
Alex Jbanca 99b2a87fe4 fix: Fixing a crash on channels reordering in community column view
(cherry picked from commit 41ba1f1710)
2023-09-14 10:04:39 -04: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 f597ef4e6a feat(@desktop/wallet): Glue for sending nft
fixed #12128
2023-09-12 14:01:10 +02:00
Sale Djenic 61b217c5eb fix(@desktop/wallet): the app crashes when receives "show/hide watch only" value from paired device
Fixes: #12115
2023-09-11 14:47:25 +02:00
Cuteivist 3548cee149
feat(@desktop/wallet): Added missing filter types (#12109) 2023-09-11 13:43:21 +02:00
Dario Gabriel Lipicar bad497cc90 feat(@desktop/wallet): implement nested collectibles model
Part of #12072
2023-09-11 08:02:02 -03:00
Sale Djenic 61f3d903ce feat(@desktop/syncing): keypair syncing - migrate keypair to/from keycard if devices are already paired
Closes: #11706
2023-09-11 12:14:36 +02:00
Cuteivist 33a8ed9b9c
bug(@desktop/wallet): Unkown symbol and Gwei decimals (#12083) 2023-09-11 12:08:21 +02:00
Cuteivist 63eacf0817
feat(@desktop/wallet): Use estimated latest block for details (#12092) 2023-09-11 10:08:53 +02:00
Alex Jbanca 624b758c85 fix(Update fees periodically): Implementing periodic fee update for airdrops, minting, self destruct and burning transactions 2023-09-08 23:25:04 +03:00
Alex Jbanca f2b3ba1ae7 fix(Update fees periodically): Adding requestId to compute fees nim flows
The compute fees flows are async and requestId/responseId is added for the UI to match a request with the proper response.
2023-09-08 23:25:04 +03: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
Lukáš Tinkl e106be9b12 feat: Single discord channel import UI flow
Closes #12039
2023-09-07 14:52:53 +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 dfb76cfa87 fix(wallet) use the all chains enabled state in filter
Optimization and fixes no chain ID for multi-transaction issue.

Updates: #12077
2023-09-05 18:54:51 +02:00
Khushboo Mehta a8cb40809c fix(@desktop/wallet): Edit Networks: Add warning when failover and main rpc are the same
closes #11551
2023-09-05 16:56:27 +02:00
Stefan 8138e5edcf chore(wallet) remove requesting detailed transaction info for activity
Closes #11598
2023-09-04 22:07:24 +02:00
Sale Djenic ef4a564fc7 feat(@desktop/wallet): account interaction - stop using a keycard for profile keypair (on device)
Part 3 of: #11737
2023-09-04 16:25:53 +02:00
Sale Djenic cf7c3325e7 chore(@desktop/general): converting to a regular account switched to an async job 2023-09-04 16:25:53 +02:00
Stefan 6b56bbe01f chore(wallet) move totalFees to details
Updates #11597
2023-09-04 14:33:19 +02:00
Stefan 600793e0de chore(wallet) lookup symbols for wallet activity filter
Updates #11597
2023-09-04 14:33:19 +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
Jonathan Rainville bc4a150afa feat(shared_addresses): get old shared addresses for the edit popup
Fixes #11973
2023-09-01 09:31:40 -04:00
Sale Djenic 45f7299202 feat(@desktop/wallet): adding factory reset keycard flow as a continuation to the stop-using keycard flow
Part 2 of: #11737
2023-09-01 09:20:54 +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
Jonathan Rainville 789a01cf09 feat(shared-addresses): add loading state for checking permissions
Fixes #11893
2023-08-30 10:48:12 -04:00
Jonathan Rainville 8336a6d08e fix(crash): fix crash about community permissions
Fixes #11996
2023-08-30 10:38:47 -04:00
Jonathan Rainville 4ea3ec8575 fix(chat_section): only call community function for communities 2023-08-30 10:38:47 -04:00
Jonathan Rainville 3fa315c3a8 chore: clean up modules and controllers by removing the useless function 2023-08-30 10:38:47 -04:00
Khushboo Mehta 330ccb58a6 chore(@desktop/wallet): Move send modal logic over to nim side
fixes #11881
2023-08-30 14:45:40 +02:00
Cuteivist db350dc36e
feat(@desktop/wallet): Fetch multi tx details (#12002)
closes #11897
2023-08-30 14:10:59 +02:00
Michal Iskierko 7077831a65 feat(@desktop/communities): Change call names to collectibles service
Issue #12011
2023-08-29 13:27:43 +02:00
Michal Iskierko da30b8d2d8 fix(@desktop/communities): Pass addressFrom from UI to contract calls.
Use address set in UI instead of deployer.

Fix #11827
2023-08-25 15:48:51 +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 aec5dc62c9 fix(@desktop/wallet): importing keypairs at the account level (navigating into an account page in Wallet) (point 9)
Point 9 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic fadad5f4f6 fix(@desktop/wallet): importing keypairs at the account level (navigating into an account page in Wallet settings) (point 8)
Point 8 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic 228de3715b fix(@desktop/wallet): QR dialog (point 4)
Point 4 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
Sale Djenic 3113fffef9 fix(@desktop/wallet): fixed crash while handling received removed account from a paired device 2023-08-24 10:07:31 +02:00
Shinnok ffc560b393
Add ChatIdentifierItem back, after model is cleared (#11900)
On chat history clearance initiated by the user.

Fixes #10889
2023-08-22 14:23:40 -04: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
Mikhail Rogachev 3463d7a01f
fix(Communities): show community tokens in token section (#11970)
Close #11843
2023-08-22 19:07:02 +03:00
Mikhail Rogachev cc83098263
feat(Communities): Improvements for token holders list (#11923)
* feat(Communities): Refactor token holder list item to separate file

Close #11858

* feat(Communities): Use contact details for community member info

* feat(Communities): reuse StatusMemberListItem for member token holder

* Review fixes

Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>

---------

Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>
2023-08-22 18:34:37 +03:00
Igor Sirotin 9716f9b1ac
fix: Only send unfurled link previews (#11976) 2023-08-22 09:47:17 -04:00
Sale Djenic a1bf7bed19 feat(@desktop/syncing): make a not operable account fully operable, part 3
Closes the third part of #11779
2023-08-22 12:22:32 +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
Jonathan Rainville 8332a685c4
Hook pending join request backend to new UI (#11914)
Fixes  #11851
2023-08-21 15:07:40 -04: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
Stefan 3e8f710560 fix(debug) don't overwrite the status-go log level 2023-08-21 10:05:21 +02:00
Anthony Laibe 678f751121 feat(@wallet): mask api keys 2023-08-18 14:30:44 +02:00
Cuteivist faf4933262
fix(@desktop/wallet): Show networks for Bridge txs (#11898) 2023-08-18 10:56:57 +02:00
Alex Jbanca eb6a33f385 fix: Add SA_ONSTACK flag to the event 16 2023-08-18 09:07:23 +03:00
Michal Iskierko a6d7ec2536 fix(@desktop/communities): Fix minting crash when community name length is <3 chars
Fix #11906
2023-08-17 12:20:32 +02:00
Michał Cieślak 1c50ec17a8 chore(Communities): Refactor amounts handling for displaying, minting, airdropping and burning
Closes: #11491
2023-08-17 11:26:25 +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
Jonathan Rainville b38faeae64 fix(threadpool): stop logging task args because they may contain pwd 2023-08-16 13:29:53 -04:00
Dario Gabriel Lipicar 238ffeb01e feat:(@desktop/profile): dedicated collectibles model for profile showcase
Closes #11637
2023-08-15 11:07:53 -03:00
Dario Gabriel Lipicar e82270c718 chore(@desktop/wallet): move collectibles controllers to shared modules 2023-08-15 11:07:53 -03:00
Dario Gabriel Lipicar 21eea92d34 feat(@desktop/wallet): adapt to multiclient collectibles api 2023-08-15 11:07:53 -03:00
Michal Iskierko 0c78a648b5 fix(#desktop/communities): Remove temp minting and temp airdrop buttons
Improve logs in community tokens service.

Issue #11250
2023-08-14 21:40:57 +02:00
Michal Iskierko 603d4dd4d8 feat(@desktop/communities): Deploy Owner and Master tokens flow.
Issue #11250
2023-08-14 21:40:57 +02:00
Sale Djenic 7a1500a365 fix(@desktop/wallet): no notification after deleting keyapir
Fixes: #11866
2023-08-14 16:45:08 +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
Sale Djenic 23fa2f5df3 feat(@desktop/syncing): make a not operable account fully operable, part 1
- handles recovered keypairs

Closes the first part of #11779
2023-08-11 09:48:34 +02:00
Khushboo Mehta ec3231ef7e feat(@desktop/wallet): Update remove keypair popup to match the Figma
fixes #11734
2023-08-10 19:56:59 +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
Alex Jbanca 7d0d321b35 feat(community): Add Pending states to community membership request decisions in members tab panel 2023-08-10 18:02:27 +03:00
Alex Jbanca e9a2b183c7 feat(Community): Add pending states to Community Request Notification 2023-08-10 18:02:27 +03:00
Khushboo Mehta 11820d0400 feat(@desktop/wallet): Wallet settings - Notification after each action
fixes #11719
2023-08-09 11:53:28 +02:00
Sale Djenic a06cd4b8a5 fix(@desktop/wallet): additional chat account visible when adding watch only account
Fixes: #11833
2023-08-09 11:26:37 +02:00
Jonathan Rainville ba89daa737 fix(section_model): fix missing role to update the access (request)
Fixes #11091
2023-08-08 09:31:53 -04:00
Patryk Osmaczko 15701e91aa feat(communities): add check permissions pending state
closes: #11157
2023-08-08 08:58:26 +02:00
Igor Sirotin 34dba08b7a
fix: Only `scrollToMessage` when it's available in the database (#11784)
* rename `fetchMessageByMessageId` to `getMessageByMessageId`
* move reply clicking logic to `StatusMessageReply`
* make message found animation faster
* `asyncGetMessageById`
2023-08-07 23:52:04 +03:00
Jonathan Rainville 9d78e23b68 feat(token_list): add supply to the token list model
Fixes #11437
2023-08-07 09:26:26 -04:00
Dario Gabriel Lipicar 5bd2d8dcfd feat(@desktop/wallet): react to collectibles update only for selected addresses and chains 2023-08-07 09:49:27 -03:00
Dario Gabriel Lipicar 8410e36f24 fix(@desktop/wallet): fix wrong model update when items are fetched 2023-08-07 08:44:05 -03:00
Alex Jbanca 9be2a8d799 feat(Community Overview): Trigger chart data updates on specific actions + optimise the backend calls
This commit includes the following changes:
1. Request from backend the messages count in a specific interval as opposed to all messages timestamps in that interval.
2. Update the chart end date before refreshing the data
3. Fix metrics type parsing in community service
4. Fix a bug where the new incoming data was not processed by ChartJs without a hover event on the chart. The fix here is to manually request paint() on model changes.d

Issues found and not handled here:
1. On large communities the backend request can take 3 minutes to complete
2. CPU usage can easily go to 100% when switching chart tabs on large communities. All the requests are processed by the backend.
2023-08-07 11:12:21 +03:00
Jonathan Rainville 20790a4c2a fix(chatSearch): fix chat search to include all and only chats
Fixes #10770

There were two issues, the first one was that categories were included in the search model because the categories are now part of the chat_model.

Also, since it used the chat_model, some chats were not part of the search model at start, because they weren't loaded yet.

I fixed by using the chats from the service directly instead.
2023-08-04 13:18:27 -04:00
Sale Djenic 6e5469f5aa chore(@desktop/wallet): sorting out keypair/account menu 2023-08-04 15:43:03 +02:00
Cuteivist f8dd1dc811
fix(@desktop/wallet): Properly return token id value (#11792) 2023-08-04 14:24:28 +02:00
Cuteivist b5a81badaa
feat(@desktop/wallet): Handle collectible minting (#11796) 2023-08-04 12:47:45 +02:00
Cuteivist 66e9631933
fix(@desktop/wallet): Speedup wallet view loading (#11736)
fixes #11627
2023-08-04 10:41:45 +02:00
Dario Gabriel Lipicar 06f8ef2186 chore: adapt to new collectibles api 2023-08-03 14:33:45 -03:00
Sale Djenic 570f312617 refactor(@desktop/wallet): wallet service improvements
Closes: #11752
2023-08-03 17:34:39 +02:00
Sale Djenic 23426f184b refactor(@desktop/wallet): tokens removed from `WalletAccountDto` and cached separately in wallet accounts service 2023-08-03 17:34:39 +02:00
Sale Djenic 838aa215e0 refactor(@desktop/wallet): wallet service dto files reorganized and moved to another folder 2023-08-03 17:34:39 +02:00