Commit Graph

6365 Commits

Author SHA1 Message Date
Pascal Precht 2ba6dc32f6 tests(suite_messaging): add assertion that message was indeed edited
This adds an assertion that checks whethere a message was indeed edited
by checking its `isEdited` property.
2022-11-17 20:39:27 +01:00
Pascal Precht d536634fee cleanup(squish): remove redundant definition of `mouse_over_object` api
Probably a mistake. This was defined twice in our package.
2022-11-17 20:20:19 +01:00
Pascal Precht dbf7fa4aab tests(suite_messaging): properly check if reply message has reply
Prior to this commit we were merely checking if the message in question
was the last one.

With this commit we now check whether there's a reply in the first place
and whether the reply-to-message is the correct one.

We also distinguish whether the message we're replying to is the one
from the loggedin user (and not someone else's)
2022-11-17 19:44:44 +01:00
Lukáš Tinkl 6e5b98d157 fix(ChatHeaderContentView): reflect nickname changes in 1-1 chat
Fixes #8303
2022-11-17 12:59:19 +01:00
Igor Sirotin f022e02efe fix(Chat): Added group/channel name to notifications title 2022-11-17 13:04:06 +03:00
Lukáš Tinkl 3456c5232b fix: Copy to clipboard button in profile view should reset to "Copy"
Fixes #8219
2022-11-17 10:18:56 +01:00
Michal Iskierko 13b6d5a0c3 feat(@desktop/cpp): Use env variable WAKUV2_PORT
Issue #8274
2022-11-17 09:18:32 +01:00
Jonathan Rainville 312dd72955 fix(windows): fix windows chat list empty because of popup overflow
Fixes #7906
2022-11-16 15:41:32 -05:00
Stefan 7d9f13e4bd fix() don't change global network selection in receive modal
Adds a networks proxy model to be used with the original source model
for visualization and independent selection of isEnabled (as isActive) for a custom
purpose.

Use the proxy in the receive modal dialog for selection of networks
to be included in the address. This way the view follows the original
model but allows independent selection of networks.

Closes: #8180
2022-11-16 15:40:03 +01:00
Stefan 7bd9808476 fix(receive) fix header alignment for ReceiveModal
Add a reusable header shared between Send and Receive modals

Updates #8180
2022-11-16 15:40:03 +01:00
Anthony Laibe 245f3a7266 fix(@ci): update windows ci timeout for build 2022-11-16 09:31:30 -05:00
Lukáš Tinkl 57ee378048 fix(StatusMessage): add spacing between individual subcomponents
Fixes #8267
2022-11-16 13:29:29 +01:00
Stefan d0389a6305 feat(Wallet) show balance cache for chain native token
Quick integration of fetching balance in the current chart view.

The proper implementation requires refactoring the QML views to separate
price chart, that depends only on the token and chain, from balance that
depends on token, chain and address.

Closes: #7662
2022-11-16 13:07:46 +01:00
Stefan 5450384a34 chore(CPP) add debugging test for token balance history
Also

- added debugging test for `checkRecentHistory` from the attempt to
use transactions to restore balance
- small improvements that might clarify better the issues reported about
running under linux issues (didn't test them)
- fix issues found while reviewing the code.
- add support for custom infura token to be used in development

Updates #7662
2022-11-16 13:07:46 +01:00
Stefan cc9f83650c chore(dev): fix qml errors 2022-11-16 13:07:46 +01:00
Michał Cieślak 93428d8b2e feat(Storybook): adding UsersList in storybook
Closes #8186
2022-11-16 11:37:35 +01:00
Lukáš Tinkl bab0fee0ee chore(StatusChatInput): add Esc handler to close reply area
similar to what pressing Esc does when editing a message
2022-11-16 09:58:19 +01:00
Lukáš Tinkl c7efcdd09f fix(StatusChatInput) unbreak upload image shortcut
fixes shortcut Ctrl+U being broken when trying to upload an image
2022-11-16 09:58:19 +01:00
Noelia 4cdc2f8a91 fix(CreateChat): Text input is displayed when choosing contacts for new chat
Applied the following solution agreed with design team: When a user types their message, hitting enter, or pressing send, should automatically create the chat and send the message, removing the 'To' input field and Confirm/Reject buttons (that means, directly navigating to the new created chat).

Fixes #7706
2022-11-16 09:33:56 +01:00
Khushboo Mehta c256ac0ac2 fix(@desktop/wallet): Fix for send transaction USDC error
fixes #8224
2022-11-15 15:38:37 -05:00
Boris Melnik 77c5084355 fix(SettingsDirtyToastMessage): Avoid scrolling when content height is 0
Fixes: #8247
2022-11-15 19:30:15 +03:00
Alexandra Betouni f34d0d7152 fix(StatusTextMessage): Removed vertical text alignment leftover
Closes #8242
2022-11-15 17:25:28 +02:00
Anthony Laibe 6e6f708d49 fix(@wallet): switch account being slow
Now when switching account all remote call are non blocking

fixes #7430
2022-11-15 14:13:33 +01:00
Lukáš Tinkl 48f5a9d256 fix(NicknamePopup): add support for Unicode nicknames
- do not restrict NicknamePopup's regexp to ASCII characters
- a similar thing could be done to the user's DisplayName but currently
  that's blocked on status-go side
- uses RXValidator from dotherside

Needs status-im/dotherside/pull/74
Fixes #8115
2022-11-15 11:42:33 +01:00
Dario Gabriel Lipicar 47f7373838 fix(@desktop/wallet): correct error message when adding own ENS name to saved addresses
#8114
2022-11-15 07:26:45 -03:00
Sale Djenic 557703543c fix(@desktop/keycard): migrating keypair looks somehow stucked for a while before switching to `Migrating key pair to Keycard` state
Fixes: #8177
2022-11-15 12:12:07 +03:00
Sale Djenic db7769b072 chore(@desktop/general): accounts service updated, inherits `QtObject` class 2022-11-15 12:12:07 +03:00
Sale Djenic 662a11a57b chore(@desktop/keycard): tertiary action for shared keycard popup module renamed to cancel action
Since tertiary action for the keycard popup module is always used to cancel/invalidate
the current flow, it's renamed now to cancel action (avoids confusion this way and it
seems more intuitive. It doesn't set any state. It should be defined if it's possible to cancel
the flow from the current state.
2022-11-15 12:12:07 +03:00
Sale Djenic 21eeefa42e chore(@desktop/keycard): state commands improvement
Previously we had only a single command which may be triggered for any state and
it was triggered before the state was set as an active state. Now we are able to set
custom command which may be triggered either before or after the state is set.

Changes:
- old `executeBackCommand` is now `executePreBackStateCommand`
- old `executePrimaryCommand` is now `executePrePrimaryStateCommand`
- old `executeSecondaryCommand` is now `executePreSecondaryStateCommand`
- old `executeTertiaryCommand` is now `executePreTertiaryStateCommand`
- added `executePostBackStateCommand` command
- added `executePostPrimaryStateCommand` command
- added `executePostSecondaryStateCommand` command
- added `executePostTertiaryStateCommand` command
2022-11-15 12:12:07 +03:00
Sale Djenic 78fda35807 chore(@desktop/general): unused imports removed 2022-11-15 12:12:07 +03:00
Noelia dc96ea8aff test(status_messaging/tst_groupChat-adminGroupChat): Added steps to cleanup group chat in needed scenarios
- Added steps to leave the created groups chats so the reusable accounts will keep clean.
- Replaced reusable accounts to fresh ones since there where lots of groups chats created under the existing ones.
- Added `relyon-mailserver` tag in `adminGroupChat` because it is needed a cleanup of the chat in all users (and the new created chat info is not available always due to `mailServer`).

Closes #6615
2022-11-15 09:54:55 +01:00
Jakub Sokołowski 6fa84fb221 ci: add make update to for other platforms
This was added to fix some build issues to Linux:
https://github.com/status-im/status-desktop/pull/8233

But other 2 platforms also have had the cleanup stage change which could
have cause these submodules update issues.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-14 16:03:18 -05:00
mprakhov 707aa16462 fix(@desktop/chat): Limit chat name length #6938 2022-11-14 21:11:04 +02:00
Anthony Laibe 1ecb9f64d4 fix: ci build on master linux 2022-11-14 13:41:16 -05:00
Pascal Precht d9c04bb32d fix: prevent app from crash due to missing type variants
Alright this was very painful to figure out.

Because desktop didn't know about the notification type for
`ContactVerification`, the signal processing for incoming contact
verifications would fail.

At the same time, the new message content type was missing a type
variant for content verification as well, which would cause the app to
crash at runtime for both, sender and receiver of verification requests.

Fixes #8205
2022-11-14 11:50:10 -05:00
Michal Iskierko eaf5095490 fix(@desktop/onboarding): Clear tempPassword before sending login error
Fix #8082
2022-11-14 11:20:18 -05:00
Alexandra Betouni 7c88f462ec fix(StatusMessage): Updated component to QQC2 Control and as per desing
Fixes #7318
2022-11-14 18:13:40 +02:00
Michal Iskierko 060072da2d fix(@desktop/chat): Fix moving channels between categories
Fix #7422
2022-11-14 16:48:27 +01:00
Jakub Sokołowski ce178da4b4
makefile: avoid rebuilds by using order-only deps
By using the pipe(`|`) operator which indicates order-only dependencies
we can avoid unnecessary rebuilds triggered by additon of QT dir check:
https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-14 16:15:47 +01:00
Alexandra Betouni 019a65a786 fix(CreateChatView): fixed tagselector various issues
Closes #7340
2022-11-14 09:46:22 -05:00
Lukáš Tinkl 77fa884a36 chore: fix storybook regressions 2022-11-14 14:14:32 +01:00
Lukáš Tinkl c0e9c28ff5 chore: add correct QML import paths for QtCreator 2022-11-14 14:14:32 +01:00
Dario Gabriel Lipicar 9dd004b690 fix(@desktop/wallet): fix add new saved address popup close button
#8214
2022-11-14 09:49:40 -03:00
Boris Melnik 13acb5730d fix(profile-settings): Add usage dirty values for preview and load image profile on save
Closes: #7920 #7917
2022-11-14 14:59:46 +03:00
MishkaRogachev 7e7daa56e1 fix(ActivityCenter): Change activity center button tooltip text 2022-11-14 10:23:13 +01:00
MishkaRogachev 06f1f9a7aa fix(ActivityCenter): Fix positioning AC popup
Close #8030
2022-11-14 10:23:13 +01:00
Stefan e8b9760c4f fix(StatusQ) scrolling on macOS if mouse pointer is over StatusBaseInput
This commit fixes a scrolling on macOS using trackpad in the context
of Add Wallet Account using seed-phrase.

Considerations:
The scrolling of advanced input with seed-phrase selected was failing
when mouse pointer was moving over a word phrase.

Scrolling of the popup content in AddAccountModal would not work
when the mouse pointer was over a StatusSeedPhraseInput form
the ImportSeedPhrasePanel

The identified root cause is StatusBaseInput's flicker which captures
the mouse wheel event. It seems the trackpad wheel events are handled
differently on macOS by the flicker and not propagated to the parent.

Fixes #5355
2022-11-12 14:17:11 +01:00
Patryk Osmaczko 37c53d1864 chore: bump statusgo 2022-11-11 11:00:00 -05:00
mprakhov 0114334763 fix(@desktop/Profile): validate social links before saving #7926 2022-11-11 15:28:52 +02:00
Michał Cieślak cb4380582e fix(CreateChannelPopup): cursor not jumping to the end
When typing at non-end position (in channel name filed) cursor
is no longer jumping to the end. Additionally binding loop
on "contentWidth" is fixed.

Closes: #7805
2022-11-11 15:14:44 +02:00