Commit Graph

801 Commits

Author SHA1 Message Date
Stefan a0170a3fda feat(wallet) propagate multi-transaction ID to Nim
Bump status-go to include the propagation of multi-transaction ID for status-go APIs

Also

- Add leftover fix from SendModal layout

Updates: #7663
2023-03-02 14:25:53 +04:00
Jacek Sieka 1856c9de93 remove task-runner dependency
As of #9596, task-runner is no longer used.

Due to how the build system works, task-runner was providing nim-stew,
nim-bearssl and nim-chronos to the project, even though these are also
top-level dependencies - effectively this means there were multiple
versions of these libraries in the source tree and it is not entirely
intuitive which is actually used - adding to the confusion, the
submodule was pinning different versions.

This PR removes task-runner and resets the other dependencies to the
versions in task-runner thus minimising collateral changes.

A duplicate copy of bearssl is also removed.
2023-03-01 10:20:45 -05:00
Sale Djenic bf9b709cc8 feat(@desktop/keycard): recover an account fetching previously backed up data from waku
Closes: #8920
2023-03-01 13:20:14 +01:00
Alex Jbanca d059fb7e1f chore(nimqml): Bump nimqml 2023-02-28 18:37:34 +02:00
Anthony Laibe 7d9a6f5a71 feat(@wallet): add pokt network + fallbark 2023-02-28 09:12:05 +01:00
Sale Djenic c83794470b chore(keycard): sync keycard with the current app state updated
This commit resolves a crash happened due to connection to
`SIGNAL_WALLET_ACCOUNT_TOKENS_REBUILT` when keycard sync
flow was run in the background.

Also updated the keycard synchronization process with the current state of
the application and is the first step of many which leads towards completion
of entire syncing feature.
2023-02-27 17:02:47 +01:00
Michal Iskierko f51dba06df chore(@desktop): Upgrade status-go
Issue #9233
2023-02-27 11:01:35 +01:00
Alex Jbanca 4d8757a128 fix(NimThreadpool): Implement lightweight threadpool
Motivation: reduce memory usage. The previous implementation was using 400+ mb of memory for a threadpool with 16 threads.
2023-02-27 10:16:53 +02:00
Richard Ramos 93ef76c3e4 fix: record bigger than 300 bytes 2023-02-24 08:56:37 -05:00
Richard Ramos e8ed91b3ba chore: update status-go (go-waku 0.5.1) 2023-02-23 09:03:56 -05:00
Khushboo Mehta e4d03a903e fix(@desktop/wallet): Wallet -> Bridge: can't send txn with bridge, code 32000: not available for chainID
fixes #9483
2023-02-22 09:40:32 +01:00
Michał Cieślak 03e1636cff feat(StatusQ): Add cpp model utils to allow handling ListModel and generic QAbstractItemModel uniformly
Closes: #9562
2023-02-20 22:25:56 +01:00
Anthony Laibe 5a8bc256b3 feat(@general): lower case password 2023-02-19 11:43:27 +01:00
Dario Gabriel Lipicar 27b8180fdd feat(@desktop/Wallet): use new status-go currency formatting API
Fixes #9453
2023-02-17 13:06:52 -03:00
MishkaRogachev b70e1f0fb4 feat(ActivityCenter): Add indication for visited/unvisited AC state
Close #347
2023-02-17 16:13:43 +04:00
Stefan 3bb667bb7a feat(Wallet) cache fetched balance history to DB for efficiency
- Bump status-go head that include the required specific changes
  - fetch token balance (native or ERC20) and cache historical token quantity data
  - fetch FIAT currency
- Extend presentation layer (NIM and QML) to account for API changes
- Remove timed request and other optimizations from the time of fetching
  balance history every time instead of querying cache
- Add C++ integration debugging tests and update network chain configuration (outdated)

