Commit Graph

655 Commits

Author SHA1 Message Date
MishkaRogachev 9b227cbfd9 feat(ActivityCenter): Add CTA for contact request notifications
Close #7277
2022-10-07 15:09:56 +04:00
Patryk Osmaczko acbf6fce51 feat(@desktop/communities): add new join community workflow
- user is able to see community without being a member
- invitation bubble always display "Go to Community"
- join community buttons are displayed in community view

main part of: #7072
2022-10-07 09:10:21 +02:00
Pascal Precht bf14b06d55 feat(CreateCommunityPopup): add discord import progress panel and discord message handling
This adds the UI plus all necessary models and signal handling to render
discord import progress in the desktop application.

It also introduces message handling for discord chat message types.

Requires status-im/status-go#2826 to function

Co-authored with @caybro
2022-10-06 09:13:57 +02:00
Igor Sirotin 670a8e280c fix(chat): Fixed invitations sending to multiple users 2022-10-05 14:37:36 +03:00
Michał Cieślak 79215f1ccc chore(settings): see/show pictures from/to everyone set as new default
Closes: #7310
2022-10-05 13:19:45 +02:00
Boris Melnik aa1667bf69 fix(Fleet): Change default fleet to status.prod
Closes: #7736
2022-10-04 14:30:21 -04:00
Boris Melnik c7aa3c7999 Fix(AppSearch): Exclude not joined community from updates handling
Closes: #7701
2022-10-04 13:20:43 -04:00
Richard Ramos 1a2524cbda chore: setup a mailserver as part of UI tests run in CI 2022-10-03 16:31:23 -04:00
Richard Ramos 71454e0e3d feat: use a higher kdf number for DB encryption 2022-10-03 11:45:56 -04:00
Richard Ramos b43dfaa59e chore: add KDF_ITERATIONS var to the makefile 2022-10-03 11:45:56 -04:00
Stefan 898b928ce2 chore(debug): use WAKUV2_PORT environment variable to change Waku V2 port
The environment variable overrides libp2p protocol TCP port and
discovery v5 UDP with the same value
2022-09-29 16:17:42 +02:00
Igor Sirotin 010bdc9956 feat(CreateChatView): Support pasting chat key 2022-09-28 09:55:25 -04:00
PavelS 06b6b9258b fix(@desktop/chat): add message sent and delivered handlers
Fixes #7367
2022-09-28 15:44:05 +03:00
Sale Djenic 861c585d2b feat(@desktop/keycard): adding wallet account using `Authenticate` flow
Fixes: #7509
2022-09-27 20:15:34 +02:00
Sale Djenic d985e347ce fix(@desktop/keycard): convert to keycard account process fixed
- converting to keycard account 3 words alias was used instead of
display name
2022-09-27 19:03:18 +02:00
Sale Djenic a3b71c7d91 feat(@desktop/keycard): unlock keycard flow added
Fixes: #7031
2022-09-27 19:03:18 +02:00
Sale Djenic cf7bc0325b chore(@desktop/keycard): `updateKeycardUid` proc added to the wa service 2022-09-27 19:03:18 +02:00
Stefan b0a0b1d4e4 chore(dev): add STATUS_PORT env var forwarding to status-go 2022-09-23 08:41:14 -04:00
Anthony Laibe a9d2ecf839 fix(@wallet): Send tx popup
fixes #7429
2022-09-23 10:08:26 +02:00
PavelS a51a980635 fix(@desktop/community): update new category handling
Fixes #7380
2022-09-22 14:16:19 +03:00
Michal Iskierko 6181583f95 fix(@desktop/chat): Do not show chat identicons
Fix #7371
2022-09-22 10:09:49 +02:00
Richard Ramos 38ae128f55 chore: use enrtrees for status.* fleets instead of connecting directly to the nodes 2022-09-21 11:42:06 -04:00
Patryk Osmaczko e3363e269a fix(@desktop/chat): make `join` invite transition to `pending`
User should see `pending` state after he `join`s the community, even if
that community does not require explicit admin approval. That's because
currently, each member has to be accepted by admin, either automatically
or manually. That means, if admin is gone, no one will be ever joined to
community, even if this community states it does not require request to
join.
2022-09-21 08:57:18 +02:00
Patryk Osmaczko d1b3e7af9e fix(@desktop/chat): rework invitation bubbles
InvitationBubbleView.qml:
- rework view to use layouts properly
- add missing community identicon

Backend:
- remove local community requests on community join
- propagate SIGNAL_COMMUNITY_MY_REQUEST_ADDED to UI

fixes: #7139
2022-09-21 08:57:18 +02:00
MishkaRogachev 91d80541be fix(ActivityCenter): fix calculating AC notification types
Close #7361
2022-09-20 16:43:21 +03:00
MishkaRogachev 2d02a3cb2e fix(ActivityCenter): Refactor components for viewing notifications 2022-09-20 16:43:21 +03:00
Khushboo Mehta 8c4ce7bc29 fix(@desktop/wallet): Send Modal doesn't fill available height and Drop Shadow missing in Send Modal Footer
Also fixed a crash found while fixing the above bugs

