Commit Graph

6040 Commits

Author SHA1 Message Date
Sale Djenic 3d163cfa33 fix(@desktop/keycard): keystore file for a keypair is not removed once that keypair is migrated to a Keycard
When we're migrating profile or any other keypair to a Keycard
corresponding locally stored keystore files are removed.

Fixes: #8067
2022-11-10 11:03:44 +03:00
Sale Djenic 2ea83c02b0 fix(@desktop/general): crash handling unknown exceptions fixed
If any but the `RpcException` was thrown while handling remote procedures responses
app crash happened. Fixed in this by accepting more general exception objects.
2022-11-10 11:03:44 +03:00
Sale Djenic 3da62c9092 fix(@desktop/wallet): adding derived wallet account fixed
An issue with adding wallet account was happening only for a new user,
the reason for that was incorrectly set keystore path and keystore file couldn't
be found on the statusgo side because of that.
2022-11-10 11:03:44 +03:00
Michał Cieślak 6237d3c7c1 fix(InviteFriendsToCommunityPopup): adaptive popup height, consistent footer height
Closes: #7604
Closes: #7605
2022-11-08 22:03:56 +01:00
Michał Cieślak c32973b731 fix(Storybook): PagesList minor fix 2022-11-08 22:03:56 +01:00
Michał Cieślak c21337a02f fix(Storybook): update InviteFriendsToCommunityPopup page 2022-11-08 22:03:56 +01:00
Richard Ramos 6e705eab2a fix: set TEST_PEER_ENR in wakuv2 2022-11-08 21:40:06 +03:00
Richard Ramos 9fe2236a23 fix: pinned mailserver value 2022-11-08 21:40:06 +03:00
Richard Ramos 934dacd632 chore(CI): replace mailserver by storenode 2022-11-08 21:40:06 +03:00
Michal Iskierko 31feb92120 chore(@desktop): Update nim-status-go
Issue #8001
2022-11-08 15:18:39 +01:00
Michal Iskierko 2de3d69e49 chore(@desktop): Update status-go
Issue #8001
2022-11-08 15:18:39 +01:00
Michal Iskierko 1f2a050695 feat(@desktop/general): Use compressed community key in deep links
Issue #8001
2022-11-08 15:18:39 +01:00
Lukáš Tinkl e687dad3c7 fix(StatusTextMessage): Links not clickable in a long collapsed message
Setting `visible` or `enabled` to `false` stops mouse events from being
propagated -> hide the original message using `opacity` instead

Fixes links being unclickable when the gradient/mask is in effect

Closes #8116
2022-11-08 11:30:17 +01:00
Jakub Sokołowski 0cf2c9c8da
Makefile: move QT dir check to separate target
This way we avoid errors about missing QT when calling targets that do
not require it, like `make clean` or `make deps`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-08 10:13:25 +01:00
Alex Jbanca d23cce99a0 Update MessagingView.qml
Group all common functions
2022-11-08 09:29:25 +02:00
Alex Jbanca f20c5efe20 Update ui/app/AppLayouts/Profile/views/MessagingView.qml
Simplify if statement

Co-authored-by: Lukáš Tinkl <lukast@status.im>
2022-11-08 09:29:25 +02:00
Alex Jbanca 0996ef3612 Fix showMessageLinksSwitch bindings
Property bindings were added for showMessageLinksSwitch in order for it to change the checked state whenever previewableSites model has any item checked or displayChatImages setting is true.
2022-11-08 09:29:25 +02:00
Alex Jbanca 0d3f872c5c Display message preview settings - fix model -> view relationship
There are two main changes in the model -> view relationship:
1. The model coming from the store becomes the only source of truth and the UI will only change when the model changes. This means that when another UI component from settings menu wants to change some setting it needs to update the model, not UI components directly.
2. When the store will provide a new model we will update only rows that are different in the current model.
2022-11-08 09:29:25 +02:00
Pascal Precht 8062ff968b chore: update status-go dep
This includes improvements in the discord import tool
2022-11-07 13:46:04 +01:00
Lukáš Tinkl 80d211f521 fix(MessageView): fix opening URL links
Fixes: #8123
2022-11-07 11:03:39 +01:00
Jakub Sokołowski 38f0973dc3
ci: use git clean instead of cleanWs() function
This is a continuation of attempts to fix provlems with Windows CI hosts
getting into a broken state due to `.git` directory becoming a file for
random submodules for unknown reason.

