Commit Graph

517 Commits

Author SHA1 Message Date
MishkaRogachev e67d649c46 feat(desktop): New invite to community popup with message 2022-08-12 11:54:51 +04:00
Sale Djenic 505b242246 fix(@desktop/keycard): implement new keycard factory reset flow
This partially covers factory reset flow. The part where user is able to select which accounts
wants to remove/keep from/on a keycard will be added later once we add the keycard settings part
for storing those data to a keycard.

Fixes: #6790
2022-08-11 13:57:37 +02:00
Richard Ramos 148c677b66 fix: ens details view 2022-08-08 20:42:56 -04:00
Michał Cieślak 8d3f1a88a4 fix(Communities/ChatsList): chats order updates handled correctly, subitems reordering fixed
fixes #6292
2022-08-08 15:04:58 +02:00
Michal Iskierko 8b09eec506 feat(@desktop/chat): Handle group chat colors changes
Use new status-go function to update group chat details.
Changes in RenameGroupPopup to handle choosing colors and images.
Changes in EditCroppedImagePanel to handle background component.

Issue #5982
2022-08-08 11:10:54 +02:00
Michał Cieślak 36acf3bc30 fix(community): Remove " You" suffix from the current user name
fixes: #6455
2022-08-08 10:38:12 +02:00
Sale Djenic 55cb3c3757 fix(@desktop/onboarding): startup stuck when entering wrong password
Fixes: #6812
2022-08-05 10:57:50 -04:00
Mikhail Rogachev f50bfdc581 Remove commented code 2022-08-05 17:15:38 +03:00
MishkaRogachev 3afa49a873 fix(@dektop/chat): Fix messages timestump update
Close #6543
2022-08-05 17:15:38 +03:00
Michał Cieślak c834bde150 fix(Communities/ChatsList): chat model reordering refactored, updates fixed
fixes: #6597, #6722
2022-08-04 22:44:46 +02:00
Sale Djenic 70a1381e86 chore(@desktop/onboarding): splash screen used as app loading animation
Fixes #5753
2022-08-04 09:50:04 +02:00
Sale Djenic db44bc25d3 feat(@desktop/keycard): initial keycard implementation
Keycard implementation affected onboarding/login flows.
- new user - first run - new keys into keycard
- new user - first run - import seed phrase into keycard
- old user - first run - login importing from keycard
- login the app using keycard

Fixes: #5972
2022-08-04 09:50:04 +02:00
Khushboo Mehta e5358bf29a fix(@desktop/wallet): Implements basic collectible view
fixes #6492
2022-08-03 10:11:09 +02:00
Michal Iskierko 92c1e9ce18 feat(@desktop/chat): Add sections to members tab of the community management
Add tabs: "All members" and "Banned"
Add unban functionality

Issue #5979
2022-08-03 09:48:09 +02:00
Patryk Osmaczko 43de90e80e feat(settings): add alpha and beta language sections
closes: #6662
2022-08-02 17:27:32 +02:00
Jonathan Rainville 3de0c699e3 fix(chat_section): reset activeItem when the last channel is removed
Fixes #6536
2022-08-01 10:18:39 -04:00
Jonathan Rainville 16b2ca5c2c feat(contacts): add respond to request and pending contact menu options
Fixes #6251

Adds the "Respond to Contact Request" and "Contact Request Pending" options to the MessageContextMenu

Also fixes some small issues with contact verification where the state of the incoming request was not correct
2022-07-29 09:43:35 -04:00
Patryk Osmaczko 5b51a7ce81 chore(settings): fix naming: locale->language 2022-07-27 14:22:50 +02:00
Patryk Osmaczko 8798f785f6 chore: add missing events object to language service 2022-07-27 14:22:50 +02:00
Lukáš Tinkl fa93b08064 hotfix(nim): Can't start the app
remove duplicate nim slot; looks like a rebase gone wrong

Fixes being unable to build/start the app

Closes #6599
2022-07-25 10:51:31 +02:00
Boris Melnik 52b0112a0f fix(ContactRequests): Fix accept and reject pending requests functions
Closes: #6261
2022-07-24 12:31:19 -04:00
Sale Djenic f9244e2c9f fix(@desktop/onboarding): Onboarding/Login flow improvements
- startup, login and onboarding modules merged into the single one
- `State` class introduced which is the base class for all states, every state
  determines what is the next state in each of 3 possible actions, and what
  is the previous state, if it has previous state