Closes: #8175
2023-02-15 18:52:37 +04:00
Richard Ramos 7c1b4e37f3 fix: invalid length of multiaddr field (but loaded succesfully anyway) 2023-02-14 12:01:39 +01:00
Michal Iskierko b77033ef1a chore(@desktop): Upgrade status-go
Issue #8921
2023-02-13 13:42:29 +01:00
Richard Ramos 81926de731 fix: panic when enr's multiaddr is empty 2023-02-09 10:25:30 -05:00
Khushboo Mehta 2004adafba fix(@deaktop/wallet): Fix transfer function amount
fixes #8813
2023-02-09 15:40:52 +01:00
Michał Cieślak 1481790183 chore(general): move cpp files of monitoring tool from DOtherSide to ui dir
Additionally bumps DOtherSide cmake min version to 3.19

Closes: #9472
2023-02-09 14:27:53 +01:00
Michał Cieślak 51afe05d3c chore(general): cmake include file defined for StatusQ sources
Closes: #9426
2023-02-09 13:41:15 +01:00
Michał Cieślak 940d8cd2c0 chore(general): Move RXValidator to StatusQ 2023-02-09 12:48:11 +01:00
Michał Cieślak f43c3e2f2b chore(general): Move StatusSyntaxHighlighter to StatusQ, remove mock from Storybook 2023-02-09 12:48:11 +01:00
Michał Cieślak 8f25b93f96 chore(general): Move QClipboardProxy to StatusQ 2023-02-09 12:48:11 +01:00
Michał Cieślak ad34694826 chore(general): Deduplicate and move StatusWindow to StatusQ 2023-02-09 12:48:11 +01:00
Michał Cieślak 3a07651dd8 chore(DOtherSide): Use SortFilterProxyModel from StatusQ
Previously DOtherSide was an external, standalone library with own
submodule for SortFilterProxyModel. After merging DOtherSide directly
to status-desktop it should be treated as a build tool or part of build
configuration. Instead of owning c++ files by itselft, DOtherSide should
refer to all needed c++ sources in order to compile them and build
status-desktop properly.

Removing SortFilterProxyModel submodule from original DOtherSide and
changing config after merge to status-desktop was needed to be done
along with merge itself because otherwise there would be a conflict -
both DOtherSide and status-desktop had the same submodule
(SortFilterProxyModel).

Closes: #9410
2023-02-09 12:48:11 +01:00
Michał Cieślak c0a1cd58ab Removing SortFilterProxyModel submodule to avoid conflict when merging with status-desktop 2023-02-09 12:48:11 +01:00
Lukáš Tinkl 3a52e5e593 fix: correctly parse the destination folder
when saving an image to file

NIM already pre-processes the path for us in `utils.formatImagePath`
2023-02-09 12:48:11 +01:00
Lukáš Tinkl e9bf6cdbde fix: download image is saving to wrong folder
this seems to only happen on some linux platform QPAs where the native
file/folder dialog is returning bogus target directory URL; anyways
manipulating the URL using a QRegExp is fragile, better use builtin QUrl
methods for that

Needed for fixing https://github.com/status-im/status-desktop/issues/9307
2023-02-09 12:48:11 +01:00
Alex Jbanca 4119528eb2 fix(macosCmake): Prepend .mm files in order to override cpp implementation 2023-02-09 12:48:11 +01:00
Michał Cieślak 0525490619 feat: Add additional utilities for real-time app inspection
- context properties names exposed as a model
- checking if object is a model
- exposing human-readable type name
- exposing role names for models

Closes: https://github.com/status-im/status-desktop/issues/8787
2023-02-09 12:48:11 +01:00
Michał Cieślak ce5561d3be feat: add basic tools for app real-time monitoring
Required by: https://github.com/status-im/status-desktop/issues/8786
2023-02-09 12:48:11 +01:00
Lukáš Tinkl 4977b7aa2c chore: fix build with Qt 5.14 2023-02-09 12:48:11 +01:00
Lukáš Tinkl 210552b927 fix(StatusSyntaxHighlighter): code block fixes
- make the code bg/fg color configurable
- simplify the code, no need for an extra helper class
- fix code(block) regexes

