Commit Graph

1688 Commits

Author SHA1 Message Date
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
Sale Djenic 583f947eb6 chore(@desktop/general): unused `signals.nim` removed from backend 2022-06-03 11:58:08 +02: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
Anthony Laibe 198db8658c fix(@about): always check for update
The work was already done in the actual call, but we kept the guard.
The guard is now remove as it was useless
2022-06-01 09:54:13 +02:00
Anthony Laibe 86805a6c7d feat: add network image 2022-06-01 09:54:06 +02: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 64882dffbe feat(@desktop/wallet): add support for Arbitrum L2
Fixes #5714
2022-05-27 14:45:29 +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
Michal Iskierko 595bca0294 fix(@desktop/chat): Fix 1:1 chat
Incoming messages and edited messages are shown correctly in 1:1 chat

Fix #5858
2022-05-25 14:18:56 -04:00
Richard Ramos 92d047173f fix: broadcast update when changing status
Fixes #5798
2022-05-25 14:10:30 -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
Anthony Laibe db3722cd4f fix(@general): user status go service to migrate account 2022-05-24 13:27:06 +02:00
Anthony Laibe 451e650b09 fix(@general): keystore management 2022-05-24 13:27:06 +02:00
mishkarogachev 0417105a03 fix(@desktop): Persist application window state & geometry
Close #3073
2022-05-23 16:36:57 +03:00
Sale Djenic 7f3f2ed16d fix(@desktop/chat): [very hard to replicate] 1 to 1 chat window contains messages from other contacts
Fixes #5668
2022-05-20 15:28:19 +02: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
Pascal Precht 8c496e0505 feat(CommunitySettings): add checkbox to allow members to pin messages
This adds a checkbox to configure whether or not community members are
allowed to pin any message of a community channel, based on the newly
introduced `CommunityAdminSettings` that are introduced in https://github.com/status-im/status-go/pull/2668

Closes #5662
2022-05-19 14:53:40 +02:00
Anthony Laibe 8eff1bdfd0 fix(@ens): get pubkey return the prefix
fixes #5805
2022-05-18 14:21:06 +02:00
Khushboo Mehta 86cfbec8f9 feat(@desktop/wallet): Add support for custom derivations path
Make getDerivedAddresses call async
Show pending and error states when gettting the derived addresses

fixes #5700, #5699
2022-05-18 14:16:57 +02:00
Michal Iskierko 2e5f1c9c4d fix(@desktop/chat): Show badge and message in activity center for reply elements
Fix #5523
2022-05-18 13:59:45 +02:00
Khushboo Mehta 0ee0c8ddd4 feat(@desktop/wallet): Add has activity to the derived addresses in wallet
fix #5655
2022-05-18 13:42:00 +02:00
Iuri Matias 1b417dc5fd fix(@desktop/communities): #5797 ensure member list from status go is not empty 2022-05-17 16:33:01 -04:00
Anthony Laibe 6830a02248 fix(@chat): image don t overlap placeholder
* fix overlap
* remove placeholder text
2022-05-17 12:25:01 -04:00
Richard Ramos e944263b57 fix: duplicated channels when joining a community
Fixes #5729
2022-05-17 11:37:33 -04:00
Pascal Precht 851228544b fix(Chat): don't override chatdetails name with pubkey substr
The issue is that, after an account accepts a contact request, the
sender of the request receives a message signal where the
chat's name in the response is the first 8 characters of the chat's
public key. This is because status-go doesn't actually try to keep
the chat's `name` up-to-date if it's a one on one chat.

This results in chat details being updated with a name that is
incorrect. This commit ensures we only update the name of the chat
details if we indeed don't deal with a 1-on-1 chat.

Fixes #5738
2022-05-17 11:03:21 -04:00
Sale Djenic c47f3f2692 feat(@desktop/wallet): redesigned wallet addresses are missing checksum
Fixes #5473
2022-05-17 16:04:59 +02:00
Sale Djenic 03d7632f32 fix(@desktop/notifications): revamp notifications settings & behaviour
- signal for adding notification to the Activity Center introduced
and emitted, but that part is not handled within this commit since
there are some details needed to be discussed in the PR#5334
- signal for displaying ephemeral app notification is introduced
and emitted, but that part is not handled within this commit since
we don't have yet ephemeral notificaiton in place.

