Commit Graph

703 Commits

Author SHA1 Message Date
Anthony Laibe d9212565b7 feat(@settings): Add feature flag for multi network 2022-02-09 12:55:40 +01:00
Patryk Osmaczko ba7a6d5d34 style: remove trailing whitespaces 2022-02-09 11:16:23 +01:00
Jonathan Rainville 5d0eb942b0 fix(PrivacyView): [re-add] Fix relations between switch and line sensor
Fixes #4674

The part about profile image was already refactpred/fixed
2022-02-07 10:16:01 -05:00
Sale Djenic 5c034f545d chore(@desktop/general): add avatar change functionality
Fixes #4669
2022-02-07 08:16:44 +01:00
Jonathan Rainville 967fff839b feat(@desktop/settings): [re-add] Add developer mode toggle
Fixes #4700
2022-02-03 10:54:25 -05:00
Sale Djenic 0b3cafdbc4 fix(@desktop/settings-contacts): it is not possible to add new contacts after the first one is added
Fixes #4658
2022-02-03 15:40:54 +01:00
Noelia 50fb0dc45f fix(@desktop/CopyToClipboard): [base_bc] can't copy from Invite friends as well as App Version and Node Version
Root store propagation in order to use the global copyToClipboard method.

Modify InviteFriendsPopup to use StatusQ components.

Fixes #4529
2022-02-01 11:51:00 +01:00
Anthony Laibe 95f8a545d9 fix(@settings): fix privacy settings toggle
fixes #4598
2022-02-01 11:50:33 +01:00
Sale Djenic 69fc5bec5e refactor(@desktop/settings-ens-usernames): ens usernames module added and corresponding ui updated 2022-02-01 11:50:14 +01:00
Jonathan Rainville 565211f38f fix(chat): fix sticker button not showing + stickers not showing in chat
Fixes #4407
2022-02-01 11:49:14 +01:00
Sale Djenic f0ca1a4cc3 refactor(@desktop/general): many errors from the log are fixed
- various issues on app start in console
- various issues when logging out in console
- `node_section` module delete method error
- SyntaxError: JSON.parse: Parse error from the MessageStore
2022-02-01 11:49:04 +01:00
Richard Ramos 4cb3126513 refactor: mailserver_cycle (base_bc) 2022-02-01 11:49:01 +01:00
B.Melnik 0e5fbfb567 refactor(Node): move node to new architecture
Closes: #3805
2022-02-01 11:48:33 +01:00
Sale Djenic e220599612 refactor(@desktop/general): necessary changes applied due to refactored `Contacts` sub-section of the `Settings` section 2022-02-01 11:47:46 +01:00
Sale Djenic da6fe00528 refactor(@desktop/settings-contacts): contacts section updated 2022-02-01 11:47:46 +01:00
Sale Djenic 9b1e794e8f refactor(@desktop/settings-pivacy-security): privacy and security section updated 2022-02-01 11:47:43 +01:00
Sale Djenic 9a82370df0 refactor(@desktop/settings-profile): profile section updated 2022-02-01 11:47:24 +01:00
Sale Djenic 5bafb2bb5a refactor(@desktop/settings-appearance): appearance settings updated 2022-02-01 11:47:18 +01:00
Sale Djenic b4df87b7a6 refactor(@desktop/settings-language): language settings added 2022-02-01 11:47:18 +01:00
Sale Djenic 46869afa5f refactor(@desktop/settings-notifications): notifications settings added 2022-02-01 11:47:18 +01:00
Sale Djenic 0aa0d4fb8c refactor(@desktop/settings-sync): sync settings added 2022-02-01 11:47:14 +01:00
Sale Djenic 44ceb6730d refactor(@desktop/settings-devices): device settings added 2022-02-01 11:47:00 +01:00
Sale Djenic a6b8fbe4b3 refactor(@desktop/settings-advanced): hook to the toggled experimental features from the advanced tab added 2022-02-01 11:46:50 +01:00
Sale Djenic 7ea85097df refactor(@desktop/settings-about): fetching the latest version fixed
We're not fetching latest version for all but the `Mainnet` network, that
use case is taken from the old code.
2022-02-01 11:46:40 +01:00
Alexandra Betouni 3d4f2e26d0 refactor: fixed profile popup not opening 2022-02-01 11:46:39 +01:00
Boris Melnik 390ad7bbd0 fix(ChangePasswordSuccessModal): Add Theme usage to modal
Closes: #4174
2022-02-01 11:46:39 +01:00
Alexandra Betouni 0eb40287fa refactor: removed dynamic scoping from shared module
Properties and functions moved to Global:
- toastMessage
- openProfilePopup()
- getProfileImage()
- popupOpened

