Mykhailo Prakhov
3cae2e06f3
fix(ActivityCenterNotification)_: update pending state of request to join ActivityCenterNotification when member was joined ( #5242 )
2024-05-28 17:02:30 +02:00
Michal Iskierko
ad9032d036
feat_: recovery retracking pending transsactions
...
Add ReTrackOwnerTokenDeploymentTransaction function which will runs community tokens transactions listening.
Add deployment transaction hash to community_tokens table.
Issue #14699
2024-05-28 13:06:24 +02:00
Icaro Motta
edc65e4611
fix(login)_: Locally cache communities outside chat loop
2024-05-28 11:43:11 +02:00
Godfrain Jacques
07de481b69
fix_: fix deleted communities query ( #5232 )
...
Removes the community_id IS NULL condition when fetching deleted
communities and cleanup. This fixes #5222
2024-05-27 10:09:15 -07:00
Mykhailo Prakhov
bb09cd328f
fix(test)_: TestResendEncryptionKeyOnBackupRestore test performance fix ( #5236 )
2024-05-27 16:29:06 +02:00
Igor Sirotin
19875ed9b5
fix: archive decryption fail ( #5076 )
...
* fix_: delay archive import if decryption failed
* chore_: minor cleanup
* chore_: test archive import of encrypted channel
* test(TestImportDecryptedArchiveMessages)_: first iteration
* feat_: GetHashRatchetMessagesCountForGroup
* chore_: log community description and shard info message ids
* test(TestImportDecryptedArchiveMessages)_: cleanup
* fix_: rebase issues
* chore_: remove temporal test
* test(TestImportDecryptedArchiveMessages)_: cleanup
* chore_: lint fix
* fix(TestImportDecryptedArchiveMessages)_: ForceMembersReevaluation
2024-05-27 13:49:09 +01:00
Parvesh Monu
644f64b260
feat_: Return parsed bridge messages ( #5192 )
2024-05-27 13:32:30 +05:30
Jonathan Rainville
cc505d3018
chore_: up re-evaluation interval to 8 hours to avoid Alchemy limit ( #5228 ) ( #5230 )
2024-05-24 16:21:56 -04:00
Mikhail Rogachev
4f493a533e
chore(identity)_: remove old social links implementation ( #5214 )
2024-05-24 10:35:34 +02:00
Andrey Bocharnikov
49b6ef4aaf
fix(communities)_: Receiving mention notifications (@everyone) from spectated communities ( #5180 )
...
fix(communities)_: Receiving mention notifications (@everyone) from spectated communities #14798
Fix condition to check if user has joined community isCommunityJoinedBeforeClock
Fixes #14798
2024-05-24 00:13:48 +04:00
Patryk Osmaczko
709d75d69c
fix_: flaky testReevaluateMemberPrivilegedRoleInClosedCommunity
...
`waitOnCommunitiesEvent` must be invoked before action that triggers
the event.
fixes : #4578
fixes : #4761
2024-05-23 20:15:36 +02:00
Mykhailo Prakhov
d80db940d7
chore_: 'CheckAllChannelsPermissions' fn optimization ( #5196 )
2024-05-23 19:06:50 +02:00
Patryk Osmaczko
cec5985066
chore(communities)_: separate changes application in `reevaluateMembers`
...
This avoids locking of the community until the end of reevaluation.
There is no special handling for community changes while reevaluation is
ongoing. If members are added or removed, the function will behave
correctly. If permissions are changed, they will be accommodated in the
next reevaluation.
fixes : status-im/status-desktop#14775
2024-05-23 09:52:38 +02:00
Arseniy Klempner
ad4fb204ef
chore_: add telemetry url flag to status cli ( #5201 )
...
This commit adds a TelemetryUrl param to request for creating
account and to the WakuV2Config. Adds a flag to the cli for
passing in the telemetry server url.
2024-05-22 15:01:54 -07:00
Mikhail Rogachev
c8dfbe682d
fix(communities)_: spectated communities new channels member list ( #5190 )
2024-05-22 21:43:06 +02:00
Patryk Osmaczko
97af3f7e52
fix_: flaky TestJoinCommunityAsMemberWithMemberAndAdminPermission
...
`waitOnCommunitiesEvent` must be invoked before action that triggers
the event.
fixes : #4760
2024-05-22 20:42:52 +02:00
Mykhailo Prakhov
6fbf2cf17f
chore(tests)_: createCommunityConfigurable creates only one chat ( #5204 )
2024-05-22 15:08:44 +02:00
Godfrain Jacques
133ad0946b
fix_: persist left communities even for restored account ( #5174 )
...
This PR fixes #7858 by making sure left persisted communities are
restored during the backup restore flow
2024-05-21 14:01:14 -07:00
Jonathan Rainville
af66f517f5
fix_: fill missing community tokens in controlled communities ( #5154 ) ( #5188 )
...
Needed for https://github.com/status-im/status-desktop/issues/14679
On app start, fills controlled communities with missing deployed community tokens if there are.
2024-05-21 12:00:32 -04:00
Michal Iskierko
6f1b82966a
feat_: light, no-network versions of permission checking functions
...
Light functions are based on the fact that permissions are met if the user is on community/channel member list.
If the user is not on the list, permissions will not be met and the client is responsible to use regular permissions-check functions.
For all permissions-check functions, corresponding light versions are added: CheckAllChannelsPermissionsLight,
CheckChannelPermissionsLight, CheckPermissionToJoinLight.
Issue #14220
2024-05-20 14:17:40 +02:00
Vitaly Vlasov
20d3a7b69b
fix_: Use UnixMilli()
2024-05-20 14:39:46 +03:00
Igor Sirotin
d8a5665871
fix_: encryption.GetCurrentTime implementation
2024-05-20 14:39:46 +03:00
Igor Sirotin
da12c52596
fix_: loading hash_ratchet_encryption from database checks group_id
2024-05-20 14:39:46 +03:00
Jakub Sokołowski
c7397e18dd
chore(all)_: remove obsolete eth.staging fleet
...
And leftovers of `eth.test` fleet which no longer exists.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-17 20:21:00 +02:00
Mykhailo Prakhov
77541725aa
chore(community)_: reevaluateMembers optimization ( #5169 )
...
* chore(community)_: reevaluateMembers optinizations
2024-05-17 18:15:39 +02:00
osmaczko
948e09af03
fix(communities)_: ensure `ScheduleMembersReevaluation` is non-blocking ( #5176 )
2024-05-17 15:06:33 +02:00
Jonathan Rainville
ae08ba6ad1
feat(search)_: filter out messages from non-viewable channels ( #5161 )
...
Fixes https://github.com/status-im/status-desktop/issues/14586
2024-05-16 12:41:04 -04:00
Michal Iskierko
574450289c
feat_: Move community tokens transaction listening to status-go
...
Use EventWatcher to catch wallet events.
Handling all community tokens wallet events in communitytokens service (database and messenger operations).
Adding new signal to nim: CommunityTokenTransactionSignal, which is emitted everytime when the event is received.
Issue #4351
2024-05-16 16:18:15 +02:00
Patryk Osmaczko
00ee631a22
chore_: cleanup `hash_ratchet_encrypted_messages` periodically
...
closes : #5036
2024-05-16 16:15:30 +02:00
Patryk Osmaczko
0db114f544
fix(communities)_: ensure read-only channels are not encrypted
...
fixes : status-im/status-desktop#14748
2024-05-16 11:21:55 +02:00
richΛrd
82ae41f6d5
feat(waku2)_: allow using an env variable to set the node's key ( #5152 )
2024-05-15 19:15:22 -04:00
richΛrd
9e0fb30f8d
chore_: bump go-waku ( #5150 )
2024-05-15 19:15:00 -04:00
Jonathan Rainville
5ca1cb0a0f
fix(messenger)_: make sure chats have an unread count of 0 for channels you can't view ( #5062 )
...
Fixes https://github.com/status-im/status-desktop/issues/14421
The problem is that you can receive messages to a channel, then later, before marking them as read, a permission is added to them, so you no longer have access.
Then, you can't even mark it as read if it's hidden.
Here, I fix it by setting the unread count on Init at 0 if the user doesn't have view access to it. And I make sure we update the counts when we are removed from a channel
2024-05-15 15:57:12 -04:00
Godfrain Jacques
bf56cb7ee2
fix_: saving profile image changes ens display name to non-ens ( #5156 )
...
When a user updates the preferred name, we should just ignore if the name is an ENS name,
because the ENS name is set only in the ENS popup. But this also means that if a user set
the profile name to an ENS name, this change will also be ignored.
2024-05-15 12:37:04 -07:00
frank
3b5eab3bf1
fix_:sync contact request decision ( #5130 )
...
* fix_:sync contact request decision
* chore_:optimise test
* chore_:address feedback from review
2024-05-15 08:01:47 +08:00
Alexander
c46e395a58
Extend peersyncing to sync 1-to-1 messages ( #4962 )
...
* fix_: extend peersyncing to sync 1-to-1 messages
* fix_: tests
2024-05-14 12:20:13 +02:00
Jonathan Rainville
8f50b578d1
refactor(chat)_: remove concept of ChannelGroup and remove api functions ( #4997 )
...
For status-im/status-desktop#12595
2024-05-13 15:06:21 -04:00
frank
eb6ebade8e
fix_:failed test relate to old status community
2024-05-13 21:17:25 +08:00
Parvesh Monu
6eb40bf781
chore_: Remove old status community from the database
2024-05-13 21:17:25 +08:00
Godfrain Jacques
627e23ffa5
fix_: mitigate permission stuck in pending state ( #5070 )
...
This PR mitigates permission stuck in pending state upon making device a
control node. It fixes [#14023 ](status-im/status-desktop#14023 )
2024-05-10 08:56:40 -07:00
Mykhailo Prakhov
cb4c19cece
feat(encryption)_: request control node to resend ecnryption keys during restoring account by a seed phrase ( #5142 )
2024-05-10 10:04:46 +02:00
Igor Sirotin
349ea8ad6e
feat_: force members reevaluation ( #5139 )
...
* chore_: enable adding community manager options from messenger config
* chore_: make `reevaluateMembers` private method
* fix(MessengerCommunitiesTokenPermissionsSuite)_: proper waiting
* feat_: `ForceMembersReevaluation` method
* test_: increate some test timeouts
2024-05-09 22:59:51 +03:00
Andrey Bocharnikov
8cd4560823
fix(communities)_: prepare messages content for GetCommunityMemberAllMessages
...
Fixes #14060
2024-05-09 20:27:05 +07:00
Andrey Bocharnikov
6b5315b1fd
fix(communities)_: delay starting torrent client until connection is established
...
Fixes # 14510
2024-05-09 11:00:53 +07:00
Igor Sirotin
529c658374
fix_: flaky TestSharedAddressesReturnsRevealedAccount ( #5137 )
2024-05-09 00:54:28 +01:00
Jonathan Rainville
5f4aab3121
feat(community)_: send signals about member reevaluation in progress ( #5120 )
...
Needed for https://github.com/status-im/status-desktop/issues/14378
2024-05-08 15:55:30 -04:00
Jonathan Rainville
db0cc10a73
fix(permisisons)_: private permisisons shouldn't affect the check ( #5116 )
...
Fixes https://github.com/status-im/status-desktop/issues/14608
2024-05-08 14:45:58 -04:00
Igor Sirotin
3e4367a7cf
fix_: community members reevaluation fixes ( #5117 )
...
* fix_: prevent publishing older community description
* fix_: schedule member reevaluation instead of reevaluating in parallel
* fix_: lock community on members reevaluation
* fix(TestJoinCommunityAsAdminWithMemberAndAdminPermission)_: setup waitOnCommunitiesEvent in advance
* fix(TestEditSharedAddresses)_: remove redundant community description retrieval
2024-05-08 16:32:46 +01:00
Igor Sirotin
522f3288b0
chore_: uncomment and skip TestBecomeMemberPermissions ( #5121 )
2024-05-08 15:53:34 +01:00
Igor Sirotin
1c43b7a29b
chore_: better community json log ( #5118 )
2024-05-08 15:49:41 +01:00