879 Commits

Author SHA1 Message Date
Sale Djenic
5bfd4546c2 fix(@desktop/sync): settings/display_name sync&backup handling
Part of #10389 issue.
2023-05-31 13:47:23 +02:00
Sale Djenic
1e406269df fix(@desktop/sync): settings/currency sync&backup handling
Part of #10389 issue.
2023-05-31 13:47:23 +02:00
Michal Iskierko
4c29343a4a feat(@desktop/communities): Add self-destruct tokens functionality
Issue #10052
2023-05-31 12:43:36 +02:00
Patryk Osmaczko
c40472c285 chore: rename ContactDetails::details -> dto 2023-05-31 11:56:33 +02:00
Patryk Osmaczko
0933db17c6 chore: store ContactDetails instead of ContactsDto
closes: #10797
2023-05-31 11:56:33 +02:00
Stefan
9262943176 feat(wallet) complete the filter API
Bumps status-go HEAD to include required changes

Updates Nim filter components and APIs to follow API changes in
status-go
Complete the debugging code
Add TODO placeholders to be completed in follow up PRs: collectibles ...
General improvements and refactoring

Closes #10634
2023-05-31 08:16:28 +02:00
Igor Sirotin
b565b56aff
fix: Fix pairing same devices (#10856) 2023-05-30 17:22:09 +03:00
Boris Melnik
91bdb5824b feat(mute): Adds intervals for muting channels and chats
Part of: #9369
2023-05-30 16:43:48 +03:00
Ivan Belyakov
3fea8735b1 fix(desktop/wallet): use archival URLs for POKT 2023-05-29 15:37:20 +02:00
Anthony Laibe
1f582451aa feat(@wallet): returns only enabled networks 2023-05-29 09:44:06 +02:00
Sale Djenic
ea068e4dab fix(@desktop/wallet): let user add a new account even address' activity details are not fully fetched
Fixes: #10800
2023-05-26 10:53:14 +02:00
Sale Djenic
1d41590d56 fix(@desktop/wallet): keycard accounts do not display a keycard icon in the wallet list of accounts
Closes: #10643
2023-05-26 06:54:50 +02:00
Sale Djenic
38ce51e4bb chore(@desktop/wallet): changes caused by accounts improvements on the status-go side
Closes: #10592
2023-05-26 06:54:50 +02:00
Dario Gabriel Lipicar
7e0e0e916e fix(@desktop/wallet): properly handle collectibles api call errors
Fixes #10771
2023-05-25 09:36:27 -04:00
Jonathan Rainville
a69b8de3c3 feat(category): hook category Drag and Drop to backend correctly
Fixes #10733
2023-05-25 09:27:14 -04:00
Anthony Laibe
9738a3eec8 feat(@wallet): collectible multi address 2023-05-25 12:53:46 +02:00
Boris Melnik
92a9c41238 fix(invitation-bubble): Adds loading state for unfurling links
Fixes: #10422
2023-05-25 12:33:54 +03:00
Jonathan Rainville
243728b769 chore(chat/service): small cleanup 2023-05-24 10:45:47 -04:00
Jonathan Rainville
1e8ab03f18 fix(activity_center): wait for chats before fetching ac notifs 2023-05-24 10:45:47 -04:00
Anthony Laibe
1e5fee981e feat(@wallet): calculate progress for activity tx
fixes #10762
2023-05-24 13:41:00 +02:00
Boris Melnik
bd4bb0a566 fix(community-permissions): Fixed failed event sending and fix method declaration
Fixes: #10736
2023-05-23 07:34:17 -04:00
Boris Melnik
0ba7f1d609 feat(communities): Makes requestToJoinCommunity async
Fixes: #10719
2023-05-23 07:33:44 -04:00
Stefan
22df203653 feat(Wallet): add activity filter basic API
Add the possibility of retrieving the data of wallet activity based
on the given filter criteria.

Major changes:
- Bump status-go with the new equivalent API
- Add temporary developer tools
    - Debugging ActivityView QML component to test filter and display
    the activity
    - Add activity Nim package and synchronous controller and model

Considerations
- Have the model synchronous for the first iteration and then move to
  async while implementing the fetching mechanism
- Use QtObject instances in the model instead of roles over items as
  agreed with the team
- Simplify the implementation by having a simple presentation layer
  using backend (service also in the future)
- Small required fixes and improvements

Closes: #10633
Updates #10366
2023-05-23 11:29:09 +02:00
Anthony Laibe
be8c5d7534 fix(@wallet): Address details per chain
fixes #10068
2023-05-22 10:24:32 +02:00
Jonathan Rainville
863c4f5d7a fix(chat_section): make chat hidden if category collapsed when creating
Fixes #10381
2023-05-18 09:23:58 -04:00
Boris Melnik
3d5c8f8024 fix(community): Remove channels duplications
Fixes: #10582
2023-05-16 17:18:17 +03:00
Mikhail Rogachev
24f09e9e96
fix(Chat): Allow receiving messages from non-contacts in 1-to-1 (#10698)
Close #10522
2023-05-16 11:47:21 +04:00
Igor Sirotin
6ff8683338
fix: Don't try to update unknown communities (#10704) 2023-05-15 21:45:19 +03:00
Mikhail Rogachev
3a030102fe
Fix(Contacts): fix weird behaviour in some contacts flows edge cases (#10613)
* fix(Chat): Fix displaying CR messages in the chat

* fix(Contacts): Relay on actual status-go state during contact state manipulation

Close #10500
2023-05-15 15:22:04 +04:00
Anthony Laibe
8e8f194eb7 feat(@wallet): add all account action 2023-05-15 08:51:19 +02:00
Jonathan Rainville
150a3d242e feat(advancedSettings): add setting to set the number of archived logs
Fixes #3610

Adds a setting in Advanced Settings to modify the number of archived logs to keep. Between 1 and 100
2023-05-11 15:15:57 -04:00
Jonathan Rainville
8e1d7cac05 fix(logs): fix issue where all logs were kept archived
Part of #3610
2023-05-11 15:15:57 -04:00
Igor Sirotin
dc0e0e6e2a
fix(communties): Catch RequestCommunityInfoexceptions. Remove diplications. (#10631) 2023-05-11 13:46:54 +03:00
Sale Djenic
534e172397 chore(@desktop/wallet): KeyPairDto which actually refers to keycard is renamed to KeycardDto
This change is needed for further changes which are part of issue #10592
2023-05-10 10:11:26 +02:00
Anthony Laibe
5ac0547238 feat(@wallet): allows multiple addresses in assets module
Next will be other module
2023-05-09 19:01:08 +02:00
Sale Djenic
5122815df8 feat(@desktop/wallet): removing wallet account without an authentication
Closes: #10569
2023-05-09 12:05:49 +02:00
Stefan
528bb53b77 fix(Wallet) move deletion of pending transactions in nim
Bump status-go HEAD that removes deletion of pending multi-transactions
in status-go

Previous implementation was relying on the fact that all pending
transactions are also multi-transactions, which it seems not to be
the case (e.g. ens, airdrop collectible)

Also tried to extend the deletion of multi-transactions to status go
but it was causing crashes for minted/dropped tokens.

Updates #10474
2023-05-08 11:58:50 +02:00
Michal Iskierko
216a1d1e2b fix(@desktop/communities): Deleting index when updating owners model and minor fixes
Issue #10254
2023-05-05 14:05:31 -04:00
Michal Iskierko
2087616b82 feat(@desktop/communities): Adding token owners model
- replace qml owners model with Nim one
- get token owners from wallet service
- keeping owners cache in community_tokens/service and refresh every 10 minutes

Issue #10254
2023-05-05 14:05:31 -04:00
Patryk Osmaczko
cc191ae0e4 feat(communities): propagate featured flag
closes: #10565
2023-05-05 19:57:39 +02:00
mprakhov
60bd0d2a6c feat(@desktop/communities): Automaticaly encrypt closed communitites 2023-05-05 19:04:29 +02:00
Jonathan Rainville
b9a2e62602 fix(message/service): fix msg not appearing in new chat because of race
Fixes #10340

Fixes a race condition when receiving a message in a channel that doesn't exist yet (for example in a delete 1-1 chat).
What happens is that the status-go signal contains both the message and the chat. Both are handled by different services, so there was a race between the two of them. If the chat service handled the chat first, then the message was added correctly, but in the case of the message service handling it first, it would try to add the message to a chat that doesn't exist yet, so it wouldn't work.

I also cleaned the ChatUpdateArgs by removing the messages arg that was not used anywhere and also was a bit counter-intuitive. Why did a Chat arg have messages?
2023-05-05 11:09:32 -04:00
Pascal Precht
90acfa0457 fix(permissions): ensure permissions model is rebuilt when permission
was deleted

This is needed because there's cases where the deletion of a permission
might cause the current user to no longer be eligible to join
a community.

Community has the follwoing permissions:
- own 2 ETH and 1 FOO_NFT or
- own 1 FOO_NFT

User owns: 1 FOO_NFT

^ The above would make the user eligible to request access to join.

Now if the community removes the second permission, the user now no
longer fulfills the requirements so we need to ensure the UI
permits the user to request access.

Rebuilding the permissions model (including its token criteria) sets the
necessary flags in the UI automatically.
2023-05-04 11:23:56 +02:00
Michal Iskierko
a73ea4604e fix(@desktop/communities): Fix double toast message
Fix #10486
2023-05-04 10:28:43 +02:00
Pascal Precht
202a789c67 fix: ensure notification settings are cached from RPC
There are a bunch of notification related settings that cause RPC
calls when read from the UI in QML/Qt.

This is bad because whenever the view tries to read a notification
setting it causes an RPC call and then rerenders the view. This happens
pretty much every time a new signal arrives in the client.

To account for that we now fetch all notification settings once and mark
the service as initialized so it know when to simply return cached
values. The cache is updated when the notification settings change.

Fixes #10493
2023-05-04 09:32:44 +02:00
Igor Sirotin
f656088112
fix: Fixed community channel emoji not updated (#10534) 2023-05-03 20:07:37 +03:00
Anthony Laibe
f58bfb97eb fix(@wallet): send a token without balance
fixes #10509
2023-05-03 13:58:58 +02:00
Igor Sirotin
ac6cebed9f Added toContentType function 2023-05-02 17:00:54 -04:00
Igor Sirotin
98d8a70572 fix: Added SystemMessagePinnedMessage contentType 2023-05-02 17:00:54 -04:00
Jonathan Rainville
6997e05586 fix(chats): fix unread counters in many instances
Fixes #10076

Reverts the refactor that makes getChannelGroups (ie getChats) not return chats (now it does return all chats too).
That way, we actually have the right mentions and unread count when receiving new messages

Also fixes an issue where mentions and unread count would get reset to 0 when getting a community update, because the signal doesn't have enough info
2023-05-02 14:33:14 -04:00