- `StateWrapper` class is introduced as a convenient way to expose
  `State`'s props and deal with them on the qml side
- startup module maintains states as a linked list and there are few convenient
  methods to move through the list `onBackActionClicked`, `onNextPrimaryActionClicked`
  `onNextSecondaryActionClicked`, `onNextTertiaryActionClicked`
- redundant code removed

Fixes: #6473
2022-07-22 08:13:27 +02:00
Jonathan Rainville e5f9177bcd fix(community-chat): don't switch to the first channel when reordering
Fixes #6574
2022-07-21 17:18:40 -04:00
Khushboo Mehta 91eb1a7969 feat(@desktop/profile): Adapt view for settings as pre new design
fixes #5725
2022-07-21 15:06:01 -04:00
Michał Cieślak d0125c86b5 fix(@desktop/chat): endless search when user has no chats or communities 2022-07-21 18:32:49 +02:00
Pascal Precht 95a1945bff fix: handle sync currency settings
This updates the desktop client with a newly emitted currency settings
that might originate from synchronization

Partially addresses #5201
2022-07-20 13:49:18 -04:00
Patryk Osmaczko d68833c7a5 chore(settings): add and populate SIGNAL_LOCALE_UPDATE
task: #6416
2022-07-20 13:19:31 +02:00
Patryk Osmaczko 13a6407a75 feat(settings): introduce language model
task: #6416
2022-07-20 13:19:31 +02:00
Alexandra Betouni 7e7200b4bf fix(AppSearch): search location wasn't updating correctly
Closes #6426
2022-07-19 11:37:27 +03:00
Sale Djenic 73abf3a982 fix(@desktop/notifications): nothing happens after clicking on any notification
Fixes: #5935
2022-07-15 16:56:48 +02:00
Michal Iskierko 9ef807277e fix(@desktop/chat): Fix accepting and rejecting requests
Adding try/catch in a service
Fix naming in QML

Fix #6395
2022-07-15 16:08:25 +02:00
Khushboo Mehta 35a5ab57f0 feat(@desktop/wallet): Implement the advanced/custom view with simple same network transfers
fixes #6268
2022-07-14 16:28:38 +02:00
Anthony Laibe ff12c85f07 fix(@wallet): move estimation time to status-go 2022-07-12 14:44:06 +02:00
Michal Iskierko 136921c0ad fix(@desktop): Fix crash when opening change status dialog
Fixes #6415
2022-07-12 14:32:17 +02:00
Jonathan Rainville 95407cc1e0 fix(contacts): remove isMutualContact, use isContact or isAdded indead
Fixes #6220

Fixes the issue with the mutual contact icon showing when just added.
It also does a huge cleanup of the codebase to remove isContact and replace it with either isAdded, when we care only about if we added, or isMutualContact if we want the contact to be mutual
Also fixes an issue with the MessageContextMenu not reflecting the added state correctly.
2022-07-11 09:34:29 -04:00
Pascal Precht 51b661386a refactor: always request access to join community
We no longer send community invites to users, instead we just share the
community and let users request access.

That request will either be automatically or manually accepted by the owner/admin.

Depends on https://github.com/status-im/status-go/pull/2682

Closes #5115
2022-07-08 13:18:37 +02:00
Boris Melnik 81e674da55 fix(CommunitySettings): Process statuses for members model
Closes: #6132
2022-07-08 12:58:54 +03:00
Richard Ramos 75a3ff858c feat: check for updates (using status-go) 2022-07-07 09:54:55 -04:00
Boris Melnik bb2c9e02c2 feat(communities): Add muting category methods
Closes: #5975
2022-07-06 19:48:44 +03:00
Jonathan Rainville 1e7c648300 feat: contact verification request and trust status
feat: contact verification

fix: add remove identity verified btn

fix: add toast message

feat: received verification request model


feat: finish identity verification flow

Fixes #4784
2022-07-06 10:43:33 -04:00
Michal Iskierko 45448db90a feat(@desktop/general): Change user statuses
Handle user statuses from status-go: Always Online, Automatic, Inactive.
Handling updating own status on member list.