Closes #4248
2022-02-01 11:46:39 +01:00
Jonathan Rainville 710236f51a refactor(chat): refactor send messages to work 2022-02-01 11:46:36 +01:00
Alexandra Betouni b236bee5ca refactor: fix UI devices settings layout 2022-02-01 11:46:11 +01:00
Alexandra Betouni b5a591401e refactor: fix ui message preview is empty 2022-02-01 11:46:11 +01:00
Sale Djenic 63b4397670 refactor(@desktop/profile-advance): adding custom networks 2022-02-01 11:45:47 +01:00
Sale Djenic c7d53a31e0 refactor(@desktop/profile-advance): profile advance module introduced
New advanced module added as submodule of the profile section module.
Advanced store introduced on the qml side and qml part updated accordingly.
2022-02-01 11:45:32 +01:00
Sale Djenic 6e1438d241 refactor(@desktop/general): `globalUtils` instance added (changed old `utilsModel`) 2022-02-01 11:44:56 +01:00
Khushboo Mehta 1977420db2 refactor: remove dynamic scoping from profile module
closes #4247
2022-02-01 11:43:27 +01:00
Sale Djenic b3f8af8e06 refactor(@desktop/general): qml code referring to the old code base commented out
Qml code referring to the old code base commented out, but not deleted,
due to easier refactoring the rest of the app.
2022-02-01 11:42:42 +01:00
Sale Djenic e5a414a927 refactor(@desktop/chat-communities): qml part handles messages from refactored backend
- `chatType` added to `Constants` to group chat type related values
- `messageContentType` added to `Constants` to group message content type related
values
- `MessageStore` maintained per message list now
- added new `ChatContentView` component used to display chat/channel content
- components updated to display messages from the new backend
- `StatusChatToolBar` appropriately updated
- mute/unmute feature added to chat/channel list as well as to `StatusChatToolBar`
2022-02-01 11:41:22 +01:00
Jonathan Rainville a9c968b984 refactor(chat): refactor 1-1 chat to new architecture
Fixes #4225
2022-02-01 11:39:08 +01:00
Alexandra Betouni f0b39ce4f6 Refactor: Moved openPopup function to Global
The openPopup function was declared in AppMain
and used via dynamic scoping in many places in the
application. Moved function to Global component
and updated all places to call it via Global instead.

Closes #4267
2022-02-01 11:38:46 +01:00
Alexandra Betouni 336f90a60f feat(desktop/wallet) Removed dynamic scoping from wallet
Removed all dynamic scoping parts in wallet section plus

- Renamed Config to Global and added more functions there
- Moved changeAppSectionBySectionType function to Global
  and updated all places where is used to call it from
  Global instead
- Moved openLink function to Global and updated all places
  where is used to call it from Global instead
- Moved errorSound to Global, introduced playErrorSound
  function  and updated all places where is used to call
  this function from Global instead

Closes #4245
2022-02-01 11:38:27 +01:00
Sale Djenic c8b429388f refactor(user-profile): `name`, `icon` and `isIdenticon` properties added to global instance `userProfile`
Apart of all properties we have, now we have 3 new added props which will be used
almost always when we need the following details about logged in user:
- `name` - this will return an ens name in a pretty form or an alias if ens name
was not set (verified). Apart of this there are still `username` and `ensName`
properties for fetching them when it's needed.
- `icon` - this will return a thumbnail image if it's set, otherwise it will
return identicon. Apart of this there are still `identicon` and `thumbnailImage`
properties for fetching them when it's needed.
- `isIdenticon` - this will return `false` if a thumbnail image is set, otherwise
it will return `true`
2022-02-01 11:37:29 +01:00
Khushboo Mehta 1e30872a96 fix(@desktop/profile): Confirmation of contact added not shown on Add Contact Modal
fixes #4072
2022-02-01 11:35:24 +01:00
Jonathan Rainville eee096dda7 chore: remove old contacts code 2022-02-01 11:35:24 +01:00
Jonathan Rainville e8eefd8f87 refactor: move all old usages of contacts to the new code 2022-02-01 11:35:24 +01:00
Sale Djenic 6e3b065d34 refactor(@desktop/general): app sections handled within main module 2022-02-01 11:32:28 +01:00
Richard Ramos 81e122cb0c fix: registerEns parameter order 2022-01-31 17:57:52 -04:00
B.Melnik 8d27d784c1 feat(ProfilePopup): Add avatar change fucntionality
Closes: #3734
2022-01-25 10:25:03 +03:00
Patryk Osmaczko 7ca3766def fix(@desktop/settings): ensure new password is confirmed
The task status-im/StatusQ#393 should remove code duplication from here.

Fixes: #4375
Fixes: #4376
2022-01-17 13:09:15 +01:00
Boris Melnik f69db2c97b fix(PrivacyView): Fix relations between switches and line sensor and local settings. Add getter for profile images.
Closes: #4191
2022-01-16 22:15:05 +03:00
Richard Ramos e88a936193 refactor: mailserver cycle 2022-01-12 16:04:12 +00:00
Anthony Laibe 64edace12a feat: Use ens API 2022-01-03 10:35:22 +01:00
Anthony Laibe 60a3158cae feat(@desktop/settings): Add developer mode toggle 2021-12-10 10:20:58 +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
Richard Ramos 94d67717c8 fix: appimage freezes on login
Fixes #4189
2021-11-30 08:23:40 -04:00
Anthony Laibe 2d49da7331 feat: Allow to enable auto message 2021-11-29 14:46:38 +01:00
Alexandra Betouni c0450f0580 refactoring (desktop/chat) Message component
Moved Message component & dependencies  to shared
for usage import shared.views.chat 1.0 and accordingly
import shared.controls/panels.chat 1.0