fixed #7133, #7134
2022-09-19 13:22:00 +02:00
Michal Iskierko 62c2b56fc8 fix(@desktop/chat): Improving displaying user names in chat
1. Rename contactDetails.displayName -> defaultDisplayName
2. Add contactDetails.optionalName (filled in contact service)
3. Set in message_model defaultDisplayName and optionalName values
4. Adjust UI

Issue #7241
2022-09-19 11:24:35 +02:00
Richard Ramos c3aa69b8ab feat: set default sync period to 30 days for new accounts 2022-09-15 15:59:23 -04:00
Anthony Laibe 215f9e0fa6 fix(@wallet): asset formatting
Fix asset formating and display of network only enabled
2022-09-15 16:54:43 +02:00
Sale Djenic 6e9cb37766 feat(@desktop/keycard): wallet account service extended
new procs added to the wallet account service:
- `addMigratedKeyPair`
- `getAllMigratedKeyPairs`
- `getMigratedKeyPairByKeyUID`
- `setKeycardName`
- `keycardLocked`
- `keycardUnlocked`
- `deleteKeycard`
2022-09-14 16:05:52 +02:00
Sale Djenic fb5065da16 feat(@desktop/keycard): `startSignFlow` added to the keycard service 2022-09-14 16:05:52 +02:00
Jonathan Rainville aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +02:00
Stefan 7af95eaada feat(wallet): add favorites for saved addresses
Depends on statug-go favourite flag extension and merging of `favourites`
with `saved_address` tables and API

Additional changes:

- Remove duplicate name instead of ESN

Closes: #6546
2022-09-12 15:58:52 +02:00
Anthony Laibe 81300b655f fix(@wallet): display currency price rather than 24h change
fixes #7268
2022-09-12 11:00:41 +02:00
Patryk Osmaczko ad996d4884 feat(@Desktop/chat): extend chat section model with onlineStatus
closes: #7279
2022-09-12 10:32:25 +02:00
Khushboo Mehta 928e1999d9 feat(@desktop/wallet): Implement Transaction details as per new design
fixes #7214
2022-09-09 21:36:58 +02:00
Patryk Osmaczko 1218de67b9 feat(@desktop/chat): display fetch messages when needed
- it only applies to community chats

closes: #6731
2022-09-09 10:39:58 +02:00
Khushboo Mehta e9d3d7a0b0 bash: q: command not found
feat(@desktop/wallet): New design for Transaction History

fixes #7213
2022-09-09 00:04:25 +02:00
Michal Iskierko 2bb346a09e fix(@desktop): Use colorId to find correct color of users&members
colorId is set in the model instead of using qml function.