Needed for https://github.com/status-im/status-desktop/issues/8649
2023-02-09 12:48:11 +01:00
mprakhov dda5e100f6 chore: add QSettings beginGroup and endGroup 2023-02-09 12:48:11 +01:00
Lukáš Tinkl 68096fe9ab fix(SoundManager): use logarithmic sound volume scale
Needed for status-im/status-desktop#8426
2023-02-09 12:48:11 +01:00
Boris Melnik 555192427e fix(hunspell): Remove hunspell cos we not use it
Fixes: https://github.com/status-im/status-desktop/issues/8424
2023-02-09 12:48:11 +01:00
Michał Cieślak 2307356a54 fix: reuse QNetworkAccessManagers and pass cstr to lambda safely 2023-02-09 12:48:11 +01:00
Lukáš Tinkl a7e82bfec7 fix: stop leaking QNetworkAccessManager and its replies
this was a memleak and fd leak bomb resulting in the app not starting at
all:

```
(nim_status_client:342629): GLib-ERROR **: 11:16:11.873: Creating pipes for GWakeup: Too many open files
/home/jakubgs/bin/StatusIm: line 2: 342627 Trace/breakpoint trap (core dumped) appimage-run
~/Downloads/Status/StatusIm-Desktop-221206-082906-5ee51a.AppImage
```
2023-02-09 12:48:11 +01:00
Michal Iskierko b8fc19d38f chore(@desktop): Expose QTimer functions
Issue #6179
2023-02-09 12:48:11 +01:00
Pascal Precht b1823f12e5 refactor: default clipboard image base64 to JPG instead of PNG
Hardcoding this is already far from ideal. We should at least use the
same type that's later used in desktop before sending images to
status-go, **before** this gets fixed properly.

The next step will be to detect codecs and use them them dynamically.
2023-02-09 12:48:11 +01:00
Lukáš Tinkl f8767e0c5d fix(QClipboardProxy): return imageBase64 as a QString
for better interop with NIM/status-go
2023-02-09 12:48:11 +01:00
Pascal Precht be3baf4bca QClipboardProxy: add support for images, html and urls 2023-02-09 12:48:11 +01:00
Patryk Osmaczko 496cdd0645 fix: use QClipboard properly in QClipboardProxy
- constructor with connection was never called
- `textChanged` was never emitted
- `clipboard` member was uninitialized
2023-02-09 12:48:11 +01:00
Jonathan Rainville 23c13fd738 chore: hook into QT logs with qInstallMessageHandler
Fixes #8296

This makes the QML logs finally show on Windows
2023-02-09 12:48:11 +01:00
Lukáš Tinkl 39cce22001 feat: add RXValidator
a QRegularExpression validator with Unicode support

Needed for status-im/status-desktop#8115
2023-02-09 12:48:11 +01:00
Lukáš Tinkl c96e2601d0 feat: implement OS notifications on Linux
using "notify-send" wrapper

Related: status-im/status-desktop#2520
2023-02-09 12:48:11 +01:00
Lukáš Tinkl ec90b2107d fix: abort startup on QML errors
exit() the app immediately after encountering QML errors on startup

task: status-im/status-desktop#7013
2023-02-09 12:48:11 +01:00
Patryk Osmaczko eac67137c0 feat: add qml debugging
task: status-im/status-desktop#6973
2023-02-09 12:48:11 +01:00
Patryk Osmaczko 109e45966b feat: register SortFilterProxyModel types
- it allows to `import SortFilterProxyModel 0.2`

relates: status-im/status-desktop#6510
2023-02-09 12:48:11 +01:00
Patryk Osmaczko e5f0387ef6 chore(git): add vendor/SortFilterProxyModel
relates: status-im/status-desktop#6510
2023-02-09 12:48:11 +01:00
Alexandra Betouni 63b6e8c885 fix(StatusSyntaxHighlighter): Updated regex and text formatting
Closes https://github.com/status-im/status-desktop/issues/6030
2023-02-09 12:48:11 +01:00
Michal Iskierko e666ccf1ad feature(desktop/general): Showing number of all notifications on tray icon badge
Functionality added to OSNotification.
MacOS version.

