1543 Commits

Author SHA1 Message Date
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
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
Michal Iskierko
eaf5095490 fix(@desktop/onboarding): Clear tempPassword before sending login error
Fix #8082
2022-11-14 11:20:18 -05:00
Michal Iskierko
060072da2d fix(@desktop/chat): Fix moving channels between categories
Fix #7422
2022-11-14 16:48:27 +01: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
Patryk Osmaczko
263b1c01c6 fix(chat): use clock for messages ordering
fixes: #8153
2022-11-11 14:02:11 +03:00
Boris Melnik
b10b6617cf fix(edit-message): Add content-type to edit message request
Closes: #7879
2022-11-11 14:01:16 +03:00
Boris Melnik
42234c7d49 feat(communities): User is able to cancel membership request
Part of: #7072
2022-11-10 23:07:22 +03:00
Richard Ramos
76968df721 chore(waku2): add extra logging 2022-11-10 15:18:05 -04:00
Richard Ramos
ae7a16f27e fix: display "Resend" for expired messages 2022-11-10 11:49:42 -04:00
Pascal Precht
8d90204e0a refactor(communities): allow removing items from import file list
There was a requested design change where no longer wanted to have
checkboxes to decide which files will be included for a discord import,
but rather have an "X" button that enables users to remove items.

This commit implements this refactor.

In addition, it ensures that the already loaded discord categories and
channels that have been extracted from validation, are kept in sync as
well.

Meaning, if a user removes a file from the file list, the corresponding
channel will be removed as well.

If there's not channel in a given category, the category will be removed
as well.

Closes #8125 #8126
2022-11-10 15:45:25 +01:00
Richard Ramos
bdded864f2 fix: enable lightclient mode 2022-11-10 09:50:15 -04:00
Pascal Precht
69677a7c1c fix(communities): add missing community image to import process
This needs https://github.com/status-im/status-go/pull/2947
2022-11-10 14:08:59 +01:00
Lukáš Tinkl
2b6164fc8d fix: ens names should not display @
Fixes #8122
2022-11-10 10:42:05 +01:00
Sale Djenic
105e1c156b fix(@desktop/keycard): ExportPublic instead of Sign flow should be used for user authentication
Fixes: #8176
2022-11-10 11:03:44 +03:00
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
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
Michal Iskierko
1f2a050695 feat(@desktop/general): Use compressed community key in deep links
Issue #8001
2022-11-08 15:18:39 +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
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
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
Igor Sirotin
82bc21b4ff fix: Fixed group and channel mention notifications 2022-10-28 21:21:49 +03: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
MishkaRogachev
6a72773ab6 feat(ActivityCenter): Refactor AC Store and fix notifications counting
Close #7654
2022-10-28 12:29:40 +03: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
MishkaRogachev
851dd3bc76 feat(ActivityCenter): Review fixed for community membership AС notifications 2022-10-28 00:25:10 +03:00
MishkaRogachev
5d8e3ac252 feat(ActivityCenter): Fix handling membership requests from AC 2022-10-28 00:25:10 +03:00
MishkaRogachev
9c8fee09cd feat(ActivityCenter): Community membership status handling 2022-10-28 00:25:10 +03:00
MishkaRogachev
d4e4e66fc6 feat(ActivityCenter): Community membership notifications
Close #7277
2022-10-28 00:25:10 +03:00
Lukáš Tinkl
f122607ada fix: consecutive discord messages should be grouped like status messages
- fill the senderId just like other messages
- add some checks in Utils since the "publicKey" (ID) coming Discord
isn't in the format we'd normally expect

Closes #6678
2022-10-27 22:44:00 +02:00
Khushboo Mehta
aec7a30d03 feat(@desktop/wallet): Updated UI for bridge and multi routing support
fixes #7334
2022-10-26 18:48:30 +02:00
Michal Iskierko
6d2a2e6e03 fix(@desktop/general): Fix clicking deep links in chat
Clicking any deep-link in chat: /u, /c, /cc does not open browser but executes instantly

Fix: #6302
2022-10-25 08:26:16 -04:00
Richard Ramos
3b3b737956 feat: encrypt communities 2022-10-25 08:26:10 -04:00
Anthony Laibe
76aedc3615 feat(@wallet): display ens name with saved addressess 2022-10-24 12:39:34 +02:00
Michal Iskierko
6ac091d094 fix(@desktop/general): Fix community deep links
Cleanups in deep links - removing not needed links handlers
Improve `open community` and `open channel` deep links - spectate community if not a member

Fix #7892
2022-10-24 09:38:41 +02:00
Sale Djenic
a60e5d49cf feat(@desktop/keycard): create a new pairing code
Fixes: #7038
2022-10-19 13:24:41 +02:00
Sale Djenic
7377526553 feat(@desktop/keycard): create a 12-digit personal unblocking key (PUK)
Fixes: #7037
2022-10-19 13:24:41 +02:00
Sale Djenic
9b2a63c400 feat(@desktop/keycard): change pin flow added
Fixes: #7034
2022-10-19 13:24:41 +02:00
Sale Djenic
48d1ae5cd1 fix(@desktop/keycard): migrating new keypair updates the list of registered keycards 2022-10-19 13:24:41 +02:00
Patryk Osmaczko
fa1f396a86 fix(communities/portal): navigate or spectate community
fixes: #7244
2022-10-18 21:21:10 +02:00
Patryk Osmaczko
a543f46de5 chore(communities/portal): extend curated communites model 2022-10-18 21:21:10 +02:00
Lukáš Tinkl
7a407662e2 feat: New Profile Modal
Fixes: #7360
2022-10-17 12:05:54 +02:00
Sale Djenic
7a73452706 fix(@desktop/keycard): keypair is not registered for newly created keycard users
Fixes: #7899
2022-10-14 13:53:34 +02:00
Khushboo Mehta
7e82b36509 feat(@desktop/wallet): Create API to retrieve historical price for a token
fixes #7260
2022-10-14 10:29:29 +02:00
Sale Djenic
b1f8a476e8 feat(@desktop/keycard): rename keycard flow
Fixes: #7033
2022-10-13 19:58:45 +02:00
Sale Djenic
c1f4874e18 feat(@desktop/keycard): UI for the keycard settings in case user has set up a keycard
Keycard settings view - UI - developed in a way that list of keycards is displayed
if there is at least one keycard set up. If the a keycard is locked or gets locked it
will be correctly marked in red. Selecting keycard from the list, its details may be
seen and additional flows may be run for it (so far only unlock flow is developed).

Fixes: #7025
2022-10-13 19:24:04 +02:00
Pascal Precht
fb7f2a2f51 chore: update status-go
This includes a fix in message signals that would otherwise break Desktop's
signal encoding.

See: https://github.com/status-im/status-desktop/pull/7888

Hence, it reverts the now unnecessary fix introduced in:

Revert "fix(signals_manager): ensure `savedAddresses` event has `JNull` check"

This reverts commit 013e226c66fc9de26575b5bd55acc64c45a5566e.
2022-10-13 17:59:13 +02:00