Issue #5886
2022-07-06 09:38:11 +02:00
Sale Djenic c9fe428940 fix(@desktop/chat): messages sometimes assigned to the wrong user
Fixes #6004
2022-07-05 17:10:15 +02:00
Lukáš Tinkl 6c155092a4 fix(nim/module): fix default tooltip for Chat section
provide the default "Chat" name for the personal chat
2022-07-05 12:04:07 +02:00
Anthony Laibe d4d9797eec feat: Add network balance 2022-07-04 20:14:46 +02:00
MishkaRogachev 5c6b5f1f47 feat(Communities): support tags in community edit page
Close #6089
2022-07-04 18:53:48 +03:00
Jonathan Rainville 416cedd033 fix(1-1): fix contact label not updating when mutual contact changes
Fixes #5709
2022-07-04 09:32:44 -04:00
Anthony Laibe ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Jonathan Rainville deca07c0c6 fix(contacts): only open 1x1 chat when mutual contact when sending req
Fixes #6291
2022-06-30 10:13:08 -04:00
Boris Melnik 6adb809ba0 fix(backend): Add some text to image message
Closes: #6094
2022-06-29 17:08:59 +03:00
Boris Melnik 35eee24ab4 fix(chat): Open chat when contact request was accepted
Closes: #6127
2022-06-27 11:19:32 -04:00
Noelia 70383a51bd feat(CommunitiesPortal): Enable Communities portal & update chat menu
- Removed 'Communities Portal' toggle from the advanced settings and enable it by default.
- Removed dropdown menu. The button opens directly the join public chat modal.
- In the portal, "Import community" button is now clickable and opens the import community modal.
- In the portal, "Create community" button is now clickable and opens the create community modal.
- Enabled navigation to the clicked community.

Closes #6099
2022-06-27 10:28:36 +02:00
Anthony Laibe c34ee41971 fix(@wallet): address input keep loading
In case of a public key, the loader was always visible and an ephemeral
notification was display but it should not

Also, the show not found is disabled if there is no contact list being
displayed
2022-06-27 08:57:10 +02:00
MishkaRogachev e30ba7e760 feat(@community): Add tags to communities
Close #5680
2022-06-24 19:44:35 +03:00
Anthony Laibe 2449c8840e chores(@chat): bring back download messages
fixes #6163
2022-06-22 16:12:24 -04:00
Sale Djenic 60ed62231e fix(@desktop/wallet): estimated time for transaction is always Unknown
Fixes #5938
2022-06-22 16:02:25 -04:00
MishkaRogachev 2251f870a0 feat(@desktop/chat): New profile context menu states
Close #6113
2022-06-22 15:50:59 -04:00
Jonathan Rainville 9ebe9ec2c5 fix: fix blurry chat identifier and expose large image in contact proc
Fixes #6190
2022-06-22 15:33:11 -04:00
Jonathan Rainville 6f14921c9b chore(community): replace plus button by adhoc btn
Fixes #5677
2022-06-22 09:01:45 -04:00
Sale Djenic 8f4e9bb3da fix(@desktop/chat): filter paid stickers if the wallet is not enabled
Fixes: #5923
2022-06-21 13:18:43 -04:00
Pascal Precht e0c11ae261 fix(Privacy): handle sync setting for `profile-pictures-visibility`
Part of #5201
2022-06-20 12:44:55 +02:00
Pascal Precht 882c0dcc2b fix(Privacy): handle sync setting of `show-profile-pictures-to`
There are a bunch of settings which are synced an not handled by
desktop, one of them being the `profile-pictures-show-to` setting.

This commit introduces a new `SettingsFieldDto` so we can react to
message signals that include individual setting fields that originate
from syncing.

The first setting hanlded is the one mentioned above, so a new
application signal is introduced to inform the app that there was an
update in that particular setting, so it can re-render the view.

Partially addresses #5201
2022-06-20 12:44:55 +02:00
Pascal Precht 858caeca73 fix: handle bookmarks syncing signals properly
Bookmarks were only synced when devices were synced, but not when
bookmarks were added/removed/updated.

To account for this, there's are new messenger APIs in status-go
proposed here: https://github.com/status-im/status-go/pull/2709

Based on those APIs, desktop can now add/remove/update bookmarks and the
changes are automatically synced to other devices in real-time.
This commit also ensures that changes from other devices with regards to
bookmarks are handled and updated on the current device.

