Commit Graph

10004 Commits

Author SHA1 Message Date
Patryk Osmaczko 774c08eec7 chore(tests): make permissions tests required for PRs 2024-06-19 13:58:55 +02:00
Patryk Osmaczko dc49843948 Revert "chore: disabled permissions tests, there is a bug"
This reverts commit 4226eaed0b.
2024-06-19 13:58:55 +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
Khushboo Mehta 5c1e800f14 feat(@desktop/wallet): Add Select Input and output params to swap modal
fixes #14826, #14825
2024-06-19 12:47:26 +02:00
Valentina Novgorodtceva 4226eaed0b chore: disabled permissions tests, there is a bug 2024-06-19 11:44:19 +03:00
Khushboo Mehta 8d6d6bdd84 feat(@desktop/wallet): Getting swap proposal
fixes #14828
2024-06-19 10:21:07 +02:00
Lukáš Tinkl a12a6a4894 feat[UI - Wallet Stability] Create generic/reusable assets listview component
TLDR: later this should form a basic building block for a new
TokenSelector picker component, potentially replacing the current
HoldingSelector* and TokenListView components (support for collectibles
TBD as part of https://github.com/status-im/status-desktop/issues/15121)

- create reusable `TokenSelectorAssetDelegate` and `TokenSelectorView`
- add corresponding SB page, showcasing the flow/integration and the
separation of concerns between the view, adaptor and delegate layers
- add QML testcase for TokenSelectorView
- don't display crypto symbol for token balances per chain tags
- update the stores and SB pages
- add some missing formatter functions to LocaleUtils and CurrenciesStore

Fixes #14716
2024-06-18 23:09:20 +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
Anastasiya Semenkevich 1c5aad7733 chore: replace conditions with function call in system.py 2024-06-18 15:04:44 +03:00
Anastasiya Semenkevich dc628f300a chore: terminate process on windows 2024-06-18 15:04:44 +03:00
Igor Sirotin eb9c629bbf
fix: removeTrustStatus response processing (#15206) 2024-06-18 11:08:30 +01:00
Igor Sirotin 067f406572
feat: limit message link previews count (#15214) 2024-06-18 11:08:14 +01:00
Valentina1133 4170f589b3
chore: improved 1-1 chat so it will decrease duration of test + added verification that message was edited (#15201) 2024-06-18 16:42:55 +07:00
Jacek Sieka b51eec7099
chore(nim): task simplification (#13956)
This PR slightly simplifies the way tasks are passed between threads,
removing some unnecessary boilerplate while improving type safety by
removing casts.

This approach works because `nimcall` turns a `proc` into a simple
pointer which just like `cstring` is safe to pass between threads.

Further simplification is possible, but left for a future PR.
2024-06-18 10:10:01 +02:00
Stefan 758dbc55e5 feat(dapps) implement signing of messages
Implement infrastructure and integration with status-go to support
general session requests

Supported methods:
- personal_sign
- eth_signTypedData_v4

depends on status-go change that exposes the signing methods

Also

- support hex or utf8 encoding for personal_sign
- format the typed data for display in the modal

Tests are disabled for now, as they are crashing on CI

Close: #14927
2024-06-17 15:06:26 +02:00
Valentina Novgorodtceva 28a7b691cd chore: fix for click_mint 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich 469d527cf0 chore: remove semicolon from the paths files to make windows happy 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich c67785100b chore: click indicator on before get started modal instead of checkboxes 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich 3b4a50b46f chore: click check boxes specifically, other elements in the middle 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich 5508cd96c9 chore: do not hardcode fileuri so it becomes OS agnostic 2024-06-17 13:39:18 +03:00
Khushboo Mehta 4f999e3709 fix(@desktop/wallet): Swap: Fix crash on launching SwapModal 2024-06-17 11:30:23 +02:00
Roman Chornii 357ff553b7
fix(StatusQ) removed old twitter icon, adjusted ProfileUtils linkTypeToIcon. (#15185)
fixes: #14300
2024-06-17 11:05:38 +03:00
Jonathan Rainville 7d5479f456 feat(messages): enable removing bridge messages as admin 2024-06-14 12:14:55 -04:00
Alex Jbanca f943440915 refactor(ProfileView): Adapt the profile view to the new `ContactDetails` component 2024-06-14 17:17:18 +03:00
Alex Jbanca afcb7608e0 refactor(contactDetailsAsJson): Adding `ContactDetails` component to replace `getContactDetailsAsJson`
This component has live data and its purpose is to replace getContactDetailsAsJson

+ adding storybook page
+ adding tests
2024-06-14 17:17:18 +03:00
Alex Jbanca 6560f27d99 fix(ModelEntry): Don't call `data` for roles that don't exist in the source model 2024-06-14 17:17:18 +03:00
Alex Jbanca f241928cc9 chore(ConcatModel): Forward setData to proxy models
This is a nice to have feature to allow ContactModel.sourceModel instances to implement setData
2024-06-14 17:17:18 +03:00
Alex Jbanca ccc2dfc547 refactor: Adding a users_model holding all contacts
Adding a new users_model instance holding all contacts. The users_model is adapted to contain all the user details.
This model is temporary until the full refactoring is done.
2024-06-14 17:17:18 +03:00
Anastasiya Semenkevich e2f06fb204 test: disable change password test because it creates ghost instances
https://github.com/status-im/status-desktop/issues/15178
2024-06-14 12:52:14 +03:00
Anton Iakimov cb105b9f7d
chore(ci): set PR E2E tests timeout to 30 min 2024-06-14 11:18:17 +02:00
Richard Ramos e5e3ff4408 chore: change order of rpc text input 2024-06-13 21:33:44 -04:00
Jonathan Rainville 0f055afa00 chore(chat): no need to block the input when a permission is pending
Fixes #15143
2024-06-13 18:41:00 -04:00
Roman Chornii a36ae5b5e0
fix(MembersTabPanel): Sorted Community members list alphabetically (#15163) 2024-06-13 20:21:04 +03:00
Valentina1133 1250373037
chore: more verifications added (community title and description on web page) (#15022) 2024-06-13 21:18:41 +07:00
Michal Iskierko e6c32fd619 fix(@desktop/permissions): Fix missing assets on permissions lists
Fix #14905
2024-06-13 15:07:35 +02:00
Lukáš Tinkl 46b81b30a6 feat: [UI - Wallet Stability] Create Max button component
- create a reusable "Max" send button component
- use it in SwapModal and SendModal
- add some more tests in tst_SwapInputPanel.qml

Fixes #15066
2024-06-12 17:08:56 +02:00
Stefan 4d080e12aa feat(dapps) authenticate user for session request
Trigger authentication with identity of the request
Track the authentication using the identity and allow only once
Add tests for the new functionality
Minor improvements around the code

Closes #15018
2024-06-12 16:52:12 +02:00
Patryk Osmaczko 3b2a7b8f08 fix(communities): fetching owners of erc20
fixes: #14908
2024-06-12 16:04:53 +02:00
Stefan f5b46d6972 feat(dapps) implements responding to wallet connect requests
For start support showing sign message only
Support rejecting the request
Storybook integration
Add disabled tests for the main logic and sanity UI tests.
They crash on CI only and work locally on mac. Postponed finding out why
for now.

Closes: #14927
2024-06-12 15:44:53 +02:00
Stefan 145053e34f chore(dapps) implement service tests and basic workflow tests
Abstract WalletConnectSDK to make it testable
Implement WC service pairing test
Bring back DAppsWorkflow tests back to life and add a pair modal test

Updates: #14927
2024-06-12 15:44:53 +02:00
Anastasiya Semenkevich e896267874 chore: fix typo for keypair error string 2024-06-12 13:09:23 +03:00
Anastasiya Semenkevich 9ce23fe556 chore: squeeze 2 kill methods to 1 2024-06-12 13:09:23 +03:00
Anastasiya Semenkevich 19f6cf9e11 chore: removed unnecessary steps, brought back commented ones 2024-06-12 13:09:23 +03:00
Alex Jbanca 60b1ec82ec feat(NetworkFilter): Add cut-out to the network filter images when displayed in a row 2024-06-12 11:53:00 +03: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
Anastasiya Semenkevich e8e1e08a89 chore: use sigkill to kill the process 2024-06-11 14:20:04 +03:00
Valentina Novgorodtceva 3d34b30390 test: 5 characters minimum length for account name and keypair name 2024-06-11 12:33:44 +03:00