Fix #6366
2022-09-08 13:56:27 +02:00
Sale Djenic afa7928bae feat(@desktop/keycard): keycard settings -> migrate keypair flow
- Added flow which covers `Setup a new Keycard with an existing account` from
the keycard settings part (though two sub-flows there are missing, `Unlock Keycard`
and `Authentication` cause we don't have them yet).
- Updated factory reset flow (part of shared module) that it can read and display metadata
from a keycard if they are set, with this update this flow is almost complete, we are missing
`Unlock Keycard` flow for it as well.
2022-09-06 15:06:13 +02:00
Sale Djenic ec7710490d feat(@desktop/keycard): accounts and wallet services updated
New procs added:
- accounts service `createAccountFromMnemonic`
- accounts service `convertToKeycardAccount`
- accounts service `verifyPassword`
- wallet service `fetchBalanceForAddress`
2022-09-06 15:06:13 +02:00
Sale Djenic 912cbe3b1d feat(@desktop/keycard): keycard service updated
Keycard library from this commit brings new changes in terms of
signals being sent by the lib in case of reader is not plugged in,
card is not inserted, card is inserted, that means the following
signals are sent only when it's really needed:
`"{\"type\":\"keycard.flow-result\",\"event\":{\"error\":\"connection-error\"}}"`
`"{\"type\":\"keycard.action.insert-card\",\"event\":{\"error\":\"connection-error\"}}"`
`"{\"type\":\"keycard.action.card-inserted\",\"event\":{}}"`
2022-09-06 15:06:13 +02:00
Khushboo Mehta e9c270da87 fix(@desktop/wallet): Entering ENS name in SendModal doesnt work
fixes #6695
2022-09-05 14:55:31 +02:00
Khushboo Mehta 171b31ad93 fix(@desktop/wallet): Wallet - Send - Crash after opening send modal
The error seen in the bug is linked to getSuggestedFees returning an rpc error that was unhandled, I think this should resolve this issue.

fixes #6801
2022-09-05 11:34:25 +02:00
Michal Iskierko d6a061a517 feat(@desktop/chat): Add setting image in group chat
Image and cropping information are sent to status-go.

Issue #6466
2022-09-01 12:25:53 +02:00
Michal Iskierko c16b0762ae fix(@desktop): Fixing setting contacts statuses
Remove timers logic since it was moved to status-go.
Handle additional status.updates.timedout signal.

Issue #6403
2022-09-01 10:03:52 +02:00
Khushboo Mehta 56e6427260 fix(@desktop/wallet): Assign an emoji to the default wallet account during onboarding
fixes #6694
2022-08-30 11:56:32 +02:00
Khushboo Mehta ddb9caf4d7 feat(@desktop/wallet): Display price changes
fixes #6482
2022-08-30 10:27:35 +02:00
Jonathan Rainville 7544bd6fb5
fix: change gateway and remove old code to decode the hash
Fixes:
- https://github.com/status-im/status-desktop/issues/6964
Depends on:
- https://github.com/status-im/status-go/pull/2795
- https://github.com/status-im/status-jenkins-lib/pull/44

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 19:47:02 +02:00
Pascal Precht fa5b862d2c feat(CreateCommunityPopup): introduce file selector and category panels 2022-08-26 10:59:41 +02:00
Khushboo Mehta e79d9dfc95 fix(@desktop/wallet): Search Bar missing in token selection popup
fixes #7014
2022-08-25 17:31:28 +02:00
Richard Ramos d8a7dcf3a2 feat: output messages to csv 2022-08-25 08:16:06 -04:00
Patryk Osmaczko 876099b369 feat(@desktop/chat): propagate lastMessageTimestamp
iterates: #6634
2022-08-24 17:12:47 +02:00
Jonathan Rainville 8624b3ae9a fix(search): add community to channelGroups and fix channel search
Fixes #7017
2022-08-23 13:44:23 -04:00
Khushboo Mehta 289209f7ec fix(@desktop/profile): Can set own online state to online, offline
fixes #6895
2022-08-23 14:26:42 +02:00
Khushboo Mehta 0515152bd7 feat(@desktop/wallet): Add Token Detail View
fixes #6491
2022-08-23 10:52:26 +02:00
Michal Iskierko 346af7c245 feat(@desktop/chat): Add requests sections to members tab of the community management
Add tabs: "Pending requests", "Rejected"
Add getting declined requests from status-go

Issue #6279
2022-08-22 13:54:36 +02:00
Anthony Laibe ade9086b81 test(@wallet): add test for ens name 2022-08-18 13:11:36 +02:00
Lukáš Tinkl 395d5548b4 feat(CreateCommunityPopup): Add Community Banner to Create Community Modal
as status-go already supports parsing the banner JSON string, just pass
it along the NIM backend

Closes #6726
2022-08-18 10:15:04 +02:00
Patryk Osmaczko 61a55db156 feat(settings/profile): integrate social links and bio endpoints
closes: #6796
2022-08-17 13:18:32 +02:00
MishkaRogachev e67d649c46 feat(desktop): New invite to community popup with message 2022-08-12 11:54:51 +04:00
Sale Djenic 505b242246 fix(@desktop/keycard): implement new keycard factory reset flow
This partially covers factory reset flow. The part where user is able to select which accounts
wants to remove/keep from/on a keycard will be added later once we add the keycard settings part
for storing those data to a keycard.

Fixes: #6790
2022-08-11 13:57:37 +02:00
Anthony Laibe a87003709f feat(@node): Allow to set a static mailserver
Useful for test
2022-08-10 16:49:27 +02:00
Richard Ramos e0cd28d5f4 fix: remove subdomain when releasing a username 2022-08-08 20:42:56 -04:00
Richard Ramos 148c677b66 fix: ens details view 2022-08-08 20:42:56 -04:00
Michał Cieślak 8d3f1a88a4 fix(Communities/ChatsList): chats order updates handled correctly, subitems reordering fixed
fixes #6292
2022-08-08 15:04:58 +02:00
Michal Iskierko 8b09eec506 feat(@desktop/chat): Handle group chat colors changes
Use new status-go function to update group chat details.
Changes in RenameGroupPopup to handle choosing colors and images.
Changes in EditCroppedImagePanel to handle background component.

Issue #5982
2022-08-08 11:10:54 +02:00
Jonathan Rainville d18daccf4a fix(message-service): ignore new messages in 1-1 when not a contact
Fixes #6639
2022-08-05 09:50:25 -04:00
Michał Cieślak c834bde150 fix(Communities/ChatsList): chat model reordering refactored, updates fixed
fixes: #6597, #6722
2022-08-04 22:44:46 +02:00
Sale Djenic db44bc25d3 feat(@desktop/keycard): initial keycard implementation
Keycard implementation affected onboarding/login flows.
- new user - first run - new keys into keycard
- new user - first run - import seed phrase into keycard
- old user - first run - login importing from keycard
- login the app using keycard

Fixes: #5972
2022-08-04 09:50:04 +02:00
Khushboo Mehta e5358bf29a fix(@desktop/wallet): Implements basic collectible view
fixes #6492
2022-08-03 10:11:09 +02:00
Michal Iskierko 92c1e9ce18 feat(@desktop/chat): Add sections to members tab of the community management
Add tabs: "All members" and "Banned"
Add unban functionality

Issue #5979
2022-08-03 09:48:09 +02:00
Khushboo Mehta 39cf2f3fac fix(@desktop/wallet): Token selector in the send modal doesn't look like design and overflows window
fixes #6499
2022-08-03 09:26:18 +02:00
Anthony Laibe 86bde8017d fix(@wallet): total balance wallet
fixes #6658
2022-08-01 12:41:55 +02:00
Jonathan Rainville 16b2ca5c2c feat(contacts): add respond to request and pending contact menu options
Fixes #6251

Adds the "Respond to Contact Request" and "Contact Request Pending" options to the MessageContextMenu

Also fixes some small issues with contact verification where the state of the incoming request was not correct
2022-07-29 09:43:35 -04:00
Anthony Laibe 168aae40da feat(@wallet): make goerli default testnet 2022-07-29 11:01:19 +02:00
Patryk Osmaczko 5b51a7ce81 chore(settings): fix naming: locale->language 2022-07-27 14:22:50 +02:00
Patryk Osmaczko 8798f785f6 chore: add missing events object to language service 2022-07-27 14:22:50 +02:00
Anthony Laibe 6b9b5f20a8 fix(@community): Fix community join bubble
fixes #6133

When restarting the app, the community is not in the list
and data needs to be requested
2022-07-24 12:31:53 -04:00
Sale Djenic f9244e2c9f fix(@desktop/onboarding): Onboarding/Login flow improvements
- startup, login and onboarding modules merged into the single one
- `State` class introduced which is the base class for all states, every state
  determines what is the next state in each of 3 possible actions, and what
  is the previous state, if it has previous state
- `StateWrapper` class is introduced as a convenient way to expose
  `State`'s props and deal with them on the qml side
- startup module maintains states as a linked list and there are few convenient
  methods to move through the list `onBackActionClicked`, `onNextPrimaryActionClicked`
  `onNextSecondaryActionClicked`, `onNextTertiaryActionClicked`
- redundant code removed

Fixes: #6473
2022-07-22 08:13:27 +02:00
Khushboo Mehta 91eb1a7969 feat(@desktop/profile): Adapt view for settings as pre new design
fixes #5725
2022-07-21 15:06:01 -04:00
Michał Cieślak d0125c86b5 fix(@desktop/chat): endless search when user has no chats or communities 2022-07-21 18:32:49 +02:00
Pascal Precht 95a1945bff fix: handle sync currency settings
This updates the desktop client with a newly emitted currency settings
that might originate from synchronization

Partially addresses #5201
2022-07-20 13:49:18 -04:00
Patryk Osmaczko d68833c7a5 chore(settings): add and populate SIGNAL_LOCALE_UPDATE
task: #6416
2022-07-20 13:19:31 +02:00
Patryk Osmaczko 13a6407a75 feat(settings): introduce language model
task: #6416
2022-07-20 13:19:31 +02:00
Alexandra Betouni 7e7200b4bf fix(AppSearch): search location wasn't updating correctly
Closes #6426
2022-07-19 11:37:27 +03:00
Jakub Sokołowski 9b8138a3e6
rename status-react to status-mobile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-17 16:55:57 +02:00
Michal Iskierko 9ef807277e fix(@desktop/chat): Fix accepting and rejecting requests
Adding try/catch in a service
Fix naming in QML

Fix #6395
2022-07-15 16:08:25 +02:00
Anthony Laibe cd5042e389 feat(@wallet): multi transaction 2022-07-15 12:48:23 +02:00
Patryk Osmaczko 7390bed49e chore(translations): add lrealese as part of build process
closes: #6418
2022-07-14 22:04:33 +02:00
Khushboo Mehta 35a5ab57f0 feat(@desktop/wallet): Implement the advanced/custom view with simple same network transfers
fixes #6268
2022-07-14 16:28:38 +02:00
Sale Djenic cd2d289af9 quick crash fix 2022-07-12 16:55:28 -04:00
Anthony Laibe ff12c85f07 fix(@wallet): move estimation time to status-go 2022-07-12 14:44:06 +02:00
MishkaRogachev 1cca25e08d feat(chat): Message display several images
Close #4905
2022-07-11 17:41:47 +03:00
Jonathan Rainville 95407cc1e0 fix(contacts): remove isMutualContact, use isContact or isAdded indead
Fixes #6220

Fixes the issue with the mutual contact icon showing when just added.
It also does a huge cleanup of the codebase to remove isContact and replace it with either isAdded, when we care only about if we added, or isMutualContact if we want the contact to be mutual
Also fixes an issue with the MessageContextMenu not reflecting the added state correctly.
2022-07-11 09:34:29 -04:00
MishkaRogachev 167cb9e63f Fix(Chat): Reset MessageContextMenuView state on close
Close #5289
2022-07-11 11:39:59 +03:00
Pascal Precht 51b661386a refactor: always request access to join community
We no longer send community invites to users, instead we just share the
community and let users request access.

That request will either be automatically or manually accepted by the owner/admin.

Depends on https://github.com/status-im/status-go/pull/2682

Closes #5115
2022-07-08 13:18:37 +02:00
Richard Ramos 75a3ff858c feat: check for updates (using status-go) 2022-07-07 09:54:55 -04:00
Boris Melnik bb2c9e02c2 feat(communities): Add muting category methods
Closes: #5975
2022-07-06 19:48:44 +03:00
Jonathan Rainville 1e7c648300 feat: contact verification request and trust status
feat: contact verification

fix: add remove identity verified btn

fix: add toast message

feat: received verification request model


feat: finish identity verification flow

Fixes #4784
2022-07-06 10:43:33 -04:00
Anthony Laibe 5d4aba62e3 fix(@node): set bloom filter to normal
fixes #6221
2022-07-06 13:12:26 +02:00
Michal Iskierko 45448db90a feat(@desktop/general): Change user statuses
Handle user statuses from status-go: Always Online, Automatic, Inactive.
Handling updating own status on member list.

Issue #5886
2022-07-06 09:38:11 +02:00
Anthony Laibe d4d9797eec feat: Add network balance 2022-07-04 20:14:46 +02:00
MishkaRogachev 5c6b5f1f47 feat(Communities): support tags in community edit page
Close #6089
2022-07-04 18:53:48 +03:00
Jonathan Rainville 416cedd033 fix(1-1): fix contact label not updating when mutual contact changes
Fixes #5709
2022-07-04 09:32:44 -04:00
Anthony Laibe ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Richard Ramos 813cddfb1f feat: support compressed pubkey mentions 2022-06-29 08:20:39 -04:00
MishkaRogachev a9b2459d79 fix(@desktop): Remove nested popups in create community
Close #6027
2022-06-27 13:12:52 -04:00
MishkaRogachev e30ba7e760 feat(@community): Add tags to communities
Close #5680
2022-06-24 19:44:35 +03:00
Noelia e4558c3a05 fix(Chat): `ReplyTo` messages with missing message information
Removed code that removed messages marked as `repliedTo` in the corresponding service `handleMessagesUpdate` method.

It solves the following use case:
- New account, join public channel, replay massages shown there.

Fixes #6138
2022-06-23 09:12:24 +02:00
Sale Djenic 60ed62231e fix(@desktop/wallet): estimated time for transaction is always Unknown
Fixes #5938
2022-06-22 16:02:25 -04:00
Jonathan Rainville 9ebe9ec2c5 fix: fix blurry chat identifier and expose large image in contact proc
Fixes #6190
2022-06-22 15:33:11 -04:00
Jonathan Rainville 6f14921c9b chore(community): replace plus button by adhoc btn
Fixes #5677
2022-06-22 09:01:45 -04:00
Khushboo Mehta ad4b2c5e6f fix(@desktop/wallet): Fix for Coins balance is copypasted
fixes #6091
2022-06-21 12:12:58 -04:00
Boris Melnik eb3b22caef fix(communities): Fix `try/catch` block in communities service
Closes: #6074
2022-06-21 11:25:35 -04:00
Anthony Laibe ea1b53b34d fix(@activity_center): filter contact request notification
fixes #6126
2022-06-21 11:12:16 -04:00
Michal Iskierko 0cb3de69f3 fix(@desktop/general): Fix application not reponding on close
Changing timer interval to smaller value in order to close it correctly on shutdown.

Issue #5938
2022-06-21 11:07:49 -04:00
Pascal Precht a634df9246 feat(chat): handle sync clear history messages
When histories are cleared on a paired devices, that clearance should be
synced and reflected in other paired devices as well.

This commit ensures desktop calls the correct API to clear histories,
which will then cause an implicit sync.

Partially addresses #5201
2022-06-20 12:47:29 +02:00
Pascal Precht e0c11ae261 fix(Privacy): handle sync setting for `profile-pictures-visibility`
Part of #5201
2022-06-20 12:44:55 +02:00
Pascal Precht 882c0dcc2b fix(Privacy): handle sync setting of `show-profile-pictures-to`
There are a bunch of settings which are synced an not handled by
desktop, one of them being the `profile-pictures-show-to` setting.

This commit introduces a new `SettingsFieldDto` so we can react to
message signals that include individual setting fields that originate
from syncing.

The first setting hanlded is the one mentioned above, so a new
application signal is introduced to inform the app that there was an
update in that particular setting, so it can re-render the view.

Partially addresses #5201
2022-06-20 12:44:55 +02:00
Pascal Precht 858caeca73 fix: handle bookmarks syncing signals properly
Bookmarks were only synced when devices were synced, but not when
bookmarks were added/removed/updated.

To account for this, there's are new messenger APIs in status-go
proposed here: https://github.com/status-im/status-go/pull/2709

Based on those APIs, desktop can now add/remove/update bookmarks and the
changes are automatically synced to other devices in real-time.
This commit also ensures that changes from other devices with regards to
bookmarks are handled and updated on the current device.

Partially addresses #5201
2022-06-20 12:01:23 +02:00
Khushboo Mehta 8d3fad8342 feat(@desktop/wallet): Multichain QR Code
Implements the new Recieve Modal with multichain functionality

closes #5735, #6057
2022-06-17 01:27:35 +05:30
Pascal Precht 56f7c52e81 fix(sync): handle syncronization of user status
This fixes a bug where the new user status set by the logged in user
would not be broadcast because the corresponding setting would prevent
status-go from doing so.

The fix is done by always enabling broadcasting the user status, then
disabling it again right after setting, in case it was set to "offline".

This commit also ensures that, when current user status updates are
broadcast, the updates are handled across paired devices in real-time.

Partially addresses #5201
2022-06-16 14:02:49 +02:00
Pascal Precht 9a926e110c fix: ensure sync community settings are handled
This adds the missing handling of community settings that are synced
when communities are created/edited etc.

Needs https://github.com/status-im/status-go/pull/2701 to function.

Partially addresses #5201
2022-06-16 13:03:07 +02:00
mishkarogachev 7a14cf5640 fix(@desktop/profile): Contact requests should support a message
Close #5846
2022-06-15 11:56:05 -04:00
Boris Melnik 781e57e776 fix(Communities): Fix import community without chats
Closes: #5818
2022-06-14 16:18:02 -04:00
Patryk Osmaczko cdd06b05eb feat(@desktop/group-chat): remove explicit join for groups
closes: #5717
2022-06-14 15:21:56 -04:00
Anthony Laibe 00ed4f9c44 feat(@wallet): multi transaction simple view 2022-06-09 15:22:24 +02:00
Anthony Laibe 756db3f95d feat(@wallet): resolve token multi network 2022-06-06 15:38:12 +02:00
Patryk Osmaczko 6cda41e183 feat(@community): add backend for intro message
issue: #5746
2022-06-04 12:00:11 +02:00
Boris Melnik 49ca3e1c36 feat(Settings): Add communities settings
Closes: #4932
2022-06-02 18:58:50 +03:00
Noelia ed39690071 feat(CommunitiesPortal): Communities Portal first UI approach
Closes #4936
2022-06-02 08:24:02 -04:00
Anthony Laibe 198db8658c fix(@about): always check for update
The work was already done in the actual call, but we kept the guard.
The guard is now remove as it was useless
2022-06-01 09:54:13 +02:00
Anthony Laibe 86805a6c7d feat: add network image 2022-06-01 09:54:06 +02:00
Noelia 7c92d39359 feat(GroupChat/Add-Remove-Contacts): Implement "Add / remove from group" button for group chats
Added new option add / remove contacts in dropdown and created navigation to modify the loaded component in the toolbar.

Enabled addition of new members into a group chat by the admin.

Enabled removal of members of a group chat by the admin.

Added into `ChatContentView` components related to chat toolbar:
- `StatusTagSelector` and its corresponding logic
-  Moved `StatusChatInfoButton` from toolbar to content view.

Added `esc` key event to leave the group chat add / remove panel.

Updated `StatusQ` link.

Closes #5522
2022-06-01 08:47:21 +02:00
Sale Djenic 78f985e484 feat(desktop/general): app support for status-im:// URIs - mac
Fixes #3375
2022-06-01 08:42:57 +02:00
Sale Djenic 698374b91c feat(desktop/general): app support for status-im:// URIs - mac
Fixes #3375
2022-06-01 08:42:57 +02:00
Stefan 7c74a0942d feat(Community/Logo): use crop control for community Logo
Note that this doesn't refactor status-go to use CroppedImage
for the community logo.

fixes: 5404
2022-05-31 19:04:49 +03:00
Stefan 9f633f0fcc feat(Communities/Settings): Communities banner editing
Use the generic EditCroppedImagePanel for banner cropping

- Depends on status-go IdentityImage banner extension

fixes #5118
2022-05-31 12:26:33 +03:00
Sale Djenic 3a3b2c9dc9 fix(@desktop/wallet): show all tokens in wallet that have balance > 0
Fixes #5859
2022-05-30 17:11:51 +02:00
Sale Djenic 64882dffbe feat(@desktop/wallet): add support for Arbitrum L2
Fixes #5714
2022-05-27 14:45:29 +02:00
Anthony Laibe 21fedcbb2b feat(@wallet): aggregate token balance 2022-05-26 06:52:32 -04:00
Sale Djenic aeba272ae4 fix(@desktop/notifications): move notifications settings to `status-go`
Fixes #5649
2022-05-26 12:07:19 +02:00
Michal Iskierko 595bca0294 fix(@desktop/chat): Fix 1:1 chat
Incoming messages and edited messages are shown correctly in 1:1 chat

Fix #5858
2022-05-25 14:18:56 -04:00
Richard Ramos 92d047173f fix: broadcast update when changing status
Fixes #5798
2022-05-25 14:10:30 -04:00
Sale Djenic 88bbfef179 fix(@desktop/profile): changing username is not immediately updating
Fixes #5765
2022-05-24 15:57:39 -04:00
Anthony Laibe db3722cd4f fix(@general): user status go service to migrate account 2022-05-24 13:27:06 +02:00
Anthony Laibe 451e650b09 fix(@general): keystore management 2022-05-24 13:27:06 +02:00
Sale Djenic 7f3f2ed16d fix(@desktop/chat): [very hard to replicate] 1 to 1 chat window contains messages from other contacts
Fixes #5668
2022-05-20 15:28:19 +02:00
Pascal Precht f14717da18 feat: handling `mailserver.not.working` signal
This makes Status Desktop aware of the `mailserver.not.working` signal.
When emitted by status-go, desktop will show a popup that informs the
user about the connection failure.

Furthermore, users can then decide to either retry (same as just closing
the popup as retrying already happens by default), or pick another
pinned mailserver, for which they'll get redirected to the messaging
settings panel.

Closes #5166
2022-05-20 13:03:47 +02:00
Anthony Laibe ddb884fc37 fix(@community): List channel/Add channel/Remove channel from category
fixes #5801
2022-05-19 15:04:01 +02:00
Pascal Precht 8c496e0505 feat(CommunitySettings): add checkbox to allow members to pin messages
This adds a checkbox to configure whether or not community members are
allowed to pin any message of a community channel, based on the newly
introduced `CommunityAdminSettings` that are introduced in https://github.com/status-im/status-go/pull/2668

Closes #5662
2022-05-19 14:53:40 +02:00
Anthony Laibe 8eff1bdfd0 fix(@ens): get pubkey return the prefix
fixes #5805
2022-05-18 14:21:06 +02:00
Khushboo Mehta 86cfbec8f9 feat(@desktop/wallet): Add support for custom derivations path
Make getDerivedAddresses call async
Show pending and error states when gettting the derived addresses

fixes #5700, #5699
2022-05-18 14:16:57 +02:00
Richard Ramos e944263b57 fix: duplicated channels when joining a community
Fixes #5729
2022-05-17 11:37:33 -04:00
Sale Djenic c47f3f2692 feat(@desktop/wallet): redesigned wallet addresses are missing checksum
Fixes #5473
2022-05-17 16:04:59 +02:00
Sale Djenic 03d7632f32 fix(@desktop/notifications): revamp notifications settings & behaviour
- signal for adding notification to the Activity Center introduced
and emitted, but that part is not handled within this commit since
there are some details needed to be discussed in the PR#5334
- signal for displaying ephemeral app notification is introduced
and emitted, but that part is not handled within this commit since
we don't have yet ephemeral notificaiton in place.

Fixes #4902
2022-05-13 14:58:39 -04:00
Khushboo Mehta 1cf701a758 feat(@desktop/wallet): greying out already imported/derived addresses in address list and also choosing next available as default one
fixes #5539
2022-05-13 09:23:47 +02:00
Jonathan Rainville 254bda51ed refactor(app_search): refactor app search to use new getChats API
Fixes #5184
2022-05-12 15:23:14 -04:00
Richard Ramos b3cda3e755 fix: download images 2022-05-12 15:07:29 -04:00
Richard Ramos ebce90368c feat: use ipfs rate limiter 2022-05-12 15:07:29 -04:00
Richard Ramos 3d9a2957de fix: chat key validation 2022-05-12 15:02:53 -04:00
Jonathan Rainville 7c0dbb554a fix(community): community would appear even if not activated
Fixes #5454
2022-05-12 14:19:01 -04:00
Jonathan Rainville ddbe4e236d fix(group-chat): fix changing group chat name 2022-05-12 14:13:13 -04:00
Jonathan Rainville 24a662676e fix(user-list): 1-1 mentions not updating nickname + rearrange events
Fixes #5462
2022-05-12 14:04:16 -04:00
Jonathan Rainville 0358b6bf80 feat(community): make on request comm a check box and remove ensOnly
Fixes #5660
2022-05-12 13:31:48 -04:00
Pascal Precht d70a23cb9a fix(CommunityService): ensure communitySettings aren't mistakenly
overwritten

When communities are edited, status-go sends a signal with the community
description, to ensure the network is updated to the latest changes.

However, that community description doesn't include `communitySettings`.
When we then compose the `CommunityDto` object from that signal, it will have
a default certain settings to `false` which might actually be `true`.

The result is that data in memory is incorrect.

To ensure we don't run into this issue, we check whether the attached
settings have an id, if they don't, we know the settings do not
originate from the signal data, meaning we can use the settings we
already have.
2022-05-12 12:20:23 -04:00
Anthony Laibe a0bebeb78b fix(@communities): Better error message when failing to import
community

fixes #5382
2022-05-12 13:29:15 +02:00
Anthony Laibe 5e05a7613c fix(@settings): fix Gas selector for snt
fixes #5572
2022-04-21 14:05:31 +02:00
Anthony Laibe 538cd6ae06 feat(@wallet): prevent to duplicate token
fixes #5567
2022-04-21 11:51:37 +02:00
Anthony Laibe efd6412266 fix(@wallet): Token not displayed after upgrade
fixes #5563
2022-04-18 16:53:05 +02:00
Sale Djenic d94abcb31e fix(@desktop/onboarding): the profile image doesn't look good on the onboarding page
Fixes #5241
2022-04-14 12:10:53 +02:00
Sale Djenic 3cdc1358ba fix(@desktop/contacts): multiple contact related issues fixed
Fixes #5354 #5225 #5198
2022-04-13 16:40:34 -04:00
Richard Ramos 717ca08d31 fix: don't save the node config twice when switching fleets 2022-04-13 14:51:07 -04:00
Khushboo Mehta feaa91d062 feat(@desktop/wallet): Add derivation path to wallet account generation
fixes #5074
2022-04-13 11:17:53 +02:00
Pascal Precht 348516d5a5 chore: add safeguards when checking for community data in response
Also remove unnecessary signals
2022-04-13 10:22:55 +02:00
Anthony Laibe 3f71e1fe87 feat(@wallet): move visible token to status go 2022-04-13 10:12:58 +02:00
Pascal Precht 8d4aa7dd56 feat: introduce communities settings and history archive support UI
control
2022-04-12 11:25:46 +02:00
Pascal Precht 1d934c7b26 feat: introduce advanced option to enable/disable community archive
protocol
2022-04-12 11:25:18 +02:00
Pascal Precht 1ee631c04e feat: introduce default torrent node config 2022-04-12 10:38:50 +02:00
Iuri Matias dbc16329c0 fix(@desktop/groups): group modal is missing context menu options 2022-04-11 13:19:19 -04:00
Pascal Precht 10f6d9e89b feat: reload community chats when history messages have been downloaded
This introduces the new signal types related to the community archive
protocol and makes Status Desktop listen to the download event which is
emitted by status-go every time history archives were downloaded.

If the downloaded archive covers data within the recent 7 days, it
causes Status Desktop to reload the corresponding chats.
2022-04-11 15:54:08 +02:00
Patryk Osmaczko f2898b6bf7 chore(@desktop): add utility to get color id for pubkey 2022-04-08 14:04:21 -04:00
Anthony Laibe bd8ad854fc fix(@wallet): link to tx hash 2022-04-08 10:02:51 -04:00
Jonathan Rainville 4b78c119c3 fix(members): fix error in logs when getting members for public chat 2022-04-07 10:51:02 -04:00
Richard Ramos f749f84886 Allow the usage of compressed chat keys when sending contact requests
Fixes #5359
2022-04-07 10:23:08 -04:00
Khushboo Mehta d2663d30a5 fix(@desktop/browser): Unable to sign message from simepledapp.eth 2022-04-07 10:28:16 +02:00
Anthony Laibe b1775357c3 fix(@wallet): estimate gas fail when not enough fund
fixes #5267
2022-04-06 13:40:57 +02:00
Anthony Laibe b84b56c3c0 refactor(@general): move all token related to status-go 2022-04-04 13:07:36 -04:00
Patryk Osmaczko 53c38624ef chore: add utility to compress pubkey 2022-04-04 12:55:31 -04:00
Boris Melnik 1f82a784d1 fix(change_pasword): Add error message to change password popup
Closes: #5190
2022-04-04 12:15:21 -04:00
Patryk Osmaczko ce36ee90ca chore(@desktop): rename ambiguous fields `identicon`->`icon` 2022-04-04 17:50:48 +02:00
Patryk Osmaczko 25c6a5f5ca chore(@desktop): remove identicon related code 2022-04-04 17:50:48 +02:00
Anthony Laibe 87da64d70d fix(@browser): move post message async 2022-04-04 12:58:34 +02:00
Richard Ramos b1e5ecc115 feat: discV5 2022-04-01 17:43:09 -04:00
Jonathan Rainville 666c865112 feat(chat): implement new getChats API for the backend
Fixes #4878 but new issues will be created to split the implementation
2022-04-01 15:53:49 -04:00
Sale Djenic 149ff69310 fix(@desktop/contacts): contacts updated to match more closely to requested design 2022-04-01 14:00:21 +02:00
Jonathan Rainville e1b9332ab3 refactor(user-list): implement getMembers to populate user list
Fixes #5122
2022-03-31 14:01:47 -04:00
Sale Djenic e83e5670a4 feat(@desktop/contacts): support sending contact request to chat key
Fixes #5175
2022-03-30 18:35:49 +02:00