2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-02-28 06:21:11 +00:00

2528 Commits

Author SHA1 Message Date
Michal Iskierko
6f1957e650 feat(@desktop/communities): Assets deployment
Issue 
2023-06-29 17:27:36 +02:00
Jonathan Rainville
e35945b76c feat(requestToJoin): add addressesToShare to requestToJoin call
Fixes 
2023-06-29 11:19:19 -04:00
Sale Djenic
319bf7a69e fix(@desktop/syncing): keypair syncing - function renamed to avoid confusion, request from the code review 2023-06-29 15:08:29 +02:00
Sale Djenic
241956d537 feat(@desktop/syncing): keypair syncing - added support for keycard pairings 2023-06-29 15:08:29 +02:00
Sale Djenic
7c56dc53d9 feat(@desktop/syncing): keypair syncing - recovering from another device with Keycard related profile
Closes: 
2023-06-29 15:08:29 +02:00
Khushboo Mehta
a2dd87c18b feat(@desktop/wallet): Watch only account toggle + persisted
fixes 
2023-06-29 10:18:42 +02:00
Anthony Laibe
29d78a99be feat(@wallet): all accounts list are ordered by position
fixes 
2023-06-29 09:42:33 +02:00
Jonathan Rainville
cde6c53318 move asset and collectible rebuild to communities module 2023-06-27 09:54:23 -04:00
Jonathan Rainville
28fa8271a6 feat(communities): update communities token list on token deploy
Fixes 

Updates the communities asset and collectibles lists when a new token is deployed.
Also refactors the section module to remove all that code and use the communities token list instead.
Adds community ID to the token list model so that we can show only the global tokens and the tokens from the community are shown in the community
2023-06-27 09:54:23 -04:00
Alex Jbanca
bf62ef0366 fix(accountDerivation): App is crashing when the account derivation fails in status-go
The crash is caused by missing `derivedAddresses` property on the response of fetchDerivedAddresses task
2023-06-27 14:53:58 +03:00
Pascal Precht
d38ca1b71e feat: use last know channelPermissionResponse data in UI
This commit makes use of the newly introduced APIs added in

https://github.com/status-im/status-go/pull/3657

The idea is that clients can retrieve the last known channel permission
state from the database make use of the in the UI, before waiting for an
async onchain check to finish.

Closes 
2023-06-27 12:52:18 +02:00
Jonathan Rainville
e201499994 fix(main/view): remove activeSectionChanged signal that crashes 2023-06-27 10:25:06 +03:00
Jonathan Rainville
20afd728fa fix(community_tokens/service): fix crash when receiving bad event
Fixes 
2023-06-27 10:25:06 +03:00
Anthony Laibe
31aca3ac35 feat(@wallet): Sort account by position 2023-06-26 22:21:20 +02:00
Khushboo Mehta
c47140a406 feat(@desktop/wallet): Wallet accounts - Account List
fixes 
2023-06-23 16:55:36 +02:00
Boris Melnik
cdac45010a feat(communities): Adds mute community intervals
Fixes: 
2023-06-22 20:46:33 +03:00
Khushboo Mehta
9be598ee32 fix(@desktop/wallet): Activity UI filtering improvements
1. Handling case where filters result in no results
2. Fixed period filter
3. Used recipient model from go side
2023-06-22 17:49:02 +02:00
Stefan
eb0406b556 feat(wallet) api to retrieve last activity timestamp
Bumps status-go to include the new API endpoint.

Integrate the new API endpoint with the ActivityFilterPanel.

Closes 
2023-06-22 15:53:11 +02:00
Dario Gabriel Lipicar
d5d4bba374 fix(@wallet): use fixed activity type from backend
Part of 
2023-06-22 08:54:45 +02:00
Stefan
2ba9680316 feat(wallet): filter activity by ERC20
Refactor code to use the token identity instead of token code
Removed the debugging activity view as now we have the API integrated
in the history view
Fixed the activity type in the activity entry

Closes: 
2023-06-21 11:49:02 +02:00
Pascal Precht
b3329d790e feat: channel permissions
Closes: , , , , 
2023-06-20 21:57:37 +02:00
Igor Sirotin
dae95c7918
fix: always update localNickName () 2023-06-20 13:41:05 +03:00
Emil Sawicki
54ae6a3154 feat(@wallet): Display parsed input data
fixes 
2023-06-19 10:43:09 +01:00
Anthony Laibe
c7ab998ea8 feat(@wallet): parse input data of tx 2023-06-19 10:43:09 +01:00
Jonathan Rainville
ccaa1578d0 chore(communities): small cleanup in the communities module 2023-06-16 16:43:33 -04:00
Jonathan Rainville
347bc9c9d7 feat(curated-comms): add permission model to curated communities
Fixes 

Adds the permission model to the curated communities model.

Also fixes the assetsModel and collectiblesModel used by the community portal, because it was using the basic Chat Store created in AppMain, but that store doesn't have the assets model.
2023-06-16 16:43:33 -04:00
Jonathan Rainville
fe8a58c5db fix(badges): fix muted chat not being marked as read
Fixes 

Fixes the bug where going to a muted channel with a mention doesn't mark it as read. This was because the QML doesn't call mark as read when a channel doesn't have unviewed messages. That was because our Nim code put 0 as unviewedMessageCount when a channel is muted.

I changed it so that channels always have the value from status-go. No more conditions on the Nim side. Now the condition is on the QML side. So we hide the badge in QML instead. That also means that showing the number of unviewed message, even in a muted channel works.

