Commit Graph

7353 Commits

Author SHA1 Message Date
mprakhov 60bd0d2a6c feat(@desktop/communities): Automaticaly encrypt closed communitites 2023-05-05 19:04:29 +02:00
Alex Jbanca a674ec57a8 fix(blockChat): Disable chat input when minimal conditions are not met 2023-05-05 19:44:39 +03:00
Igor Sirotin a3ec245b44
fix(Sandbox): Fixed hot reloading. Fixed MacOS arm64 builds. (#10562) 2023-05-05 19:05:44 +03:00
Jonathan Rainville b9a2e62602 fix(message/service): fix msg not appearing in new chat because of race
Fixes #10340

Fixes a race condition when receiving a message in a channel that doesn't exist yet (for example in a delete 1-1 chat).
What happens is that the status-go signal contains both the message and the chat. Both are handled by different services, so there was a race between the two of them. If the chat service handled the chat first, then the message was added correctly, but in the case of the message service handling it first, it would try to add the message to a chat that doesn't exist yet, so it wouldn't work.

I also cleaned the ChatUpdateArgs by removing the messages arg that was not used anywhere and also was a bit counter-intuitive. Why did a Chat arg have messages?
2023-05-05 11:09:32 -04:00
Jonathan Rainville 0e5c566dcd fix(newChat): fix sending messages in new ad hoc chat with new store
Fixes #10523

The problem was that the CreateChatView now uses an isolated Chat RootStore, since we can't be sure if the personal chat section will be loaded yet.

To fix that, I created a new store that is only for storing the properties needed for that new chat. That way we are sure that it is created and shared to necessary components.
2023-05-05 09:36:14 -04:00
Anastasiya S 81a79327b6 test(tst_communityPermissions): implement permissions screen validation 2023-05-05 15:48:56 +03:00
Boris Melnik 6464366c7d fix(CommunitySettingsView): Fix community settings after removing old legacy popup ref 2023-05-05 15:30:45 +03:00
Khushboo Mehta 6779e15b28 chore(@desktop/wallet): Add logic to handle the selected account for the send and receive modal to nim 2023-05-04 21:07:49 +02:00
Vladimir Druzhinin 219eb04da9
test(suite_onboarding): fix tests (#10260)
#9285
2023-05-04 18:18:19 +02:00
Boris Melnik 7e4419d239 chore(CommunitySettings): Remove old legacy community popup
Fixes: #9913
2023-05-04 12:14:39 -04:00
Igor Sirotin bb6e87deec
fix(ImportCommunityPopup): Support community link (#10557) 2023-05-04 18:37:44 +03:00
Igor Sirotin 88cd44c302
fix(StatusMessage): Highlight rectangle size matches the background (#10553) 2023-05-04 18:37:33 +03:00
Patryk Osmaczko a7050fed20 chore(core): use `OrderedTable` for events
closes: #10549
2023-05-04 16:39:54 +02:00
Jakub Sokołowski ffa200f32d
ci: upgrade from Go 1.19.5 to 1.20.4
This is supposed to fix crashes on M1 Macs:
https://github.com/status-im/status-desktop/issues/10548
https://github.com/status-im/status-desktop/pull/10442
Specifically this commit:
c00e9285ea

https://go.dev/doc/devel/release#go1.20

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-04 16:01:17 +02:00
Alexandra Betouni 38691da02c (settings): moved waku nodes option to advanced
Closes #9687
2023-05-04 16:06:09 +03:00
Patryk Osmaczko 606598735e fix(StatusQ/StatusBaseButton): use `Layout.*` properties properly
fixes: #10480
2023-05-04 13:31:03 +02:00
Pascal Precht 90acfa0457 fix(permissions): ensure permissions model is rebuilt when permission
was deleted

This is needed because there's cases where the deletion of a permission
might cause the current user to no longer be eligible to join
a community.

Community has the follwoing permissions:
- own 2 ETH and 1 FOO_NFT or
- own 1 FOO_NFT

User owns: 1 FOO_NFT

^ The above would make the user eligible to request access to join.

Now if the community removes the second permission, the user now no
longer fulfills the requirements so we need to ensure the UI
permits the user to request access.

Rebuilding the permissions model (including its token criteria) sets the
necessary flags in the UI automatically.
2023-05-04 11:23:56 +02:00
Sale Djenic dbef72be01 fix(@desktop/wallet): issues migrating a keypair if the profile keypair is already migrated to a keycard fixed
Closes: #10527
2023-05-04 11:13:44 +02:00
Michal Iskierko a73ea4604e fix(@desktop/communities): Fix double toast message
Fix #10486
2023-05-04 10:28:43 +02:00
Pascal Precht 202a789c67 fix: ensure notification settings are cached from RPC
There are a bunch of notification related settings that cause RPC
calls when read from the UI in QML/Qt.

This is bad because whenever the view tries to read a notification
setting it causes an RPC call and then rerenders the view. This happens
pretty much every time a new signal arrives in the client.

To account for that we now fetch all notification settings once and mark
the service as initialized so it know when to simply return cached
values. The cache is updated when the notification settings change.

Fixes #10493
2023-05-04 09:32:44 +02:00
Cuteivist b91a1c18f2
feat(@desktop/activity): Updated section delegate (#10472)
* feat(@desktop/activity): Updated section delegate

Closes #10432

* feat(@desktop/activity): Section delegate code remarks
2023-05-04 06:43:39 +02:00
Igor Sirotin f656088112
fix: Fixed community channel emoji not updated (#10534) 2023-05-03 20:07:37 +03:00
Khushboo Mehta 2401bb52bb feat(@desktop/wallet): New floating header as a drop down list
fixes #10392
2023-05-03 18:52:19 +02:00
Vladimir Druzhinin 7ec7047e9c
test(suite_settings): fix tests (#10265)
#9284
2023-05-03 18:23:12 +02:00
Sale Djenic 0323325231 fix: fixing keycard lib for mac M1 2023-05-03 18:05:39 +02:00
Sale Djenic 3588e2a44a fix(@desktop/wallet): derivation path edit control breaks in custom mode
Closes: #10479
2023-05-03 17:39:17 +02:00
Stefan 6a0a7770b2 fix(wallet) don't show too big account index for custom path
The warning for not supported bigger than 99 for the account index
make sense only for standard derivation paths that we support.

Also added test case to story book for investigating the issue #10479

updates #10479
2023-05-03 16:51:25 +02:00
Lukáš Tinkl b07ba7fb2d fix: personal chat item wrong width
- do not hardcode width of child elements (impossible to propagate
setting the width from the toplevel/parent component)
- made both the community and non-community chat item look the same and
according to the Figma designs (including margins, scrollbar positions,
spacing etc)
- cleaned up some hardcoded values and dead code

Fixes #10469
2023-05-03 16:39:33 +02:00
Lukáš Tinkl f14fb65e44 fix(StatusChatListCategoryItem): fix flicker on hover over add channel button
do not fight with the child MouseAreas, use a TapHandler above the whole
element

Fixes #10380
2023-05-03 16:39:33 +02:00
Lukáš Tinkl fa7eecba14 fix(AssetsDetailView): don't display "Dummy" for zero values
zero (0) is a valid change value here, it's a "stable" coin
2023-05-03 14:44:43 +02:00
Sale Djenic 686631ffcf fix(@desktop/wallet): setting derivation path for a new account with keycard can get in infinite loop
Closes: #10517
2023-05-03 14:17:34 +02:00
Anthony Laibe f58bfb97eb fix(@wallet): send a token without balance
fixes #10509
2023-05-03 13:58:58 +02:00
Igor Sirotin d7d58b4933
fix: Fixed ephemeral notifications shadow (#10526) 2023-05-03 11:37:19 +03:00
Igor Sirotin 2e6ccea91a test fix 2023-05-02 17:00:54 -04:00
Igor Sirotin c6f378b968 fix(MessageView): Explicit type check for `messageComponent` 2023-05-02 17:00:54 -04:00
Igor Sirotin ac6cebed9f Added `toContentType` function 2023-05-02 17:00:54 -04:00
Igor Sirotin 13bd813d52 Added PinnedMessage simple implementation 2023-05-02 17:00:54 -04:00
Igor Sirotin 98d8a70572 fix: Added `SystemMessagePinnedMessage` contentType 2023-05-02 17:00:54 -04:00
Jonathan Rainville 6997e05586 fix(chats): fix unread counters in many instances
Fixes #10076

Reverts the refactor that makes getChannelGroups (ie getChats) not return chats (now it does return all chats too).
That way, we actually have the right mentions and unread count when receiving new messages

Also fixes an issue where mentions and unread count would get reset to 0 when getting a community update, because the signal doesn't have enough info
2023-05-02 14:33:14 -04:00
MishkaRogachev 7b31929f85 feat(Chat): Accept/Reject CR buttons for 1-to-1 chat 2023-05-02 13:56:36 -04:00
Mikhail Rogachev 6ba6a5fcde Update ui/imports/shared/views/ProfileDialogView.qml
Co-authored-by: Lukáš Tinkl <lukast@status.im>
2023-05-02 13:56:36 -04:00
MishkaRogachev 0fc84852f3 feat(chat): Update chat ui for the blocked contact
Close #9935
2023-05-02 13:56:36 -04:00
MishkaRogachev 206800bd5b fix(Contacts): Use contactRequestState enum for determinating correct contact state 2023-05-02 13:56:36 -04:00
MishkaRogachev 8ff42d0868 fix(Contacts): Resolve edge cases while addind/removing a contact 2023-05-02 13:56:36 -04:00
MishkaRogachev e160e70121 fix(Contacts): Remove lagecy `removeContactRequestRejection`
Close #9935
2023-05-02 13:56:36 -04:00
Vladimir Druzhinin c85cead983
tests: fix start application issue (#10505)
- two attempts added
2023-05-02 17:54:27 +02:00
Anastasiya S 96a2310df0 fix(wallet): change placeholder for watch-only account 2023-05-02 18:05:03 +03:00
Igor Sirotin 3ff97c9137
fix(Onboarding): Image is visible after first onboard. Other minor fixes (#10489) 2023-05-02 16:37:31 +03:00
Alex Jbanca f1633d3f42 fix(Community mint token): Fix default network selection 2023-05-02 13:00:05 +03:00
Boris Melnik df88984b45 feat(image-album): Display album of images in replies
Fixes: #9957
2023-05-02 11:24:48 +03:00