Issue #4922
2023-02-09 12:48:11 +01:00
Sale Djenic 3487862d27 feat: url scheme event added 2023-02-09 12:48:11 +01:00
Sale Djenic fd4971b91d feat: get text from the clipboard 2023-02-09 12:48:11 +01:00
Khushboo Mehta b84216490c feat: add support for download and copy image by url 2023-02-09 12:48:11 +01:00
Alexandra Betouni 1008ea78b0 fix(chatinput/mentions) added clipboard proxy to prevent paste text missbehavior 2023-02-09 12:48:11 +01:00
Richard Ramos 18b87996eb fix: add system certificates 2023-02-09 12:48:11 +01:00
Richard Ramos 3c0761196d feat: dos_add_self_signed_certificate 2023-02-09 12:48:11 +01:00
Sale Djenic 84de33af4b feat: function to check if the app is active and make the app active are added 2023-02-09 12:48:11 +01:00
Sale Djenic 3d08d2536e feat: sound manager added 2023-02-09 12:48:11 +01:00
Sale Djenic 36167739e9 chore: registering types is done after `QGuiApplication` instantiation 2023-02-09 12:48:11 +01:00
Iuri Matias e2eaca42f8 fix rebase slipup 2023-02-09 12:48:11 +01:00
Andrei Smirnov a22f60222f QGuiApplication to not mess with QCoreApplication and QApplication 2023-02-09 12:48:11 +01:00
Sale Djenic 5dc926f665 feat(@desktop/general): (macos) Keychain manager added
LocalAuthentication class - used to authenticate OS' logged user (using Touch Id)
Keychain class - able to store/read/remove item from the Keychain
KeychainManager class - manages the flow of storing/reading/removing an item from
the Keychain using own sync/async methods

This change is required as part of the feature issue-2675
2023-02-09 12:48:11 +01:00
Sale Djenic 4d10692572 feat(@desktop/general): QSettings class exposed to nim 2023-02-09 12:48:11 +01:00
Sale Djenic ca536cf714 refactor(@desktop/general): status custom events and os notification moved to the status namespace
- DockShowAppEvent
- OSThemeEvent
- OSNotification
are now part of our `Status` namespace

Corresponding files are renamed and moved to appropriate Status folder.
2023-02-09 12:48:11 +01:00
Andrei Smirnov 15b44e7b8f fix(@desktop/systemtrayicon): using proper QApplication class 2023-02-09 12:48:11 +01:00
Michael Bradley, Jr e7ba842662 feat: expose from local file
And revise some naming re: "to local file".
2023-02-09 12:48:11 +01:00
Anthony Laibe 79681fccdb feat: expose to local file 2023-02-09 12:48:11 +01:00
B.Melnik cd82993bed feat(Spellchecking): Update Spellchecker
Closes: #3443
2023-02-09 12:48:11 +01:00
B.Melnik ec0b962bad feat(Spellchecker): Add spellchecker class 2023-02-09 12:48:11 +01:00
Andrei Smirnov 64c960fdb3 Passing custom events over single instance IPC 2023-02-09 12:48:11 +01:00
Andrei Smirnov ee4f152349 Fixing SingleInstance for *nix 2023-02-09 12:48:11 +01:00
Andrei Smirnov 31eb8d939d fix(@desktop/chat): proper font style for code blocks 2023-02-09 12:48:11 +01:00
Sale Djenic 80e2534df4 fix(@desktop/general): (windows) clicking push notification does expand the app but does not open correct channel/chat
Windows notifications added in a native way.
This change is required as part of the fix for ticket 2996.

Fixes: #2996
2023-02-09 12:48:11 +01:00
Sale Djenic db826f58cf fix(@desktop/general): (macos) clicking push notification does expand the app but does not open correct channel/chat
MacOS notifications handled in a native way.
This change is required as part of the fix for ticket 2996.

Fixes: #2996
2023-02-09 12:48:11 +01:00
Sale Djenic 8599442510 chore(@desktop/general): CMake include files optimization 2023-02-09 12:48:11 +01:00
Andrei Smirnov c38a360e74 Added UI scale factor logic. 2023-02-09 12:48:11 +01:00
Khushboo Mehta 2bf1bfb30d feat: Adding API's for copying/downloading an image 2023-02-09 12:48:11 +01:00
Alexandra Betouni 08a8c0cc98 fix(desktop/chatinput) Adding custom syntax highligher for text formatting in chat input
Closes #39
2023-02-09 12:48:11 +01:00
Sale Djenic f0e3f04994 fix(@desktop/general): Changing System Appearance on the fly is not working
This is corresponding dotherside part of the issue 1725.

