Commit Graph

1345 Commits

Author SHA1 Message Date
Richard Ramos a85ee8581a feat: show real sync date in "Fetch more messages" button 2022-01-03 21:12:28 +00:00
Richard Ramos f0ee4bb402 fix: code review 2022-01-03 13:01:06 +00:00
Richard Ramos c0108bd1bf chore: use TrustedMailServers from NodeConfig in mailserver cycle for wakuv1 2022-01-03 13:01:06 +00:00
Anthony Laibe 64edace12a feat: Use ens API 2022-01-03 10:35:22 +01:00
Richard Ramos 528210b50f fix: ensResourceURL 2021-12-22 16:13:23 +00:00
Richard Ramos f5d53f9112 refactor: move provider logic to status-go 2021-12-22 16:13:23 +00:00
Anthony Laibe 8bc678dacd feat(ens): new backend 2021-12-21 16:40:01 +01:00
Richard Ramos cebe20a152 fix: ensure the contact name contains an ens name
Fixes 4271
2021-12-10 12:44:05 +00:00
Anthony Laibe 60a3158cae feat(@desktop/settings): Add developer mode toggle 2021-12-10 10:20:58 +01:00
Jonathan Rainville 1a0fb268e3 fix(notifications): fix notification setup called too soon 2021-12-09 11:19:03 -05:00
Alexandra Betouni 5e88a9a91b refactor(desktop): Removed all timeline related code
Removed all timeline associated code from base_bc.
This feature is deprecated and shall be removed

Closes #4064
2021-12-03 19:55:45 +02:00
Pascal Precht 7aa777f2e3 feat: preserve app window size after resize
This adds the functionality that the application window size is saved in the
app settings, so that it restores the same size the next time the application
is started.

Closes #4120
2021-12-02 15:45:24 +01:00
Alexandra Betouni b4b28d2f98 feat(desktop/contacts) Improvements in contacts
Contacts updates currently in base_bc

Closes #4100
2021-12-01 20:51:06 +02:00
Anthony Laibe 2d49da7331 feat: Allow to enable auto message 2021-11-29 14:46:38 +01:00
Sale Djenic a01fdd29dd fix(account-service): preparing account settings object updated 2021-11-24 13:15:15 +01:00
Sale Djenic 484748314f fix(general): online/offline selector updated
Fixes: #4049
2021-11-24 13:15:15 +01:00
Khushboo Mehta 7ee7ba5ebe fix(@desktop/profile): Custom picture is not applied everywhere in the app without restart
fixes #4099
2021-11-24 13:15:15 +01:00
Khushboo Mehta 7c7b2eb34b fix(@desktop/profile): changing language does not change it in UI
A call to the init of the language service was missing.
Calling it during boot process reoslves the bug.

fixes #4104
2021-11-24 13:15:15 +01:00
Sale Djenic de9b475dd5 refactor(contact-service): `ContactsDto` images issue fixed
This affects app search, now chats in location menu as well as senders'
images of the displayed messages in the search result.
2021-11-24 13:15:15 +01:00
Sale Djenic f27a3cc8dc Change to the current `profileModule` 2021-11-24 13:15:15 +01:00
Sale Djenic 188d38be39 refactor(@desktop/general): identified user profile as new instance 2021-11-24 13:15:15 +01:00
Pascal Precht 338c7854b0 fix: ensure contact data is refetched when changes where made
Changes in contact data caused via calls to any contact related APIs wouldn't be
reflected in the UI because it doesn't re-fetch the updated state from status-go.

This commit makes the contactsService `fetchContacts` API public so it can be
used on the profile section control to re-fetch contact data when changes to
contacts have been emitted.
2021-11-23 14:01:26 -04:00
Alexandra Betouni f4a33036e6 fix(desktop/chat) Can't select emoji from the list
Setting's properties were moved to nim which doesn't
have support for arrays, thus properties recentEmojis,
hiddenCommunityWelcomeBanner,  hiddenCommunityBackUpBanners
and  whitelistedUnfurlingSites were not handled. Added
support for recentEmojis as well as the rest properties.

Closes #4102
2021-11-23 09:35:05 -05:00
Pascal Precht 71d2ab25c0 fix: make contact related APIs working again
This adjust the changes needed to have Status Desktop
talk to new contact related APIs that were introduced in status-lib
and status-go as of https://github.com/status-im/status-lib/pull/110

