Commit Graph

1010 Commits

Author SHA1 Message Date
Anton Iakimov df4e115c6e
ci: cleanup more build artifacts
Should be cleaning artifacts for more than 1+1 build for each branch.
2024-02-28 15:44:58 +01:00
Igor Sirotin a6513e4c9f
bump status-go (#13753) 2024-02-27 19:44:49 +00:00
Michal Iskierko 06cb3224c8 chore(@desktop) Upgrade status-go
Issue #11588
2024-02-27 19:33:27 +01:00
Mykhailo Prakhov 996199b910
feat(desktop@communities): change kicked/banned member behavior (#13706)
feat: change kicked/banned member behavior
2024-02-27 12:55:56 +01:00
Lukáš Tinkl 630da7caaa fix: 150% and 200% zoom levels prevent the user from logging in
- TLDR: we were scaling twice, resulting in ginourmous pixel values

The long story:
- since Qt treats the various scale factors in a multiplicative way (see
https://www.qt.io/blog/2016/01/26/high-dpi-support-in-qt-5-6 for
explanation) and there's no way to get the screen's baseline scale
factor programatically, we also have to export `QT_SCREEN_SCALE_FACTORS`
to something that's not equal to `0` or `1` to force the monitor scale
factor to `100%` and then compensate for it when exporting our own scale
value using `QT_SCALE_FACTOR`
- make the UI slider values go in `25%` steps, allowing for more fine
grained control; with `100%` we fallback to the Qt's native handling of
highdpi
- raised the maximum to `300%` since on highres displays, one wouldn't
be able to go over the implicit maximum of `200%` (due to the internal
scaling being 2x)
- scale our main window's minimum width/height so that we don't overflow
the monitor's available space
- modernize the `ConfirmAppRestartModal` to use `StatusDialog`
- use the new `Utils.restartApplication()` when changing the UI language
as well
- remove some dead code

In the (very) long term, we should take a different approach of scaling
our app independently of Qt, just taking the monitor
`Screen.devicePixelRatio` into account, similar to what other apps like
Telegram do

Fixes #13484
2024-02-27 10:39:05 +01:00
Dario Gabriel Lipicar d22ac0dfed fix(@desktop/wallet): properly handle tokenID 0 when filtering activity by collectibles
Fixes #13660
2024-02-26 07:55:05 -03:00
Anthony Laibe aed61b68b1 feat(@wallet): sepolia default 2024-02-23 11:52:40 +01:00
Igor Sirotin 28d8145136
fix: use `fleetFromString` function to prevent panic for unknown values (#13699) 2024-02-23 10:14:42 +00:00
Michal Iskierko 4031778c7c fix(@desktop/permissions): Use correct chains when creating permissions: testnet or mainnet
Fix #18896
2024-02-22 10:53:44 -05:00
Mykhailo Prakhov 12569d795f
feat(@desktop/community): allow owner delete all messages during the ban and ban/unban AC notifications (#13653) 2024-02-22 12:01:01 +01:00
Sale Djenic a3923461e8 fix(savedaddresses): saved addresses should be displayed in mixed cases format
Fixes #13665
2024-02-22 10:05:26 +01:00
Richard Ramos 9366820d1f chore: bump status-go to fix high cpu usage in peer-exchange 2024-02-21 13:21:46 -05:00
Roman Volosovskyi 7736cd8950
[#13615] Fix transfer history loading after interruption on restored account (#13629) 2024-02-20 11:12:12 +01:00
Roman Volosovskyi dd166eb60c
[13546] Fix detection of incoming erc721 transfers (#13626) 2024-02-19 16:52:09 +01:00
Dario Gabriel Lipicar 277175dbf3 chore: bump status-go 2024-02-15 14:09:04 -03:00
Jacek Sieka 1315911587 maintenance bumps
Maintenance bumps of several dependencies - broadly address security
issues, 1.6+ compatibility, bugfixes etc to catch up with Nimbus'
development

The extra try/catch is due to increased exception safety requirements in
`chronicles`, where `fmt` allows dynamic format strings and therefore
may raise `ValueError` in theory.
2024-02-15 11:28:34 -05:00
Roman Volosovskyi cd11a2ac81
[#13552] fix Community assets not shown in account (#13576) 2024-02-15 14:55:20 +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
Stefan 1e75319664 test(wallet) sql integration tests for activity incremental update
Refactor tests to follow changes in session based activity API

Updates #12120
2024-02-13 19:47:39 +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
Roman Volosovskyi 7caa23a042
[#13485] Fetch initial balances when history is not ready or doesn't exist (second attempt) (#13510) 2024-02-12 14:24:02 +01:00
Roman Volosovskyi c29f6de697 [#13485] Fetch initial balances when history is not ready or doesn't exist 2024-02-12 11:27:28 +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
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
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
Igor Sirotin 498a81e6b7
chore: bump status-go (#13363) 2024-01-30 21:17:03 +00:00
Igor Sirotin a0d16ac2fa
chore: bump status-go (#13359) 2024-01-30 15:12:01 +00:00
Michal Iskierko caeb6a0132 chore(@desktop): Upgrade status-go
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
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
Igor Sirotin 9e4db718b4
bump status-go (#13298) 2024-01-25 15:04:55 +00:00
Sale Djenic e68d46da99 chore: bump the latest status-go changes 2024-01-22 14:35:11 +01: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
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
Sale Djenic 1e972950e6 chore(savedaddresses): favourite property removed 2024-01-12 14:23:35 +01:00
Godfrain Jacques ed89ba77b8
Fix thumbnail images for quoted message (#13126) 2024-01-09 01:54:54 -08: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
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
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
Mykhailo Prakhov f5d6c09a51
feat(@desktop/commnity): request shard during fetchCommunity (#13102) 2023-12-22 18:19:26 +01: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
Mykhailo Prakhov 790add8ea5
fix(@desktop/requestsToJoin): displaying approved people in the pending list (#13038) 2023-12-21 11:30:02 +01:00
Boris Melnik 74d3bedc11 fix(windows-build): Fix statusgo get free space implementation
Fixes: #13036
2023-12-20 22:24:42 +03:00
Sale Djenic 969998dd3f chore(walletconnect): store wallet connect sessions instead of pairings
Closes: #13008
2023-12-18 09:25:42 +01:00
Anthony Laibe 01e38c7c25 chore: bump status-go 2023-12-13 13:58:50 +01:00
Sale Djenic bf8b87f034 feat(walletconnect): support for eth_signTypedData v3 and v4
Closes: #12961
2023-12-13 09:08:24 +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
Mykhailo Prakhov c688525f0b
fix: TokenMaster can't airdrop to members using the members list (#12970) 2023-12-08 18:20:23 +01:00
Sale Djenic 3854920f54 feat(walletconnect): support for auth request 2023-12-06 20:01:04 +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
Sale Djenic c5d1d5b77d chore(walletconnect): adapting to improvements done on the statusgo side 2023-12-04 11:58:58 +01:00
Cuteivist e552a01d2b
fix(@desktop/wallet): Use second chain activity details data (#12705) 2023-12-01 15:31:47 +01: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
Mikhail Rogachev bfb5813c5f
fix(ActivityCenter): New user is not mentioned by past messages (#12887)
Close #10745
2023-11-29 20:25:01 +04:00
Cuteivist 8e0db2e666
fix(@desktop/wallet): Display balance for all accounts (#12632) 2023-11-29 12:19:59 +01:00
Dario Gabriel Lipicar faf572308c chore(ci): bump status-jenkins-lib to include rarible api keys 2023-11-27 22:19: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
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
Jonathan Rainville cc5e32c2b3 fix(message): fix deleting a quoted message loses the user info
Fixes #12785
2023-11-24 18:58:28 -05:00
Dario Gabriel Lipicar 7384c004cc feat(@desktop/wallet): support alchemy sepolia api keys
Closes #12771
2023-11-23 17:04:51 -03:00
Jonathan Rainville d4277f0732 chore(status-go): up status-go to have filter fix 2023-11-22 14:23:11 -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
Patryk Osmaczko 672800611d chore: bump status-go
Fixes always visible "sending..." message annotation.
2023-11-21 10:39:21 +01:00
Stefan 0d10d30b30 feat(wallet): WalletConnect web engine view runs SDK in background
Validated that WebEngineView runs SDK in background and can be hidden
from view.

Closes: #12639
2023-11-21 08:08:33 +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
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
Patryk Osmaczko 6f39f8782b chore: bump status-go
closes: #12277
2023-11-16 19:25:21 +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
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
Sale Djenic 5257d003d9 fix(mocked-keycard-lib): details for the default export public flow updated 2023-11-15 09:53:08 +01:00
Cuteivist 9514853e5f
Chore: bump status-go (#12735) 2023-11-15 09:03:44 +01:00
Patryk Osmaczko 1eab90173e chore: bump status-go
fixes: #12691
2023-11-13 23:13:57 +01:00
Richard Ramos de68d250a6 feat: shards.test fleet 2023-11-13 09:09:47 -04:00
MishkaRogachev a3ef9d6a27 bump status-go on master 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
Michal Iskierko 2910317c9a chore(@desktop): Upgrade status-go
Issue #11964
2023-11-08 14:35:51 +01:00
Boris Melnik 3030a689d8 feat(discord): Process import cancelled event
Fixes: #12504
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
Patryk Osmaczko 10f71e7413 chore: bump status-go
Updates Community Directory contract addresses.
2023-11-06 19:42:59 +01:00
Patryk Osmaczko cbb59e0fe5 chore: bump stats-go 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
Dario Gabriel Lipicar 99c113c829 feat: implement generalized collectibles filter
Closes #12520
2023-11-02 12:15:33 -03: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
Jonathan Rainville 36c9493c2d chore(status-go): update status-go to get migration fix
Fixes #12566
2023-10-30 10:45:34 -04:00
Stefan f4c739e730 fix(wallet) update nimqml reference to the master 2023-10-30 13:07:38 +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
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
Patryk Osmaczko c6c1c0e873 chore: bump status-go 2023-10-26 15:58:50 +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
Mykhailo Prakhov ff1cbe29c8
fix: prevent nil dereference in for existing communities (#12490) 2023-10-23 11:21:28 +02:00
Mykhailo Prakhov 3c5b353ab7 fix: setup owner as CommunityDescription signer after minting community owner token 2023-10-19 09:48:40 -04:00