2327 Commits

Author SHA1 Message Date
Dario Gabriel Lipicar
42139c19ed fix(@desktop/wallet): handle collectibles fetch error and account deletion
Part of #10063
2023-04-03 10:58:51 -03:00
Sale Djenic
490e8ff258 fix(@desktop/wallet): default wallet account color sorted out 2023-04-03 14:13:53 +02:00
Sale Djenic
ea53fce030 feat(@desktop/wallet): edit account reusing new "Add Account" popup
Closes: #9847
2023-04-03 14:13:53 +02:00
Sale Djenic
3325241b0f feat(@desktop/wallet): right click context menu - delete account option added 2023-04-03 14:13:53 +02:00
Sale Djenic
d8b1e47984 feat(@desktop/wallet): right click context menu added for wallet accounts
Handled options from the context menu for wallet accounts:
- Copy address
- Add new account
- Add watch-only account
2023-04-03 14:13:53 +02:00
Boris Melnik
baa7bd161d fix(edit-message): Blocks edit function for image messages
Fixes: #10072
2023-04-03 14:41:08 +03:00
Boris Melnik
0302b7972e fix(Albums): Fix extra count of messages for image albums
Fixes: #9958
2023-04-03 14:39:38 +03:00
Patryk Osmaczko
b72fff3f04 feat(communities): extend community with active members count
closes: #8016
2023-03-31 22:03:10 +02:00
Khushboo Mehta
a6df4566dd fix(@desktop/wallet): checkConnected API doesnt return correct values
fixes #9833
2023-03-31 19:59:49 +02:00
Jonathan Rainville
7ca3084dde fix(edit): fix mentions in edits not counting towards the badge
Fixes #10077