Closes #4147
2021-11-23 14:46:05 +01:00
Jonathan Rainville 0c84f5e90f chore(version): make the version changing more obvious 2021-11-19 10:06:40 -05:00
Richard Ramos a9a5469f72 fix
- missing account color and balance
- revoking permission on account change
- UI errors on message signing modal
2021-11-19 10:19:11 -04:00
Richard Ramos f9b08abd72 fix: review 2021-11-19 10:19:11 -04:00
Richard Ramos 1989ad7971 refactor!: provider transactions 2021-11-19 10:19:11 -04:00
Pascal Precht 14f75692c4 fix(Communities): ensure members count is updated when owner leaves community
When an owner of a community leaves its own community, we optimistically update the
members list in Status Desktop. The `LeaveCommunity` API that is called via status-lib
has been updated to correctly remove that member as well.

This depends on https://github.com/status-im/status-go/pull/2429

Fixes #4074
2021-11-18 11:05:06 +01:00
Pascal Precht 23b72a9e8d feat(ActivityCenter): allow users to mark notifications as unread
As raised in #3665, users aren't able to mark activity center notifications as unread.
The APIs for that didn't exist yet so they have been added in:

- status-go (https://github.com/status-im/status-go/pull/2383)
- status-lib (https://github.com/status-im/status-lib/pull/53)

respectively.

Closes #3665
2021-11-18 11:04:49 +01:00
Richard Ramos 44e91df428 feat: add toggle for switching status-go DEBUG log level 2021-11-16 09:42:28 -04:00
Anthony Laibe df670bfcbb fix(desktop/wallet): new account with error 2021-11-16 10:07:15 +01:00
Jonathan Rainville 2d0c95feb3 fix: fix adding custom tokens
Fixes #4040 for real this time
2021-11-11 09:58:05 -05:00
Anthony Laibe f913dce44a feat: allow to enable/disable telemetry 2021-11-10 10:14:40 -05:00
Richard Ramos 1315b0534d feat: mailserver signals and improvements
- Remove unneded mailserver request when joining a channel
- Add extra details to mailserver logs (request id, and num batches)
- Add signal emitted each time a batch is processed
2021-11-09 17:03:17 -05:00
Richard Ramos 50e8d0aa90 feat: prepare desktop for dogfooding
- Use go-waku fleet for rendezvous
- Use dns-discovery for obtaining fleet nodes
2021-11-09 15:54:20 -05:00
Jonathan Rainville 480219b823 fix(wallet): fix getting balance of custom tokens
Fixes #4040
2021-11-05 15:31:32 -04:00
Jonathan Rainville 894e57fbdb fix: context menu losing data and group info being empty sometimes 2021-11-05 14:42:44 -04:00
Sale Djenic d53548f68c fix(@refactoring/base_01): crash on recovering account
Fixes: #3953
2021-11-05 14:16:09 -04:00
Jonathan Rainville ffa9a93042 fix(wallet): fix gas estimation 2021-11-05 14:10:29 -04:00
Jonathan Rainville 9448cd7fd4 fix(wallet): fix account selector in the SendModal 2021-11-05 14:10:29 -04:00
Pascal Precht 7416294513 fix(Communities): ensure community channels have community color
Fixes #3985
2021-11-05 11:02:45 -04:00
Jonathan Rainville ac823079ac fix(profile): fix changing language
Fixes #4000
2021-11-05 11:02:45 -04:00
Jonathan Rainville cd428678f7 fix(profile): fix profile pic change and move it to new architecture
Fixes #3997
2021-11-05 11:02:45 -04:00
Anthony Laibe 64d2c03e40 fix(@desktop/wallet): display STT token by default on test nets 2021-11-05 11:02:45 -04:00
Pascal Precht 7fcd280fe0 fix(@desktop/wallet): ensure NFT background colors are rendered correctly
Also adjust margins of collectible items to adhere to designs.

Fixes: #3981
2021-11-05 11:02:45 -04:00
Jonathan Rainville 8dcc63bdf6 refactor: make tx history fetch async again 2021-11-05 11:02:45 -04:00
Jonathan Rainville 8aec0c62e7 refactor: re-enable async search of ENS names for contacts
Fixes #3986
2021-11-05 11:02:45 -04:00
Sale Djenic f788242c95 fix(@refactoring/base_01): button `I have a Keycard` displayed when it's not enabled 2021-11-05 11:02:45 -04:00
Sale Djenic 4c96bc70ed refactor(@desktop/general): dto should not be `ref object` 2021-11-05 11:02:45 -04:00
Anthony Laibe 59f604349c refactor(@wallet/desktop): refactor wallet with new architecture
refactor: wallet: connect current account

refactor(@wallet): load collection and connect to store

refactor(@wallet): add boilerplate for accounts creation/generation

refactor(@wallet): watch account

refactor(@wallet): Add account generation

refactor(@wallet): display all accounts

refactor(@wallet): switch account

refactor(@desktop): update current currency

refactor(@desktop/wallet): token action

refactor(@desktop/wallet): Add update account

refactor(@desktop/wallet): filter chat account from wallet

refactor(@desktop/wallet): Update currency attribute

refactor(@desktop/wallet): Fix display of various balances

refactor(@dekstop/wallet): handle current account changed

refactor(@wallet/desktop): add notify event on main section

refactor(@desktop/wallet): Push events from service

refactor(@desktop/wallet): handle all tokens event

refactor(@desktop/wallet): refresh accounts on event

refactor(@wallet/desktop): formatting of currency balances

refactor(@desktop/wallet): load collectible

refactor: refactor wallet transaction history to the new architecture

update status-lib

refactor: add back events for the transaction history

refactor: support multiple accounts in the transaction history
2021-11-05 11:02:45 -04:00
Iuri Matias 7be5572ede add privacy module 2021-11-05 11:02:45 -04:00
Iuri Matias 7c8f3f5923 add mnemonic module 2021-11-05 11:02:45 -04:00
Iuri Matias 4b10d26865 add language section & service 2021-11-05 11:02:45 -04:00
Richard Ramos be5ac485da remove old permissions file 2021-11-05 11:02:45 -04:00
Richard Ramos 50a3e5f346 refactor: dapps and permissions 2021-11-05 11:02:45 -04:00
Richard Ramos a156a8be1e fix: wrong service method signature 2021-11-05 11:02:45 -04:00
Richard Ramos c0d87dd063 refactor: provider pt1 and dapp permissions service 2021-11-05 11:02:45 -04:00
Jonathan Rainville 1d0b20b156 refactor: refactor contacts sub-section to the new architecture 2021-11-05 11:02:45 -04:00
Sale Djenic 8c3c4d7607 refactor(@desktop/general): code cleaned app after `accountSettings` and `globalSettings` moved to Nim
Since we have `accountSettings` and `globalSettings` available on both sides Nim
and qml, we don't need `src/app_service/service/local_settings/service` any more.
Indeed it has never been a service logically, but we made it as service according to
the old code base.

Accessing any of local setting instances is easy doable from any part of the app just
using `singletonInstance` and appropriate settings from it.
2021-11-05 11:02:45 -04:00
Sale Djenic 3f6bb66536 refactor(@desktop/general): `globalSettings` moved to Nim 2021-11-05 11:02:45 -04:00
Sale Djenic f0b2ed6cca refactor(@desktop/general): `appSettings` moved to Nim 2021-11-05 11:02:45 -04:00
Iuri Matias 4e3ecbf4b5 add profile section
add profile module

add boilerplate for profile section

add profile module

add profile module

fix variant

 use accounts service

get identityimage to work

cleanup

add other contacts services

add contacts service

make contact section compile with refactor

fix controller and service interfaces

add about section
2021-11-05 11:02:45 -04:00
Richard Ramos 70c1095b60 refactor: creating module for bookmarks and provider 2021-11-05 11:02:45 -04:00
Anthony Laibe 5b1510313a fix: loading service without error 2021-11-05 11:02:45 -04:00
Anthony Laibe a7a56cf471 refactor(@desktop/wallet): connect ui and account token 2021-11-05 11:02:45 -04:00
Anthony Laibe 6a1923abcf refactor(@desktop/wallet): Add walletaccount to more module 2021-11-05 11:02:45 -04:00
Anthony Laibe 4bc61134c4 refactor(@desktop/wallet): Connect list account and qml 2021-11-05 11:02:45 -04:00
Anthony Laibe 4bbf19c470 refactor(@wallet/desktop): bind new token list to qml 2021-11-05 11:02:45 -04:00
Anthony Laibe 142d2a9188 refactor(@desktop/wallet): enable check recent history 2021-11-05 11:02:45 -04:00
Anthony Laibe b7eaef8a84 refactor(@desktop/wallet): load account list 2021-11-05 11:02:45 -04:00
Anthony Laibe 7e22ff161c refactor(@desktop/wallet): add balance and price 2021-11-05 11:02:45 -04:00
Anthony Laibe b01e20302b refactor(@desktop/wallet): build wallet account token 2021-11-05 11:02:45 -04:00
Anthony Laibe b050796fc8 refactor(@desktop/wallet): add visible property to token 2021-11-05 11:02:45 -04:00
Anthony Laibe 0d129fa7fd refactor(@desktop/wallet): Add settings service and to module 2021-11-05 11:02:45 -04:00
Anthony Laibe 5d523b739e refactor(@desktop/wallet): Add eventemitter 2021-11-05 11:02:45 -04:00
Anthony Laibe 072b36e672 Fix rebase 2021-11-05 11:02:45 -04:00
Anthony Laibe a876a4b9ce refactor(@desktop/wallet): Add wallet account service 2021-11-05 11:02:45 -04:00
Anthony Laibe 1828029ab2 refactor(@desktop/wallet): Add collection/item/collectibles module 2021-11-05 11:02:45 -04:00
Anthony Laibe c97138c1dd refactor(@desktop/wallet): Attach utils data to main account 2021-11-05 11:02:45 -04:00
Anthony Laibe 0b38ec2568 refactor(@desktop/wallet): Connect backend to collectible service 2021-11-05 11:02:45 -04:00
Anthony Laibe 20a636d912 refactor(@desktop/wallet): Init collectible service 2021-11-05 11:02:45 -04:00
Anthony Laibe 8203643f86 refactor(@desktop/wallet): Init transaction service 2021-11-05 11:02:45 -04:00
Anthony Laibe 27d92f32f9 refactor(@desktop/wallet): Add getToken and controller 2021-11-05 11:02:45 -04:00
Anthony Laibe d9b6153ed0 refactor(@desktop/wallet): add token service 2021-11-05 11:02:45 -04:00
Anthony Laibe 32cfe03880 refactor(@desktop/wallet): Add transaction model/item 2021-11-05 11:02:45 -04:00
Anthony Laibe 1088669a6e refactor(@desktop/wallet): Add account tokens model/item 2021-11-05 11:02:45 -04:00
Anthony Laibe 9e6a1bdf57 refactor(@desktop/wallet): Add token view/model/item 2021-11-05 11:02:45 -04:00
Anthony Laibe ad7b6f7087 refactor(@desktop/wallet): init boilerplate code for wallet section 2021-11-05 11:02:45 -04:00
Sale Djenic b2f2801d3d Missed "loginCompleted" signal added.
It will be removed at the end of refactoring phase, when everything is done,
but now we need it to init all parts of the app correctly.
2021-11-05 11:02:45 -04:00
Sale Djenic 07f1510dd3 Fixed issues after rebase to the `refactoring/base` branch. 2021-11-05 11:02:45 -04:00
Sale Djenic 162ced9c38 Local account settings is not part of the `local_settings` service any more,
cause it logically doesn't belong there as it is not a service. It is a global
instance, exposed to the UI (qml) part. Since it represents QSettings it should
be maintained from the single point.
2021-11-05 11:02:45 -04:00
Sale Djenic 37e9150021 Cleaning up the code, and removing leftovers 2021-11-05 11:02:45 -04:00
Sale Djenic 72197f86f5 Accounts service is cleared if on NodeStopped signal 2021-11-05 11:02:45 -04:00
Sale Djenic 11cdd608f3 Log out the app on NodeStopped signal 2021-11-05 11:02:45 -04:00
Sale Djenic 48a39e4569 keychain feature refactored 2021-11-05 11:02:45 -04:00
Sale Djenic 44ba3f43f7 Local account settings exposed to the UI 2021-11-05 11:02:45 -04:00
Sale Djenic 08e7fef491 keychain feature partly refactored 2021-11-05 11:02:45 -04:00
Sale Djenic 3e0d312fee Events class is forwarded instead of whole AppService 2021-11-05 11:02:45 -04:00
Sale Djenic c3a374c36a Local settings service moved to AppController.
Old ProfileController and related props moved to AppController in order
to have an usable app during refactoring of onboarding/login modules.
2021-11-05 11:02:45 -04:00
Sale Djenic 7568880f26 quick fix for `production is not defined` error 2021-11-05 11:02:45 -04:00
Sale Djenic 4f3ca4eb78 login process refactored 2021-11-05 11:02:45 -04:00
Sale Djenic 8974a8db5e selecting among multiple accounts on login added 2021-11-05 11:02:45 -04:00
Sale Djenic 30f11c06d4 onboarding process updated, import account feature handled 2021-11-05 11:02:45 -04:00
Sale Djenic e9bb9b256e Onboarding creating new account process updated. 2021-11-05 11:02:45 -04:00
Sale Djenic a945275d3f Registering context property moved from constructor to the load method for each module. 2021-11-05 11:02:45 -04:00
Sale Djenic cc20c234e0 Community section as an identified module's type is removed since community
section is nothing else but the special kind of chat section module type. The
rest of the code is updated accordingly.
2021-11-05 11:02:45 -04:00
Sale Djenic 05705f219d Module organization change due to Nim limitations.
Parent modules are exposed to submodules using their base class instead of
concepts, since using concepts is not possible to create a second level nested
modules.
2021-11-05 11:02:45 -04:00
Sale Djenic 9f4eeffdea A base structure for new architecture added
Initial structure for MainModule containing ChatSectionModule and
CommunitySectionModule is added, as well as initial structure for
StartupModule containing OnboardingModule and LoginModule.

Order of execution is updated and adapted to the current app state.
Main module gets loaded once a user is successfully logged in.
2021-11-05 11:02:45 -04:00
¨Anthony a715c6b62e refactor(@desktop/ens): Keep only one ens view
Once refactoring with module this should probably be attached to main
or to something common to all module since it is accessed in low level part
of the app accross multiple section
2021-10-26 08:15:36 -04:00
Pascal Precht b8ecc3e0bf fix(Communities): preserve channel position after editing
Turns out we've been accidentally resetting the channel's `position`
property to `0` by not sending it over to status-lib's underlying
`editCommunityChat` API.

This fixes it by using a newer version of status-lib which supports
the `position` paramter in `editCommunityChat` and then sending that
value along from the edit channel popup.

Fixes #3672
2021-10-08 13:33:42 +02:00
Michele Balistreri 4aec7db317 add authenticate 2021-10-06 08:32:32 -04:00
Michele Balistreri 3016fd4ec1 make pairing work 2021-10-06 08:32:32 -04:00
Michele Balistreri 101e77cc14 continue flow implementation 2021-10-06 08:32:32 -04:00
Michele Balistreri 5cf58a78e5 implement pairing storage 2021-10-06 08:32:32 -04:00
Michele Balistreri ce1be698a6 handle signals and card states 2021-10-06 08:32:32 -04:00
Michele Balistreri a22d936df7 update Jenkinsfile 2021-10-06 08:32:32 -04:00
Michele Balistreri 7d8be3fc40 start implementing keycard onboarding flow 2021-10-06 08:32:32 -04:00
Michele Balistreri 03c0a85aee update Dockerfile, status-lib 2021-10-06 08:32:32 -04:00
Michele Balistreri 0535886e6c use status.keycard 2021-10-06 08:32:32 -04:00
Michele Balistreri 8f9d300312 add keycard-go to makefile 2021-10-06 08:32:32 -04:00
Michele Balistreri 1e4dc0acbf test connection/disconnection events 2021-10-06 08:32:32 -04:00
Michele Balistreri 303e40bdcf card connection prompt 2021-10-06 08:32:32 -04:00
Michele Balistreri 2a027d44d0 add insert card dialog 2021-10-06 08:32:32 -04:00
Michele Balistreri 3d46e62345 draft authentication dialogs 2021-10-06 08:32:32 -04:00
Richard Ramos 0fd3182899 refactor: contacts-perfomance 2021-10-05 16:15:29 -04:00
Anthony Laibe a189b0d72b refactor: Update permission backend 2021-10-05 16:15:29 -04:00
Anthony Laibe 8fab06494a refactor: Add view with new eth backend 2021-10-05 16:15:29 -04:00
Anthony Laibe f4e3a1effc refactor: profile types
Also group import together and start local import with ./ so that we
know it is not a lib
2021-10-05 16:15:29 -04:00
Richard Ramos a5d48a20b3 feat: wakuV2 light client mode 2021-10-05 16:15:29 -04:00
Richard Ramos f3f0987d43 fix: wakuV2 mailserver cycle 2021-10-05 16:15:29 -04:00
Richard Ramos eac373600e fix race condition by setting the peers on init 2021-10-05 16:15:29 -04:00
Richard Ramos 4fa2f5c472 feat: connected/disconnected status with wakuV2 2021-10-05 16:15:29 -04:00
Richard Ramos 350472ed03 fix race condition by setting the peers on init 2021-10-05 16:15:29 -04:00
Richard Ramos d0514f366d feat: connected/disconnected status with wakuV2 2021-10-05 16:15:29 -04:00
Anthony Laibe 22e8c8a7ff fix(@desktop/profile): Split account and profile settings
Avoid to reveal which alias own which settings. The only settings
pre-login available is the storeToKeychain

Ideally we should also encrypt the profile settings
2021-10-01 10:29:05 -04:00
Anthony Laibe a44822d7f6 fix(@desktop/profile): Fix loading the correct settings
Since #e0c53b7012354023e367c33093598f7523063aa6 settings where loaded
according to the username while they should be loaded after the public
key

As the public key is only available once the login happened, it needs
to be set when the profile is being initialized
2021-10-01 10:29:05 -04:00
Anthony Laibe 3acabfd2a8 refactor: ensure settings is accessed via model 2021-09-30 16:37:07 +02:00
Michael Bradley, Jr c9319c3968 refactor: remove unused imports of nbaser and nim-base32
Closes #1268.

Another PR in the status-im/status-lib repo will be needed to close related
issue https://github.com/status-im/status-lib/issues/56.
2021-09-29 13:51:56 -04:00
Anthony Laibe 3fa328f8b8 Fix: loading bookmark from type 2021-09-29 11:57:01 -04:00
Alexandra Betouni 4ee21ada05 feat(desktop) Added image function in Style
Introduced Style.svg() Style.png() Style.emoji() and
Style.icon() in Style.qml. Those should be used to
set the source in Images instead of using relative
paths. Usage:
Image {
   source: Style.svg("check)
   ....

Also moved all Singletons inside a new "utils"
folder and made it a QML module, to use
import utils 1.0 instead of relative paths

Closes #3678
2021-09-28 15:28:00 -04:00
Anthony Laibe 1ae0b91014 refactor: gif store return object 2021-09-28 15:27:38 -04:00
Anthony Laibe 336ea968de refactor: browser use object 2021-09-28 15:25:57 -04:00
Anthony Laibe d519843e52 refactor: contact store use object 2021-09-28 15:23:40 -04:00
Anthony Laibe 1cea69b331 feat(@desktop/wallet2): Toggle network 2021-09-28 15:20:43 -04:00
Richard Ramos 85250211ea feat: add mailserver request signals 2021-09-28 14:55:37 -04:00
Richard Ramos f43a1a65ea fix: message history issues
- Display loading indicator on login when mailserver messages are requested
- Fix bug where the mailserver that's selected as soon as you login is disconnected while being still in the process of connecting instead of waiting until 10s have passed to try connecting to a different mailserver
- Use status-go version that fixes an issue fetching mailserver messages when more than 999 messages are being verified if they're in the cache
2021-09-28 14:26:19 -04:00
Anthony Laibe 3660bad243 fix(@desktop/wallet): emit wallet2 event
fixes #3659

Wallet2 needs its own event otherwise they wallet1/2 mixes
and as not everything is implemented in wallet2, it crashes
In this particular case, the account is added into wallet1 but trigger
an event intercepted by wallet2, wallet2 doesn't have the new account
and crash
2021-09-23 13:36:36 -04:00
Sale Djenic f54f3a61bf fix(@desktop/chat): removing contact results in the same contact's contact request showing up again
Fixes: #3418
2021-09-22 15:27:52 -04:00
Anthony Laibe 83a0ea391d feat(@desktop/wallet): Add chain id to internal API 2021-09-22 14:17:49 -04:00
Andrei Smirnov d6d4ae5c79 fix(@desktop/notifications): fixing wrong mentions counting 2021-09-21 11:08:38 -04:00
Eric Mastro 233d1f4da4 fix: block/unblock contacts not persisting
Fixes: #3473.

Sometimes when blocking users and changes channels, blocked user messages would still appear.

This PR fixes the issue by toggling a `hide` property on  messages from a contact when that contact is blocked or unblocked. Previously, the messages were only removed from the view when the contact was blocked, but when the view was reloaded, that state was not tracked correctly.
2021-09-21 09:53:15 -04:00
Sale Djenic 0c73febf2c fix(@desktop/chat): channel links sends to main public channel instead of a channel in that community
In case clicked channel:
- exists in a community -> the app will switch you to it
- doesn't exist in a community, but exists in the public chat list -> the app
  will switch to `Chat` section and also to the appropriate channel there
- doesn't exist in a community and doesn't exist in the public chat list -> the app
  will switch to `Chat` section and join new channel

Fixes: #3489
2021-09-20 17:34:38 -04:00
Iuri Matias 9204d495c6 update call to get contacts api 2021-09-20 12:42:32 -04:00
Khushboo Mehta 2515f12c3b fix(@desktop/chat): Push notification body contains only chat key when user is mentioned
fixes #3347
2021-09-20 12:42:32 -04:00
Anthony Laibe 442280f957 feat(@desktop/wallet2): Enable multi chain for collectible 2021-09-20 12:30:39 -04:00
Pascal Precht 1bca5ee174 fix(@desktop/chat): ensure replacement of mentions with pubkey works in communities
There were two issues why mentions didn't work in communities:

1. The function that replaces mentions with pubkey looked in the wrong place
2. The same function always prepented `userName` with `@` which isn't always necessary

This commit fix this by ensuring the replacement function looks in the community memberlist
instead of a messageList and also by checking if a `userName` already starts with a `@`
and only prepends it if not.

Fixes #3492
2021-09-20 09:58:26 -04:00
Anthony Laibe d804e15f27 fix(@desktop/contacts): Keep only one contacts list
fixes #3485
2021-09-20 09:52:24 -04:00
Michael Bradley, Jr 6625ae38be feat(desktop/profile): add link in advanced settings so log directory can be opened directly
Closes #3509.
2021-09-20 08:58:19 -04:00
Eric Mastro 9854a49a44 feat(wallet2): introduce saved addresses
Closes #3307.

WalletV2 view can be toggled between normal wallet view and the SavedAddresses view.

Users can load, add, edit, and delete saved addresses.

Favouriting a saved address is out of scope, as is sending to a saved addresses, drilling down in to a saved address, and supporting multiple networks.

Updates components that utilised the StatusMinLengthValidator component to support the changes made to StatusQ.

### Notes
1. Depends on status-go PR https://github.com/status-im/status-go/pull/2356
2. Depends on StatusQ PR https://github.com/status-im/StatusQ/pull/394.

# Conflicts:
#	src/app/wallet/v2/view.nim
#	ui/app/AppLayouts/WalletV2/WalletV2Layout.qml
2021-09-20 08:32:56 -04:00
Khushboo Mehta e6f8a79f67 fix(@desktop/communities): Fix for app doesn't preserve selected community chat
fixes #3486
2021-09-17 13:15:31 -04:00
Richard Ramos 214069cb25 feat: display mailserver interactions 2021-09-17 13:14:01 -04:00
Sale Djenic 8af104a16e feat(@desktop/onboarding): support (optionally) OS keychain to login password
This feature works for MacOs only, for now.

On login, whether new or already created user may select between options:
"Store" - store password to the Keychain
"Not now" - don't store it now, but ask next time again
"Never" - don't store them ever and don't ask again

Selected preference may be changed later in:
`ProfileSettings > Privacy and security > Store pass to Keychain`

On the next app run, if `Store` was selected, a user will be asked to confirm
his identity using Touch Id in order to log in the app. If any error happens
he will be able to login using password.

Fixes: #2675
2021-09-17 12:45:34 -04:00
Sale Djenic e0c53b7012 refactor(@desktop/general): managing local settings added on the nim side
From now on we are able to access local settings (settings and global settings)
on the nim side, not only through the qml.

This change is required as part of the feature issue-2675.
2021-09-17 12:45:34 -04:00
Anthony Laibe 974e53f3cb feat(@desktop/wallet2): Add network select 2021-09-16 17:35:58 -04:00
Anthony Laibe 5ce06a94cc feat(@desktop/chat): download messages
fixes #3508
2021-09-16 16:37:58 -04:00
Richard Ramos dc8294b6bd fix: display current active mailserver
Fixes #3505
2021-09-16 16:29:33 -04:00
Khushboo Mehta b9073919cb feat(@desktop/wallet2): Added traits for the opensea Assets
fixes #3435
2021-09-16 15:39:10 -04:00
Richard Ramos 1db9e1b151 chore: remove unused imports 2021-09-16 14:56:25 -04:00
Richard Ramos 03eed589a9 feat: display logs in node management section 2021-09-15 16:04:28 -04:00
Alexandra Betouni 22994a4a14 feat(desktop/profile) adding password changed modal
Implemented new change password succcess confirmation
popup

Closes #3432
2021-09-15 15:20:33 -04:00
Andrei Smirnov d159c0e61c feat(@desktop/deep-links): integrated deep links with single-instance IPC 2021-09-15 14:30:34 -04:00
Andrei Smirnov a4df3c644b Lock on DATADIR, not app dir 2021-09-15 12:18:09 -04:00
Andrei Smirnov 10de9fc0c1 Rebased 2021-09-15 12:18:09 -04:00
Pascal Precht 315c4014a7 fix(@desktop/profile): show ENS username in profile page if available
Closes #3424
2021-09-15 06:45:58 -04:00
Richard Ramos 8e80497cdc fix: set preferred username 2021-09-15 06:45:26 -04:00
Iuri Matias 3b4d6ade7d rename libstatus to statusgo_backend 2021-09-11 17:51:52 -04:00
Iuri Matias 17f8abb250 name utils import due to conflict 2021-09-11 08:45:49 -04:00
Khushboo Mehta 35e15f7ed0 feat(desktop/wallet): Adding Setttings tab in wallet 2
Added nim api's to get the account signing phrase

fixes #3303
2021-09-10 14:27:33 -04:00
Richard Ramos 285f54dab6 EIP1559 2021-09-10 13:42:19 -04:00
Richard Ramos daa0865885 refactor: moving OPENURI constant back from status-lib to app 2021-09-10 11:56:27 -04:00
Richard Ramos a13a0e0d3a refactor: extract app constants from status-lib to desktop 2021-09-10 11:56:27 -04:00
Anthony Laibe 22831f124f feat(@desktop/wallet2): Fetch networks on wallet init 2021-09-09 17:49:23 -04:00
Andrei Smirnov 0528f5d933 Fixed link structure for 1-1 chats 2021-09-09 16:53:09 -04:00
Andrei Smirnov a3368b091e Fixing rebase. 2021-09-09 16:53:09 -04:00
Andrei Smirnov 03022742d8 feat(@desktop/Windows): status-im:// protocol support and installer fixes 2021-09-09 16:53:09 -04:00
Andrei Smirnov d80034e0c4 fix(@desktop/communities): processing response from InviteUsers call 2021-09-09 15:17:16 -04:00
Richard Ramos d32c3e53d9 refactor: signal handling 2021-09-09 14:35:51 -04:00
Richard Ramos 32049aa928 refactor: extract status to separate repository 2021-09-08 15:52:43 -04:00
Richard Ramos b4a209e17c fix: membership requests dissapearing on a community update
Fixes #3315
2021-09-08 14:55:15 -04:00
Sale Djenic 7c812c0961 refactor(@desktop/general): move Qt logic out of src/status library
Since `src/status` was Qt dependant part because of the following foundation files:
- /src/status/tasks/marathon/mailserver/controller.nim
- /src/status/signals/core.nim
- /src/status/tasks/marathon/mailserver/events.nim
- /src/status/tasks/qt.nim

and because logic related classes like:
- /src/status/chat.nim

this commit made that part Qt independant.

New layer `src/app_service` is introduced and above mentioned foundation files
are moved there. As well as corresponding logic for requested services.

Communication between logical parts on the high level is as follows:
- `src/app` => `src/app_service` => `src/status` => `src/app`
- `src/app` => `src/status` => `src/app`

Fixes: #3376
2021-09-08 14:09:21 -04:00
Sale Djenic 7bbfba7fb3 feat(@desktop/wallet2): implement buy crypto feature
If user wants to buy/sell crypto, popup modal list will be displayed so he may
choose which service to use for that action.

Fixes: #2120
2021-09-07 14:18:14 -04:00
Sale Djenic 2177e06d95 chore(@desktop/wallet2): wallet2 controller added
Wallet2 related classes added to `src/status` and `src/status/wallet2`.
`src/app/wallet/v2` classes updated accordingly.
2021-09-07 14:18:14 -04:00
Sale Djenic 71360d4362 chore(@desktop/general): json common properties moved to the more general location 2021-09-07 14:18:14 -04:00
Andrei Smirnov 3902ddf002 fix(@desktop/updates): using timeout when checking for new version 2021-09-07 10:27:48 -04:00
Anthony Laibe 4bef4533b6 fix(@desktop/chat): do not crash when deleting a message
fixes #3387
2021-09-07 10:27:05 -04:00
Sale Djenic a591e91a2e fix(@desktop/general): clicking push notification does expand the app but does not open correct channel/chat
Logic for adding os notifications for Windows and  MacOs added.

Fixes: #2996
2021-09-06 16:39:37 -04:00
Andrei Smirnov 979fea1cee Bugfixes 2021-09-02 15:58:13 -04:00
Andrei Smirnov f74d1a67a5 fix(@desktop): various UI scaling fixes 2021-09-02 15:58:13 -04:00
Andrei Smirnov 68d34e5706 fix(@desktop/chat): edit channel modal to show up-to-date values 2021-08-31 14:33:56 -04:00