Instead of relying on Jenkins functionality of `cleanWs()` function
provided by the [Workspace Cleanup Plugin](https://plugins.jenkins.io/ws-cleanup)
we use Git which should be more reliable, and possibly also speed up the
initial checkout of the repo and submodules.

A nice side-effect is that the repo checkout on all builds after the first
one takes ~1 minute instead of ~5 minutes.

Previous issues:
- https://github.com/status-im/status-desktop/pull/7968
- https://github.com/status-im/status-desktop/pull/8046

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-06 20:20:54 +01:00
Igor Sirotin 09d8a10b49 fix(StatusMessageReply): Fixed text formatting in replied message 2022-11-05 18:29:25 +03:00
Jakub Sokołowski 8f254279e1
ci: fix TARGET value in imports Jenkinsfile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-04 16:20:47 +01:00
Jakub Sokołowski c500eb9dc6
ci: lock windows Go version at 1.18.8
Fixes the following build error:
```
protocol\messenger.go:5957:6: missing function body
protocol\messenger.go:5957:16: syntax error: unexpected [, expecting (
protocol\messenger.go:5959:2: syntax error: non-declaration statement outside function body
note: module requires Go 1.18
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-04 15:43:26 +01:00
Pascal Precht f87f952330 fix(communities): allow actual import errors to come through
This commit enures we render proper errors during an import, even if
we've reached the maximum of warning/error items to render.
2022-11-04 13:24:27 +01:00
Jakub Sokołowski 8115fdd0d0 ci: add Jenkinsfile.imports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-04 12:01:59 +01:00
Michał Cieślak 3d98ad6991 chore(general): ability to run StatusQ sanity checker from main Makefile
Closes: #7854
2022-11-04 12:01:59 +01:00
Michał Cieślak 5f659da9f8 feat(StatusQ): SanityChecker app for imports validation
Closes: #8071
2022-11-04 12:01:59 +01:00
Pascal Precht cabfaf1ed6 fix(Communities): adjust discord import error codes
Those have been changed in status-go, resulting in wrong visualization
of import warnings and errors.

This commit adjusts them so they match the correct codes again.
2022-11-03 18:24:48 +01:00
Sale Djenic 02d3398fbc fix(@desktop/keycard): change db password for a keycard users
DB password for a Keycard user is now `publicKey` of encryption derivation.
kdf iterations for keycard users are set to 256000 so it's the same as we have
for regular users.

Fixes: #8066
2022-11-03 10:11:15 +01:00
MishkaRogachev d147d7058e fix(ActivityCenter): Polishing Activity Center UI 2022-10-31 14:01:58 +03:00
Pascal Precht e8437d3b0c fix(contacts): fix `getVerificationRequestFrom` API
The underlying API was mistakenly removed in status-go, then
reintroduced, but as `getLatestVerficiationRequestFrom`.

This commit fixes the RPC call.

Needs https://github.com/status-im/status-go/pull/2934
2022-10-29 13:52:40 +02:00
Jonathan Rainville 0806d657d3 fix(community-tests): fix a couple community tests 2022-10-28 14:56:29 -04:00
Jonathan Rainville 8296dd443b fix(accounts-service): use WAKUV2_PORT env var for account creation too 2022-10-28 14:50:25 -04:00
Jonathan Rainville 794563bfff test(chat): add a test to create a one to one chat with a mutual contact
Fixes #6884
2022-10-28 14:45:28 -04:00
Sale Djenic 250a193f91 test(suite_wallet): tests updated according to the changes applied to add account modal popup 2022-10-28 20:43:09 +02:00
Sale Djenic 2c03146309 fix(@desktop/keycard): can't create accounts if the main account was restored in using an existing keycard account
`I already use Status` -> `Login with Keycard` flow is enabled.

Fixes: #7867
2022-10-28 20:43:09 +02:00
Sale Djenic c8c51a8621 chore(@desktop/accounts): unused code removed 2022-10-28 20:43:09 +02:00
Sale Djenic d6797ca4e9 chore(@desktop/keycard): login with keycard flow enabled (onboarding) 2022-10-28 20:43:09 +02:00
Sale Djenic 6d2893b3de fix(@desktop/keycard): keycard lib updated
Now it generates master-key address and public key correctly.
2022-10-28 20:43:09 +02:00
Igor Sirotin 82bc21b4ff fix: Fixed group and channel mention notifications 2022-10-28 21:21:49 +03:00
Lukáš Tinkl 9327b483a4 fix(BeforeGetStartedModal): fix padding and (line) spacings
additionally correct the way a font is propagated from a QQC2 Control
down to our components

Fixes #6515
2022-10-28 19:19:42 +02:00
Pascal Precht b9a9f2a20f feat(Message): fallback to import message content if necessary
Messages are parsed to transform markdown to something that can be
rendered in a formatted way.

When this happens, the parsed text is applied to a message's `text`
property inside desktop.

There was no formatted message support for imported discord messages,
so we were relying purely on `discordMessage.content`.

However, now formatting support is pending in status-go here: https://github.com/status-im/status-go/pull/2933

This means, once this lands, we can simply rely on `messsageItem.text`.

I'm adding this guard here such that this will continue to work without
the feature in status-go, but once the feature in status-go lands,
desktop will automatically adapt.

Closes #8086
2022-10-28 17:23:49 +02:00
Michal Iskierko 234a164597 fix(@desktop/chat): Accept profile deep link in "Send Contact Request to chat key"
Fix #8070
2022-10-28 16:15:40 +02:00
MishkaRogachev 6a72773ab6 feat(ActivityCenter): Refactor AC Store and fix notifications counting
Close #7654
2022-10-28 12:29:40 +03:00
Michal Iskierko 58fe1ed8ca fix(@desktop/chat): If profile popup is opened close it before another opening
Fix #6650
2022-10-28 11:02:42 +02:00
Lukáš Tinkl 27c883ae98 fix(ContactsView): button is in the wrong position
Fixes #8080
2022-10-28 10:56:44 +02:00
Boris Melnik 6de3466cb2 feat(Communities): Add ephemerial notification when request to join was accepted
Part of: #7072
2022-10-28 11:01:59 +03:00
Lukáš Tinkl eb4a7d71c5 chore: bump VERSION to 0.7.90 in master
so that we always have a higher version than the latest stable release
(0.7.x at the moment), giving us a buffer to further bump it to 0.8.9x as
we approach the 0.9.x series
2022-10-27 23:39:33 +02:00
MishkaRogachev 851dd3bc76 feat(ActivityCenter): Review fixed for community membership AС notifications 2022-10-28 00:25:10 +03:00