Partially addresses #5201
2022-06-20 12:01:23 +02:00
Khushboo Mehta 8d3fad8342 feat(@desktop/wallet): Multichain QR Code
Implements the new Recieve Modal with multichain functionality

closes #5735, #6057
2022-06-17 01:27:35 +05:30
Pascal Precht 56f7c52e81 fix(sync): handle syncronization of user status
This fixes a bug where the new user status set by the logged in user
would not be broadcast because the corresponding setting would prevent
status-go from doing so.

The fix is done by always enabling broadcasting the user status, then
disabling it again right after setting, in case it was set to "offline".

This commit also ensures that, when current user status updates are
broadcast, the updates are handled across paired devices in real-time.

Partially addresses #5201
2022-06-16 14:02:49 +02:00
mishkarogachev 7a14cf5640 fix(@desktop/profile): Contact requests should support a message
Close #5846
2022-06-15 11:56:05 -04:00
Boris Melnik c754cf1aaa fix(chat): Fix checking admin privilages
Closes: #6003
2022-06-15 09:52:13 -04:00
Patryk Osmaczko cdd06b05eb feat(@desktop/group-chat): remove explicit join for groups
closes: #5717
2022-06-14 15:21:56 -04:00
Khushboo Mehta 0e1357b78e fix(@desktop/wallet): Wallet balance is 0 when enabling multinetwork toggle
fixes y
2022-06-14 14:37:20 -04:00
Boris Melnik 7cacadd9be chore(experemantal_features): Remove activity center settings and enable by default
Closes: #5922
2022-06-14 13:03:51 -04:00
Boris Melnik d6cc1ed1ab chore(experemantal_features): Remove community settings and enable it by default
Part of: #5922
2022-06-14 13:03:51 -04:00
Boris Melnik bdf4656405 fix(Communities): Remove duplications of channel when category removed
Closes: #5933
2022-06-14 12:36:09 +03:00
Patryk Osmaczko 4bfebcdea2 fix(@desktop/group-chat): restore missing removeMembersFromGroupChat
Without it, removing users from the group doesn't work.
2022-06-13 09:23:59 +02:00
Patryk Osmaczko 62183cf60b chore: refactor/unify user_model and contact_model
This is first iteration. Models have been restructured and qml adapted
to the changes.

What is left to be done:
- populate new models with appropriate data (some fields were left
  default)
- use new fields in qml, use StatusMemberItem where possible
- fix all #FIXMEs introduced by this commit

iterates: #5951
2022-06-12 15:45:49 +02:00
Anthony Laibe 00ed4f9c44 feat(@wallet): multi transaction simple view 2022-06-09 15:22:24 +02:00
Patryk Osmaczko 326147c549 fix(@desktop/app-search): add color hash to chat icons
closes: #5459
2022-06-09 10:45:34 +02:00
Patryk Osmaczko 6cda41e183 feat(@community): add backend for intro message
issue: #5746
2022-06-04 12:00:11 +02:00
Pascal Precht b9c65be808 fix(AppNavBar): make navbar buttons render correctly again
We've introduced a regression in
9f633f0fcc
where model data for navbar buttons are malformed, which results in them being rendered
incorrectly (as letter identicons, instead of icon buttons)

The reason this was happening was because the model data for the
navbar buttons was not properly initialized due to a mixed usage of
positioned and named arguments of the `initItem()` APIs in `SectionItem`
models.

Fixes #5949
2022-06-03 10:20:07 -04:00
Michal Iskierko ec76d8e738 fix(@desktop/general): Application shows chat screen instead of settings screen when starting.
Fix #5839
2022-06-03 11:19:35 +02:00
Boris Melnik 49ca3e1c36 feat(Settings): Add communities settings
Closes: #4932
2022-06-02 18:58:50 +03:00
Noelia ed39690071 feat(CommunitiesPortal): Communities Portal first UI approach
Closes #4936
2022-06-02 08:24:02 -04:00
Noelia 7c92d39359 feat(GroupChat/Add-Remove-Contacts): Implement "Add / remove from group" button for group chats
Added new option add / remove contacts in dropdown and created navigation to modify the loaded component in the toolbar.

Enabled addition of new members into a group chat by the admin.

Enabled removal of members of a group chat by the admin.

