1206 Commits

Author SHA1 Message Date
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
Michal Iskierko
db55d10b37 feat(@desktop/communities): Compute minting fees and displaying minting toast messages
Issue #10536
2023-06-14 10:44:57 +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
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
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
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
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
73eb12c914 feat(communities): Adds mute category interval
Part of: #9369
2023-06-08 00:16:54 +03: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
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
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