Commit Graph

3122 Commits

Author SHA1 Message Date
Sale Djenic dbd7937d8b feat(savedaddresses): add save receiver address to the context menu in tx details view
This commit handles saved addresses changes and reflect them to the history view
and tx details view. In this context it handles the same way changes coming from sync
devices.

Also fix the issue when switching network mode.

Closes: #13095
2024-02-15 10:07:48 +01:00
Sale Djenic 3e3452c8db fix(savedaddresses): saved addresses are not in sync between devices
Closes: #9567
2024-02-14 12:19:34 +01:00
Khushboo Mehta d970e7c3f2 fix(@desktop/wallet): Fix issues in adding minted collectible as permision in a community 2024-02-13 16:45:48 +01:00
Michal Iskierko 46c69cf0a8 fix(@desktop/permissions): Hide permissions list in sharing addresses dialog if only base permissions are set
Fix #12884
2024-02-13 12:09:26 +01:00
Jonathan Rainville d41affabb9 fix(discord_import): fix community not cleaned up when it fails
Fixes #12724

The actual issue wasn't reproducible, even if I removed the guards against duplicate names.
But I did find that the community wasn't cleaned up correctly, so I fixed it in this PR. It should limit the confusion and possible issues that could arise.
2024-02-12 16:43:16 -05:00
Mikhail Rogachev a463c335ae
feat(Profile): add hiddenCount property for profile showcase models (#13491) 2024-02-12 17:27:15 +03:00
Khushboo Mehta 8c939ad3a3 fix(@desktop/wallet): Replace existing model used in Community / Permissions and do the needed cleanups
fixes #12513
2024-02-12 14:26:13 +01:00
Alexandra Betouni 480985ca4e
[Settings]: Added change password view (#13284)
* [Settings]: Added change password view

Closes #10037

Adding configuration options to PasswordView

* feat(ChangePassword): Integrate ConfirmChangePasswordModal

1. Integrate with backend
2. Clean unused components

* feat: Add support to restart application

1. Adding restart app support in DOtherSide
2. Integrating nimqml
3. Expose in qml in Utils

* chore: Move changeDatabasePassword call to threadpool

* chore(squish): Fix failing tests due to settings index changes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-02-09 13:31:37 +02:00
Ivan Belyakov 1ac52f5d38 feat: Add RPC statistics screen to settings' advanced view
Closes #13264
2024-02-08 17:10:53 +01:00
Dario Gabriel Lipicar 8b7efa3122 feat(wallet): simplify loading items mechanism for collectibles model
Fixes #11802
2024-02-08 11:08:21 -03:00
Khushboo Mehta 3865c68737 fix(@desktop/wallet): fixing crash on switching testnet model from on to off 2024-02-08 11:26:50 +01:00
Roman Volosovskyi 3d1c98717a
Replace getWalletTokenBalances with fetchOrGetCachedWalletBalances (#13403) 2024-02-07 11:18:59 +01:00
Jonathan Rainville 7b302c07ef feat(chat): preserve 1-1 chat history when closing it + rename copy
Fixes #12754
2024-02-06 12:30:57 -05:00
Anton Iakimov a5b87314f7
chore: go-waku fleets cleanup 2024-02-06 12:39:05 +01:00
Lukáš Tinkl 9b85a302fc fix(showcase): unbreak drag and drop reordering
- unify the signature of the method to `move(from, to, count)` so that
both ListModel and NIM have it the same
- realize the move operation using the proper `begin/endMoveRows`
instead of doing a full model reset
- simplify signaling `dataChanged()` for all model roles (nimqml now
follows the C++ impl)

Fixes #13329
2024-02-06 10:09:56 +01:00
Godfrain Jacques ae16bd8b67
fix(settings): It's not possible to switch the log level (#13309)
* chore: bump status-go

Closes #13139

* fix(settings): It's not possible to switch the log level

Previously it was not possible to change the state of the Debug toggle.
This is because the code forced the setting the default value, ignoring
the database setup, hence always setting the DEBUG as LogLevel.

Closes #13139
2024-02-05 09:11:27 -08:00
Richard Ramos 0dd07a825a fix: missing clusterID in node config 2024-02-05 09:17:01 -04:00
Anthony Laibe 1634109971 feat(@wallet): token list global updated at
fixes #13269
2024-02-02 12:01:17 +01:00
Stefan 40396dcf6f test(wallet) add dev integration tests for incremental activity updates
Test used to investigate the deadlock caused by sending message while
in a message handler.
2024-02-01 21:21:13 +01:00
Alex Jbanca a55dcf299e performance: Improve the wallet loading time
+ small bug fixes
2024-02-01 16:46:40 +02:00
Michal Iskierko 0fbb2ebcb5 fix(@desktop/communities): Change arg structure. Wrong casting caused crash.
Fix #13368
2024-02-01 12:35:17 +01:00
Michal Iskierko 0d21ed2617 fix(@desktop/communities): Keep community tokens in cache.
Fix #12547
2024-02-01 10:17:50 +01:00
Mikhail Rogachev 752eda50a4
fix(Chat): Replace chat fetching in CR flows with message parsing (#13361)
Close #11854
2024-01-30 21:52:35 +04:00
Anthony Laibe 1ef6c53fc6 chore(@wallet): cache get keycards with same key uid
fixes #13135
2024-01-30 17:32:22 +01:00
Michal Iskierko 0a18dda176 feat(@desktop/chat): Displaying new type of chat message - bridge message
Show discord user as a message sender.
Show discord avatar next to user name.
Show "Bridged from Discord" label.
Open adjusted profile context menu.

Issue #13098
2024-01-30 13:06:17 +01:00
Anthony Laibe eee8ec8e32 feat(@wallet): sepolia optimism 2024-01-30 11:36:23 +01:00
Khushboo Mehta ff951f624a fix(@deaktop/wallet): Remove old tokens_service under accounts service and only keep new one.
fixes #13142
2024-01-30 10:56:51 +01:00
Sale Djenic c8d17f48e5 fix(keycard): app crashes when trying to generate new keys with an already used keycard
A crash was happening cause the wallet account service was not available before the user logged in.

Fixes: #13286
2024-01-29 15:17:42 +01:00
Sale Djenic d8102fa2b3 fix(keycard): copy keycard flow is blocked if the keycard user is copying to is locked and doesn't belong to any of the app's known keypairs 2024-01-29 15:10:50 +01:00
Sale Djenic 2ae217a830 fix(keycard): unable to pass pin entry screen in certain flows
Fixes: #13289
2024-01-29 15:10:50 +01:00
Sale Djenic bbaafa8954 feat(savedaddresses): display various cards if an address user is trying to save is known
Closes: #13280
2024-01-29 14:56:24 +01:00
Godfrain Jacques ab61784816
(fix/desktop) removing custom picture is not reflected on contact's side (#13197)
* chore: bump status-go

* (fix/desktop) removing custom picture is not reflected on contact's side

This PR fixes [9947](#9947) and contains :

- Commit to fix the changing of custom picture and having the change
  reflected on contact's side
- Commit to fix the deleting of picture and having the change reflected
  on contact's side
2024-01-26 07:54:30 -08:00
Mikhail Rogachev 2abfe0fa0c
feat(ProfileShowcase): Implement profile showcase collectibles (#13103)
* feat(ProfileShowcase): Show token balences in the profile showcase

* feat: support new tokens & collectible identification

* feat: add collectibles to profile showcase preferences

* feat: dispaly collectibles for a contact

* fix: review fixes & tokens code moved to separated PR
2024-01-25 21:43:36 +04:00
Sale Djenic 654da3e246 fix(savedaddresses): preferred chains maintained in two places
This commit prevents the user from adding an address to the saved addresses list,
if it was already added to the Wallet section. Also when the user is about to add
an address to the Wallet section, which is already added to the saved addresses
list, the app will ask whether to proceed with that action by removing the related
saved address or cancel the action.

Closes: #13109
2024-01-24 14:40:21 +01:00
Khushboo Mehta 8da6847d42 fix(@desktop/wallet): Uses the new wallet assets in Profile showcase 2024-01-23 23:27:40 +01:00
Noelia 21a33cabd9 feat(Wallet/Toasts): Updated / added toasts related to community tokens received
- Added new role into ephemeral_notification_model: image.
- Added new view API to display ephemeral notifications with image and action.
- Added support to display asset or collectible image in a toast with different shape (circle or square).
- Default values assigned to the new parameters added in `CommunityTokensStore` meanwhile backend is not ready.
- Created page for `StatusToastMessage` in `storybook`.

Closes #13039
2024-01-23 18:40:28 +01:00
Sale Djenic daecb836ac feat(onboarding): remove mnemonic as early as possible
Closes: #13260
2024-01-23 16:38:41 +01:00
Sale Djenic bd3e9cb67c fix(keycard): unable to re-run keycard flow on windows
The issue re-running keycard flows on Windows is fixed in this commit,
cause a different signal was emitted on windows in case of missing Keycard.
2024-01-22 14:35:11 +01:00
Richard Ramos 50e6011bcf chore: remove wakuV1 and status.prod/test fleets 2024-01-19 22:10:46 +03:00
Richard Ramos ce49b55014 test: use shards.test fleet as default 2024-01-19 22:10:46 +03:00
Dario Gabriel Lipicar 29f1bee218 feat(@desktop/wallet): implement allCollectibles module
Fixes #13235
2024-01-18 13:57:04 -03:00
Dario Gabriel Lipicar b186a133ab feat(@desktop/wallet): implement token management settings for collectibles
Fixes #13233
2024-01-18 13:10:07 -03:00
Dario Gabriel Lipicar c82a4ba602 feat(@desktop/wallet): add collectibles filter option collectibleIDs
Closes #13215
2024-01-18 12:28:23 -03:00
Sale Djenic 61677b72ac fix(keycard): pairings.json file creation fixed for windows 2024-01-18 12:34:32 +01:00
Sale Djenic 206cf0edf5 fix(keycard): stuck keycard flows, which ought to be re-run, are fixed 2024-01-18 10:44:44 +01:00
Sale Djenic 7eb4d8bff9 fix(keycard): fetching balances for unknown accounts (those read from keycard) is fixed
The same issue was present in two places:
- check whats on a Keycard
- importing an account from a Keycard to Status app

Fixes #11841
2024-01-18 10:15:42 +01:00
Michal Iskierko f00493ec02 fix(@desktop/communities): Fix displaying token holders
Add displaying holders for ERC20 - only community members.
Add json conversions test for some holders structs.

Fix #12062
2024-01-17 13:23:59 +01:00
Dario Gabriel Lipicar 2b6f2229c7 feat(@desktop/wallet): Implement loadTypes in collectibles controller
Fixes #13169
2024-01-16 16:08:41 -03:00
Sale Djenic e115d5e7ce refactor(wallet): show qr popup updated to meet new ui requirements
Show Qr popup is partially refactored because of the two things:
- to meet new UI requirements (introduced in the new saved addresses design)
- to make usage of that popup more generic, that it can be easily used from different places
2024-01-16 18:36:30 +01:00
Dario Gabriel Lipicar 00d78b6710 feat(@desktop/Wallet): adapt to updated collectible backend data types
Fixes #12942
2024-01-15 13:52:21 -03:00
Stefan 7f6636dc94 chore(config) rename pokt.network urls to grove.city as required
Closes #13189
2024-01-12 21:23:59 +01:00
Khushboo Mehta fb39c8c3b8 fix(@desktop/wallet): Switching networks doesn't change assets
fixes #13137, #13144
2024-01-12 20:30:42 +05:30
Sale Djenic ba5e259296 chore(savedaddresses): saved addresses improvements
Closes #13140
2024-01-12 14:23:35 +01:00
Sale Djenic 1e972950e6 chore(savedaddresses): favourite property removed 2024-01-12 14:23:35 +01:00
Patryk Osmaczko d4944fd662 fix(communities): make users module always use channels members
This fixes members list of the channels. The conficting signal,
`SIGNAL_COMMUNITY_MEMBERS_CHANGED`, was causing it to always show all
members.

As a consequence, it enables mentioning only members of a given
channel.

closes: #12384
2024-01-11 23:40:21 +01:00
Anthony Laibe eb06c64358 fix(@wallet): wrong decimal place for market value in assets list
fixes #13152
2024-01-11 16:02:25 +01:00
Mykhailo Prakhov 5392da5361
fix(descktop@community): show create/update/delete permissions toast notification for priviledged members only when it is approved by the control node (#13166) 2024-01-10 19:16:26 +01:00
Igor Sirotin 8144ccaf46
fix: use local nickname in chat input link previews (#13168) 2024-01-09 22:36:09 +00:00
Khushboo Mehta 19a6ba915c fix(@desktop/wallet): Improving performance when switching accounts 2024-01-09 20:32:40 +05:30
Sale Djenic 0a3fd7fbfb chore(general): a simplification of fetching active app chain
The chain we're using for stickers, collectibles, ens names and other similar activities
is simply determined by the mode the Status app is operating in and it could be either
mainnet or testnet mode. Having that fact in mind we don't need all the calls we were
using in the past for fetching explicitly chain id for each of the sections mentioned above
and that's simplified with these changes.
2024-01-09 15:48:48 +01:00
Godfrain Jacques ed89ba77b8
Fix thumbnail images for quoted message (#13126) 2024-01-09 01:54:54 -08:00
Dario Gabriel Lipicar bfeee36042 fix(@desktop/wallet): Handle collectibles with missing metadata in lists
Fixes #13162
2024-01-08 17:11:57 -03:00
Dario Gabriel Lipicar 415d0f3594 fix(@desktop/wallet): Fix collectibles autofetch mode 2024-01-08 17:11:57 -03:00
Sale Djenic cf09505071 feat(savedaddresses): context menu - remove saved address
Closes #13093
2024-01-08 14:41:30 +01:00
Sale Djenic e35bc9db40 feat(savedaddresses): context menu - edit saved address
Closes #13092
2024-01-08 14:41:30 +01:00
Khushboo Mehta 104d7b0a90 fix(@desktop/wallet): Create new go API to get token balances without market details so that we are making wasteful api calls to coingecko/cryptocompare
fixes #13084
2024-01-08 18:39:18 +05:30
Cuteivist a975e55271
feat(@desktop/settings): Added advanced token settings (#13128) 2024-01-04 18:54:42 +01:00
Sale Djenic ff9062a1b0 feat(savedaddresses): update adding saved address popup to match new design
Implemented:
- adding selection color section
- all input field validations
- interactions within the popup
- an ephemeral notification when adding an address

Closes #13089
2024-01-04 17:45:57 +01:00
Sale Djenic 3ac13a7678 chore(savedaddresses): preparing saved address for reuse in wallet settings section
Part 1 of #13088
2024-01-04 17:45:57 +01:00
Sale Djenic 4854d9d100 feat(@desktop/wallet): mark address as shown when it is about to be fully displayed
Fixes: #12989
2024-01-04 13:57:13 +01:00
Sale Djenic a055ad4d71 fix(@desktop/community): appropriate password form used when signing join community request in case the profile is migrated to a keycard 2024-01-04 13:57:13 +01:00
Cuteivist 0536ce898d
feat(@desktop/toast): Community Token received notification (#13116) 2024-01-04 13:22:12 +01:00
Khushboo Mehta 1bd23b027d fix(@desktop/wallet): creating a common grouped model for accounts assets to be used for wallet and profile view
fixes #12601
2024-01-02 20:00:13 +05:30
Mikhail Rogachev 2d00478467
feat: update chat unseen counters from the Activity Center (#13020)
Close #12857
* feat: update chat unseen counters from the Activity Center
* feat: mark all notifications read also updates chats
* chore: review fixes
2023-12-25 16:18:13 +07:00
kaichao 55d0a3efb5
chore: remove wakuv2 store config (#13018) 2023-12-23 10:42:16 +08:00
Sale Djenic e4958adb0e fix(@desktop/onboarding): when recovering user sometimes needs to wait for the end of the countdown even if all backup data are fetched
Fixes: #13058
2023-12-22 11:04:55 +01:00
Igor Sirotin 50c187edff
remove legacy `requestCommunityInfo` code (#13012) 2023-12-21 20:05:04 +00:00
Godfrain Jacques 69f872f130
Fix recent stickers displayed after sticker packs are deleted (#13066)
* fix(@desktop/stickers): Fix sticker showing uninstalled sticker pack

fixes #12677

* chore: bump status-go
2023-12-21 11:49:55 -08:00
Cuteivist 635bf7e582
feat(@desktop/wallet): Provide QProperties for token management (#12929) 2023-12-21 15:13:19 +01:00
Mykhailo Prakhov 790add8ea5
fix(@desktop/requestsToJoin): displaying approved people in the pending list (#13038) 2023-12-21 11:30:02 +01:00
Dario Gabriel Lipicar 79cca1d5cc feat(@desktop/wallet): React to collectible metadata updates
Closes #12494
2023-12-20 16:59:41 -03:00
Dario Gabriel Lipicar 7e8cf4fa4d chore(@dekstop/wallet): cleanup collectibles data types 2023-12-20 16:59:41 -03:00
Cuteivist 3b162e0541
feat(@desktop/tokens): Handle community ID and community token image (#12980) 2023-12-20 11:31:02 +01:00
Sale Djenic 774da7dd47 fix(@desktop/general): biometrics prompt is shown after restarting the app even it was not enabled
Fixes: #11261
2023-12-19 08:33:34 +01:00
Godfrain Jacques 8872877524
fix(@desktop/chat): Message reactions popup shouldn't revoke reactions (#13003)
fixes #10703

- Adding a reaction by going in add reaction and clicking R1 should have no effect (Currently the reaction R1 is removed which is not expected)
- Clicking on the R1 directly on the message should remove the reaction (I checked and this already works)
- Add a visual indicator in the add reaction popup on which emoji is already selected
2023-12-18 14:34:10 -08:00
Sale Djenic e24e3d734c feat(walletconnect): check for potential WalletConnect pairings after the user logs in
Closes: #12993
2023-12-18 09:25:42 +01:00
Sale Djenic 969998dd3f chore(walletconnect): store wallet connect sessions instead of pairings
Closes: #13008
2023-12-18 09:25:42 +01:00
Mikhail Rogachev 123770c0e3
Fix/issue 12944 member cant leave the community (#12958)
Close #12944
* fix: Check if activityCenterNotifications are present in the response
* chore: Review fixes & code cleanup
2023-12-13 16:30:21 +07:00
Sale Djenic bf8b87f034 feat(walletconnect): support for eth_signTypedData v3 and v4
Closes: #12961
2023-12-13 09:08:24 +01:00
Stefan a8fb355a8d feat(wallet) activate Wallet connect modal from deep-links
- Open wallet connect modal when the application is opened from a
  deep link
- Add test entry that opens wallet connect modal with mocked
  StatusDesktop app that can be used for testing
- Add tests

Closes #12641
2023-12-12 20:12:53 +01:00
Michal Iskierko d2b2aae000 fix(@desktop/communities): Add toasts to send owner token process
Fix transfer ownership button.
Set correct data in SendModal.

Issue #12656
2023-12-12 16:06:04 +01:00
Godfrain Jacques 7a5e691c90
feature(@desktop/chat) Enhance message context menu with mark as unread (#12879)
* chore: bump status-go

* feature(@desktop/chat) Enhance message context menu with mark as unread
fixes #10329

linked with PR #12879

- Adds capacity to mark a message as unread
- Adds capacity to mark a message with mention as unread
- Adds persistence to the marking of the message (change can be seen at
  after reboot)
- Adds marking in right click contextual menu
2023-12-11 20:16:06 -06:00
Sale Djenic d587552c40 chore(walletconnect): improvements identifying pairings and sessions 2023-12-11 09:04:20 +01:00
Anthony Laibe f98d1acf08 feat(@wallet): use infura for sepolia arbitrum 2023-12-07 09:22:46 +01:00
Sale Djenic 3854920f54 feat(walletconnect): support for auth request 2023-12-06 20:01:04 +01:00
Roman Volosovskyi b819bdb574
Mark mnemonic as shown on revealing it to the user (#12947) 2023-12-06 16:24:10 +01:00
Igor Sirotin 6c6967faf2
Fix `TRACE` log level support (#12935) 2023-12-06 11:25:57 +00:00
Cuteivist 0b26070833
chore(@desktop/wallet): Show wallet activity (#12946) 2023-12-06 11:59:32 +01:00
Mykhailo Prakhov 24f2540ffa
chore: receive all non-approved requests to join through the API allNonApprovedCommunitiesRequestsToJoin (#12941) 2023-12-05 16:37:58 +01:00
Mykhailo Prakhov 02589421bb
feat(desktop/communities): show community users which will be automatically joined after the ownership change in the All Members tab (#12928) 2023-12-04 20:14:13 +01:00
Igor Sirotin 666c74dcc0
fix: prevent recursive logging (#12916) 2023-12-04 17:11:54 +00:00
Sale Djenic c5d1d5b77d chore(walletconnect): adapting to improvements done on the statusgo side 2023-12-04 11:58:58 +01:00
Sale Djenic ba60c711f7 fix(@desktop/general): wrong set signer name used 2023-12-04 11:58:58 +01:00
Stefan a4835a25ce fix(wallet) remove unused API GetTokensBalances old api
Replace it with the new API GetWalletToken

Move the backend related json parsing to the backend/helpers folder
Update some imports to absolute paths
Remove indirect imports

Closes: #12914
2023-12-01 20:28:19 +01:00
Igor Sirotin de89b3ee77
fix: check nil shard (#12927) 2023-12-01 18:36:17 +00:00
Sale Djenic e7c4cd7c6c chore(@dekstop/keycard): os sleep used in the past is not needed any more 2023-12-01 16:25:20 +01:00
Sale Djenic 608bb38874 chore(@desktop/keycard): improvement in terms of avoiding overlapping keycard library flows 2023-12-01 16:24:58 +01:00
Cuteivist e552a01d2b
fix(@desktop/wallet): Use second chain activity details data (#12705) 2023-12-01 15:31:47 +01:00
Michal Iskierko 320a3a3e3d fix(@desktop/permissions): Fix filling collectibles and assets model in permissions
Fix #12885
2023-12-01 11:17:47 +01:00
Khushboo Mehta 3a41a81890 feat(@desktop/wallet): Add new go api to get token market values not bundled with token balances
fixes #12668
2023-11-30 16:50:20 +01:00
Andrea Maria Piana 94159746ea
Add fetch messages button
This commit adds a fetch messages option in the chat.
If clicked it will re-fetch messages for that chat for 1 month.

It's disabled in production since that's not something we want to go
live with, but it's very helpful for dogfooding/debugging while message
reliability has still some issues.
2023-11-30 14:26:41 +00:00
Stefan 17c7e46917 feat(wallet) Wallet Connect: process delete_session
Requires the specific status-go changes that brings WCChangePairingState

Process delete session and update internal pairing history state

Updated testing while fighting for the issue of not deleting the session
Found out that the client requests a different topic in the delete
session request.

Also:

- update debugging UX to support session events
- update storybook to support mocking session events
- fix go test utility to account for refactoring

Updates #12858
2023-11-30 10:47:41 +01:00
Sale Djenic a12f96c311 feat(@desktop/stickers): support buying/releasing ens usernames if profile keypair is migrated to a keycard
Closes part 2 of #12556
2023-11-30 09:39:46 +01:00
Sale Djenic a057e93901 feat(@desktop/stickers): support buying stickers if profile keypair is migrated to a keycard
Closes part 1 of #12556
2023-11-30 09:39:46 +01:00
Cuteivist 8e0db2e666
fix(@desktop/wallet): Display balance for all accounts (#12632) 2023-11-29 12:19:59 +01:00
Mikhail Rogachev a7058241aa
Fix: Crash when handling response without AC notifications (#12891)
* Fix: Crash when handling response without AC notifications

Close #12889

* Update src/app_service/service/community/service.nim

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

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-11-29 14:16:44 +04:00
Mykhailo Prakhov a43e577f41
fix: share community instead of import during inviting community member in the community with minted owner token (#12896) 2023-11-28 19:57:28 +01:00
Mykhailo Prakhov 3af73a44a5
feat: show activity center notification if user must reveal addressed to join/rejoin the community (#12856) 2023-11-28 14:41:11 +01:00
Jonathan Rainville b5ceddb208 fix(delete): fix closing the app before login would make it crash
Fixes #12880
2023-11-28 14:41:44 +03:00
Dario Gabriel Lipicar 91a411fd36 feat: implement support for collectibles provider Rarible
Fixes #12310
2023-11-27 22:19:44 -03:00
Stefan 5b9e4faa8a feat(wallet) run WebEngineView as a service in background
This is required to control the resource consumption in case of no
usage of wallet connect
Hence we load the WebEngineView only if we have active pairings and
such that SDK events are expected from the paired dapps.

Also:

- Moved the generic WebEngineView communication bridge to StatusQ
- Added basic tests for WebEngineLoader
- Add a way to know when wallet is loaded (`walletReady`)
- Add storybook support for mock of nim sections as context properties

Updates: #12639
2023-11-27 22:54:11 +01:00
Jonathan Rainville b30c2992a5 Revert "fix(delete): fix closing the app before login would make it crash"
This reverts commit 7c7ab85690.
2023-11-27 13:19:22 -05:00
Jonathan Rainville 7c7ab85690 fix(delete): fix closing the app before login would make it crash
Fixes #12880
2023-11-27 13:15:26 -05:00
Sale Djenic ce0dbe533b feat(@desktop/walletconnect): aligning namespaces with WalletConnect v2.0 protocol
Closes: #12825
2023-11-27 18:15:57 +01:00
Jonathan Rainville 1e567e4cc2 fix(chat_section): remove duplicated event handling
Fixes #12719

The problem was that we had two event handlers that did the same thing and if the main module's event processed first, the second event would basically reset the active item, causing the UI to try to fetch an empty chat content.

If you comment out the main module event handler, it doesn't work correctly, because it's the one doing the actual section switching.

Removing the chat section event handling is ok, because the main module already calls its child's (chat section) same functions.
2023-11-27 09:44:30 -05:00
Mikhail Rogachev 9a714cfec0
feat(ActivityCenter): Sync message & AC notification read state (#12815)
* feat(ActivityCenter): Use signal for delivery of AC notifications from other services

Close #9349

* feat(ActivityCenter): Sync messages read state with AC notifications
2023-11-27 16:22:58 +04:00
Mikhail Rogachev 26d867a63a
fix(ActivityCenter): Fix Community and Chat badges in the Activity Center (#12866)
Close #10311
2023-11-27 14:37:05 +04:00
Michal Iskierko 7bb5202a75 fix(@desktop/communities): Fix fees estimation crash
Fix #12847
2023-11-27 10:42:01 +01:00
Jonathan Rainville cc5e32c2b3 fix(message): fix deleting a quoted message loses the user info
Fixes #12785
2023-11-24 18:58:28 -05:00
Jonathan Rainville d66540d74f feat(messages): add deleted system message that tells who deleted
Fixes #11712
2023-11-23 16:14:54 -05:00
Dario Gabriel Lipicar 90570b53da chore: remove leftover token code from makefile 2023-11-23 17:04:51 -03:00
Dario Gabriel Lipicar 7384c004cc feat(@desktop/wallet): support alchemy sepolia api keys
Closes #12771
2023-11-23 17:04:51 -03:00
Godfrain Jacques aaa759f70c
Fix(@message) Album of images disappears from reply after reloading the application (#12806)
Fixes #10986

This PR contains 2 changes :

1- Adding of properties for the quotedMessage
2- Update of the view with the properties with Qml binding
2023-11-22 14:32:50 -08:00
Jonathan Rainville 4e296d5acf fix(notifs): only process notifs once the loading screen is done
Fixes #10912
2023-11-22 15:07:55 -05:00
Sale Djenic 132e05a8c6 feat(@desktop/walletconnect): signing tx or personal sign via keycard
Closes: #12730
2023-11-22 11:11:19 +01:00
Igor Sirotin 842b56be2f
feature:`asyncGetTextURLsToUnfurl` (#12780) 2023-11-21 15:07:10 +00:00
Khushboo Mehta 26f29a4fe6 chore(@desktop/wallet): Unifying the various "TokensTypes" across the app
fixes #12501
2023-11-21 13:02:26 +01:00
Igor Sirotin a2e8655835
chore: fix nim build warnings (#12796)
* chore: turn off  'generic methods are deprecated' warnings
* chore: fix homebrew bottles version and macos-min-version
* chore: suppress dotherside deprecation warnings
* chore: fix more nim unused import warnings
* chore(qt.nim): explicit cstring conversion to fix warning
* chore: fix all baseless methods
2023-11-20 16:04:11 +00:00
Mikhail Rogachev 7830310591
fix(ActivityCenter): Simplify and fix AC notifications read/unread states (#12753)
* fix(ActivityCenter): Simplify and fix AC notifications read/unread states

* fix: review fixes
2023-11-20 12:53:34 +04:00
Igor Sirotin 200c0b337f
chore: remove nim unused imports (#12783) 2023-11-18 01:10:14 +00:00
Dario Gabriel Lipicar c04bf2ef9e feat(@wallet/desktop): implement generalized collectibles api 2023-11-17 17:23:34 -03:00
Igor Sirotin 4239f77941
Fix/issue 12651 unfurl status links (#12751) 2023-11-17 16:28:31 +00:00
Igor Sirotin 03d4fbcc48
fix: avoid duplicating UnfurlURLs requests (#12687) 2023-11-17 15:42:24 +00:00
Jonathan Rainville d66c1f7b0d feat(sharding): add shard info args to requestCommunityInfo calls
Fixes #12015
2023-11-16 13:32:48 -05:00
Jakub Sokołowski f8d78cdb95
chore(test): drop usage of ganache in old E2E tests
The Ganache tool has been replaced by Hardhat:
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-16 12:21:25 +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
Stefan bcf5b64298 feat(wallet) Wallet Connect Pair integration
Implement Controller to forward requests between status-go and SDK
implementation in QML.

Other changes:

- Source Wallet Connect projectId from env vars
- Mock controller in storybook

Updates #12551
2023-11-15 15:51:50 +01:00
Stefan d4e15fe932 chore(wallet) WalletConnect quick prototype environment for integration
Add GO helper to:
- loads WalletConnect SDK bundle
- bootstraps status-go user session
- provides a way to call status-go API from webview
- forwards status-go signals to webview

Updates: #12551
2023-11-15 15:51:50 +01:00
Mikhail Rogachev 53d19b0e5e
feat(ActivityCenter): load new notifications on scroll to bottom (#12712)
Close #9637
2023-11-15 15:29:03 +04: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
Boris Melnik 69783e173b fix(discord): Process `delete channel & restart import` button
Fixes: #12684
2023-11-14 13:26:39 +03:00
Jonathan Rainville cf74fc2111 fix(stickers): fix crash in async task + clean up + set bought status
Fixes #12664
2023-11-13 13:53:00 -05:00
Richard Ramos de68d250a6 feat: shards.test fleet 2023-11-13 09:09:47 -04:00
Noelia 8bede5e569 feat(TransferOwnershipToasts): Created new `ToastsManager.qml` class and new nim backend for special toasts visualization
This is a first step to globalize how toasts are treated in the qml layer:
- Created `ToastsManager.qml` class to deal with all app toasts generation.
- Started moving community transfer ownership related toasts to the new manager class.
- Some small cleanup in `AppMain.qml`

Nim backend:
- Created new api method to deal with extended / action toasts.
- Updated needed model / item with new needed roles.

Closes of #12175
2023-11-10 23:38:27 +01:00
Godfrain Jacques b0e2651ad8
fix(@desktop/edit) : clicking up arrow opens edit view for a message with image (#12680)
Co-authored-by: kounkou <jacques@status.im>
2023-11-10 09:47:11 -08:00
MishkaRogachev 4a4f1b8bf9 feat(Profile): Move profile showcase out of contact 2023-11-09 15:57:03 -05:00
MishkaRogachev e2c3cebdb5 feat(Contacts): refresh profile on live data update, review fixes 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
Anthony Laibe 658279696e Revert "fix(@wallet): random failure with building dto"
This reverts commit 8abd9c56a1.
2023-11-09 12:24:23 +01:00
Cuteivist d73c51d380
bug(@wallet/desktop): Show toast on account removal (#12597) 2023-11-09 11:26:09 +01:00
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