Added into `ChatContentView` components related to chat toolbar:
- `StatusTagSelector` and its corresponding logic
-  Moved `StatusChatInfoButton` from toolbar to content view.

Added `esc` key event to leave the group chat add / remove panel.

Updated `StatusQ` link.

Closes #5522
2022-06-01 08:47:21 +02:00
Sale Djenic 78f985e484 feat(desktop/general): app support for status-im:// URIs - mac
Fixes #3375
2022-06-01 08:42:57 +02:00
Sale Djenic 698374b91c feat(desktop/general): app support for status-im:// URIs - mac
Fixes #3375
2022-06-01 08:42:57 +02:00
Stefan 7c74a0942d feat(Community/Logo): use crop control for community Logo
Note that this doesn't refactor status-go to use CroppedImage
for the community logo.

fixes: 5404
2022-05-31 19:04:49 +03:00
Anthony Laibe e7dff15a97 fix(@wallet): send modal in browser/wallet
fixes #5937

The send modal reuse the asset list so it needs to be fully populated
with all token, but the token is only visible if the balance > 0
2022-05-31 14:57:37 +02:00
Stefan 9f633f0fcc feat(Communities/Settings): Communities banner editing
Use the generic EditCroppedImagePanel for banner cropping

- Depends on status-go IdentityImage banner extension

fixes #5118
2022-05-31 12:26:33 +03:00
Sale Djenic ca410a0e26 fix(@desktop/browser): settings -> Browser, connected dapps items do not follow figma
Fixes #5906
2022-05-31 09:13:27 +02:00
Sale Djenic 3a3b2c9dc9 fix(@desktop/wallet): show all tokens in wallet that have balance > 0
Fixes #5859
2022-05-30 17:11:51 +02:00
Sale Djenic 70e770103e feat(@desktop/profile): add ephemeral notifications
- ephemeral notifications implemented as toast messages
- old notifications added aligned with new toast messages

Fixes #5629
2022-05-26 21:27:55 +02:00
Michal Iskierko 8acb3c386a feature(desktop/general): Display mentions number on tray icon badge.
Count all mentions from all chats and communities.
Send it to notifications object.

Issue #4922
2022-05-26 14:16:00 +02:00
Anthony Laibe 21fedcbb2b feat(@wallet): aggregate token balance 2022-05-26 06:52:32 -04:00
Sale Djenic aeba272ae4 fix(@desktop/notifications): move notifications settings to `status-go`
Fixes #5649
2022-05-26 12:07:19 +02:00
Michal Iskierko 80cead9d6d fix(@desktop/chat): Fix activity center icon badge displaying
Fix #5739
2022-05-25 17:49:52 -04:00
Sale Djenic 8974d0a4df fix(@desktop/settings): crash enabling/disabling communities
- A crash was happening because of emitting signal from the Q_PROPERTY slot,
fixed now.
- Checks added to `addChat` methods that only 1:1 and group chats participate
in notifications setting exemptions.
2022-05-25 17:48:26 -04:00
Boris Melnik aa1dae9e20 fix(@desktop/warnings): Fix bunc of qml/nim warnings
Closes: #5162
2022-05-25 14:27:25 -04:00
Boris Melnik 5967ce6ce8 fix(Communities): Open `#general` channel by default on creation
Closes: #5841
2022-05-25 14:09:59 -04:00
Sale Djenic e2cdff1a98 fix(@desktop/chat): adding a contact with chat key should not immediately open a 1 on 1 chat or should block input
Fixes #5767
2022-05-24 15:58:47 -04:00
Sale Djenic 88bbfef179 fix(@desktop/profile): changing username is not immediately updating
Fixes #5765
2022-05-24 15:57:39 -04:00
Pascal Precht f14717da18 feat: handling `mailserver.not.working` signal
This makes Status Desktop aware of the `mailserver.not.working` signal.
When emitted by status-go, desktop will show a popup that informs the
user about the connection failure.

Furthermore, users can then decide to either retry (same as just closing
the popup as retrying already happens by default), or pick another
pinned mailserver, for which they'll get redirected to the messaging
settings panel.

Closes #5166
2022-05-20 13:03:47 +02:00
Anthony Laibe ddb884fc37 fix(@community): List channel/Add channel/Remove channel from category
fixes #5801
2022-05-19 15:04:01 +02:00