So far we had kind of a memory leak, cause objects added to the filter were not
deleted ever. When the app is closing, it just removes filters, but doesn't
delete them.

I faced a logical issue, that we were sending qmlengine pointer to the
installEventFilter method, instead object which may or may not rely on the
qqmlengine instance, that is fixed also.

Fixes: #1725
2023-02-09 12:48:11 +01:00
Andrei Smirnov cba2e276b2 Introduced SingleInstance class 2023-02-09 12:48:11 +01:00
Andrei Smirnov 8c095ec628 feat: single instance check for StatusWindow 2023-02-09 12:48:11 +01:00
Richard Ramos 1c3bbe1b8e feat: add parameter to make the translation dynamic or not 2023-02-09 12:48:11 +01:00
B.Melnik 0d4916d033 fix: show status window in center 2023-02-09 12:48:11 +01:00
Andrei Smirnov d62b8ee921 Removed cmdline args passing to Qt 2023-02-09 12:48:11 +01:00
Andrei Smirnov fd1ed3eba8 Passing argc, argv to QGuiApplication 2023-02-09 12:48:11 +01:00
Andrei Smirnov 387f002c63 feat: QGuiApplication supporting icon() and installEventFilter() methods 2023-02-09 12:48:11 +01:00
B.Melnik 4be2340d3e feat: Add cutsom window without titlebar for osx 2023-02-09 12:48:11 +01:00
RichΛrd a1b7e70404 Removing unneeded file 2023-02-09 12:48:11 +01:00
RichΛrd 1b71929353 Removing unneeded file 2023-02-09 12:48:11 +01:00
RichΛrd be6a6167fe Removing unneeded file 2023-02-09 12:48:11 +01:00
Michael Bradley, Jr df8838703d fix: ..types.h -> ..Types.h
Some OS filesystems are case-sensitive.
2023-02-09 12:48:11 +01:00
B.Melnik fd4fc7c46d fix: move dock clicker too other files 2023-02-09 12:48:11 +01:00
Boris Melnik bd668c0dfe Update README.md 2023-02-09 12:48:11 +01:00
Eric Mastro 1471e1c1a4 feat: add DockClicker event filter
Add an event filter to `qApp` that can detect a dock icon click (in macos) when the main window is hidden or closed.

