2830 Commits

Author SHA1 Message Date
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
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 8abd9c56a1c42af5603210d42fd2290a800bae2f.
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