Closes #3927
2021-11-24 13:15:15 +01:00
Sale Djenic cc5ccbc951 refactor(@desktop/general): qml updated according to the new `userProfile` instance 2021-11-24 13:15:15 +01:00
Anthony Laibe ebaa150082 fix(@desktop/tx): Fix tx modal 2021-11-22 10:04:12 +01:00
Richard Ramos 44e91df428 feat: add toggle for switching status-go DEBUG log level 2021-11-16 09:42:28 -04:00
Richard Ramos c9a0488e89 fix: waku2 lightmode selector 2021-11-16 09:26:03 -04:00
Khushboo Mehta 0c1dc30e5a fix(@desktop/onboarding): backup seed phrase flow is shown for recovered account
fixes #3954
2021-11-11 09:33:02 -05:00
Anthony Laibe f913dce44a feat: allow to enable/disable telemetry 2021-11-10 10:14:40 -05:00
Jonathan Rainville 499d99a185 fix(settings): fix whitelist setting that starts null 2021-11-05 15:38:36 -04:00
Pascal Precht 9adbd37729 refactor: replace StatusNotification with StatusMacNotification 2021-11-05 15:15:14 -04:00
Alexandra Betouni 74acb52408 fix(desktop/profileSettings) fixed sliders in appearance
Font and scaling Sliders were so tiny making it unable to
click and set value.

Depends on https://github.com/status-im/StatusQ/pull/477
Closes #3984
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
Jonathan Rainville 8aec0c62e7 refactor: re-enable async search of ENS names for contacts
Fixes #3986
2021-11-05 11:02:45 -04:00
Alexandra Betouni 848f21cd20 fixed url unfurling redirects to the wrong place 2021-11-05 11:02:45 -04:00
Pascal Precht 156bcdfc5d fix(@desktop/profile): make appearance view work in darkmode again 2021-11-05 11:02:45 -04:00
Pascal Precht 1964ac6dcb fix(@desktop/profile): make ens view work in darkmode again 2021-11-05 11:02:45 -04:00
Pascal Precht 96602ca443 fix(@desktop/profile): make sounds view work in darkmode again 2021-11-05 11:02:45 -04:00
Pascal Precht 71bd0c579c fix(@desktop/profile): make notifications view work in darkmode again 2021-11-05 11:02:45 -04:00
Pascal Precht df45a4b6db fix(@desktop/profile): make sync view work in darkmode again 2021-11-05 11:02:45 -04:00
Pascal Precht a25a3535c1 fix(@desktop/profile): make devices view work in darkmode again
When we switched to `StatusBaseText` we lost the default theme color.
We probably want to consider giving `StatusBaseText` a default theme color
similar to `StyledText` did.
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
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 50a3e5f346 refactor: dapps and permissions 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 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
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 48a39e4569 keychain feature refactored 2021-11-05 11:02:45 -04:00
Alexandra Betouni 426c116bac refactor(desktop) Made shared a QML module
Use it as import shared 1.0, import shared.controls 1.0
etc instead of import "../../../shared"

Closes #3934
2021-10-27 18:05:45 -04:00
Pascal Precht a12d047d77 refactor: replace StatusRadioButtonRow with RadioButtonSelector
This does a couple of things:

- It remove StatusRadioButton row from ui/shared/status
- Introduces RadioButtonSelector in ui/shared/controls instead
- That component is then built with StatusQ
2021-10-27 11:47:27 -04:00
Pascal Precht 72b46c3b94 refactor: remove/replace StatusContextMenuButton with StatusQ components 2021-10-27 09:52:40 -04:00
Alexandra Betouni 23811dc7e4 refactor(desktop/chat) Cleaning up views 2021-10-26 16:20:31 -04:00
Alexandra Betouni 22429689e3 refactor(desktop/chat) Cleaning up panels 2021-10-26 16:16:37 -04:00
Khushboo Mehta be7a56cc27 refactor: replace all the StatusImageIdenticon with StatusQ's StatusSmartIdenticon
closes  #3848
2021-10-26 19:23:33 +02:00
Khushboo Mehta 7114240e72 refactor: Replace and remove StatusRoundButton under ui/shared/status
closes #3898
2021-10-26 18:58:16 +02:00
Pascal Precht 2db77fa31c refactor: replace StatusIcon and StatusLoadingIndicator with StatusQ components 2021-10-26 10:47:47 -04:00
Pascal Precht cbbbedcc79 cleanup: remove legacy `StatusCheckbox` 2021-10-26 10:47:16 -04:00
Pascal Precht f3f5826c51 refactor(ui/shared): replace legacy StatusButton with StatusQ button 2021-10-26 16:07:56 +02:00
Khushboo Mehta 173943f1be refactor: replace StatusIdenticon with StatusSmartIdenticon
closes #3882
2021-10-26 09:30:18 -04:00
Khushboo Mehta 781f86bd60 refactor: Remove and update usage of StatusSlider to its StausQ Component
closes #3896
2021-10-26 09:16:36 -04:00
Khushboo Mehta ef4934cee4 refactor: Replace usage of StatusRadioButton under ui/shared to its corresponding StatusQ component
closes #3897
2021-10-26 14:37:15 +02:00
Khushboo Mehta d12aaec87e refactor: Remove and replace StatusSwitch from ui/shared/status 2021-10-26 14:33:55 +02:00
Khushboo Mehta 14b49b800a refactor: remove StatusIconButton from ui/shared/status
fixes #3832
2021-10-26 08:27:11 -04:00
Pascal Precht a8adc668e2 fix(ConfirmAppRestartModal): correct button type 2021-10-21 09:22:35 -04:00
Pascal Precht 44e43350f1 refactor(@desktop/profile): use StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Alexandra Betouni 9cc361c40a refactor(desktop/chat) Moving chat to new architecture
Closes #3710
2021-10-20 15:29:38 -04:00
Pascal Precht 20af5435a5 fix(@desktop/profile): fix bug in switch buttons for privacy settings
This bug was introduced with the profile refactor to use stores. Due to
copy and paste, the wrong expression is used in the settings to display chat
images. This commit corrects that.
2021-10-18 14:00:30 -04:00
Pascal Precht 166118d49c fix(@desktop/profile): make profile image work again
There is a bug in the store property accessed for the profile image.
This commit corrects it. It also ensures that the image source used in the
`ImageLoader` component is correct.
2021-10-18 14:00:09 -04:00
Pascal Precht 61ccf9c757 refactor: move `StyledText` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 638e91717e refactor: move `Separator` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 322a071aa3 refactor: move `SVGImage` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 4003f30d68 refactor: move `RoundedImage to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht fa3adb30e4 refactor: move `PopupMenu` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht e14616ee57 refactor: move `NoFriendsRectangle` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht cbfe90947e refactor: move `ModalPopup` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht bdc7c799d2 refactor: move `Input` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht c74e00379d refactor: move `ImageCropperModal` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 92a153fee5 refactor: move `GlossaryEntry` and `GlossaryLetter` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht ae31f7e1cb refactor: move `ConfirmationDialog` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 9fbf1587e1 refactor: move `BlockContactConfirmationDialog` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 00a61daabd refactor: move `Address` into ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 7e9570c83e fix(PrivacyView): remove chevrons from items where not needed 2021-10-14 11:05:37 -04:00
Pascal Precht 4e8f2303e6 refactor(@desktop/profile): introduce new QML and store structure in profile section
Closes #3712
2021-10-14 09:29:05 -04:00
¨Anthony 4c55ad26bb fix(@desktop/settings): Fix precision of volume
Also move soundtrack in assets and reuse audio component
2021-10-13 14:26:04 -04:00
Khushboo Mehta ee5fef7dda feat(@desktop/onboarding): refactor/restructure ui/onboarding to new architecture
closes #3799
2021-10-13 14:02:06 -04:00
Michele Balistreri 21b20fbc38 add feature switch for Keycard 2021-10-06 08:32:32 -04:00
Richard Ramos 2ccd7420c0 feat: wakuv2 rendezvous 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 b783e9a884 temporarily disable custom mailservers 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
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
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
Alexandra Betouni 46bdec6268 fix(desktop/profile) Bug in adding custom network
Network ID is not being displayed when adding a custom network
* Also replaced ModalPopup with StatusModal and other design
  related updates (eg top margins etc) in NewCustomNetworkModal.qml

Closes #3456
2021-09-17 12:58:02 -04:00
Khushboo Mehta 15a1646d4a fix(@desktop/profile): Blocked contacts counter doesn't show actual number
fixes #3421
2021-09-17 12:54:27 -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
Eric Mastro dbe9b54326 fix(@desktop/contacts): Double validation for incorrect ENS name
The string stored in the translation had been doubled-up, so when a validation error occurred, the doubled-up string appeared.

The fix removes the currently in use translation.
2021-09-17 10:17:15 -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
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
Pascal Precht 75b08df03d fix(@desktop/profile): add missing logout confirmation dialog
Closes #3423
2021-09-15 13:31:18 -04:00
Pascal Precht 33d800fcda refactor(ConfirmationDialog): change dialog to `StatusModal` 2021-09-15 13:31:18 -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 285f54dab6 EIP1559 2021-09-10 13:42:19 -04:00
Pascal Precht 40dd69ca80 fix(@desktop/profile): change headline to settings
Fixes #3429

fix(@desktop/profile): change headline to settings

Fixes #3429

rename profile section to settings
2021-09-09 14:52:41 -04:00
Alexandra Betouni 6514eb6c5c fix(desktop/wallet2) Updated wallet2 warning text
Also changed icon from wallet to cancel, to indicate
that the feature is incomplete

Closes #3431

fix(desktop/wallet2) Updated wallet2 warning text

Also changed icon from wallet to cancel, to indicate
that the feature is incomplete

Closes #3431

update wallet v2 description
2021-09-09 13:43:16 -04:00
Alexandra Betouni 87d0a87b59 fix(dektop/profile) Back up seed was gone
Brought back back up seed phrase indicator in profile
menu "Privacy and security"

Closes #3433
2021-09-09 13:27:50 -04:00
Andrei Smirnov 5ba1b8a13d Addressed PR feedback. 2021-09-02 15:58:13 -04:00
Andrei Smirnov 6b3ba88556 Added app restart confirmation modal 2021-09-02 15:58:13 -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
Pascal Precht 5b674cee5a refactor(ProfileView): use StatusQ components to render profile menu 2021-09-01 11:02:10 +02:00
Richard Ramos efcbb023a6 fix: message when username is locked, and remove preferred username when released 2021-08-31 12:04:03 -04:00
Richard Ramos 80343446ec feat: release ENS names 2021-08-31 12:04:03 -04:00
Anthony Laibe d0d4debdb4 fix(@desktop/wallet): Add wallet confirmation modal
For all actions related to the wallet, add a confirmation if the wallet
is not enabled

fixes #3258
2021-08-26 16:46:48 -04:00
Richard Ramos db3b7ecfd9 feat: Version Updating
Fixes #1290
2021-08-24 16:56:55 -04:00
Khushboo Mehta d4de0c25a4 fix(@desktop/profile): Enter key doesnt activate button
Added code so that in the backup seed phrase modal all actions can be performed with the enter key.
Also added logic for default focus on the confirm button in the ConfirmationDialog.

fixes#2359
2021-08-19 10:40:12 -04:00
Sale Djenic 04ca90a7d0 fix(@desktop/general): Changing System Appearance on the fly is not working
App is responsive to the OS theme change event.
Now we're following system set theme when the app is started.

Corresponding part on the side on nimqml is added.

Corresponding part on the side on dotherside is added.

On the side of dother side 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
2021-08-16 16:27:14 -04:00
Andrei Smirnov b7ca0aaf14 Addressed PR feedback 2021-08-16 15:32:21 -04:00
Andrei Smirnov 84472fbcb9 Removed odd Qt.callLater 2021-08-16 15:32:21 -04:00
Andrei Smirnov 8310a36bde feat(@desktop): change password 2021-08-16 15:32:21 -04:00
Anthony Laibe 28a4362b64 feat(@desktop/profile): handle blocked contact
fixes #3047
2021-08-16 14:03:52 -04:00
Richard Ramos eee22f1cc8 fix: display ENS on contact search results
Fixes #3045
2021-08-16 12:58:42 -04:00
Richard Ramos 50b6b59abf feat: add wallet v2 tab 2021-08-16 09:45:06 -04:00
Anthony Laibe 4958e4d941 fix(@desktop/settings): Enable stickers/ens on ropsten
fixes #911
2021-08-10 13:35:37 +02:00
Richard Ramos d1b46c0226 feat: selector for online or invisible state
Fixes #3126
2021-08-06 13:30:05 -04:00
Anthony Laibe 7df028df77 fix(@desktop/profile): Add scroll bar for advance settings 2021-08-06 12:33:44 -04:00
Anthony Laibe ca66d286f7 fix(@desktop/profile): fix click on contact
fixes #3158

First change area then activate the channel
2021-08-05 16:58:51 -04:00
Richard Ramos fda70c66b3 fix: code review 2021-08-05 15:12:34 -04:00
Richard Ramos 481184df25 fix: disable dynamic translations on linux 2021-08-05 15:12:34 -04:00
Anthony Laibe b3ea8f9502 fix(@desktop/profile): handle empty text in add contact properly
fixes #3046

also fix the fact that the query is only triggered when the text is changed
vs when pressing any key
2021-08-03 16:29:25 -04:00
Richard Ramos eb9734a72d feat: bandwidth stats
Fixes #2935
2021-08-03 15:41:56 -04:00
Richard Ramos 9204e409f3 chore: update translation files 2021-08-02 13:31:53 -04:00
Richard Ramos af6978a367 fix: various issues 2021-07-29 09:08:27 -04:00
Richard Ramos 2b1945425c fix: Display current user's ENS in profile and share URL
Fixes #2503
2021-07-29 09:08:27 -04:00
Sale Djenic 496d3c8441 fix(@desktop/chat): click on "Notification settings" doesn't take the user to that section
Click on "Notification settings" in activity center takes user to profile tab, but not to the
notification section there, but to the last selected section. That is fixed now. Also marking
selected section within profile section is fixed now.

Fixes: #3049
2021-07-29 09:05:16 -04:00
Richard Ramos 97f0a0435d refactor: SNT transaction modal (for buying sticker packs and ens) 2021-07-28 11:56:17 -04:00
Iuri Matias d7c368bcb6 bump to beta.11 2021-07-27 11:42:41 -04:00
Anthony Laibe 54570bce6e fix(@desktop/translation): update translation
fixes #2993
2021-07-23 16:35:23 -04:00
Anthony Laibe 58506fbd97 feat(@desktop/chat): Display gif popup next to emoji 2021-07-23 15:27:56 -04:00
Alexandra Betouni 03b0d272f9 [#2549] Muted contacts and chats modal was missing indicative text
Muted contacts and Muted chats modals were blank when
nothing added to list, added indicative text label

Closes #2549
2021-07-23 14:27:57 -04:00
Alexandra Betouni 03db6a4985 [#2707] Added "My Profile" button in new chat popup
My profile link was not shown when starting 1x1 chat
having someone in contacts as it is currently the case in
mobile app

Closes #2707
2021-07-23 14:19:33 -04:00
Richard Ramos 07c399530b fix: load old user status, and fix code review obs. 2021-07-22 13:48:53 -04:00
Richard Ramos 7aaca9ec4d toggle switch to control if status should be broadcasted or not 2021-07-22 13:48:53 -04:00
Richard Ramos c21f80e7da feat: select bloom filter level 2021-07-21 15:09:23 -04:00
Richard Ramos d8053f5291 fix: getNodeConfig 2021-07-21 15:09:23 -04:00
Richard Ramos 561991da67 Add wakuv2 fleets 2021-07-21 15:09:23 -04:00
Richard Ramos 6564bd8497 fix: make gas selector visible in transaction modals
Fixes #2434.  Modals that were affected by this issue were
- RegisterENSModal (for registeing an ens username)
- SetPubKeyModal (for changing the contact code of an already owned ens)
- StatusStickerPackPurchaseModal (for acquiring a sticker pack)
2021-07-20 10:29:54 -04:00
Sale Djenic 1acbc76cc9 chore(@desktop/general): run translation script
All untranslated properties are translated now using translation scripts.
2021-07-19 12:27:45 -04:00
Richard Ramos 2f2b3726df feat: waku bloom filter mode switch 2021-07-15 09:41:39 -04:00
Alexandra Betouni d866a9f59e [#2376] Removed invalid error message when adding new contact
* Also removed from adding new chat

Closes #2376
2021-07-14 18:21:19 -04:00
Anthony Laibe 869ae63518 fix(@desktop/profile): Unmuted chat from profile -> notification
fixes #2557
2021-07-13 17:20:13 -04:00
Jonathan Rainville 0368c0beaa fix(backup-seed): fix some wrong colors in the the backup seed modal 2021-07-12 17:11:28 -04:00
Richard Ramos 2fcbe4ac16 feat: user list 2021-07-07 06:19:41 -04:00
Andrei Smirnov d67bb1f999 Fixed #2151 - updated status icons. 2021-07-06 12:48:38 -04:00
Richard Ramos ba2b553d7c refactor: Profile 2021-07-02 08:51:30 -04:00
Andrei Smirnov 5d837c450c Fixed issues #2560, #2795, #2796. 2021-07-02 08:51:14 -04:00
Pascal Precht aa4bdaf910 refactor(ProfileLayout): make use of StatusQ layout components
Closes #2716
2021-06-30 15:08:26 +02:00
Iuri Matias 599bf731fb refactor: extract 'channels' to its own file 2021-06-18 12:12:01 -04:00
Iuri Matias 6bcdb9ca54 refactor wallet views
add getSettings methods to src/status

fix issue with calling getSettings; document issue

remove most direct references to libstatus; document some common issues

remove most references to libstatus wallet

add mailserver layer to status lib; remove references to libstatus mailservers

remove libstatus accounts references

move types out of libstatus; remove libstatus types references

remove libstatus browser references

refactor libstatus utils references

remove more references to libstatus stickers

remove references to libstatus constants from src/app

remove more libstatus references from src/app

refactor token_list usage of libstatus

refactor stickers usage of libstatus

refactor chat usage of libstatus

remove libstatus references from the wallet view

remove logic from ens manager view

fix issue with import & namespace conflict

remove unnecessary imports

refactor provider view to not depend on libstatus

refactor provider view

refactor: move accounts specific code to its own section

fix account selection

move collectibles to their own module

update references to wallet transactions

refactor: move gas methods to their own file

refactor: extract tokens into their own file

refactor: extract ens to its own file

refactor: extract dappbrowser code to its own file

refactor: extract history related code to its own file

refactor: extract balance to its own file

refactor: extract utils to its own file

clean up wallet imports

fix: identicon for transaction commands
Fixes #2533
2021-06-17 16:11:01 -04:00
Jonathan Rainville 933dbe9586 feat: add activity center switch to show and hide the bell icon 2021-06-15 13:14:19 -04:00
Iuri Matias 1c5dcd6265 update version 2021-06-02 16:41:33 -04:00
Jonathan Rainville bee54e628f feat(Activity center): add placeholder activity center
Fixes #2608
2021-05-31 15:54:18 -04:00
Jonathan Rainville 346cbd2433 disable accept and decline all buttons on empty list and join on approve 2021-05-28 13:31:33 -04:00
Jonathan Rainville a90257e141 feat: add setting for notifications on requests 2021-05-28 13:31:33 -04:00
Jonathan Rainville ecf8b241f0 feat: add setting to not receive contact requests 2021-05-28 13:31:33 -04:00
Jonathan Rainville 436cb42eae feat: add contact requests and handling of them 2021-05-28 13:31:33 -04:00
Richard Ramos 22839f177b feat: use new API for joining/leaving chats
Fixes #2526
Fixes #2487
2021-05-25 14:47:13 -04:00
Eric Mastro ee1287b71d fix: prevent crash on generate account wrong password
Fixes #2448.

Currently, if a wrong password is entered when generating a wallet account, the app will crash due to attempting to decode a `GeneratedAccount ` from an rpc response containing only an error.

With this PR, we are detecting if an error is returned in the response, and if so, raising a StatusGoException. This exception is caught in the call chain, and translated in to a `StatusGoError` which is serialised and sent to the QML view, where it is parsed and displayed as an invalid password error in the input box.

refactor: remove string return values as error messages in wallet model
In the wallet model, we were passing back empty strings for no error, or an error as a string. This is not only confusing, but does not benefit from leaning on the compiler and strong types. One has to read the entire code to understand if a string result is returned when there is no error instead of implicitly being able to understand there is no return type.

To alleviate this, account creation fundtions that do not need to return a value have been changed to a void return type, and raise `StatusGoException` if there is an error encountered. This can be caught in the call chain and used as necessary (ie to pass to QML).

refactor: move invalid password string detection to Utils
Currently, we are reading returned view model values and checking to see if they include a known string from Status Go that means there was an invalid password used. This string was placed in the codebased in mulitple locations.

This PR moves the string check to a Utils function and updates all the references to use the function in Utils.
2021-05-14 10:27:37 -04:00
Iuri Matias a2655c9b7b hide node tab toggle for now 2021-05-05 17:09:17 -04:00
Eric Mastro daabef3a3c fix: do not show watch-only accounts as “from address”
Fixes: #2257.

If a user had selected a watch-only address in the wallet, the backend `walletModel.currentAccount` property would also change. When loading a transaction modal, this property was used to set the `selectedAccount` value for the “from” `AccountSelector`, regardless if the account was a watch-only address.

This PR updates the logic for `selectedAccount` such that it will only allow the account to be selected if it is not a watch-only account.
2021-04-29 12:36:39 -04:00
Pascal Precht aa8d9a7f48 feat: introduce StatusLoadingIndicator component
A `StatusIcon` that rotates infinitely and can be used for indicating
pending states.

Usage:

```
StatusLoadingIndicator {
    width: 24 // default: 17
    height: 24 // default: 17
    color: "red" // default: loading asset color
}
```

This also removes `LoadingImage` component from `ui/shared`.

Closes #2360
2021-04-27 14:56:09 -04:00
Richard Ramos f01bbcb926 fix: seedphrase backup endless loop
Fixes #2232
2021-04-27 14:12:45 -04:00
Iuri Matias 093f7cff7a re-disable experimental features 2021-04-23 07:44:55 -04:00
B.Melnik 0e2ca770b8 feat: add confirmation dialog on experimental features enabling 2021-04-23 07:01:12 -04:00
Iuri Matias 079aa825cd update to 0.1.0-beta.9 2021-04-22 12:49:11 -04:00
Jonathan Rainville ea802a95d7 fix(TransactionModal): fix values oferflowing
Fixes #1872
Elides those values and adds a tooltip to show them completely
2021-04-20 13:20:34 -04:00
Pascal Precht c804bb243a feat: store appearance settings globally across accounts
As discussed in https://github.com/status-im/status-desktop/issues/2144#issuecomment-817791172 and https://github.com/status-im/status-desktop/discussions/2145, it's no longer desired
to have different appearance settings across multiple accounts.
Instead, the appearance setting should apply globally to all accounts,
essentially bypassing the individual setting stored in status-go.

This commit introduces a new global setting called `theme` which,
at the time of introducing this commit, can be either:

0 => Light
1 => Dark
2 => System

Because those enum values matches the `AppearanceContainer.Theme` enum,
this commit removes it completely and simply relies on QML's built-in
`Universal.[Light|Dark|System] variants respectively.

