Commit Graph

523 Commits

Author SHA1 Message Date
Pascal Precht 213924f6e9 feat(chat): support copy & pasting images into chat input
This adds support for receiving copied images from the clipboard
and pasting it into the chat input.

After pasting, chat input will recognize the image and render a preview
similar to how it would do it when selecting images via the file dialog.

**Also important to note**:

At the time of this PR, it seems that desktop only supports sending
jpegs to status-go. I'm not sure if this was deliberately done this way
because the protocol says it supports jpg, png, webp and gif.

Because of this, pasting for example pngs will work, however
transparency will be lost (which is also most likely the cause of #8820)

This PR operates on that assumption. So while it adds support for
copy/pasting images, it does not address the lack of file type support.

Closes #3395
2022-11-29 12:31:18 +01:00
Richard Ramos c207ee126f feat: show peer multiaddresses with wakuext_peers 2022-11-28 09:27:57 -04:00
Michal Iskierko 9ca058c6ef chore(@desktop): Update DOtherside
Fix #6179
2022-11-28 10:41:27 +01:00
Michal Iskierko 995c77bcaa chore(@desktop): Update nimqml
Issue #6179
2022-11-28 10:41:27 +01:00
Pascal Precht d8bda2490a fix(communities): handle removed community chats properly
We were ignoring the `removedChats` in the messenger response and
therefore never processed deleted community chats in the client.

This commit adds `removedChats` to `handleCommunityUpdates()` and
ensures that the community channel's ID is used when emitting a signal
to the app.

This needs: https://github.com/status-im/status-go/pull/2973

Closes #8000
2022-11-25 09:21:50 +01:00
Khushboo Mehta 6c0806c2e1 (@desktop/wallet): Fix for pending tx not shown in history view
fixes #7530
2022-11-22 13:57:50 +01:00
Patryk Osmaczko e2ff6f9029 chore: bump status-go 2022-11-18 17:50:46 +01:00
Jonathan Rainville da6524b840 chore: up DOtherSide version to get Windows logs
Fixes #8296
2022-11-17 16:14:38 -05:00
Igor Sirotin f022e02efe fix(Chat): Added group/channel name to notifications title 2022-11-17 13:04:06 +03: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
Patryk Osmaczko 37c53d1864 chore: bump statusgo 2022-11-11 11:00:00 -05: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
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
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
Pascal Precht 8062ff968b chore: update status-go dep
This includes improvements in the discord import tool
2022-11-07 13:46:04 +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
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
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 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
MishkaRogachev 6a72773ab6 feat(ActivityCenter): Refactor AC Store and fix notifications counting
Close #7654
2022-10-28 12:29:40 +03:00
MishkaRogachev d4e4e66fc6 feat(ActivityCenter): Community membership notifications
Close #7277
2022-10-28 00:25:10 +03: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
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
Anthony Laibe 6c90034b6b fix(@test): token override 2022-10-24 09:09:08 +02:00
Iuri Matias 80dfe2a4ea fix: use nimbus-build-system-desktop 2022-10-16 11:19:47 -04: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 013e226c66.
2022-10-13 17:59:13 +02:00
Lukáš Tinkl 813dbc57c0 feat: notification through notify-send on Linux
plus some minor UI changes in the Notifications settings; notably
toggling the exemptions was broken

Closes #2520
2022-10-13 17:28:46 +02:00
Anthony Laibe cd5eb42c0b feat(@wallet): testnet use goerli only
In future PR optimism/kovan will be updated to goerli to
2022-10-12 10:34:29 +02:00
Stefan b348527edc feat(Wallet): sync saved addresses
Main changes:

- Bump status-go to include the sync saved addresses implementation
- Use saved addresses modifier API from messaging instead of wallet
in order to have incremental sync
- Update saved addresses model on sync changes for saved addresses

Closes #7229
2022-10-12 09:38:19 +02:00
Patryk Osmaczko 79730b0d01 chore: bump status-go 2022-10-07 09:10:21 +02:00
Richard Ramos 90ce349675 fix: bump status-go to fix go-waku queries 2022-10-05 18:45:59 -04: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
Richard Ramos 71454e0e3d feat: use a higher kdf number for DB encryption 2022-10-03 11:45:56 -04: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 cf7bc0325b chore(@desktop/keycard): `updateKeycardUid` proc added to the wa service 2022-09-27 19:03:18 +02:00
Patryk Osmaczko 6b25ea67a8 chore: bump status-go 2022-09-21 08:57:18 +02:00
Stefan 8b02d8df01 fix(General): restore wrongly renamed migration in status-go
Bump up status-go to include the fix
2022-09-19 13:16:46 +02:00
Stefan fea157e50e fix(chat): remove tenor.com domain from preview
Also use the preview width if available

Fixes #13955
2022-09-16 09:45:51 +02:00
Sale Djenic fb5065da16 feat(@desktop/keycard): `startSignFlow` added to the keycard service 2022-09-14 16:05:52 +02:00
Patryk Osmaczko 1ca7a92600 chore: bump status-go 2022-09-13 12:33:34 +02:00
Jonathan Rainville aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +02:00
Anthony Laibe 0225c3e0ae fix(@wallet): allow to update enabled networks 2022-09-13 10:56:09 +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
Khushboo Mehta 928e1999d9 feat(@desktop/wallet): Implement Transaction details as per new design
fixes #7214
2022-09-09 21:36:58 +02:00
Anthony Laibe 98b4aa849e chore: update status go 2022-09-09 09:15:12 +02:00
Richard Ramos 255341e228 chore: always load curated communities from optimism testnet 2022-09-06 16:10:11 -04: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
Stefan d81b6ca518 fix(Chat): improve gif confirmation popup and fix preview whitelisting
Enable preview for gifs after enabling the gif functionality
Disable gif functionality if the preview was disabled

Addition fixes
- The gifs weren't checked if all images weren't enabled
- The subdomain wasn't checked for whitelisting if the main domain wasn't enabled
- Image clicking
- Dismiss asking for unfurling was not updating the state

Considerations
- Looked into having the "gif enabled" - "tenor unfurling" relation
embedded in the controller but it would require extensive refactoring
by implementing a data-model for unfurling whitelisted domains

Closes: #6829
2022-09-05 12:41:48 +02:00
Michal Iskierko 51f6b9ba2b chore(@desktop): Bump status-go version
Fixes #7211
2022-09-01 17:57:39 +02:00
Michal Iskierko b267364960 chore(@desktop): Bump status-go version
Issue #6466
2022-09-01 12:25:53 +02:00
Khushboo Mehta ddb9caf4d7 feat(@desktop/wallet): Display price changes
fixes #6482
2022-08-30 10:27:35 +02:00
Jonathan Rainville 80f9c881f2 chore: bump status-go 2022-08-29 10:50:06 -04:00
Michał Cieślak b657d0aede chore(@desktop): Bump status-go version
Fixes #6828
When a contact request is accepted, the 1-1 chat is set to active.
That to this, the chat is added to the model and  appears on the
chat list.
2022-08-26 18:55:04 +02:00
Patryk Osmaczko cbd244b17d chore: bump status-go 2022-08-26 12:11:30 +02:00
Richard Ramos 83079cd147 fix: remove recipient selector from StatusETHTransactionModal 2022-08-23 08:52:01 -04:00
Anastasiya S 9283e68421 fix: calculate estimated time in ens modal
fix: calculate estimated time in ens modal
2022-08-23 08:52:01 -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 4f4456d35b chore(@desktop): Bump status-go version
Issue #6279
2022-08-22 13:54:36 +02:00
Lukáš Tinkl 50b49446f0 fix: abort startup on QML errors
exit() the app immediately after encountering QML errors on startup
(updates status-desktop's DOtherSide submodule to status-im/dotherside#69)

Closes #7013
2022-08-17 16:06:11 +02:00
Patryk Osmaczko 268560934a chore: bump status-go 2022-08-17 13:18:32 +02:00
Sale Djenic b34f0a4736 fix(@desktop/keycard): keycard is not recognized when inserted with wrong side
Fixes: #6960
2022-08-16 16:43:33 +02:00
MishkaRogachev e67d649c46 feat(desktop): New invite to community popup with message 2022-08-12 11:54:51 +04:00
Patryk Osmaczko 4303d674dd feat(Makefile): add QML_DEBUG and QML_DEBUG_PORT options
closes: #6973
2022-08-11 19:53:08 +02: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
Sale Djenic 383bc06325 fix(@desktop/keycard): user is stuck in "Repeat PIN" screen
Fixes: #6838
2022-08-11 13:19:46 +02:00
Richard Ramos 148c677b66 fix: ens details view 2022-08-08 20:42:56 -04:00
Michal Iskierko e9e34b91d4 chore(@desktop): Bump status-go
Issue #6907
2022-08-08 18:04:31 +02:00
Michal Iskierko d3a43cec71 chore(@desktop): Bump status-go version
Issue #5982
2022-08-08 11:10:54 +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
Anthony Laibe 23e3702b47 feat(@wallet): add arbitrum token
fixes #6620
2022-08-02 11:17:33 +02:00
Anthony Laibe 168aae40da feat(@wallet): make goerli default testnet 2022-07-29 11:01:19 +02:00
Anthony Laibe 499b9bd09e feat(@test): Add test for watch only account 2022-07-22 09:20:55 +02:00
Patryk Osmaczko c1872b4e1d bump DOtherSide 2022-07-22 09:03:57 +02:00
Michal Iskierko 4cd9e0c96e chore(@desktop): Bump status-go version
Issue #6395
2022-07-15 16:08:25 +02:00
Anthony Laibe cd5042e389 feat(@wallet): multi transaction 2022-07-15 12:48:23 +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
Anthony Laibe ff12c85f07 fix(@wallet): move estimation time to status-go 2022-07-12 14:44:06 +02: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
Stefan a710558c6b chore(CPP): foundation for user onboarding
Contains minimal account creation and login

Considerations:

- migrated status-go wrapper and login code from the fix/cpp-structure (241eec)
- Minimal refactoring and changes at the moment. Expect further refactoring
follow up to reach the desired state.
- Fix missing keychain initialization
- Fix accounts DB initialization call done by startup -> Controller.openedAccounts -> status-go.OpenAccounts calls
- Small refactoring and todos for other steps
- fix SignalsManager
- fix async access to dereferenced status-go memory from SignalsManager
- fix SignalsManager not starting when registering
- finish dev end to end test for create account and login
- small improvements and added TODOs for future work
- add onboarding test helpers and start messaging test
- Refactoring towards Login UI integration

Closes: #5909
Closes: #6028
2022-07-07 23:23:09 +02:00
Anthony Laibe 97a553ff8c chores(@general): bump status-go 2022-07-07 11:47:22 +02: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
MishkaRogachev 5c6b5f1f47 feat(Communities): support tags in community edit page
Close #6089
2022-07-04 18:53:48 +03:00
Anthony Laibe ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Stefan c296fa21bc chore(CPP) install conan dependencies in CI 2022-07-01 16:57:51 +02:00
Stefan 1e8c851283 chore(CPP): Basic project configuration setup using Qt6
Considerations

- Use versioned files. Versioned Qt CMake APIs are disabled to force explicit calls and say that we don't support older `QT`s
- Don't use blobbing. Use `target_sources` and `qt_target_qml_sources`
- Distribute `CMake` definitions closer to the context: main folders with their own `CMakeLists.txt`
- Everything in libraries under `Status` namespace for cleaner code.
- Includes are exposed with Module folder externally and without prefix internally
- File/Folders name matches definitions they contain for uniformity that leads to cleaner code
- All source files (cpp, qml, js ...) have to be added to one of the CMakeLists.txt files to be tracked by CMake build system.
- Use BUILD_DEBUG, BUILD_RELEASE and BUILD_DEVELOPMENT variables from Helpers library
- Avoid Include directories. Not needed anymore CMake `target_*` APIs handles this through `INTERFACE`, `PUBLIC` and `PRIVATE` scope identifiers
- `StatusQ` is meant to be compiled as an external library, therefore StatusQ tests are kept inside its own directory
- Forced CMake version to `3.21` for the latest features and fixes. It is desired to be kept as recent as possible due to its backward compatibility. Following Qt's shipped version might be an option
- Depends on status-go changes to allow forcing of arm for apple silicon

Found limitations to CMake Qt API with Qt 6.3

- Having `0` as major version when using `qt_add_qml_module` doesn't work. Qml engine reports loading the `qmldir` but won't load the plugin library and no error is reported outside that exposed types are not found.
- `qt_target_qml_sources` doesn't work now, it generate a double copy error when deploying qml files in bin-directory. For now we stick with adding files using `qt_add_qml_module` central place
  - Need to add `OUTPUT_DIRECTORY` to `qt_add_qml_module` to use the workaround
- If `MACOSX_BUNDLE` target property is set breaks importing of QML files. Disabled until fixed or workaround found
- For an unknown reason application executable tries to include the `QML_ELEMENT` include files, therefore for now I include all the C++ qml elements in INTERFACE
2022-06-30 12:16:33 +02:00
Richard Ramos 813cddfb1f feat: support compressed pubkey mentions 2022-06-29 08:20:39 -04:00
MishkaRogachev e30ba7e760 feat(@community): Add tags to communities
Close #5680
2022-06-24 19:44:35 +03:00
Boris Melnik 58eff9adf2 fix(communities): Fix broken `Request to join required` property
Closes: #6073
2022-06-21 13:55:57 -04: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
Richard Ramos 1046d6ab4d chore: bump status-go 2022-06-17 12:27:54 -04: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
Iuri Matias c292956f8e chore(@desktop): update dotherside 2022-06-14 16:44:36 -04:00
Alexandra Betouni 50722148c6 fix(StatusChatInput): Updated text mark down rules and formatting
Closes #6030
2022-06-14 16:44:36 -04:00