Co-authored-by: Boris Melnik <82511785+borismelnik@users.noreply.github.com>
2023-02-09 12:48:11 +01:00
Michael Bradley, Jr 37ebdf58b9 fix: improve defensive cstring copying
Intended to prevent Nim from inopportunely garbage collecting cstrings passed
through signal_handler/dos_signal as they make their way back to the main
thread
2023-02-09 12:48:11 +01:00
Jacek Sieka 7793f6b6ec long long support
to correctly handle `int` vs `cint` in nim
2023-02-09 12:48:11 +01:00
emizzle a01981ed87 feat: Add QNetworkAccessManager and clearConnectionCache 2023-02-09 12:48:11 +01:00
Richard Ramos acf240f2a6 Creating a cache for network requests 2023-02-09 12:48:11 +01:00
Richard Ramos edb4b79e1b Make the scheme and path prefix optional 2023-02-09 12:48:11 +01:00
Richard Ramos c6081720e7 feat: get host, and update url 2023-02-09 12:48:11 +01:00
Richard Ramos 956f51d38a feat: obtain url from user input 2023-02-09 12:48:11 +01:00
Richard Ramos f2590b103f Add function to escape html 2023-02-09 12:48:11 +01:00
Richard Ramos 895e94d5e1 Add function to strip html tags 2023-02-09 12:48:11 +01:00
Richard Ramos 7a286e548e fix: creating a copy of signalstring 2023-02-09 12:48:11 +01:00
Richard Ramos 0b41a9b86d feat: specify tmp dir for images 2023-02-09 12:48:11 +01:00
Richard Ramos d613014606 feat: resize images 2023-02-09 12:48:11 +01:00
Jonathan Rainville 2dfb92a160 feat: add translation function on the engine 2023-02-09 12:48:11 +01:00
Richard Ramos 3cb8c466a4 Enable OpenGL 2023-02-09 12:48:11 +01:00
Richard Ramos 1d009fa376 print connection types 2023-02-09 12:48:11 +01:00
Richard Ramos 2d556fbc42 feat: create networkconfigurationamanager 2023-02-09 12:48:11 +01:00
Pascal Precht f2ce61142b feat: add clipboard support 2023-02-09 12:48:11 +01:00
Richard Ramos 0229edc410 feat: appname 2023-02-09 12:48:11 +01:00
Richard Ramos cac8fe48b2 feat: allow setting app icon 2023-02-09 12:48:11 +01:00
Richard Ramos 18cc92e028 feat: Enable HDPI 2023-02-09 12:48:11 +01:00
Ștefan Talpalaru e4d3e5f2bf .gitignore: add *.dylib 2023-02-09 12:48:11 +01:00
Ștefan Talpalaru 202f5cb7d6 more CMake options
- generic .gitignore entries for CMake projects
- generate a pkg-config file
2023-02-09 12:48:11 +01:00
Richard Ramos 18c55c5dcf feat: add signal handler for status-go 2023-02-09 12:48:11 +01:00
Michał Cieślak 561c60a0d0 Original dotherside repository up to 4d0d6a353c33ff2227b83562a127b3514a7e2169 2023-02-09 12:48:11 +01:00
Michał Cieślak 121c62bd9a Remove submodule vendor/DOtherSide 2023-02-09 12:48:11 +01:00
Stefan a57eb06240 test(wallet): fix user can manage and observe a watch only account
Bumps status-go to include the fix for not fetching balance for
overridden tokens

Add documentation on how to run wallet tests locally using ganache

Closes #9091
2023-02-08 19:52:37 +01:00
Sale Djenic 1818347da3 fix(@desktop/wallet): migrate non profile keypair and delete account fix
Due to changes done in https://github.com/status-im/status-go/pull/3133
we had to update procedure for adding migration keypair (which includes
local keystor files deletion for the accounts being migrated) and procedure
for account deletion, cause in order to delete local keystore file for the
acount which is being deleted, we have to provide a password now (states
only for non keycard accounts, keycard accounts use empty password).
2023-02-02 17:00:54 +01:00
Jonathan Rainville 18f9c29ef0 chore: up status-go (fix to contact migration) 2023-02-01 14:01:32 -05:00
Richard Ramos d6b595c062 chore: update status-go 2023-02-01 09:10:24 -05:00
Richard Ramos a8315dab42 fix: app freeze on logout 2023-02-01 09:34:53 -04:00
Anthony Laibe 45adf0f411 fix: update status-go 2023-01-30 14:11:42 +01:00
Sale Djenic 841a37e930 feat(@desktop/onboarding): `Lost Keycard` - start using account without keycard
This commit introduces:
- `Start using account without keycard` flow

Closes: #7642
2023-01-30 13:43:10 +01:00
Pascal Precht b00f0a80b5 Adjust import tool front-end to latest refactor
This adjust the front-end for the import tool by handling new
properties that have been added to the discord import progress signals.

Namely, the import is now done in chunks, so the progress signal
contains information about how many chunks have been processed.

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

Closes #9262 #9261
2023-01-30 13:28:06 +01:00
MishkaRogachev 128ac8dbd8 feat(ActivityCenter): Move AC notifications counting to status-go
Close #8074
2023-01-30 11:24:50 +04:00
Lukáš Tinkl 7ed5b0d0d6 fix(chat): Download image is saving to wrong folder
- fetch latest dotherside for the fix
- minor cleanup

