7864 Commits

Author SHA1 Message Date
Anastasiya Semiankevich
d9f15ace2b test(@tst_wallet_account_management): add test to verify hide watch-only button 2023-06-13 12:46:09 +03:00
Lukáš Tinkl
a263b16862 fix: Holdings dropdown searcher locked
Set the `KeyNavigation.backtab` to itself to avoid accidentally pressing
`Shift+Tab` and tab away from the focused `StatusInput` (which makes it
look like it's disabled)

Fixes #10561
2023-06-13 11:24:07 +02:00
Lukáš Tinkl
5b94cad94e fix(storybook): make it possible to inspect popups
add a kbd shortcut (Ctrl+Shift+I) to be able to invoke the "Inspect"
feature for Popup based components; as clicking the "Inspect" button in
the status bar closes the popup itself
2023-06-13 11:24:07 +02:00
Khushboo Mehta
ff98144a56 feat(@desktop/wallet): Part implementation of the filter activity UI 2023-06-13 10:41:07 +02:00
Cuteivist
a4731517d6
feat(@desktop/wallet): Add copy details and repeat transaction buttons (#10904)
closes #10776
2023-06-13 10:18:53 +02: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
c21c7cf705 feat: Add support for "locked" icons in chat list items
- introduce 2 new bool properties: `requiresPermissions` and `locked`
- import the new icons
- add a respective storybook to play around with the StatusChatListItem
properties

Fixes #11012
2023-06-12 16:57:39 +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
Cuteivist
31f59a2e81
chore(@desktop/wallet): Unify transaction enums (#11034) 2023-06-12 15:04:39 +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
Cuteivist
cc7a2e9d32
fix(@desktop/wallet): Several fixes (#10971) 2023-06-12 11:08:37 +02:00
Cuteivist
82dced8826
fix(@desktop/wallet): Handle testnet explorer links (#11016) 2023-06-12 10:39:59 +02: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
Cuteivist
f0b42ad672
fix(@desktop/wallet): Update wallet account color correctly (#11008) 2023-06-12 10:14:19 +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
Anthony Laibe
59796b938f fix(@wallet): value with scientific notation
fixes #11009
2023-06-11 10:30:15 +01:00
Jonathan Rainville
be958d5a1e chore: remove dictionary 2023-06-09 14:50:08 -04:00
Richard Ramos
a8c8f5b36c chore: bump go-waku 2023-06-09 14:16:33 -04: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
Boris Melnik
b5a34fe1e4 fix(deeplinks): Update plist files to new url scheme
Fixes: #8102
2023-06-09 12:40:03 +03:00
Lukáš Tinkl
0b94c2b541 fix: revert to not destroy popups on close by default
- causing too many regressions along the way
- most of our popups are already destroyed properly inside Popups.qml
- in general, a Popup (Dialog, Menu, etc.) can be manually destroyed iff
it had been created using `Component.createObject()`, otherwise it's gone
for good until restart
- manually enabled the destroy-on-close in verified cases

Fixes #10948 (maybe some other dupes)
2023-06-09 00:44:27 +02:00
Lukáš Tinkl
0bf5c64b06 chore: removed unused components
0xdeadbeef
2023-06-09 00:44:27 +02:00
Lukáš Tinkl
0f9f5de267 fix: [chat] @mentions no longer working
fixup undefined references which caused the users model to become
empty

Fixes #11005
2023-06-08 16:19:53 -04: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
0cf01871b4 fix(Chat): Quoted message in a reply is not clickable
wrap the reply contents area (excluding the profile header) in a
ColumnLayout and move the MouseArea that handles the `messageClicked()`
signal there, thus avoiding the collisions between the two

Fixes #10950
2023-06-08 17:20:03 +02:00
Noelia
8d7ff095dd fix(MintToken): App crash when trying to create new token
Accounts `color` role was changed to `colorId` so, `CommunityNewTokenView` has been updated accordingly.

Closes #10991
2023-06-08 15:50:15 +02:00
Lukáš Tinkl
1c0a71218e fix(e2e): resolve dynlib OpenSSL issues
by explicitely specifying `-d:useOpenssl3`

cf https://github.com/status-im/status-desktop/pull/9428#issuecomment-1425581979
2023-06-08 15:33:46 +02:00
Lukáš Tinkl
4bf09e2b84 fix(StatusChatInput): handle non standard DND MIME types
- most browsers will pass a standard `text/uri-list` MIME type, however
Chrome uses `text/x-moz-url` so we handle that separately
(`drop.hasUrls` is `false` in this case)
2023-06-08 15:33:46 +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
a01bb75b3f fix(DOS): fix the "image_resizer" to accept both paths and blobs
- accept both the blob (`data:image/jpeg;base64` payload) or a path/URL
to a local file
- remove the usage of QPixmap, QImage is enough and more suitable for
save/load and resizing as well
- remove usage of an extra file when saving
2023-06-08 15:33:46 +02:00
Lukáš Tinkl
b83b8e7466 fix(Utils): use the more robust QClipboardProxy checks
- when verifying whether an image has a suitable size or extension
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
dfbac49302 chore(qml): adapt assets to support mediaserver images 2023-06-08 13:09:59 +02:00
Patryk Osmaczko
216a5511f2 chore: bump status-go 2023-06-08 13:09:59 +02:00
Patryk Osmaczko
853929b430 chore(Makefile): ensure LD_LIBRARY_PATH is not overriden 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
Anastasiya Semiankevich
e2b3376f66 chore(@e2e_tests): fix imports and split the tests to feature files 2023-06-07 23:26:18 +03:00
Anastasiya Semenkevich
bf84d2503f chore(@e2e_tests): disable flaky test 2023-06-07 20:11:20 +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
Alex Jbanca
dc20651a97 chore: Bump status-go version to include sqlcipher upgrade 2023-06-07 15:50:22 +03:00
Sale Djenic
bce4a7e188 fix(@desktop/general): import paths updated 2023-06-07 13:22:59 +02:00