Fixes #4902
2022-05-13 14:58:39 -04:00
Jonathan Rainville 12d99f7c96 fix(profile): set ens name correctly
Fixes #5574
2022-05-13 10:01:39 -04:00
Khushboo Mehta 1cf701a758 feat(@desktop/wallet): greying out already imported/derived addresses in address list and also choosing next available as default one
fixes #5539
2022-05-13 09:23:47 +02:00
Jonathan Rainville 254bda51ed refactor(app_search): refactor app search to use new getChats API
Fixes #5184
2022-05-12 15:23:14 -04:00
Jonathan Rainville 72d726f250 refactor(chats): pass chat group to section to simplify UI build
Fixes #5183
2022-05-12 15:23:14 -04:00
Richard Ramos b3cda3e755 fix: download images 2022-05-12 15:07:29 -04:00
Richard Ramos ebce90368c feat: use ipfs rate limiter 2022-05-12 15:07:29 -04:00
Richard Ramos 3d9a2957de fix: chat key validation 2022-05-12 15:02:53 -04:00
Jonathan Rainville 7c0dbb554a fix(community): community would appear even if not activated
Fixes #5454
2022-05-12 14:19:01 -04:00
Jonathan Rainville ddbe4e236d fix(group-chat): fix changing group chat name 2022-05-12 14:13:13 -04:00
Jonathan Rainville c58a656a52 fix(group-chats): fix context menu and pinned messages popup 2022-05-12 14:13:13 -04:00
Jonathan Rainville 6828055087 fix(group-chats): fix adding new member to group chat 2022-05-12 14:13:13 -04:00
Jonathan Rainville 1fdef43d18 fix(group-chats): remove user from user list when they leave chat 2022-05-12 14:13:13 -04:00
Patryk Osmaczko a633d33ec5 fix(@desktop/messages): asssign user icon on contact update
fixes: #5463
2022-05-12 14:07:58 -04:00
Jonathan Rainville 24a662676e fix(user-list): 1-1 mentions not updating nickname + rearrange events
Fixes #5462
2022-05-12 14:04:16 -04:00
Jonathan Rainville 0358b6bf80 feat(community): make on request comm a check box and remove ensOnly
Fixes #5660
2022-05-12 13:31:48 -04:00
Jonathan Rainville 63c8e972c0 feat(CommunityColumn): add channels and categories admin banner
Fixes #5664
2022-05-12 13:11:45 -04:00
Noelia 4a782d3093 docs(general-cpp): Initial proposal / best general and cpp practices
Basic list of general and cpp specific rules and best practices for contributors.
2022-05-12 19:06:15 +02:00
Noelia 2154626a5b feat(Language&Currency): Add Date & Time Format
Added Date & Time selectors in `Language & Currency" screen.

Added new properties in `local_app_settings` to set the date and time format.

Created all the chain from view to service to update date and time format.

Added date and time format functions in `Utils`.

Updated `FetchMoreMessagesButton`, `ChatTimePanel`,  `AppSearch`, `TransactionBubbleView` and `TransactionDelegate` date and time text depending on the selected format.

Closes #5386
2022-05-12 18:42:06 +02:00
Patryk Osmaczko a5be90761b fix(@desktop/chat): fix chat member getter for community
fixes: #5582
2022-05-12 12:41:42 -04:00
Pascal Precht d70a23cb9a fix(CommunityService): ensure communitySettings aren't mistakenly
overwritten

When communities are edited, status-go sends a signal with the community
description, to ensure the network is updated to the latest changes.

However, that community description doesn't include `communitySettings`.
When we then compose the `CommunityDto` object from that signal, it will have
a default certain settings to `false` which might actually be `true`.

The result is that data in memory is incorrect.

To ensure we don't run into this issue, we check whether the attached
settings have an id, if they don't, we know the settings do not
originate from the signal data, meaning we can use the settings we
already have.
2022-05-12 12:20:23 -04:00
Anthony Laibe a0bebeb78b fix(@communities): Better error message when failing to import
community

fixes #5382
2022-05-12 13:29:15 +02:00
Anthony Laibe 50fef581a5 fix(@wallet): apply order to token list 2022-05-12 09:52:01 +02:00
Anthony Laibe 5e05a7613c fix(@settings): fix Gas selector for snt
fixes #5572
2022-04-21 14:05:31 +02:00
Anthony Laibe 538cd6ae06 feat(@wallet): prevent to duplicate token
fixes #5567
2022-04-21 11:51:37 +02:00
Anthony Laibe efd6412266 fix(@wallet): Token not displayed after upgrade
fixes #5563
2022-04-18 16:53:05 +02:00
Sale Djenic d94abcb31e fix(@desktop/onboarding): the profile image doesn't look good on the onboarding page
Fixes #5241
2022-04-14 12:10:53 +02:00
Sale Djenic 3cdc1358ba fix(@desktop/contacts): multiple contact related issues fixed
Fixes #5354 #5225 #5198
2022-04-13 16:40:34 -04:00
Anthony Laibe 6145b4b620 fix(@wallet): loading collectibles 2022-04-13 14:51:38 -04:00
Richard Ramos 717ca08d31 fix: don't save the node config twice when switching fleets 2022-04-13 14:51:07 -04:00
Pascal Precht afecbc1796 fix(main/controller): ensure mailserversService is initialized
Fixes #5353
2022-04-13 17:16:46 +02:00
Khushboo Mehta feaa91d062 feat(@desktop/wallet): Add derivation path to wallet account generation
fixes #5074
2022-04-13 11:17:53 +02:00
Pascal Precht 348516d5a5 chore: add safeguards when checking for community data in response
Also remove unnecessary signals
2022-04-13 10:22:55 +02:00
Anthony Laibe 3f71e1fe87 feat(@wallet): move visible token to status go 2022-04-13 10:12:58 +02:00
Anthony Laibe 159f90f48e re-disable wallet & browser by default
Fixes #5476
2022-04-12 17:48:06 -04:00
Sale Djenic 9c9d633065 fix(@desktop/activity-center): mentions and replies in the activity centre does not display community icon
Fixes #5302
2022-04-12 20:08:33 +02:00
Pascal Precht 8d4aa7dd56 feat: introduce communities settings and history archive support UI
control
2022-04-12 11:25:46 +02:00
Pascal Precht 1d934c7b26 feat: introduce advanced option to enable/disable community archive
protocol
2022-04-12 11:25:18 +02:00
Pascal Precht 1ee631c04e feat: introduce default torrent node config 2022-04-12 10:38:50 +02:00
Boris Melnik 431348314d fix(ContactRequests): Remove add myself to sent request model
Closes: #5460
2022-04-11 17:26:56 -04:00
Iuri Matias dbc16329c0 fix(@desktop/groups): group modal is missing context menu options 2022-04-11 13:19:19 -04:00
Jonathan Rainville 8763238369 fix(community): re-hook banning users
Fixes #5383
2022-04-11 11:55:33 -04:00
Pascal Precht 10f6d9e89b feat: reload community chats when history messages have been downloaded
This introduces the new signal types related to the community archive
protocol and makes Status Desktop listen to the download event which is
emitted by status-go every time history archives were downloaded.

If the downloaded archive covers data within the recent 7 days, it
causes Status Desktop to reload the corresponding chats.
2022-04-11 15:54:08 +02:00
Patryk Osmaczko 0038501eb2 fix(@desktop/appsearch): render mentions in app search module
fixes: #5423
2022-04-08 14:20:00 -04:00
Patryk Osmaczko 58d1319946 fix(@desktop): unify user avatar fallback color
issue: #5358
2022-04-08 14:04:21 -04:00
Patryk Osmaczko bf530a6cc4 fix(@desktop/onboarding): show identicon ring and colors for profiles
issue: #5358
2022-04-08 14:04:21 -04:00
Patryk Osmaczko f2898b6bf7 chore(@desktop): add utility to get color id for pubkey 2022-04-08 14:04:21 -04:00
Anthony Laibe bd8ad854fc fix(@wallet): link to tx hash 2022-04-08 10:02:51 -04:00
Jonathan Rainville 4b78c119c3 fix(members): fix error in logs when getting members for public chat 2022-04-07 10:51:02 -04:00
Jonathan Rainville 4e8e2e681f fix(chat): fix chat duplication
Fixes #5324

The problem was that signals sometimes came faster than the "normal" flow, so we added the chat without checking first for duplication
2022-04-07 10:51:02 -04:00
Richard Ramos f749f84886 Allow the usage of compressed chat keys when sending contact requests
Fixes #5359
2022-04-07 10:23:08 -04:00
Khushboo Mehta d2663d30a5 fix(@desktop/browser): Unable to sign message from simepledapp.eth 2022-04-07 10:28:16 +02:00
Anthony Laibe b1775357c3 fix(@wallet): estimate gas fail when not enough fund
fixes #5267
2022-04-06 13:40:57 +02:00
Anthony Laibe b84b56c3c0 refactor(@general): move all token related to status-go 2022-04-04 13:07:36 -04:00
Patryk Osmaczko 53c38624ef chore: add utility to compress pubkey 2022-04-04 12:55:31 -04:00