Commit Graph

2962 Commits

Author SHA1 Message Date
Khushboo Mehta 1f85ec1bd6 fix(@desktop/wallet): Fixing bugs found during demo 2023-09-19 13:59:46 +02:00
Stefan 7e5ed80847 chore(wallet) remove activity filter dependency on accounts
Bumps status-go and pass the all addresses selected to the API

Close #11980
2023-09-19 10:59:02 +02:00
Patryk Osmaczko 720f6884b8 feat(communities): integrate token permissions pending state
closes: #11852
2023-09-18 15:29:03 +02:00
Lukáš Tinkl 848d3b14f5 feat(community ownership) Move community control node flow UI
Implement the UI part of the new flow for moving community control nodes
w/o involving private keys

Closes #12088
2023-09-18 11:00:46 +02:00
Dario Gabriel Lipicar 2ac484dd57 feat(@desktop/wallet): implement collectibles ownership state
Fixes #12159
2023-09-15 19:28:49 -03:00
Dario Gabriel Lipicar 52e6fddcab feat(@desktop/wallet): implement partial collectibles updates
Fixes #12150
2023-09-15 19:28:49 -03:00
Jonathan Rainville f71caf8e77 Revert "refactor(section_details): simplify section_details to only contain needed props"
This reverts commit 9968495ef3.
2023-09-14 14:42:59 -04:00
Jonathan Rainville 9968495ef3 refactor(section_details): simplify section_details to only contain needed props 2023-09-14 14:41:29 -04:00
Alex Jbanca 4f2f9646ec fix: Defer QModelIndex delete when it is created
It's fixing a crash on dataChanged when SortFilterProxyModel is used in qml on top of nim models. The model index is destroyed too early and the SFPM will use a deleted index.