The fix itself is in the status-go PR.
The desktop changes are just to clean up the old code that no longer worked
2023-03-31 12:51:23 -04:00
Igor Sirotin
14c264e350
feature(Syncing): Embed QR code scanner for syncing devices on onboarding (#9981)
* fix(StatusQrCodeScanner): Improve QR code scanner
- Almost async loading
- Added camera selector
- Added `captureRectangle` property
- Add component info to sandbox qr code scanner page
- Embed QrCodeScanner into desktop app
* Compile and link qzxing as shared library
* Hardcode settingCurrentNetwork. Propagate inputConnectionString errors.
* Added qzxing libdir to e2e tests ld_library_path
2023-03-30 20:57:18 +03:00
mprakhov
f0d57d19cf fix(@desktop/messages): show reply header if we send image 2023-03-30 16:49:09 +02:00
Boris Melnik
efc9ba41d3 feat(SplashScreen): Display recommendation do not close the app on re-encryption process
Fixes: #10039
2023-03-30 09:59:42 -04:00
Jonathan Rainville
44b9522edb fix(unread): fix badge disappearing because of wrong calculation
Fixes #10058

We were calling `updateParentBadgeNotifications` with wrong values, so we basically removed the badge all the time by accident.
Now, we calculate the unread messages and messages from the service's cache.
Also, we still called `updateParentBadgeNotifications` when a contact is updated, as if the contact requests still went in the old contact request popup.
2023-03-30 09:49:04 -04:00
Igor Sirotin
f360a9c193 Fix WakuConfig enabled 2023-03-30 16:10:30 +03:00
Pascal Precht
57467c65b8 fix(permissions): check ownership of collectibles in permissions view
Marks collectible token criteria items in JoinCommunityView as we owned
if the account owns wallets that match the criteria
2023-03-30 08:26:10 +02:00
Anthony Laibe
063198fc1f feat(@wallet): do not change value of symbol
fixes #9201
2023-03-29 10:14:08 +02:00
mprakhov
b580f0a810 feat:(@desktop/channels): loading state when switching channels/chats 2023-03-28 13:12:58 -04:00
Sale Djenic
5479880cde chore(@desktop/wallet): add account modal - improvements
- `AddAccountStore` moved to `AddAccountPopup`
- watch only address' placeholder text updated
- emoji popup button added to the right side of the account name input field
- `validateMnemonic` proc from accounts service updated
2023-03-28 18:09:39 +02:00
Sale Djenic
51058d9065 feat(@desktop/wallet): new add account modal - amends
Closes: #10020
2023-03-28 18:09:39 +02:00
Sale Djenic
cb66ad6118 fix(@desktop/keycard): authenticate flow, wrong password disabled submit button issue fixed 2023-03-28 18:09:39 +02:00
Sale Djenic
223e4f1bc2 feat(@desktop/wallet): new "Add Account" modal added
Closes: #9733
2023-03-28 18:09:39 +02:00
Sale Djenic
204f47229c fix(@desktop/keycard): keyUid param set for all (keycard&regular users) authentication 2023-03-28 18:09:39 +02:00
Sale Djenic
bd9652cec8 chore(@desktop/wallet): unused keycard signal removed 2023-03-28 18:09:39 +02:00
Sale Djenic
a01ff000ea chore(@desktop/wallet): buildKeyPairsList proc moved to src/app/modules/shared location 2023-03-28 18:09:39 +02:00
Sale Djenic
1803f477bb chore(@desktop/wallet): keypair item/model, keypair_account item/model moved to src/app/modules/shared_models location 2023-03-28 18:09:39 +02:00
Sale Djenic
44e00b9538 chore(@desktop/wallet): Accounts and WalletAccount services updated
- new procs to a new `status-go` endpoints added:
  - `AddAccount`
  - `ImportPrivateKey`
  - `ImportMnemonic`
  - `GetRandomMnemonic`
  - `GetDerivedAddresses`
  - `GetDerivedAddressesForMnemonic`
  - `GetAddressDetails`

- unused procs to the old `status-go` endpoints removed:
  - `AddAccountWatch`
  - `AddAccountWithMnemonic`
  - `AddAccountWithMnemonicPasswordVerified`
  - `AddAccountWithMnemonicAndPath`
  - `AddAccountWithMnemonicAndPathPasswordVerified`
  - `AddAccountWithPrivateKeyPasswordVerified`
  - `AddAccountWithPrivateKey`
  - `GenerateAccount`
  - `GenerateAccountPasswordVerified`
  - `GenerateAccountWithDerivedPath`
  - `GetDerivedAddressForPath`
  - `GetDerivedAddressesForPath`
  - `GetDerivedAddressesForMnemonicWithPath`
  - `GetDerivedAddressForPrivateKey`
  - `GetDerivedAddressDetails`
2023-03-28 18:09:39 +02:00
Sale Djenic
7b16a93cc0 chore(@desktop/wallet): old add account modal and corresponding methods from walletSectionAccounts module removed 2023-03-28 18:09:39 +02:00
Jonathan Rainville
b45cc15e32 fix(community-tests): fix edit and delete category tests 2023-03-28 09:49:32 -04:00
Michal Iskierko
c8aefe4e66 feat(@desktop/communities): Airdrop community tokens
Issue #9783
2023-03-27 19:43:10 +02:00
Jonathan Rainville
caebc9b93f fix(community-members): fix pending request buttons + updates
Fixes #9973

The buttons didn't work because we weren't using the right model + the section model didn't expose the PendingMemberRequestsModel.
I also fixed the service to update the community correctly and send the event. It should feel snappy-er to approve someone now.
2023-03-27 11:17:34 -04:00
Michal Iskierko
d759bda81d fix(@desktop/communities): Computing fees in ETH and USD for Sign Transaction dialog
Issue #10007
2023-03-27 16:25:49 +02:00
Pascal Precht
81d4ea05e9 fix(communities): only require auth for token gated communities
There's a bug that all requests to join a community require the user to
authenticate themselves. This should only be needed for community that
are token permissioned.

This commit fixes it by only performing auth when requesting from the
tokengated community view.

Fixes #10010
2023-03-24 15:22:47 -04:00
Jonathan Rainville
27d7b822e3 fix(group): fix editing group image on Windows
Fixes #9884
2023-03-24 14:51:37 -04:00
Jonathan Rainville
9d0e14b680 refactor(chats): separate calls to getChats for each section
Fixes #9858
2023-03-24 13:05:19 -04:00
Khushboo Mehta
5b3a115f55 fix(@desktop/wallet): Loading screen after adding account
1. Removing logic for loading to nim
2. Handling error state for asset view also on the nim side

fixes #9648
2023-03-24 17:09:09 +01:00
Boris Melnik
30b4d9eb5c fix(chat): Sent images with text correctly
Fixes: #9564 #6374
2023-03-24 14:33:17 +03:00
Igor Sirotin
e4f6724fdd
fix(Syncing): Update to newer version of status-go local pairing (#9992) 2023-03-24 11:07:30 +11:00
Igor Sirotin
06ca722cb7
fix(Syncing): Added back state for sync_device_result state (#9998) 2023-03-24 10:25:33 +11:00
Boris Melnik
5592335b2f fix(chat_section): Open Chat section before creating or switching to one-to-one chat
Fixes: #9880
2023-03-23 22:13:27 +03:00
Jonathan Rainville
2f3f8f4e03 refactor(gifs): lazy load tenor api key + make search async
Fixes #9949

Only calls `setTenorAPIKey` once we need it (when doing a search or getting trending). 
Also caches the trending gifs so that they are only fetched once.
Makes the search and trending calls async by create an async tenor query async task.
2023-03-23 13:20:07 -04:00
mprakhov
21d2c00b40 feat(@desktop/chats): Keep only last 5 chats/channels in the memory 2023-03-23 17:41:24 +01:00
Khushboo Mehta
072537f61a feat(@desktop/wallet): Implement connection error screens
fixes #9835
2023-03-23 15:26:22 +01:00
Khushboo Mehta
df121445ca fix(@deaktop/wallet): Implement error states with automatic retries
fixes #9688
2023-03-23 15:26:22 +01:00
Pascal Precht
054ad18532 feat: add authentication modal to join commmunity view
Users that request access to community that are token permissioned
need to authenticate and enter their password, so they can reveal
their wallet addresses
2023-03-23 14:28:31 +01:00
Pascal Precht
5e965bcbb7 refactor: make accepting member requests to join async
This is necessary because with community token permissions, when owners
manually accept a request, we a) don't want to block the UI when the
users funds are check on chain and b) in case of insufficient funds,
we'll react with a modal that tells the owner that the user can't be
accepted.

All of that is done in this commit.
2023-03-23 14:11:04 +01:00
Pascal Precht
858b53979a fix(tokenService): ensure token address map is properly initialized
Nim didn't complain, but the data was being "swallowed" resulting in
a broken asset list in the permissions view.
2023-03-23 08:35:20 +01:00
Igor Sirotin
2d22f2f09a
fix(Syncing): Fixed changing device name (#9921) 2023-03-23 10:21:44 +11:00
Lukáš Tinkl
3b2a8f4253 fix: Status taskbar button and the Status window title bar are missing
... the Status icon in OS Windows 10 (new regression in 0.10)

fix a fatal typo when refactoring to use `main_constants.IS_MACOS` :)

Fixes #9791
2023-03-22 23:37:38 +01:00
Anthony Laibe
9af1734c6a fix(@wallet): inifinite load tx
fixes #9960
2023-03-22 20:45:20 +01:00