Commit Graph

2489 Commits

Author SHA1 Message Date
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