(cherry picked from commit 8032cf7244)
2023-09-14 10:04:39 -04:00
Alex Jbanca 856b0d8139 fix: Crash when 1-1 chats order is changing in the UI
(cherry picked from commit ba00228d0f)
2023-09-14 10:04:39 -04:00
Alex Jbanca 99b2a87fe4 fix: Fixing a crash on channels reordering in community column view
(cherry picked from commit 41ba1f1710)
2023-09-14 10:04:39 -04:00
Sale Djenic 0d2c68411b chore(@desktop/syncing): sending `pairings.json` file content removed from local pairing (maintained on the status-go side) 2023-09-13 17:52:49 +02:00
Sale Djenic 243b70a3eb chore(@desktop/keycard): desktop side handling of status-go #4003 issue 2023-09-13 17:52:49 +02:00
Khushboo Mehta f597ef4e6a feat(@desktop/wallet): Glue for sending nft
fixed #12128
2023-09-12 14:01:10 +02:00
Sale Djenic 61b217c5eb fix(@desktop/wallet): the app crashes when receives "show/hide watch only" value from paired device
Fixes: #12115
2023-09-11 14:47:25 +02:00
Cuteivist 3548cee149
feat(@desktop/wallet): Added missing filter types (#12109) 2023-09-11 13:43:21 +02:00
Dario Gabriel Lipicar bad497cc90 feat(@desktop/wallet): implement nested collectibles model
Part of #12072
2023-09-11 08:02:02 -03:00
Sale Djenic 61f3d903ce feat(@desktop/syncing): keypair syncing - migrate keypair to/from keycard if devices are already paired
Closes: #11706
2023-09-11 12:14:36 +02:00
Cuteivist 33a8ed9b9c
bug(@desktop/wallet): Unkown symbol and Gwei decimals (#12083) 2023-09-11 12:08:21 +02:00
Cuteivist 63eacf0817
feat(@desktop/wallet): Use estimated latest block for details (#12092) 2023-09-11 10:08:53 +02:00
Alex Jbanca 624b758c85 fix(Update fees periodically): Implementing periodic fee update for airdrops, minting, self destruct and burning transactions 2023-09-08 23:25:04 +03:00
Alex Jbanca f2b3ba1ae7 fix(Update fees periodically): Adding requestId to compute fees nim flows
The compute fees flows are async and requestId/responseId is added for the UI to match a request with the proper response.
2023-09-08 23:25:04 +03:00
Lukáš Tinkl 95f6350e8f feat: Passing an empty seq to dataChanged doesn't apply all roles
When calling `QAIM.dataChanged(index, index, [roles])`, passing nothing
(ie omitting the paramater altogether), an empty array `[]`, or an empty
sequence `@[]` means "all roles", just like the C++ counterpart in
https://doc.qt.io/qt-5/qabstractitemmodel.html#dataChanged

Fixes #11830
2023-09-08 14:12:06 +02:00
Lukáš Tinkl e106be9b12 feat: Single discord channel import UI flow
Closes #12039
2023-09-07 14:52:53 +02:00
Sale Djenic b22b632b2d feat(@desktop/wallet): account interaction - stop using a keycard for profile keypair - handling on paired devices
Part 4 of: #11737
2023-09-07 14:49:06 +02:00
Stefan dfb76cfa87 fix(wallet) use the all chains enabled state in filter
Optimization and fixes no chain ID for multi-transaction issue.

Updates: #12077
2023-09-05 18:54:51 +02:00
Khushboo Mehta a8cb40809c fix(@desktop/wallet): Edit Networks: Add warning when failover and main rpc are the same
closes #11551
2023-09-05 16:56:27 +02:00
Stefan 8138e5edcf chore(wallet) remove requesting detailed transaction info for activity
Closes #11598
2023-09-04 22:07:24 +02:00
Sale Djenic ef4a564fc7 feat(@desktop/wallet): account interaction - stop using a keycard for profile keypair (on device)
Part 3 of: #11737
2023-09-04 16:25:53 +02:00
Sale Djenic cf7c3325e7 chore(@desktop/general): converting to a regular account switched to an async job 2023-09-04 16:25:53 +02:00
Stefan 6b56bbe01f chore(wallet) move totalFees to details
Updates #11597
2023-09-04 14:33:19 +02:00
Stefan 600793e0de chore(wallet) lookup symbols for wallet activity filter
Updates #11597
2023-09-04 14:33:19 +02:00
Stefan 2c769602f4 feat(wallet) lazy load activity NFT information
Bump status-go to include required changes

Implement processing of activity updated message

Updates: #11600
2023-09-04 14:33:19 +02:00
Jonathan Rainville bc4a150afa feat(shared_addresses): get old shared addresses for the edit popup
Fixes #11973
2023-09-01 09:31:40 -04:00
Sale Djenic 45f7299202 feat(@desktop/wallet): adding factory reset keycard flow as a continuation to the stop-using keycard flow
Part 2 of: #11737
2023-09-01 09:20:54 +02:00
Sale Djenic c59f6d72d8 feat(@desktop/wallet): account interaction - stop using a keycard for non profile keypair
Part 2 of: #11737
2023-09-01 09:20:54 +02:00
Sale Djenic c81dfdc7c7 feat(@desktop/wallet): account Interaction - move keypair to a keycard
Part 1 of: #11737
2023-08-30 16:50:33 +02:00
Jonathan Rainville 789a01cf09 feat(shared-addresses): add loading state for checking permissions
Fixes #11893
2023-08-30 10:48:12 -04:00
Jonathan Rainville 8336a6d08e fix(crash): fix crash about community permissions
Fixes #11996
2023-08-30 10:38:47 -04:00
Jonathan Rainville 4ea3ec8575 fix(chat_section): only call community function for communities 2023-08-30 10:38:47 -04:00
Jonathan Rainville 3fa315c3a8 chore: clean up modules and controllers by removing the useless function 2023-08-30 10:38:47 -04:00
Khushboo Mehta 330ccb58a6 chore(@desktop/wallet): Move send modal logic over to nim side
fixes #11881
2023-08-30 14:45:40 +02:00
Cuteivist db350dc36e
feat(@desktop/wallet): Fetch multi tx details (#12002)
closes #11897
2023-08-30 14:10:59 +02:00
Michal Iskierko 7077831a65 feat(@desktop/communities): Change call names to collectibles service
Issue #12011
2023-08-29 13:27:43 +02:00
Michal Iskierko da30b8d2d8 fix(@desktop/communities): Pass addressFrom from UI to contract calls.
Use address set in UI instead of deployer.

Fix #11827
2023-08-25 15:48:51 +02:00
Sale Djenic 6b570d1114 fix(@desktop/wallet): notification centre item relating to import of keypair to another of the user's synced devices (point 1)
Point 1 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic aec5dc62c9 fix(@desktop/wallet): importing keypairs at the account level (navigating into an account page in Wallet) (point 9)
Point 9 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic fadad5f4f6 fix(@desktop/wallet): importing keypairs at the account level (navigating into an account page in Wallet settings) (point 8)
Point 8 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic 228de3715b fix(@desktop/wallet): QR dialog (point 4)
Point 4 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic 00513ed306 feat(@desktop/wallet): make a partially operable account fully operable on the first use
This commit makes any partially operable account a fully operable when user
provides a password/pin from whatever reason.

Closes: #11781
2023-08-24 10:07:31 +02:00
Sale Djenic 3113fffef9 fix(@desktop/wallet): fixed crash while handling received removed account from a paired device 2023-08-24 10:07:31 +02:00
Shinnok ffc560b393
Add ChatIdentifierItem back, after model is cleared (#11900)
On chat history clearance initiated by the user.

Fixes #10889
2023-08-22 14:23:40 -04:00
Mykhailo Prakhov 3f5df7e3ef
feat: owner and token master permissions (#11942) 2023-08-22 20:09:34 +02:00
Stefan 8941b218d5 fix(wallet) duplicate entries in activity
The multi-transaction ID was not propagated. The status-go change fixes
this.

Close: #11754, #11404
2023-08-22 19:16:46 +02:00
Mikhail Rogachev 3463d7a01f
fix(Communities): show community tokens in token section (#11970)
Close #11843
2023-08-22 19:07:02 +03:00
Mikhail Rogachev cc83098263
feat(Communities): Improvements for token holders list (#11923)
* feat(Communities): Refactor token holder list item to separate file

Close #11858

* feat(Communities): Use contact details for community member info

* feat(Communities): reuse StatusMemberListItem for member token holder

* Review fixes

Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>

---------

Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>
2023-08-22 18:34:37 +03:00
Igor Sirotin 9716f9b1ac
fix: Only send unfurled link previews (#11976) 2023-08-22 09:47:17 -04:00
Sale Djenic a1bf7bed19 feat(@desktop/syncing): make a not operable account fully operable, part 3
Closes the third part of #11779
2023-08-22 12:22:32 +02:00
Sale Djenic 85d4bfdfea feat(@desktop/syncing): generating connection string and inserting connection string for transferring keystore files introduced
Refers to the third part of #11779
2023-08-22 12:22:32 +02:00
Igor Sirotin 3560786e2a
feat: Unfurl images (#11940) 2023-08-22 10:26:54 +03:00
Jonathan Rainville 8332a685c4
Hook pending join request backend to new UI (#11914)
Fixes  #11851
2023-08-21 15:07:40 -04:00
Boris Melnik 95f829665b
feat(communities): Update permissions list for spectated community tokens model (#11803)
Fixes: #11480

* hook up join popup to permission model

* fix chats not being put in the permission model

* make it work with channel permissions as well

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-21 14:54:57 -04:00
Stefan 3e8f710560 fix(debug) don't overwrite the status-go log level 2023-08-21 10:05:21 +02:00
Anthony Laibe 678f751121 feat(@wallet): mask api keys 2023-08-18 14:30:44 +02:00
Cuteivist faf4933262
fix(@desktop/wallet): Show networks for Bridge txs (#11898) 2023-08-18 10:56:57 +02:00
Alex Jbanca eb6a33f385 fix: Add SA_ONSTACK flag to the event 16 2023-08-18 09:07:23 +03:00
Michal Iskierko a6d7ec2536 fix(@desktop/communities): Fix minting crash when community name length is <3 chars
Fix #11906
2023-08-17 12:20:32 +02:00
Michał Cieślak 1c50ec17a8 chore(Communities): Refactor amounts handling for displaying, minting, airdropping and burning
Closes: #11491
2023-08-17 11:26:25 +02:00
Mikhail Rogachev f4b028bd71
feat(CommunityTokens): Display community member contact data for token holders list (#11787)
* feat(CommunityTokens): proposal of CommunityCollectibleOwner

Close #11143

* feat(Communities): implement viewProfile from token holders list

* fix: re-request community token owners after a contact get removed from a community
2023-08-17 11:24:14 +04:00
Jonathan Rainville b38faeae64 fix(threadpool): stop logging task args because they may contain pwd 2023-08-16 13:29:53 -04:00
Dario Gabriel Lipicar 238ffeb01e feat:(@desktop/profile): dedicated collectibles model for profile showcase
Closes #11637
2023-08-15 11:07:53 -03:00
Dario Gabriel Lipicar e82270c718 chore(@desktop/wallet): move collectibles controllers to shared modules 2023-08-15 11:07:53 -03:00
Dario Gabriel Lipicar 21eea92d34 feat(@desktop/wallet): adapt to multiclient collectibles api 2023-08-15 11:07:53 -03:00
Michal Iskierko 0c78a648b5 fix(#desktop/communities): Remove temp minting and temp airdrop buttons
Improve logs in community tokens service.

Issue #11250
2023-08-14 21:40:57 +02:00
Michal Iskierko 603d4dd4d8 feat(@desktop/communities): Deploy Owner and Master tokens flow.
Issue #11250
2023-08-14 21:40:57 +02:00
Sale Djenic 7a1500a365 fix(@desktop/wallet): no notification after deleting keyapir
Fixes: #11866
2023-08-14 16:45:08 +02:00
Sale Djenic 4c6af4f1ad feat(@desktop/syncing): make a not operable account fully operable, part 2
- handles import keypairs (without syncing via qr)

Closes the second part of #11779
2023-08-11 17:22:27 +02:00
Sale Djenic 23fa2f5df3 feat(@desktop/syncing): make a not operable account fully operable, part 1
- handles recovered keypairs

Closes the first part of #11779
2023-08-11 09:48:34 +02:00
Khushboo Mehta ec3231ef7e feat(@desktop/wallet): Update remove keypair popup to match the Figma
fixes #11734
2023-08-10 19:56:59 +02:00
Jonathan Rainville 24d26cc038 feat(airdrop): get revealed accounts using new API instead of desc
Fixes #11817

Instead of getting revealed accounts from the community description (it's no longer available), uses the new `getRevealedAccountsForAllMembers` API. Uses it async so that we do not slow the start process. The model is updated correctly when we finish loading them.
2023-08-10 11:59:09 -04:00
Alex Jbanca 7d0d321b35 feat(community): Add Pending states to community membership request decisions in members tab panel 2023-08-10 18:02:27 +03:00
Alex Jbanca e9a2b183c7 feat(Community): Add pending states to Community Request Notification 2023-08-10 18:02:27 +03:00
Khushboo Mehta 11820d0400 feat(@desktop/wallet): Wallet settings - Notification after each action
fixes #11719
2023-08-09 11:53:28 +02:00
Sale Djenic a06cd4b8a5 fix(@desktop/wallet): additional chat account visible when adding watch only account
Fixes: #11833
2023-08-09 11:26:37 +02:00
Jonathan Rainville ba89daa737 fix(section_model): fix missing role to update the access (request)
Fixes #11091
2023-08-08 09:31:53 -04:00
Patryk Osmaczko 15701e91aa feat(communities): add check permissions pending state
closes: #11157
2023-08-08 08:58:26 +02:00
Igor Sirotin 34dba08b7a
fix: Only `scrollToMessage` when it's available in the database (#11784)
* rename `fetchMessageByMessageId` to `getMessageByMessageId`
* move reply clicking logic to `StatusMessageReply`
* make message found animation faster
* `asyncGetMessageById`
2023-08-07 23:52:04 +03:00
Jonathan Rainville 9d78e23b68 feat(token_list): add supply to the token list model
Fixes #11437
2023-08-07 09:26:26 -04:00
Dario Gabriel Lipicar 5bd2d8dcfd feat(@desktop/wallet): react to collectibles update only for selected addresses and chains 2023-08-07 09:49:27 -03:00
Dario Gabriel Lipicar 8410e36f24 fix(@desktop/wallet): fix wrong model update when items are fetched 2023-08-07 08:44:05 -03:00
Alex Jbanca 9be2a8d799 feat(Community Overview): Trigger chart data updates on specific actions + optimise the backend calls
This commit includes the following changes:
1. Request from backend the messages count in a specific interval as opposed to all messages timestamps in that interval.
2. Update the chart end date before refreshing the data
3. Fix metrics type parsing in community service
4. Fix a bug where the new incoming data was not processed by ChartJs without a hover event on the chart. The fix here is to manually request paint() on model changes.d

Issues found and not handled here:
1. On large communities the backend request can take 3 minutes to complete
2. CPU usage can easily go to 100% when switching chart tabs on large communities. All the requests are processed by the backend.
2023-08-07 11:12:21 +03:00
Jonathan Rainville 20790a4c2a fix(chatSearch): fix chat search to include all and only chats
Fixes #10770

There were two issues, the first one was that categories were included in the search model because the categories are now part of the chat_model.

Also, since it used the chat_model, some chats were not part of the search model at start, because they weren't loaded yet.

I fixed by using the chats from the service directly instead.
2023-08-04 13:18:27 -04:00
Sale Djenic 6e5469f5aa chore(@desktop/wallet): sorting out keypair/account menu 2023-08-04 15:43:03 +02:00
Cuteivist f8dd1dc811
fix(@desktop/wallet): Properly return token id value (#11792) 2023-08-04 14:24:28 +02:00
Cuteivist b5a81badaa
feat(@desktop/wallet): Handle collectible minting (#11796) 2023-08-04 12:47:45 +02:00
Cuteivist 66e9631933
fix(@desktop/wallet): Speedup wallet view loading (#11736)
fixes #11627
2023-08-04 10:41:45 +02:00
Dario Gabriel Lipicar 06f8ef2186 chore: adapt to new collectibles api 2023-08-03 14:33:45 -03:00
Sale Djenic 570f312617 refactor(@desktop/wallet): wallet service improvements
Closes: #11752
2023-08-03 17:34:39 +02:00
Sale Djenic 23426f184b refactor(@desktop/wallet): tokens removed from `WalletAccountDto` and cached separately in wallet accounts service 2023-08-03 17:34:39 +02:00
Sale Djenic 838aa215e0 refactor(@desktop/wallet): wallet service dto files reorganized and moved to another folder 2023-08-03 17:34:39 +02:00
Jonathan Rainville 374f2e2149 feat(community): make importCommunity async
Fixes #11693
2023-08-03 09:16:03 -04:00
Michal Iskierko 780a6b6c68 feat(@desktop/communities): Expose remote destruct state to UI.
Issue #11182
2023-08-03 12:18:55 +02:00
Patryk Osmaczko 354bd3e923 feat(communities): implement channel-level members
closes: #11660
2023-08-03 10:58:24 +02:00
Jonathan Rainville f4c6cec87d feat(communities): add getCommunityPublicKeyFromPrivateKey function 2023-08-02 13:51:21 -04:00
Mikhail Rogachev edba946a71
feat(Community): Community messaging statistics chart (#11696)
* feat(Community): Community messaging statistics chart

Close 11152

- Use se `collectCommunityMessageMetrics` for messaging statistics chart
in community overview

* feat(Community): Transfer community metrics with dto objects

* feat: impl simple string-based model for community metrics

* fix(Community): Review fixes and fix for changing community when chat is open

* Update src/app/modules/main/chat_section/controller.nim

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-02 20:03:52 +04:00
Jonathan Rainville dd346319ff feat(communities): add spectatedCommunityPermissionModel to communities
Fixes #11746
2023-08-02 11:00:46 -04:00
Igor Sirotin d8c9802d77
fix: Restore window after closing on MacOS (#11748) 2023-08-02 16:49:28 +03:00
Khushboo Mehta 5af56be60f fix(@desktop/wallet): Wallet: Send doesn't load preferred chains on account selection as recipient
fixes #11743
2023-08-02 13:38:49 +02:00
Cuteivist cdcfe811f5
fix(@desktop/wallet): Update transaction status UI (#11681)
fixes #11534
2023-08-02 06:36:54 +02:00
Stefan d253ba8a2a fix(wallet): fix activity time filter
Also optimize for no filter instead of given specific time range.

Closes: #11717
2023-08-01 17:20:34 +02:00
Sale Djenic 2e1b60ab06 feat(@desktop/wallet): account Interaction - remove master key and accounts
Closes: #11707
2023-08-01 14:27:23 +02:00
Khushboo Mehta 6c5c36584a feat(@desktop/wallet): Account view - Prefered network
fixes #11578
2023-08-01 09:51:33 +02:00
Dario Gabriel Lipicar bf4af3d7d4 chore(wallet) remove transactions module
Bump Status GO to support session based activity requests

Transaction module was replaced by activity module,
this change removes the old code.

Details:

- Remove transaction.Item and use the DTO directly
- Replace the still using missing functionality
- Remove old way of fetching transactions in response to the history event
- Use activity filter to provide history for "recents" in Send.

Closes #11339
2023-07-31 19:01:33 +02:00
Jonathan Rainville 6e346d2c0d feat(Communities): changes in import popup for public keys
Also: refactor(communities), moved request to join funcs to communities module
This is needed because we can now request to join from the Import popup

Closes #11242
2023-07-28 18:53:59 +03:00
Sale Djenic 2749236a56 feat(@desktop/syncing): recovering from waku if backed up data refers to a profile migrated to a Keycard
Closes: #11661
2023-07-28 17:06:35 +02:00
Alex Jbanca 90f4d60059 feat(ControlNode): Show toast notifications when the control node state changes
1. Fix an issue where importing a community using private key triggers the import finished event without updating the community data if the community is already imported with public key
2. Show toast messages on importCommunity and privateKeyRemoved events
3. Group community import toast messages handlers and move them from ContactsColumnView to AppMain. IMO these toast messages handlers should not be dependent on ContactsColumnView.
2023-07-28 10:03:10 +03:00
Dario Gabriel Lipicar 44cf2b6faa chore(wallet): remove collectibles service 2023-07-27 12:48:17 -03:00
Dario Gabriel Lipicar dc75c120df feat(wallet): use new status-go collectibles backend
Fixes #11558
2023-07-27 12:48:17 -03:00
Boris Melnik 43a5d7eeeb feat(new-links): Parse url data and display
Fixes: #10852
2023-07-27 15:08:21 +03:00
Pascal Precht 5351f2b694 feat: implement retrying deploying community contracts
Ultimately, this means deleting/removing the entry of the previously
failed deployment, then performing a new transaction.

Closes #11186
2023-07-27 09:32:03 +02:00
Lukáš Tinkl 57fc600d5e feat: Add status-go version to About screen
- Settings/About now displays the `status-go` version, read from its
`VERSION` file
- use the actual app icon, to differentiate between prod/dev version
- make the version numbers clickable, taking the user to either the
release notes (prod) or the GH commit browser (dev)
- add "Is production" switch to the About page in storybook

Closes #11424
2023-07-26 21:35:21 +02:00
Pascal Precht 7e714e33fc feat: implement delelete community token functionality
This partially addresses #11186 as it implements the delete
functionality for community tokens.

If a deployment failed, users have the ability to delete the added
community token from the list.

The retry functionality will be implemented in a follow up commit.

Needs: https://github.com/status-im/status-go/pull/3794
2023-07-26 19:52:33 +02:00
Pascal Precht cfa19658cd refactor: rename SIGNAL_COMMUNITY_TOKEN_DEPLOYED
We've been using this signal whenever a user has sent a transaction that
attemps to deploy a smart contract onchain.

However, at this point it's not yet known if the transaction will
actually go through. So to reflect what's actually happening, this
commits renames a few things:

- `SIGNAL_COMMUNITY_TOKEN_DEPLOYED` becomes
  `SIGNAL_COMMUNITY_TOKEN_DEPLOYMENT_STARTED`
- `CommunityTokenDeployedArgs` becomes `CommunityTokenDeploymentArgs`
- `onCommunityTokenDeployed` becomes `onCommunityTokenDeploymentStarted`

This should remove any confusion around whether or not deployment is
indeed finished.
2023-07-26 16:31:29 +02:00
Pascal Precht 9719b5899b refactor: make use of newly introduce `SaveCommunityToken()` API
As discussed in https://github.com/status-im/status-go/pull/3798, there
was a need to separate the logic in `AddCommunityToken()` into two API.

This commit adjust the client to these changes such that:

1. After community token deployment tx was sent, we create
   a `CommunityToken` and add it to the database for tracking purposes
2. Once the tx is mined or dropped, we add the community token to the
   community description and publish it, or we update the deployment
   state in the database

Needs: https://github.com/status-im/status-go/pull/3798
2023-07-26 15:14:34 +02:00
Patryk Osmaczko faa425dd29 refactor(communities): rename `inviteUsersToCommunity` to `shareCommunityToUsers`
This change corrects legacy naming that was causing confusion.

Community invites are no longer sent to users. Instead, the community is
just shared. If a user is interested in joining this shared commmunity,
they must submit a request to join.
2023-07-26 14:09:21 +02:00
Stefan 03923b223b chore(wallet) optimize fetching request by using metadata
Use metadata instead of details for displaying activity headers.

Bump status-go to include the required API changes

Closes #11173
2023-07-25 17:55:33 +02:00
Mikhail Rogachev 0e5594b02e
feat: Add api to remove a community private key (nim part) (#11640)
Close #11475
2023-07-25 12:34:02 +04:00
Sale Djenic 45c5a8d3c5 fix(@desktop/syncing): discard messages coming from waku if user didn't follow recover account path
Fixes: #11582
2023-07-25 08:35:29 +02:00
Cuteivist 9b8340b695
feat(@desktop/wallet): Handle contract deployment (#11570)
closes #9047
2023-07-24 13:18:42 +02:00
Igor Sirotin cc5f057b3a
Replace link previews with new unfurled data from the message (#11603) 2023-07-22 02:08:44 +03:00
Mikhail Rogachev b75d8630ca
feat: use community.isControlNode as visible for archiveSupporVisible (#11560)
Close #11089
2023-07-22 01:05:42 +04:00
Khushboo Mehta 9800dad3ba feat(@desktop/wallet): Account view - New Account view UI
fixes #11537
2023-07-21 15:37:30 +02:00
Cuteivist d05d743d80
fix(@desktop/wallet): Various wallet view fixes (#11606) 2023-07-21 12:55:36 +02:00
Boris Melnik b5950b045c feat(token-permissions): Add channel name to token permissin chat list model
Fixes: #11481
2023-07-20 19:20:22 +03:00
Sale Djenic 9b17a66935 fix(@desktop/wallet): `Wallet -> Settings -> Account order` - drag and drop accounts in account list is not smooth
Fixes: #11508
2023-07-20 18:01:14 +02:00
Alex Jbanca 27c159d464 feat: Export control node (except backend for primary action)
Adding the export control node popup. The popup is behind an authentication wall.
1. Create ExportControlNodePopup qml
2. Add the popup in storybook
3. Create authentication flow with qml callback to open the popup after authentication
4. Add the popup open action in Global.qml
2023-07-20 12:11:17 +03:00
Michal Iskierko 64422afed7 feat(@desktop/communities): Add burning state logic
Expose burningState in the model.
Update burningState when burning operation changes its status.

Issue #11076
2023-07-20 08:16:32 +02:00
Jonathan Rainville 8696234273 fix(dto/chat): fix toChannelMember where `isAidropAddress` can be null 2023-07-19 14:33:26 -04:00
Jonathan Rainville 8a97c0ca3a feat(communities): add API to edit shared addresses
Fixes #11153

Adds `editSharedAddressesWithAuthentication` in the chat_section view to be called from QML.

Also adds the `communityEditSharedAddressesSucceeded` and `communityEditSharedAddressesFailed` signals in the communities module to be used by QML to know if it worked.
2023-07-19 13:03:54 -04:00
Jonathan Rainville 2807f77dff feat(member_model): add airdropAddress to members_model
Fixes #11540
2023-07-19 13:02:51 -04:00
Boris Melnik 3a24870215 feat(deeplinks): Open user profile or chat if user is contact
Fixes: #10892
2023-07-19 19:42:26 +03:00
Cuteivist db363b3782
feat(@desktop/wallet): Use separate filter for each wallet account (#11528)
closes #11412
2023-07-19 16:16:45 +02:00
Pascal Precht 3370f4f42d fix: display notification when asset deployment fails
Closes #11338
2023-07-19 13:02:04 +02:00
Lukáš Tinkl 02e40adfca feat: New design flows to integrate Revealing addresses...
... when joining Community functionality

Closes #11138
2023-07-19 12:44:16 +02:00
Michal Iskierko d022d4ff8d fix(@desktop/communities): Upgrade pending transaction types for community token operations
Issue #11565
2023-07-18 17:02:51 +02:00
Cuteivist a30678f5ec
feat(@desktop/wallet): Handle missing token metadata (#11433)
closes #11043
2023-07-18 16:05:22 +02:00
Anthony Laibe 3ea5464c33 feat(@wallet): verify json rpc URL 2023-07-18 15:39:21 +02:00
Cuteivist 313e5a5b69
fix(@desktop/wallet): Calculate block number approximation (#11522) 2023-07-18 12:10:01 +02:00
Sale Djenic 4b6066c955 fix(@desktop/wallet): review comments applied for keypair rename feature
- labels changed in Figma, updated in the app
- `Show encrypted QR of keypairs on device` is displayed only if needed now,
for this I had to add account/keypair `operability` feature, so far it handles only
displaying a context menu option, later in a separate issue a proper functionality
will be added
- wallet related toast notifications moved to the proper place (`AppMain.qml`, where
actually all notifications should be handled), not in the place where they occurs, we
need to review other notifications as well and move them there
2023-07-18 09:20:09 +02:00
Sale Djenic 6d25a888d3 feat(@desktop/wallet): keypair rename (a profile keypair name should follow display name)
Fixes: #10769
2023-07-18 09:20:09 +02:00
Khushboo Mehta 4d6c8a840b feat(@desktop/wallet): Networks - Edit Network
fixes #11434
2023-07-17 21:03:44 +02:00
Boris Melnik c3c74b9f61 feat(new-links-format): Adds new links to UI
Part of: #10852
2023-07-17 14:41:22 +03:00
Ivan Belyakov 0d354c8ce1 feat(wallet): Removed storing/deletion of pending txs.
Closes #10474
2023-07-17 12:39:30 +02:00
Jonathan Rainville 5f1483a595 fix: crash when request to join fails + add error toast when it fails
Fixes #11514

The problem was that we were not handling the error from request to join correctly.

Then I added an event that sends a signal to the QML to show a toast about an error. I don't show the actual error to the user because usually it's not super helpful. It will be in the logs.

The status-go change makes it so that we don't save the request to join if the permission check failed.
2023-07-14 15:11:57 -04:00
Jonathan Rainville f5693d0136 feat(community): add airdropAddress param to request to join functions
Fixes #11479
2023-07-14 15:11:45 -04:00
Khushboo Mehta a468635ddc feat(@desktop/wallet): Networks - New List UX with link mainnet/testnet + testnet mode enable/disable
fixes #11252
2023-07-14 08:57:36 +02:00
Jonathan Rainville d4a4f96a8a feat(communities): make requestCommunityInfo accept private keys
Fixes #11273

Enables passing a private key as well as a public key to `RequestCommunityInfoFromMailserver`.
Also fixes a small issue in the error handling in the service
2023-07-13 10:23:32 -04:00
Cuteivist 461bbbc06f
fix(@desktop/wallet): Activity list polish changes (#11486)
fixes #11447
2023-07-13 14:22:02 +02:00
Sale Djenic f55123ddf1 fix(@desktop/onboarding): keycard is not shown in settings after first launch
Fixes: #11314
2023-07-13 09:12:19 +02:00
Sale Djenic 7849d03707 fix(@desktop/onboarding): the app crashes when converting a keycard to a regular account, or just being in loading state forever
Fixes: #11507
2023-07-13 08:47:03 +02:00
Sale Djenic 51edc1b256 fix(@desktop/onboarding): cannot run any keycard flow after creating a Keycard replacement
Fixes: #11494
2023-07-13 08:46:49 +02:00
Mikhail Rogachev 1a7532d92c
fix: Fix behaviour issues with CRs and mutual update messages (#11178)
Close #11121
2023-07-13 01:39:56 +04:00
Stefan 42f2546e4a feat(wallet) handle multi-transaction update events for activity filter
Bump status-go to include multi-transaction update events

Throttle down "update transactions" button to once every two seconds

Closes #11233
2023-07-12 23:26:47 +02:00
Stefan 976e5c9549 feat(wallet) handle new pending transactions notification in filter
Process pending updates events and trigger button show

Also: improve parsing of activity entry

Updates #11233
2023-07-12 11:45:30 +02:00
Michal Iskierko 3632a169be feat(@desktop/communities): Burn and mint functionality for assets.
Adjst burning and minting flows to handle assets.
Supplies are passed from qml to nim as strings - "2" for ERC721, "1.5" for ERC20
String amounts are converted to Uint256 type. Additionally ERC20 amounts are converted to basic units (wei-like, decimals=18).
Uint256 values are passed to backend functions and then coverted to strings which can be converted to bigInt.BigInt types.
Supply and RemainingSupply are exposed to qml as floats.

Issue #11129
2023-07-12 11:16:57 +02:00
Sale Djenic 1561b170e4 chore(@desktop/syncing): keycards syncing improvements part 2/2
Handling keycards related syncing improvements done on the status-go side.

Closes: #11268
2023-07-11 22:15:44 +02:00
Igor Sirotin d7aa0582be
Switch to new URL unfurl API [sending messages part] (#11476) 2023-07-11 14:30:55 +03:00
Sale Djenic d550b01e65 fix(@desktop/onboarding): app loading screen displayed forever when creating a new Status account
Fixes: #11454
2023-07-07 14:35:52 -04:00
Cuteivist 00eee836ae
feat(@desktop/wallet): Fetch txs only when opening activity tab (#11360)
closses #11356
2023-07-07 12:00:19 +02:00
Anthony Laibe 5a9ff99aad fix(@wallet): overview balance with symbol
fixes #11397
2023-07-06 15:48:02 +02:00
Cuteivist ab487d40a5
fix(@desktop/wallet): Handle empty activity list exception (#11399)
fixes #11354
fixes #11381
2023-07-06 14:59:26 +02:00
Anthony Laibe 0cd7829d62 fix(@wallet): prevent delete main account
fixes #11398
2023-07-06 07:50:23 +02:00
Stefan 7a9c76966d feat(wallet) reload on new transaction downloaded quick win
Show a reload hint button for user to refresh the filter

Updates #11233
2023-07-05 23:45:34 +02:00
Stefan d17f2c70f1 chore(wallet) extract responsibilities from activity.Controller
Extract processing of Events and Status keeping responsibilities from
activity.Controller

Updates #11233
2023-07-05 23:45:34 +02:00
Sale Djenic a10e83bcba chore(@desktop/syncing): wallet keypairs/accounts syncing improvements part 1/2
Handling syncing improvements done on the status-go side.

Closes: #11267
2023-07-05 15:29:43 +02:00
Pascal Precht c10809863a feat: add support for cropped asset data when deploying community NFTs
Needs: https://github.com/status-im/status-go/pull/3705

Closes: #10317
2023-07-05 12:56:37 +02:00
Jonathan Rainville 2d21ff6c38 fix(community): fix cancel of authentication still requests to join
Fixes #11272

The problem was that we didn't handle the cancelation (checking with password was empty). 

Now we do and we send the signal to cancel when it's the case.
2023-07-04 15:13:48 -04:00
Stefan 2487b4b1cb feat(wallet) make filer apis async
Bump status-go to include required changes

Refactor the API usage to use the new async APIs.
Support multiple events in the same block
Report loading state for all the APIs

Also

- fix the loadingData state in the controller.nim
- reset the model to empty when the filter is invalidated due to
address and chain IDs change

Closes #11170
2023-07-03 17:40:19 +02:00
Anthony Laibe 13ae6c4955 fix(@wallet): delete account some times crash
fixes #11343
2023-07-03 14:48:39 +02:00
Stefan ad489a224c fix(wallet) remove legacy transaction history event
Closes: #11345
2023-06-30 19:26:17 +02:00
Cuteivist 7a7394628e
feat(@desktop/wallet): Handle multitransactions (#11124)
closes #11071
2023-06-30 17:07:53 +02:00
Cuteivist bade10c5e0
feat(@desktop/wallet): Add loading state for activity feed (#11326)
closes #11072
2023-06-30 15:50:06 +02:00
Jakub Sokołowski 08ef5efda5 fleets.json: drop decomissioned eth.test fleet
The fleet wasn't being used so it has been liquidated:
https://github.com/status-im/infra-eth-cluster/commit/de986014

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-30 08:35:06 -04:00
Anthony Laibe 7dbf994e1f feat(@wallet): add account button from settings 2023-06-29 18:51:37 +02:00
Michal Iskierko 6f1957e650 feat(@desktop/communities): Assets deployment
Issue #10987
2023-06-29 17:27:36 +02:00
Jonathan Rainville e35945b76c feat(requestToJoin): add addressesToShare to requestToJoin call
Fixes #11154
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: #10983
2023-06-29 15:08:29 +02:00
Khushboo Mehta a2dd87c18b feat(@desktop/wallet): Watch only account toggle + persisted
fixes #11221
2023-06-29 10:18:42 +02:00
Anthony Laibe 29d78a99be feat(@wallet): all accounts list are ordered by position
fixes #11263
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 #11125

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 #11156
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 #11176
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 #11189
2023-06-23 16:55:36 +02:00
Boris Melnik cdac45010a feat(communities): Adds mute community intervals
Fixes: #9369
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 #11169
2023-06-22 15:53:11 +02:00
Dario Gabriel Lipicar d5d4bba374 fix(@wallet): use fixed activity type from backend
Part of #11080
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: #11025
2023-06-21 11:49:02 +02:00
Pascal Precht b3329d790e feat: channel permissions
Closes: #10996, #10995, #10993, #10997, #9537
2023-06-20 21:57:37 +02:00
Igor Sirotin dae95c7918
fix: always update `localNickName` (#11161) 2023-06-20 13:41:05 +03:00
Emil Sawicki 54ae6a3154 feat(@wallet): Display parsed input data
fixes #10793
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 #10410

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 #11041

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 #11080
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 #10025
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 #10816
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 #11103
2023-06-15 14:21:44 +01:00
Cuteivist 10e5c714a2
feat(@desktop/wallet): Use new activity model for HistoryView (#11075)
closes #11019
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 #11086
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 (#11083) 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 (#10909)
* 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 (#11073) 2023-06-14 18:09:46 +03:00
Michal Iskierko db55d10b37 feat(@desktop/communities): Compute minting fees and displaying minting toast messages
Issue #10536
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 #10994
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 #11054
2023-06-13 11:47:20 -03:00
Dario Gabriel Lipicar 39a5a67937 chore(wallet): split multitransaction command from full struct
Part of #10791
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 #10994
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 #10747
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 #10481 #4939
2023-06-12 12:41:47 +02:00
Anthony Laibe 3d6a5b1785 fix(@wallet): left bar selection
fixes #10999
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: #10746
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 #11010
2023-06-09 15:06:32 -03:00
Sale Djenic a0d72f9532 fix(@desktop/onboarding): recovering an account from waku
Fixes: #10969
2023-06-09 19:10:44 +02:00
Lukáš Tinkl 9aeba367df fix: download remote image URLs in DOS/C++
this should resolve the CI issues in `e2e` target by moving away the
httpclient NIM impl to DOS (C++)
2023-06-08 20:46:06 +02:00
Lukáš Tinkl ebbd259754 fix(sendImages): also work for remote URLs
- when the user drops a remote URL (e.g. from a webbrowser), detect it
and download it before passing onto the "image_resizer"
- since the "dos_image_resizer" now handles both data and URLs, we can
simply forward the `imageUrl` to it
- detect an invalid (empty) result from "dos_image_resizer" and don't
try to send such an image
2023-06-08 15:33:46 +02:00
Lukáš Tinkl b5a7df685a fix(QClipboardProxy): use more reliable clipboard/DND checks
- getFileSize: NIM version would crash on non-existing or remote files
- isValidImageUrl: properly detect file extensions when the URL contains
a query (eg "file.jpeg?width=1000&height=600")
2023-06-08 15:33:46 +02:00
Mikhail Rogachev 010640acd0
feat(Chat): display MutualStateUpdate system messages in 1-to-1 chats (#10847)
* feat(Chat): Display MutualStateUpdate system messages in 1-to-1 chats

* feat(ActivityCenter): Add AC notification when a user get removed by another contact

* fix: crutch fixing segfault on contact removal
2023-06-08 16:52:03 +04:00
Anthony Laibe 96f4b5cc83 fix(@wallet): hide watch only account
fixes #10917
2023-06-08 15:16:27 +03:00
Patryk Osmaczko e7c2d0bfbb chore(messages): decrease MESSAGES_PER_PAGE_MAX
- messages should be processed in smaller batches to avoid freezing, as
  they are currently processed on the main UI thread

closes: #10886
2023-06-08 13:09:59 +02:00
Patryk Osmaczko ba5273914c feat(contacts): use mediaserver urls for contact images
iterates: #10886
2023-06-08 13:09:59 +02:00
Patryk Osmaczko b82b4825c1 chore(messages): introduce `bulkReplacePubKeysWithDisplayNames`
iterates: #10886
2023-06-08 13:09:59 +02:00
Patryk Osmaczko 0169901fa2 chore(contacts): optimise `getContactsByGroup`
iterates: #10886
2023-06-08 13:09:59 +02:00
Boris Melnik 54709cb1c5 chore(nim): Adds try/catch block to fromEvent 2023-06-08 01:15:15 +03:00
Boris Melnik 73eb12c914 feat(communities): Adds mute category interval
Part of: #9369
2023-06-08 00:16:54 +03:00
Igor Sirotin bc4492b53a
fix: Create only one instance of `StatusChatInput` (#10928)
* Chat input area preserved properties
* Fix emoji/gif/stickers popups open/close logic
2023-06-07 16:18:29 +03:00
Sale Djenic bce4a7e188 fix(@desktop/general): import paths updated 2023-06-07 13:22:59 +02:00
Sale Djenic ae492fe631 fix(@desktop/profile): profile social links
- added to sync mechanism
- added to backup mechanism
- UI updated according to the newest changes

Closes: #10390
2023-06-07 13:22:59 +02:00
Anthony Laibe 525a8e19bf feat(@wallet): sort accounts
fixes #10845
2023-06-06 16:17:56 +02:00
Patryk Osmaczko b582afb03a feat: speedup/slowdown archives import based on window state
closes: #10815
2023-06-06 09:39:54 +02:00
Khushboo Mehta 28654e0187 \chore(@desktop/wallet): Change customisation colours on desktop to match those used on mobile
fixes #10637
2023-06-02 19:48:19 +02:00
Jonathan Rainville ceb810e63d fix(contacts): fix inconsistency when banning or unbanning contact
Fixes #10501

The problem was that didn't have access to the updated contact from status-go after banning or unbanning, so we just changed the banned property, but there is more that gets changed in the backend, like `removed` being set to `true` as well.
With this fix, when you unban someone, you go back to a fresh start, as **non** contact, so you need to send a request again. That was the state you got if you restarted the app, so "re-sync" the state with status-go.
Another issue was on the frontend (QML). When banned,  and after restarting to get the right state, the unban button would be disabled and the Add contact request button would show, which is not good. We only want to send requests when unbanned.
2023-06-01 14:25:20 -04:00
Cuteivist 088dd76257
desktop(DOtherSide): Set env var before creating gui app (#10891) 2023-06-01 20:24:31 +02:00
Jonathan Rainville 500ee972ac go back to old model with SortProxyModel 2023-06-01 09:45:18 -04:00
Patryk Osmaczko 0655ad4ea3 chore: show loading screen on message search 2023-06-01 12:42:02 +02:00
Igor Sirotin e82f6ebf53
fix: Manual login after local pairing (#10858) 2023-06-01 11:15:51 +03:00
Jonathan Rainville 7d0a77ef0d chore(links): update to use the new external link format
Fixes #10777
2023-05-31 10:36:08 -04:00
Jonathan Rainville d04e121ab5 chore: update deep link to status-app on Windows 2023-05-31 10:36:08 -04:00
Igor Sirotin 92bd3e4999
feat: Ability to login directly with hashed password (#10811) 2023-05-31 16:06:23 +03:00
Sale Djenic ffc059308f fix(@desktop/sync): settings/mnemonic sync&backup handling
Part of #10389 issue.
2023-05-31 13:47:23 +02:00
Sale Djenic 3d3def9f53 fix(@desktop/sync): settings/bio sync&backup handling
Part of #10389 issue.
2023-05-31 13:47:23 +02:00
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
Cuteivist 7caa89b050
feat(@desktop/wallet): Transaction activity summary (#10809)
closes #10751
2023-05-31 11:25:16 +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
Jonathan Rainville 1a07b73354 fix(notifications): stop showing notif in group chat when no mention
Fixes #10194
2023-05-30 15:10:22 -04:00
Sale Djenic 365973eef0 fix(@desktop/general): UI for fetching backed up data improved (empty items removed) 2023-05-30 18:59:43 +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
Sale Djenic 32b9d72246 fix(@desktop/onboarding): wrong screen when logging in with incorrect password
Fixes: #10819
2023-05-29 09:36:17 -04: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 4dd383ffb5 refactor(DnD): improve chat reorder by passing destination directly 2023-05-25 09:27:14 -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
Sale Djenic f3a6b135a3 feat(@desktop/general): try again button added to wrong keycard screen
Closes: #10433
2023-05-25 10:20:30 +02:00
Khushboo Mehta a4a2ca4e9c fix(@desktop/wallet): Wallet Footer for watch only accounts should show only "Receive" as an option
fixes #10786
2023-05-25 09:43:16 +02: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
Emil Sawicki f42f48b247 fix(@desktop/wallet); Refresh transaction wallet address 2023-05-23 07:44:29 -04: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
Cuteivist f7e75208a5
feat(@desktop/wallet): Added transaction address component (#10665)
closes #10583
2023-05-19 11:51:47 +02:00
Anthony Laibe 05c8373905 feat(@wallet): add account toast
fixes #10510
2023-05-18 09:24:23 -04: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