Commit Graph

8888 Commits

Author SHA1 Message Date
Jakub Sokołowski effe996239 fix(ci): fix OS version check in Ubuntu setup script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-06 15:07:02 +01:00
Mikhail Rogachev d77d049203
Hotfix: add include in ConactModel for Apple clang (#12954) 2023-12-06 21:06:08 +07:00
Jakub Sokołowski 55f6c64b48
chore(ci): remove obsolete desktop-e2e-old CI label
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-06 15:02:36 +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
Lukáš Tinkl d7614beb99 feat(token mgmt): update main wallet view layout with community assets
- update the CollectiblesView.qml view and delegates according to the
latest design
- add CollectiblesView to Storybook
- add new section for Community Collectibles
- (re)use the community badge with tooltip and link action to take the
user to the respective community
- add Community Collectibles info icon + popup
- create context menu for token delegates with actions
(Send/Receive/Manage tokens/Hide)
- add confirmation popups when hiding a single or all community tokens
- emit a toast bubble after hiding the token(s)
- fix eliding the community name inside ManageTokensCommunityTag
- some smaller fixes/cleanups

Fixes #12519
2023-12-06 11:18:36 +01:00
Michał Cieślak e2fa702ec4 feat(StatusQ): QML-oriented proxy model concatenating source models vertically
Closes: #12682
2023-12-05 22:45:08 +01:00
Michał Cieślak a915f48fd9 fix(StatusQ): check if role exists in ModelUtils::contains
Without the check, asking for not existing role led to segfault.
2023-12-05 22:45:08 +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 a18a94f5a9 fix(@desktop/general): runtime log level control doesn't work
Fixes: #12919
2023-12-04 16:43:16 +01: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
Anastasiya Semenkevich d3a0c95979 chore: update to new squish version 2023-12-01 21:51:21 +03:00
Igor Sirotin de89b3ee77
fix: check nil shard (#12927) 2023-12-01 18:36:17 +00:00
Noelia c2bfc6b8f4 feat(SQ/Aggregator): Created utility `Aggregator`
- Abstract class created: `Aggregator`
- Derived abstract class created: `SingleRoleAggregator`
- Derived class created:  `SumAggregator`
- `Storybook` page created.
- Added unit tests.

Closes #12685
2023-12-01 18:57:01 +01: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 ab7085a184 fix(@desktop/wallet): Adds STT for default tokens visible
remove condition for showing only tokens with non zero balance as that part is already done on status_go side
2023-12-01 09:31:49 +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
Andrea Maria Piana e6c8e141e2
Add shell.nix file
I have added a shell.nix file that helps setting up the environment for
building if nix is installed.

To use it you can run `nix-shell shell.nix` which will install all the
required dependecies, and then just `make run` should work.
2023-11-30 13:58:17 +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
Boris Melnik 82a829de0c fix(contacts): Fix new url format validation in contact request dialog from settings
Fixes: #12829
2023-11-30 01:51:24 +03:00
Boris Melnik 34097f9dea fix(new-links): Fix processing links to profile without encoded data
Fixes: #12848
2023-11-29 21:01:36 +03: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
Lukáš Tinkl 3b60506460 feat(token mgmt): update main wallet view layout with community assets
- update the AssetsView.qml view and delegates according to the latest
design
- add AssetsView to Storybook
- add new section for Community Assets
- (re)use the community badge with tooltip and link action to take the
user to the respective community
- add Community Assets info icon + popup
- create context menu for token delegates with actions
(Send/Receive/Manage tokens/Hide)
- add confirmation popups when hiding a single or all community tokens
- emit a toast bubble after hiding the token(s)
- plus related controller/backend methods for handling the
settings-related actions
- some smaller fixes/cleanups

Fixes #12369
Fixes #12372
2023-11-29 16:13:08 +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
Valentina1133 3cbb93f88d
Chore/messaging elements object names (#12882)
* chore: added object names for messaging elements

* chore: added object names for messaging elements
2023-11-28 13:29:18 +04: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
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
Alex Jbanca f96460ead7 fix: Fix LeftJoinModel tests on Qt 5.15.8 2023-11-27 15:52:39 +02: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
Lukáš Tinkl 0dbbea383d fix(chat): Emoji is html-encoded in message reply
revert to previous behavior, we want RichText even though we really
don't :)

Fixes #12786
2023-11-27 12:46:18 +01: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