I also fixed a bug where we counted muted messages on app restart for the normal badge. Usually it didn't cause issues, because it's rare that you had messages in a muted channel and nothing else. You'd also have unread messages in an unmuted channel. so you'd go there, read it, and it would then update the parent badge. 
While testing this issue, I discovered that we in fact count muted channels for the parent badge.
So i fixed it in this one too.
So while chats don't have any Nim code for muted chats, sections do, because status-go doesn't really give us that information.
2023-06-16 15:12:12 -04:00
Dario Gabriel Lipicar
9fc8f66fbd feat(@dekstop/wallet): use amounts from activity backend
Part of 
2023-06-16 11:06:23 -03:00
Ivan Belyakov
a7b78bb6e8 feat: Add scrolling velocity and deceleration settings to advanced
settings.
Fixed RadioButtonSelector using anchor.margins
2023-06-16 15:54:33 +02:00
Stefan
2dd51e4584 feat(wallet) add recipients API and integrate with filter
Bumps status-go to include the new API.
Add a new RecipientsModel to the activity controller.
Extends the activity Controller with API to access and manage data in
the RecipientsModel.
Resolving addresses to names remains to be implemented.

Updates 
2023-06-16 13:15:46 +02:00
Michal Iskierko
d57485c6e9 feat(@desktop/communities): Add burning collectibles functionality
Burn collectibles.
Displaying burning fee.
Displaying remaining supply.

Issue 
2023-06-15 17:11:15 +02:00
Anthony Laibe
d534bf6773 fix(@wallet): fix all accounts balance
in case we add a new account the balance needs to be based on all
accounts all the time

fixes 
2023-06-15 14:21:44 +01:00
Cuteivist
10e5c714a2
feat(@desktop/wallet): Use new activity model for HistoryView ()
closes 
2023-06-15 15:09:35 +02:00
Lukáš Tinkl
045dfe60a0 fix: Channel picker doesn't render 1-1 chats correctly
- expose `colorId` and `colorHash`, the latter only for non-ENS verified
users
- use them in the results :)

Fixes 
2023-06-15 11:13:36 +02:00
Ivan Belyakov
b6a23f55a1 feat(wallet/desktop): Enable sequential scheduler.
Handle 'new transfers' event for activity view
to load transactions. It is a temporary solution until integration of
sequential transfer fetching is properly done with activity filter
2023-06-15 11:03:10 +02:00
Igor Sirotin
11bd51fc27
fix(SyncingView): only suggest to sync non-synced devices () 2023-06-15 11:53:35 +03:00
Alex Jbanca
9d14fd60af chore: Integrate DB re-encryption process due to page size changes
Changes:
1. Bump status go to include DB migration
2. Integrate the new DB re-encryption signals to show the re-encryption loading screen
2023-06-14 21:12:22 +03:00
Mykhailo Prakhov
82a1ed2f7a
feat(@desktop/community): Community admin permissions ()
* chore:
- replaced admin bool to memberRole
- activate admin permissions
- configured admin restrictions
2023-06-14 18:00:41 +02:00
Igor Sirotin
4849230054
fix(ChatColumnView): fix input Unblock button state () 2023-06-14 18:09:46 +03:00
Michal Iskierko
db55d10b37 feat(@desktop/communities): Compute minting fees and displaying minting toast messages
Issue 
2023-06-14 10:44:57 +02:00
Stefan
4bcbe51154 feat(wallet): extend API to continue loading activity
Bump status-go with the refactoring of hasMore and add offset
Add support for continuously loading activity in the wallet API.
Extend the debugging demo with continuously loading

Closes 
2023-06-13 17:19:31 +02:00
Dario Gabriel Lipicar
be6fe0633e fix(@desktop/wallet): return transaction list even if nft metadata fetch fails
Fixes 
2023-06-13 11:47:20 -03:00
Dario Gabriel Lipicar
39a5a67937 chore(wallet): split multitransaction command from full struct
Part of 
2023-06-13 09:19:03 -03:00
Stefan
43c7258328 feat(wallet): make filter API async
Bump status-go to include the async API changes
Handle the wallet-activity-filtering-done event
Propagate the has more flag
Extend the debugging UX

Update 
2023-06-12 18:36:24 +02:00
Lukáš Tinkl
6bfe79a7f3 fix(Chat): Context menu for gif downloads/copies a png file
Detect the MIME type using `QMimeDatabase` from the actual content and
save it in that same format using `QSaveFile`, as `QImage` does NOT
support saving a GIF

Fixes 
2023-06-12 16:51:33 +02:00
Pascal Precht
fe491aba6e feat: introduce and handle checkPermissionsToJoinCommunity()
This is an improved version to check wether a user has permission to
join a community and updating the join community view accordingly.

We now asynchronously do all the checks in status-go and process
a single result upon token permission updates, additions and deletions.

Depends on: https://github.com/status-im/status-go/pull/3494

Closes  
2023-06-12 12:41:47 +02:00
Anthony Laibe
3d6a5b1785 fix(@wallet): left bar selection
fixes 
2023-06-12 11:26:47 +01:00
Stefan
16304ab26b feat(wallet) filter activity by status
Parse the status information from the API response
Added debugging status as to the debug view

Closes: 
2023-06-12 10:38:31 +02:00
Pascal Precht
a465417981 Retrieve community token contract addresses from token metadata
Prior to this change, the control node would try to fetch the community
token data from its database entries.

However, when a community has been recovered from importing an account
via seedphrase, the database for community tokens will be empty.

So it's better to retrieve the contract addresses from the community
description's metadata (which should always be there).

This change determines the community token from the community metadata.
2023-06-12 10:01:32 +02:00
Dario Gabriel Lipicar
546ed657ec fix(@wallet): add missing field to multitransaction
Fixes 
2023-06-09 15:06:32 -03:00