Fixes #9307
2023-01-28 17:44:23 +01:00
Richard Ramos 8d75e7dced fix: cancel mailserver requests on shutdown 2023-01-25 09:08:32 -05:00
Richard Ramos 05c86e25aa chore: bump status-go to fix mailserver timeout 2023-01-23 15:48:13 -05:00
Pascal Precht 6293c8f21f chore: update status-go 2023-01-23 12:48:11 +01:00
Dario Gabriel Lipicar be26dc049b feat(@desktop/wallet) implement price cache 2023-01-20 08:55:10 -03:00
Dario Gabriel Lipicar 53ee992c25 feat(@desktop/wallet): implement unified currency formatting for transaction details
Fixes #9019
2023-01-20 08:55:10 -03:00
Richard Ramos 7adcbebb53 chore: bump status-go to restart discv5 on connection status change 2023-01-19 10:29:12 -05:00
Alex Jbanca 50b5442818 chore: bump vendor/DOtherside 2023-01-18 10:17:45 +02:00
Pascal Precht bf7148efd6 fix: make avatar info in replies of imported messages work again
Because we've switched to `QuotedMessage` as an attached payload to
messages to make message replies data more reliable, we lost some of
the author information in imported messages, that was available prior
to that move.

This commit introduces `quotedMessageAuthorDisplayName` and
`quotedMessageAuthorAvatar` to our model so it can be set in case
we can't retrieve contact details for a given message (which is always
the case for imported messages)
2023-01-17 12:48:56 +01:00
Michał Cieślak 22da265d78 feat(Monitoring): Backend's properties and models visualization
Closes: #8787
Closes: #8790
2023-01-16 14:46:58 +01:00
Sale Djenic cae2a5bea3 feature(@desktop/keycard): sync a Keycard state on every usage
Closes: #8759
2023-01-13 21:02:36 +01:00
Michał Cieślak e3e99c6a48 feat(general): Initial setup for app monitoring tool
Closes: #8786
2023-01-13 13:47:08 +01:00
Michal Iskierko 766496575e chore(@desktop): Upgrade status-go
Issue #6567
2023-01-13 12:33:08 +01:00
Dario Gabriel Lipicar 7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes #8640
2023-01-12 15:21:27 -03:00
Anthony Laibe e7b746795f feat(@wallet): multi tx approval/nonce 2023-01-12 13:33:29 +01:00
Patryk Osmaczko 110838814d chore: bump status-go 2023-01-12 08:52:41 +01:00
Jonathan Rainville 6d2ea528ac fix: up status-go to have community request fix 2023-01-11 14:26:04 -05:00
Lukáš Tinkl 6f1ecb9c8c fix(StatusChatInput): improve code highlighting in code snippet/blocks
- make the bg/fg color follow our current Style/Theme colors

Fixes: #8649
2023-01-10 15:21:45 +01:00
Jonathan Rainville b10d0a063e chore(status-go): up status-go (logs, group fix, others) 2023-01-05 16:32:29 -05:00
Dario Gabriel Lipicar 2999a7f932 revert: 3d22f4a86d3b0853e6a47c7d085b9311cc45f116
This reverts status-go commit 3d22f4a86d3b0853e6a47c7d085b9311cc45f116
2023-01-05 09:32:11 -03:00
Dario Gabriel Lipicar 63104bb81f fix: cannot expose a float qtproperty 2023-01-04 15:33:40 -03:00
Sale Djenic 8600ef35b3 feature(@desktop/keycard): generating addresses on a Keycard
Generating addresses was done on the status-go side, but now since `ExportPublic`
flow from the keycard library supports deriving addresses for list of derivation paths
we're using it in the desktop app for `SetupNewKeycardNewSeedPhrase` flow.
2023-01-04 14:24:55 +01:00
Sale Djenic 9d382b1c81 fix(storybook): profile fetching updated
Profile fetching page, which is part of onboarding flow, is updated so it matches
the latest figma changes now.
2023-01-04 11:15:58 +01:00
Anthony Laibe 2e65796a06 feat(@wallet): cbridge integration 2023-01-04 08:59:19 +01:00
mprakhov a7a69e1320 fix(@desktop/chats): restore last opened chat during app launch 2023-01-03 18:02:42 +02:00
MishkaRogachev f70ccfc17d fix(ActivityCenter): Add identity verification AC notifications 2022-12-30 12:13:42 +04:00
Khushboo Mehta f84404c956 feat(@desktop/wallet): Custom routing
fixes #8237
2022-12-21 19:25:11 +01:00
Pascal Precht 865ed32deb feat: introduce ability to @everyone
Closes #8479