Closes #2144
2021-04-19 13:53:14 +02:00
Pascal Precht aeedc87368 feat: introduce global settings
This commit introces global settings that apply across accounts used
inside the application. This is useful when settings like the selected
locale should b the same across all accounts.

Closes #2144
2021-04-19 13:53:14 +02:00
Eric Mastro 707604f250 fix: SyncContainer “activeMailserver” error
There was a bad merge in PR #2225 that caused the QML propery `activeMailserver` in `SyncContainer` to be stripped out. This was causing an error in the console: `qrc:/app/AppLayouts/Profile/Sections/SyncContainer.qml:16: Error: Cannot assign to non-existent property "activeMailserver”`.

This PR adds the property back in and resolves the issue.
2021-04-15 11:00:07 -04:00
Pascal Precht 63bc6f0e53 chore: remove unnecessary splitview props 2021-04-15 10:12:50 +02:00
Eric Mastro e7571bd2a4 feat: Add Methuselah and Mailserver long-running task
Fixes #2143.

Methuselah is the a task manager for long-running tasks. It allows fo registration of workers that will each run in their own thead. Each worker can pass messages to and recieve messages from the main thread.

MailserverWoker was also introduced which moves all mailserver model logic to a MethuselahWorker. All communication to/from the model is done via a MethuselahTask. Results of the task are returned to the main thread by way of `signal_handler`, which calls the QtObject slot specified in the task.

