Commit Graph

1114 Commits

Author SHA1 Message Date
richΛrd 1cb05d5814
chore: rename shards.test to status.prod (#15782) 2024-07-29 18:26:31 -04:00
Godfrain Jacques c4053ad7fc
chore: update status-go (#15866) 2024-07-29 14:28:46 -04:00
Sale Djenic 207902589d chore: build the error reporting mechanism
Closes #15396
2024-07-29 10:54:53 +02:00
belalshehab 37f7b45274 fix(wallet)_: Handle insufficient gas errors in multi-chain transactions
* Refactored gas checking logic into `getChainsWithNoGasFromError`.
* Removed `hasGas` from `controller.nim` and `module.nim`.
* Updated `updatedNetworksWithRoutes` to use chain-specific error data.

Fixes #15681
2024-07-26 14:54:59 +03:00
Igor Sirotin ff005a219a
chore: update status-go (#15824) 2024-07-26 10:45:55 +01:00
Sale Djenic e66b0ab0a9 fix: bridging from send modal results in bounder fee error
Fixes: #15722
2024-07-25 10:30:19 -04:00
Dario Gabriel Lipicar 370d4476fe chore: update status-go 2024-07-24 18:19:56 -03:00
Mykhailo Prakhov 78fbc443c8
chore: update status-go (#15753) 2024-07-23 21:06:55 +02:00
Ivan Belyakov 6b04e52cf0 chore: bump status-go to include migration fix 2024-07-23 17:55:05 +02:00
Dario Gabriel Lipicar 9d441fcff9 feat(@desktop/wallet): add support for approve and swap activity entries
Fixes #14836
2024-07-22 21:12:38 -03:00
Dario Gabriel Lipicar 83db905e28 feat(swap): added more explicit error messages
Closes #14956
2024-07-19 16:40:22 -03:00
Ivan Belyakov 2f9bf48856 fix(wallet): fix balance chart to display chart for tokens
Replace missing methods calls of chart after it was replaced with a different
component.
Update chart on networks change.
Fix data for all chains requested - both test and real networks.
Fix some unrelated qml errors
2024-07-19 12:34:06 +02:00
Michal Iskierko aee9db4b5c chore(@desktop): upgrade nim-status-go
Issue #15446
2024-07-16 14:58:13 +02:00
Michal Iskierko 64fa2ff9d6 chore(@desktop): upgrade status-go
Issue #15446
2024-07-16 14:58:13 +02:00
Dario Gabriel Lipicar ceeef2f313 fix(@desktop/wallet): properly parse suggested routes error response 2024-07-12 19:02:03 -03:00
richΛrd 2a41622298
chore: rename shards.staging to status.staging (#15510) 2024-07-11 16:09:20 -04:00
Stefan 3049c6016b feat(dapps) extend and improve sign
Extend support for legacy `eth_sign` and `eth_signTypedData`
methods.
Keep the `eth_sign` using the legacy method for compatibility

Use the newly added status-go apis for a safer implementation
of signing typed data by providing chain validation.

Closes: #15361
2024-07-09 15:01:27 +02:00
Michal Iskierko 13b09987db chore(@desktop): upgrade status-go
Issue #4947
2024-07-08 12:06:24 +02:00
Igor Sirotin fecbd4005e
Redirect qt logs to nim-chronicles (#15234)
* fix: initialize nim gc
2024-07-05 16:10:59 +01:00
Patryk Osmaczko ee37dc9e4b chore: bump status-go 2024-07-04 19:36:30 +02:00
belalshehab 60e0e212b2 fix(wallet)_: disable Sort by Date option when timestamps are not ready
- Disable 'Sort by Date' when timestamps are incomplete.
- Default to 'Alphabetical' sort if date is unavailable.

fixes: #13630

Update status-go submodule to latest commit on develop
2024-07-04 03:10:43 +03:00
belalshehab 1e35724cb7 feat(wallet)_: Update status-go submodule to latest commit on develop
resolves: #13652
2024-07-04 00:19:42 +03:00
Richard Ramos 1d3c1e7da5 fix: panic when enr exceeds 300 bytes 2024-07-02 13:56:51 +03:00
Sale Djenic 7e9f680e0b chore: router v2 integration
Closes: #15204
2024-07-01 16:19:15 +02:00
Anastasiya Semenkevich bb3ac3fc99 chore: update status-go version in desktop master 2024-06-28 16:23:22 +03:00
Jacek Sieka 0b16749e54
chore: allow compiling with gcc 14, bump submodules (#15250)
GCC 14+ introduces new options for strict pointer typing that not all
nim modules adhere to - this PR disables the warning (more bumps,
including nim, are needed to conform to the new strictness)

Includes a few submodules that have had security and stability fixes.
2024-06-28 09:12:04 +02:00
Jonathan Rainville 7a7dbb631c
perf: use community members for unpermissioned channels (#15156)
Fixes #15149
2024-06-27 10:56:49 -04:00
Igor Sirotin c8bc68b96c
refactor: use create/restore/login status-go endpoitns for keycard (#15090)
* chore: remove unused storeDefaultKeyPair

* chore: added CreateAccount keycard parameters

* chore: remove unused newKeycard argument

* chore: create keycard account with ImportAccountAndLogin endpoint

* fix: remove keycardWhisperPrivateKey CreateAccount parameter

* feat: use LoginAccount endpoint for keycard

* fix: use CreateAccount RootDataDir instead of BackupDisabledDataDir

* fix: use loginAccountKeycard instead of loginAccountKeycardUsingSeedPhrase

* fix_: use `login` instead of `loginLocalPairingAccount` an `loginAccountKeycard`

* chore: refactor scheduling reencrpytion

* fix: FirstRunOldUserKeycardImport

* chore: improve code readability

* feat: use RestoreAccountAndLogin endpoint for keycard

* update status-go
2024-06-26 14:12:39 +02:00
Ivan Belyakov ee8da30c95 chore: bump status-go to include cryptocompare proxy feat 2024-06-24 12:16:37 +02:00
Patryk Osmaczko 77df059c9f Revert "Bump nim-serialization and nim-json-serialization (#14058)"
This reverts commit 6d96745c04.

fixes: #15246
2024-06-19 13:58:55 +02:00
andri lim 6d96745c04
Bump nim-serialization and nim-json-serialization (#14058) 2024-06-18 17:05:45 +02:00
Igor Sirotin 430f2501d4
fix: bandwidth usage (#15231)
* feat: added bandwidthStatsEnabled login flag

* update status-go
2024-06-18 15:19:10 +01:00
Jonathan Rainville 7d5479f456 feat(messages): enable removing bridge messages as admin 2024-06-14 12:14:55 -04:00
Jonathan Rainville 312ebcdc1e Revert "chore(status-go): bump status-go to get shared addresses restore"
This reverts commit 0bd4380dea.
2024-06-11 14:50:06 -04:00
Jonathan Rainville 0bd4380dea chore(status-go): bump status-go to get shared addresses restore
Fixes #14289

When restoring the account, we request our shared addresses from the control node.
2024-06-11 14:49:45 -04:00
Dario Gabriel Lipicar 75d755ea0f feat(@desktop/wallet): initial integration for swap proposal, approve tx and swap tx
Closes #14824
2024-06-11 14:15:26 +02:00
Mikhail Rogachev cdcde34bcb
chore: bump status-go (#15036) 2024-06-04 21:55:58 +02:00
Michal Iskierko 757f1efd98 chore(@desktop): upgrade status-go
Issue #13371
2024-06-03 16:10:35 +02:00
Jonathan Rainville fab79a4228 Revert "chore(status-go): bump status-go to get Windows login fix"
This reverts commit 7c1f643e7e.
2024-05-31 13:11:32 -04:00
Jonathan Rainville 7c1f643e7e chore(status-go): bump status-go to get Windows login fix 2024-05-31 13:11:12 -04:00
Siddarth Kumar 9f67616b63
chore: bump go to 1.21 (#14946) 2024-05-30 17:08:31 +05:30
Stefan 35b81eadf6 feat(dapps): show dapps list in wallet connect popup
Things done here:

Integrate basic functionality for wallet connect in status-go
Update the list of dapps from the SDK
Retrieve the persistence dapps list from the backend as a fallback
if there is no connection and SDK can't be initialized
Provide a basic simple view of dapps in the wallet connect popup

Closes: #14557
2024-05-30 10:57:42 +02:00
Michal Iskierko 00272d05c8 chore(@desktop): upgrade status-go
Issue #14699
2024-05-28 13:52:42 +02:00
Mikhail Rogachev bc580a1ff8
chore(Profile): remove old social links code (#14899)
Close #13938
2024-05-24 12:21:42 +02:00
Mikhail Rogachev df3f9984a8
fix: correct member list for new community channels (#14873) 2024-05-22 23:19:07 +02:00
Godfrain Jacques 6549348324
chore(status-go): bump status-go to get left communities persistence after restoring account (#14876) 2024-05-22 12:07:54 -04:00
Jonathan Rainville 92fc9b18f2
chore(status-go): bump status-go to get token list fix + better logging (#14872) 2024-05-21 15:09:17 -04:00
Michal Iskierko 4575631a6e chore(@desktop): upgrade status-go
Issue #14220
2024-05-20 15:00:22 +02:00
Michal Iskierko e82207c7cb chore(@desktop): upgrade status-go
Issue #14166
2024-05-17 10:26:47 +02:00
Michal Iskierko a776f23965 chore(@desktop): upgrade status-go
Issue #4351
2024-05-16 17:37:05 +02:00
Jonathan Rainville 753825a40e
chore(status-go): up status-go for the fix to hidden channels being unread (#14793)
Fixes #14421
2024-05-15 16:31:57 -04:00
Lukáš Tinkl 8b8af40979 feat(Settings): remove UI scaling option panel
- as discussed with Design, do not allow the user to select the UI scale
option from Settings as it causes many problems; instead rely on the
OS/Qt HighDPI support to handle the scaling for us
- note however, for advanced users, it's still possible to specify the
UI scale manually by exporting the standard `QT_SCALE_FACTOR` prior to
starting the app
- in the longterm, we will come with our own scaling solution at the QML
level, independent from the OS

Fixes #14137
2024-05-14 17:47:10 +02:00
Khushboo Mehta 30ff5f3a2b fix(@desktop/wallet): New Collectible Details tabs
fixes #13806

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-14 09:32:45 +02:00
Jonathan Rainville b6b21c3744
Refactor out channel groups (#14202)
Fixes #12595

Gets rid of the concept of channelGroups.
Instead, we use the communities and chats directly, to keep the same concepts as status-go.
2024-05-13 15:58:55 -04:00
Sale Djenic 0de54bb584 fix(general): throughput/rate limit error
Closes: #14665
2024-05-13 10:30:35 +02:00
Godfrain Jacques bc56278e19
chore(status-go): bump status-go to fix activate permissions upon making device controlnode (#14708) 2024-05-10 09:45:49 -07:00
Godfrain Jacques ac54a70c4e
fix: Permission created before making device a control node is not getting active (#14537)
* chore: bump status-go

* fix: mitigate permissions stuck in pending on control node promotion

This PR fixes #14023

UI does NOT allow promoting to control node is no Owner token is present
2024-05-10 08:57:06 -07:00
Jonathan Rainville 953fff0e68 feat(community): show a message when the member reevaluation is ongoing
Fixes #14378
2024-05-08 16:44:58 -04:00
Khushboo Mehta 3a57a63605 fix(@desktop/wallet): Use Pokt instead of Infura as Main url for Arb and Ope Sepoila 2024-05-07 14:37:28 +02:00
Andrey Bocharnikov dc1edfc9f4
fix(chat_section): fix preview for pinned messages with images/stickers (#13684) (#14549)
* Add preparedMessageByID function
* fix warning
2024-05-01 10:51:27 +04:00
Anastasiya Semiankevich cb1b2af712 chore: bump status-go version in master builds 2024-04-29 17:29:04 +03:00
Cuteivist 6930cc49a7
bump (#14520) 2024-04-25 14:57:11 +02:00
Igor Sirotin 59cb770ddb
Switch to new login/create/restore status-go endpoints (#14139)
* fix: new login endpoints - iteration 1

* feat: use CreateAccountAndLogin endpoint

* fix keycard import

* better comment

* wip: screens reordering

* cleanup

* force minimum of 30 seconds fetching backup

* keycard flows fixes

* typo fix

* remove ganache argument

* fix: wallet issues

* update status-go
2024-04-24 18:31:22 +02:00
Andrey Bocharnikov b5dbac2e74
fix(Profile flow): ID verification cannot be removed (#14308)
fix(UserListPanel): hide the verification icon for yourself

fixes #13619

* split function for reseting trust status and verification+trust status

* rename function to removeTrustVerificationStatus
2024-04-18 20:09:27 +04:00
Ivan Belyakov 3843b53cc0 feat(wallet): toggling `include/exclude from total balance` menu action
filters out assets/collectibles/activities entries.
Fixed direction of transfers for `All accounts` selection on activity
tab.

Closes #14162 #14216
2024-04-12 15:18:19 +02:00
Ivan Belyakov 2d2e6ba850 chore: bump status-go to to include balance fix 2024-04-12 14:22:10 +02:00
Ivan Belyakov b9268d8f1e fix(wallet): fixed precision loss for balance amount in nimqml
fixed currency amount property type to be handled by QMetatype properly
2024-04-12 13:20:50 +02:00
Anastasiya Semenkevich 721eabeab1 chore: bump status-go in master 2024-04-09 13:28:50 +03:00
Sale Djenic 5bf8f5c456 feat: swap via paraswap backend implementation
Closes #14241
2024-04-08 11:00:19 +02:00
Michal Iskierko 9b162276fd chore(desktop): upgrade status-go
Issue #14044
2024-04-08 08:01:37 +02:00
Michal Iskierko 28f09eeb82 chore(@desktop): upgrade status-go
Issue #14307
2024-04-07 21:46:02 +02:00
Stefan ff79646dd3 fix(wallet): activity duplicate in case of non-native transfer
Bumps status-go to include the fix

Closes: #14071
2024-04-05 20:18:15 +02:00
Jonathan Rainville 8f5efc6cb0 fix(permissions): fix view and post permission overwritten by view perm
Fixes #14209
2024-04-04 16:32:04 -04:00
Jonathan Rainville 3a4ebd52fc chore(status-go): up status-go to get RAM fix 2024-04-04 12:14:39 -04:00
Anastasiya Semenkevich bf8a86d4af chore: bump status-go in master 2024-04-04 18:10:14 +03:00
Stefan 21b884e5ed fix(wallet) fix erc721 transfer router
Bump status-go to fix collectible transfer router

Closes #14212
2024-04-03 16:23:32 +02:00
Mikhail Rogachev 839f2c6b21
Feat: New showcase models for a contact (#13998)
* Feat: New showcase models for a contact

* feat(ProfileShowcase): Integrate the new profile showcase backend

* fix(Storybook): Fix ProfileShowcaseModelsPage

* fix: fetch only requested profile showcase data

Support PR for https://github.com/status-im/status-go/pull/4982

* feat: Load and validate profile showcase for a contact in two steps

* fix: fetching criteria for profile showcase collectibles

* fix: review fixes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-03-29 12:43:49 +01:00
Sale Djenic 7047ecf2b6 chore: move logic for resolving suggested derivation path to status-go
Closes #14188
2024-03-28 12:48:26 +01:00
Sale Djenic d9945b39dc fix(wallet): displaying L1 gas cost in UI
Fixes #13892
2024-03-28 10:36:09 +01:00
Cuteivist 17d078b33e
chore: bump status-go (#14158) 2024-03-26 11:19:24 +01:00
Lukáš Tinkl 9ef513b419 fix(TokenManagement): Asset balance threshold value not reflected in main wallet view
- take the balance threshold value into account when presenting the
assets in the main wallet view
- additional fix from Emil for storing the threshold value
- storybook fixes to display the correct `currentCurrencyBalance` values
based on the address/wallet filters and mocking the threshold values
using TransactionStore

Fixes: #14017
2024-03-23 11:37:37 +01:00
Mikhail Rogachev b839502603
chore: bump status-go (#14064)
Close #14047
2024-03-21 21:31:08 +01:00
Jonathan Rainville 9195595c00
chore(status-go): up status-go to get permission fix (#14065) 2024-03-20 19:00:15 -04:00
Mykhailo Prakhov a586c6d352
feat(desktop/communities): View community member messages functionality (#14002)
* feat(desktop/communities): View member messages functionality
2024-03-20 11:50:10 +01:00
Dario Gabriel Lipicar 74440c81e5 feat(@desktop/wallet): add support for EUROC 2024-03-19 16:03:31 -03:00
Igor Sirotin de4c20ea4f
upgrade Nim-build-system (#13979)
* chore: upgrade nimbus-build-system

* test UnusedImport warningAsError
2024-03-19 13:58:02 -04:00
Mykhailo Prakhov f3d2d0a809
feat(@desktop/community): add new CommunityMemberState - CommunityMemberBanWithAllMessagesDelete (#14028) 2024-03-19 16:17:02 +01:00
Patryk Osmaczko 5d827ecf77 chore: bump status-go 2024-03-19 15:11:25 +01:00
Michał Iskierko 9ed38bddb7
13291 hide channels (#13876)
* feat(@desktop/communities): Hide channels if the user is not permitted to view and hideIfPermissionsNotMet is set

Extend chats model with channel permissions info and hideIfPermissionsNotMet.
Visibility of chat item is based on: member roles, channel permissions, hideIfPermissionsNotMet.
If all channels from category are hidden, category item is also hidden.
If all chats in community are hidden, infomration label is displayed.

Issue #13291

* chore(@desktop): Upgrade status-go

Issue #13291
2024-03-18 13:33:07 -04:00
Anastasiya Semenkevich 82bcddd488 chore: update status-go 2024-03-18 15:25:24 +03:00
Jacek Sieka fc16b81caf
chore(nim): use compile-time string formatting (#13945)
Nim 2.2 comes with compile-time string formatting that doesn't raise
exceptions if the format string is invalid - instead a compile-time
error is given.

This PR introduces a backport of that feature which improves performance
and reduces the risk that formatting causes the app to crash and will
help migrating the codebase to newer nim versions that track exceptions
more carefully.

There should be no change in runtime behavior (except formatting being a
bit faster)
2024-03-13 18:38:54 +01:00
Mikhail Rogachev 9596e3c7aa
chore: bump status-go (#13940) (#13947) 2024-03-13 16:50:46 +01:00
Michal Iskierko b936a5f323 chore(@desktop): Upgrade status-go
Issue #13258
2024-03-13 13:39:28 +01:00
Michal Iskierko 7d47291cdc chore(@desktop): Upgrade status-go
Issue #13646
2024-03-13 12:36:12 +01:00
Patryk Osmaczko 282c4e56cd fix: make TokenMaster request permissions reevaluation after remote
destruct

fixes: #13778
2024-03-12 16:29:36 +01:00
Jacek Sieka 427297068d
chore: clean up exception specifiers (#13735)
Annotating functions explicitly with `{.raises: [Exception].}` prevents
Nim from performing compile-time exception checking and is almost never
desired - it does have a tendency to spread through the codebase
however, similar to sub-par const correctness in C++.

The reason these annotations might have seemed necessary can be traced
to missing exception specifiers in the go imports bumped in this PR.

See
https://status-im.github.io/nim-style-guide/interop.c.html#functions-and-types
for background on Nim-go interop and
https://status-im.github.io/nim-style-guide/errors.exceptions.html for
more information on how exception tracking can be leveraged to find
missing error handling at compile-time.

This change has no runtime effect - it merely makes compile-time error
messages more informative or avoids them entirely.
2024-03-12 16:20:02 +01:00
Stefan 9202cce3f5 feat(activity): add incremental updates to current activity filter
Switch the activity filter to use the new session-based API that
deliver incremental updates to the current filter.

Drop the old quick win listening for individual change events and
use the unified API instead.

The new transactions (on-top) trigger the old "new transactions" buttons
that trigger reset of the current filter and the top new transacitons
highlighted.

Highlight mixed changes (not new on top) as they come in

Highlight new changes on filter reset

Closes #12120
2024-03-11 11:39:59 +01:00
Mikhail Rogachev 74dfd181c3
feat: Add new simplified model for profile showcase preferences (#13708)
* feat: Add new simplified model for profile showcase preferences

Close #13688

* feat: Add new api for saving profile showcase preferences

* feat(ProfileShowase): Save action with the new backend

- Created JSON file according to new backend structure when saving.
- Updated `dirty state` to sync writable and movable models when position is changed to have a better internal models sync.
- Reenabled identity fields save.

Closes #13799

* feat(ProfileShowcase): Showcase limit values integration with backend

Updated showcase limits with values coming from backend.

---------

Co-authored-by: Noelia <noelia@status.im>
2024-03-08 21:11:48 +01:00
Khushboo Mehta 3118931ab8 fest(@desktop/wallet): Update Desktop UI to correctly call the router and send
fixes #13797
2024-03-06 12:31:16 +01:00
Mikhail Rogachev 0455832f92
feat: Add `scanCommunitiesMembersForName` endpoint (#13789)
Close #13434
2024-03-01 22:12:19 +03:00