This needs: status-im/status-go#3026
2022-12-21 10:19:48 +01:00
Jonathan Rainville b4e32ceaea chore(status-go): bump status-go (fixes emoji reactions)
Fixes #8689

This fixes the emoji reaction not showing, BUT also the delete, edits and pins. They were all not showing because the messages were not encrypted, so they didn't fall in the right topic
2022-12-15 11:35:46 -05:00
MishkaRogachev bc446f93b7 feat(Contacts): ContactVerificationRequestPopup reacts on model's update 2022-12-15 15:44:45 +04:00
Pascal Precht 6722531cde chore: update status-go 2022-12-14 15:35:59 +01:00
Sale Djenic 4b972acdd9 feature(@desktop/keycard): display keycards for the same keypair as a list in the keypair details view
Fixes: #8136
2022-12-14 08:22:12 +01:00
Jonathan Rainville 59a05243af fix(community): fix messages being gone when we re-join a community
Fixes #7512

The problem was twofold.
1. We didn't try to fetch the messages when we re-joined, since the cursor was not reseted
2. The messages are not longer in the DB since they get deleted on joining.

I fixed 1. by reseting the cursor on leave and calling fetch on spectate
I fixed 2. in the status-go PR so that we no longer delete the messages when leaving.
2022-12-12 10:47:17 -05:00
Lukáš Tinkl 668ea868c4 fix(notifications): The sound of notifications is harsh and annoying
Use logarithmic sound volume scale instead of linear when interpreting
the sound volume value

TLDR; we were literally overblowing the speakers with absolute sound
volume levels; for the whole story I recommend reading:
https://www.dr-lex.be/info-stuff/volumecontrols.html

Also play a sound preview when changing the volume in Settings

Needs https://github.com/status-im/dotherside/pull/83

Fixes #8426
2022-12-12 11:39:32 +01:00
Michał Cieślak a6c3af97cf chore: bump vendor/DOtherside
to fix the creation of many temporary QNAMs
and potential UB

Closes #8683
2022-12-08 12:12:08 +01:00
Anthony Laibe 56bd8c74b8 feat(@wallet): speed up add account
fixes #8571
2022-12-08 11:21:50 +01:00
Lukáš Tinkl 9391cabcba chore: bump vendor/DOtherside
to fix the QNAM memory/fd leaks

Closes #8667
2022-12-07 10:00:22 -05:00
Pascal Precht dd0c4ab03d chore: update status-go 2022-12-07 14:50:53 +01:00
Michal Iskierko e8764e7c06 chore(@desktop): Update status-go
Fix #7414
2022-12-06 11:14:23 +01:00
Sale Djenic 66c465713c chore(@desktop/keycard): point to new kc lib
- introduces `instance-uid` for all flows
- mnemonic length updated so it supports float and int
2022-12-02 17:26:06 +01:00
Anthony Laibe 1e086de456 feat(@wallet): move timer to status-go 2022-12-02 11:28:47 +01:00
Anthony Laibe 1238e91b09 feat: add wallet token integration 2022-12-02 11:28:47 +01:00
Anthony Laibe 0d217c0db0 feat: add wallet token integration 2022-12-02 10:17:47 +01:00
Pascal Precht d5db1e6356 Add banner that indicates history archive downloads are in progress
This needs: https://github.com/status-im/status-go/pull/2995
2022-12-01 18:01:27 +01:00
Khushboo Mehta 9ded9d4ffa feat(@deaktop/wallet): Add bridge view
fixes #8236
2022-12-01 17:15:55 +01:00
Richard Ramos 50b4dacfef feat: use identify protocol instead of separate wakuv2 nodeconfig items 2022-11-30 11:23:41 -04:00
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