Mailsever also provides a way for the model to emit events inside of the worker. These events are forwarded to the main thread via the `receiveEvent` slot of the `MailserverController`.

Co-authored-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2021-04-14 15:37:05 -04:00
Jonathan Rainville 988f0b9c57 fix: fix changing network because popup didn't open 2021-04-14 14:39:11 -04:00
Pascal Precht 57ac94c4ac fix(Profile): ensure profile popup has window
When the profile popup is opened inside the contacts list, it doesn't have
a surrounding window context (`Popup` types should usually be used within `ApplicationWindow`
or `Window` components as per https://doc.qt.io/qt-5/qml-qtquick-controls2-popup.html).

This is problematic when popup are nested, like it's the case with the
nickname popup that will be instantiated by the profile popup.
With no window context, such nested popup can't be opened by the application.

This commit ensures the profile popup is created with a proper context,
fixing the issue that the nickname popup won't open when visting via
contacts list.

Fixes #2216
2021-04-14 12:40:50 -04:00
Pascal Precht f88241e689 fix(ui): ensure icons in device container have proper theme color 2021-04-14 17:00:37 +02:00
Pascal Precht 78ce77c9c6 fix(ui): remove clip padding in profile section menu 2021-04-14 17:00:37 +02:00
Pascal Precht a243c04e29 fix(ui): use correct darkmode color for icons in profile section 2021-04-14 10:54:20 +02:00
Jonathan Rainville 8607251a6e fix: fix qml warnings 2021-04-13 17:49:43 -04:00
Jonathan Rainville bf67c941ff fix: improve profile sections min width and scaling 2021-04-13 15:05:51 -04:00
Jonathan Rainville 3fe9f6c6b8 fix: fix custom network modal not opening
Fixes #2179
2021-04-13 15:00:02 -04:00
Iuri Matias e68333fb07 update to beta.8 2021-04-12 14:26:30 -04:00
Jonathan Rainville b19ab8a03e update to beta.8.rc3 2021-04-06 14:35:52 -04:00
Iuri Matias 6417628531 update to beta.8.rc2 2021-04-02 11:15:25 -04:00
Jonathan Rainville c42bd1ea78 feat: add input to search and use ENS for community invite
fixes #2138
2021-03-31 16:25:24 -04:00
Iuri Matias 63b3ee3942 toggle browser settings 2021-03-31 15:35:04 -04:00
Iuri Matias fdf9d0b5ec fix blank sync settings 2021-03-30 15:36:09 -04:00
Iuri Matias 22370e0b34 update to beta.8.rc1 2021-03-26 15:30:40 -04:00
Jonathan Rainville 038ea033c9 feat: implement new dark theme colors for menu and more
Fixes #2094
2021-03-26 15:28:06 -04:00
Jonathan Rainville e0b8a74e29 fix: fix show tooltip under the version button because of small space 2021-03-25 16:57:47 -04:00
Jonathan Rainville d3dbab11d2 fix: fix settings menu overflowing 2021-03-25 16:57:47 -04:00
Jonathan Rainville 012b5dc8a0 fix: fix language list view scrollbar and binding loop 2021-03-25 16:45:56 -04:00
Iuri Matias 3813a1a330 fix language modal 2021-03-25 16:45:56 -04:00
Iuri Matias 5e0da7c1ec updated language modal 2021-03-25 16:45:56 -04:00
rinzlxr 0abaa61067 fix: typos and switch statement string literals
remove console log

fix last typo
2021-03-25 15:00:13 -04:00
Iuri Matias 857f0ac069 remove various titles from profile sections 2021-03-24 14:45:17 -04:00
Iuri Matias 3d2eaa3369 remove various titles from profile sections 2021-03-24 14:45:17 -04:00
rinzlxr 47ae3a4c16 ens section fixes
use the available dark image for ens section

add the image, ensure 624 widths and fix button

move common strings to constants and use number consts
2021-03-24 14:09:59 -04:00
Pascal Precht a030a4fadc refactor: make add new contact modal looks the same as new chat modal
Closes #1660 #2086
2021-03-22 15:55:13 -04:00
Pascal Precht d2b9d54c4b fix: ensure lists and radio button groups look concise throughout app
Fixes #1992
2021-03-19 16:17:14 -04:00
Pascal Precht 29c7f7b91d uiux(Profile): adjust layout max width of profile sections
Closes #1994
2021-03-18 14:50:58 -04:00
Pascal Precht b4389402e9
refactor: make use of StatusContextMenuButton 2021-03-18 10:03:08 +01:00
Jonathan Rainville f3b452188a chore: extract join.status link prefixes to Constants 2021-03-17 16:09:23 -04:00
Jonathan Rainville b9594591b0 fix: fix a lot of issues relative to dark theme
Fixes #1997
2021-03-16 17:22:58 -04:00
Jonathan Rainville 9d9b0ab5e6 fix: fix chat link preview modal
Fixes #2001
Fixes icons
Fixes Icon border
Fixes button hover
Fixes list scrolling and overflow
2021-03-16 17:20:12 -04:00