Andrea Maria Piana
4fba5647d1
Use NewContractMaker for messenger
2023-08-29 14:17:49 +01:00
Andrea Maria Piana
6f4f57b7a8
Handle nil error on request to join
2023-08-29 13:04:00 +01:00
Andrea Maria Piana
8c41678520
Fix contract call for communities
2023-08-29 13:02:26 +01:00
Michal Iskierko
8425e6d238
feat(Collectibles): Change Collectibles service name to CommunityTokens.
...
Issue #12011
2023-08-29 11:01:01 +02:00
frank
38415849cd
fix generate_handlers_template.txt
2023-08-28 14:17:33 +01:00
Richard Ramos
d62a5736a5
fix: return default pubsub topic, and add more logs
2023-08-25 13:34:34 -04:00
frank
3837428384
continue process after SaveSyncDisplayName
get `ErrNewClockOlderTha… ( #3952 )
...
* continue process after `SaveSyncDisplayName` get `ErrNewClockOlderThanCurrent`
* bump version
2023-08-25 22:28:26 +08:00
Sale Djenic
abe43a83ae
feat: added an activity center notification that a new keypair was added on a paired device
2023-08-25 11:59:28 +02:00
Richard Ramos
d900974519
fix: code review
2023-08-23 13:56:00 -04:00
Richard Ramos
f9ec588c4e
feat: use protected topics for communities
...
refactor: associate chats to pubsub topics and populate these depending if the chat belongs to a community or not
refactor: add pubsub topic to mailserver batches
chore: ensure default relay messages continue working as they should
refactor: mailserver functions should be aware of pubsub topics
fix: use []byte for communityIDs
2023-08-23 13:56:00 -04:00
Patryk Osmaczko
8764170149
fix: expose token permission from events
...
Ensure token permission from events is returned by `tokenPermissions`.
2023-08-23 18:50:26 +02:00
Patryk Osmaczko
2131bd3881
fix: remove fixupChannelMembers
...
This manual migration causes problems because it updates
`CommunityDescription` withouth publishing it.
2023-08-23 18:50:26 +02:00
Sale Djenic
e732000d31
fix: remove account if it's marked as removed in received protobuf.SyncKeypair
message
...
When we switched to marking removed accounts, the handler remained unchanged. It kept
checking for the account existence in the received `protobuf.SyncKeypair` message, instead
of checking a removed flag.
2023-08-23 14:07:39 +02:00
Patryk Osmaczko
a12e87dac6
feat: add pending state for token permissions
...
iterates: status-im/status-desktop#11852
2023-08-23 10:34:59 +02:00
Patryk Osmaczko
a31dea7988
fix: improve stability of TestReevaluateMemberAdminRoleInClosedCommunity
2023-08-23 10:34:59 +02:00
Patryk Osmaczko
63131aebbc
refactor: merge AddTokenPermission and UpdateTokenPermission
2023-08-23 10:34:59 +02:00
Mykhailo Prakhov
86d969727f
feat: share CommunityTokens between privileged users ( #3931 )
...
feat: sync CommunityTokens between privileged users
feat: restore PrivilegeLevel for synchronized CommunityToken
2023-08-22 19:48:42 +02:00
Andrea Maria Piana
8dd1b66d69
Always use protobufs by reference & generate handlers
2023-08-22 12:08:54 +01:00
Anthony Laibe
9d782edb4d
feat: wallet custom token with communities
2023-08-22 12:41:35 +02:00
Igor Sirotin
09a988607d
chore: Moved link preview unfurlers to a separate package ( #3917 )
...
* MessengerLinkPreviewsTestSuite
2023-08-21 22:31:32 +03:00
Icaro Motta
084d4bac0c
feat: Unfurl image URLs ( #3901 )
...
This commit adds support for unfurling static image URLs (not GIFs, not animated WebPs), such as https://placehold.co/600x400@2x.png . It also compresses images before returning them as data URIs to clients.
About compression: the compression strategy leverages the existing function images.CompressToFileLimits. A more comprehensive logic to consider the possibility of multiple image URLs being unfurled simultaneously is yet to be implemented.
Closes #3761
2023-08-21 16:48:07 +00:00
Jonathan Rainville
3bf0bed78d
Fix pending join requests + API to get them ( #3902 )
...
Needed for https://github.com/status-im/status-desktop/issues/11851
2023-08-18 15:52:13 -04:00
Jonathan Rainville
5272f99b59
feat(communities): add addresses to check channel permissions functions ( #3910 )
2023-08-18 15:50:23 -04:00
Mykhailo Prakhov
d1db60918d
feat: owner and token master permissions ( #3912 )
2023-08-18 17:29:44 +02:00
Ivan Belyakov
2df9df10ab
fix(tests): moved test db setup to a common place 't/helpers', created
...
interface for initializing db, which is implemented for appdatabase and
walletdatabase. TBD for multiaccounts DB.
Unified DB initializion for all tests using helpers and new interface.
Reduced sqlcipher kdf iterations for all tests to 1.
2023-08-18 09:00:56 +02:00
Ivan Belyakov
d106b449b6
feat(wallet): move wallet-related tables to a dedicated db.
...
The only place where appDB is used in wallet is activity,
which refers to `keycards_accounts` table. So a temporary
table `keycards_accounts` is created in wallet db and updated
before each activity query.
2023-08-18 09:00:56 +02:00
Patryk Osmaczko
d0f304c262
refactor: simplify events creation logic
...
- use `roles_authorization.go` APIs as the ultimate source of truth
- unify&simplify community modifications in terms of events creation
2023-08-17 08:24:51 +02:00
Mikhail Rogachev
6d3e6d1b5d
Fix fetching revealed accounts in GetCommunityMembersForWalletAddresses
( #3891 )
...
https://github.com/status-im/status-desktop/issues/11143
2023-08-17 02:05:32 +04:00
Patryk Osmaczko
1a05c84585
chore: remove ROLE_MANAGE_USERS
and ROLE_MODERATE_CONTENT
...
closes : #3895
2023-08-16 21:38:04 +02:00
Patryk Osmaczko
a42e2907b9
fix: revert wrong conflict resolution
...
introduced by 1bc0d37b40b0776052bf3cdbf0d99f1d095c73a1
2023-08-16 16:44:24 +02:00
Mykhailo Prakhov
e7f5f32298
feat: synchronize community token between TokenMasters and Owners ( #3893 )
2023-08-15 19:42:40 +02:00
Boris Melnik
cd4ed51a25
feat(community-permissions): Adds addresses feild to check permissions request ( #3858 )
2023-08-15 13:26:23 -04:00
Mykhailo Prakhov
7eac9b170c
feat: community privileged user sync message ( #3879 )
2023-08-15 17:27:01 +02:00
Michal Iskierko
9d0acc2265
feat(OwnerToken): Owner token and master token deployment
...
Adding new smart contracts and generated go files.
Deploy token owner function and master token address getter.
Adding deployer and privilegesLevel columns to community_tokens table.
Passing addressFrom to API calls.
Issue #11250
2023-08-14 20:57:00 +02:00
Felicio Mununga
57b4036da3
fix encoding of status.app links ( #3855 )
...
* rm params
* use url data proto
* feat: community channel and user data parsing; improve testing for urls
---------
Co-authored-by: MishkaRogachev <mishkarogachev@gmail.com>
2023-08-14 14:25:42 +04:00
Andrea Maria Piana
76c3bb9d81
Prepare messages before notifications are sent back
2023-08-14 10:19:07 +01:00
Mikhail Rogachev
0950721a6d
feat: add 'GetCommunityMembersForWalletAddresses' endpoint ( #3854 )
...
For https://github.com/status-im/status-desktop/issues/11143
2023-08-14 12:59:02 +04:00
flexsurfer
1ca165c586
Add preview and counters for CR system messages #16898 ( #3872 )
2023-08-11 19:08:54 +02:00
Andrea Maria Piana
abcab237fa
Revert "Optimized counter increment logic for 1-1 chat messages ( #3845 )"
...
This reverts commit e762cf4b9e7682055fd6edf662d3383279779549.
2023-08-11 13:18:42 +01:00
frank
daa9ad4e05
added nil checking for communitiesManager.GetByID ( #3877 )
2023-08-11 19:17:34 +08:00
Patryk Osmaczko
8b9ee803e2
feat: auto re-apply rejected community events
...
closes : status-im/status-desktop#11552
2023-08-11 12:46:45 +02:00
Alexander
e762cf4b9e
Optimized counter increment logic for 1-1 chat messages ( #3845 )
...
* Optimized counter increment logic for 1-1 chat messages
* Fix
* Style fix
* Bugfix
2023-08-11 12:15:57 +02:00
frank
9896ec817b
revert identity ring colours ( #3865 )
...
* revert identity ring colours
* bump version
2023-08-11 09:00:18 +08:00
Igor Sirotin
f0ab8f0be9
chore: Common createOtherDevice
for community_messenger_test ( #3874 )
2023-08-10 21:25:07 +03:00
Jonathan Rainville
1d2b508c20
fix(communities_manager): fix joining community with admin permission ( #3870 )
...
Fixes an issue where if a community had an admin permission, it would be impossible to join as a normal member because the admin permission wasn't satisfied.
2023-08-10 11:46:38 -04:00
Patryk Osmaczko
400ba52289
fix: ensure CommunityDescription msg kept in db is signed
...
closes : status-im/status-desktop#11859
2023-08-10 17:09:30 +02:00
Sale Djenic
6ee7038809
fix: synced from field updated if recovered keypairs made fully operable
2023-08-10 16:09:29 +02:00
Sale Djenic
2325bc5565
fix: accounts should keep the origin operability when local pairing
2023-08-10 16:09:29 +02:00
Igor Sirotin
2dd7968c8a
fix: Extract PairDevices
func ( #3857 )
2023-08-10 16:57:52 +03:00
Jonathan Rainville
b4b0d26aa4
feat(api): add api to get members revealed accounts ( #3864 )
2023-08-09 11:08:20 -04:00