Igor Sirotin
a6d46756f5
fix(ImageUnfurler): set title for image links ( #4215 )
2023-10-26 17:52:52 +01:00
Teodor M. Ionita
4744ee899e
Add TestPinMessageInCommunityChat, adjust pin permissions
...
Also check pin post permission a bit earlier for the sender, with
canPost() in sendPinMessage(), even though there is a later check down
the line in dispatchMessage().
Fixes #4138
2023-10-26 13:22:32 +03:00
frank
74396b461d
Bump version to 0.171.7 ( #4211 )
2023-10-26 14:08:58 +08:00
frank
06a9fe4f81
fix: sync decision on join community request ( #4190 )
...
* fix: sync community request decision
* make generate
* simplify test
* make generate
2023-10-26 12:17:18 +08:00
Mohsen
27b770c41b
fix: publish group member info ( #4184 )
2023-10-25 21:11:04 +03:00
Patryk Osmaczko
445135eb94
fix: ensure receivedMessage.CommunityID in chat message handler is set
...
This enables clients to obtain invitation's community ID even when
description processing is queued.
part of: status-im/status-desktop#12481
2023-10-25 20:10:01 +02:00
Jonathan Rainville
6e0d4e697f
chore(messenger_communities): use new name for community Access ( #4210 )
2023-10-25 13:33:49 -04:00
Cuteivist
debf3b6e4d
feat: Added ERC20 community id ( #4189 )
2023-10-25 18:49:18 +02:00
Boris Melnik
8ae6e3035b
feat(discord): Import single channel from discord ( #4160 )
2023-10-25 12:32:21 -04:00
Patryk Osmaczko
3452eb72a8
refactor: remove community invitation only access
2023-10-25 17:34:37 +02:00
Patryk Osmaczko
b262d7e88c
refactor: rename Community.OnRequest() -> AutoAccept()
2023-10-25 17:34:37 +02:00
Patryk Osmaczko
b321f28c9d
refactor: update community access enum naming
2023-10-25 17:34:37 +02:00
Shinnok
3805662a18
fix(messenger_communities): block messages and reactions to token gated or spectated communities ( #4064 )
...
Which specifies that if a user is not a community member & a
chat member, he can't post, react or pin messages in that chat.
Notes:
- also fix&cleanup associated failing tests.
- refactor Community.CanPost() to reflect the new requirement.
- grant code is not fully implemented and is to be removed later.
Fixes https://github.com/status-im/status-desktop/issues/11915
2023-10-25 10:26:18 -04:00
Roman Volosovskyi
9d59d889f6
[ #3833 ] Increase intreval of new blocks detection command
2023-10-25 14:45:06 +02:00
Andrea Maria Piana
08e95cd1ee
Bump version to 0.171.5
2023-10-25 11:26:30 +01:00
Igor Sirotin
c6ff315dfc
fix: set pubsubTopic in request community info from mailserver ( #4194 )
2023-10-25 11:13:35 +01:00
Mykhailo Prakhov
b08125890e
fix: SetSignerPublicKey return address with 0x prefix ( #4193 )
2023-10-24 22:17:02 +02:00
Andrea Maria Piana
23f71c1125
Fix encryption id && rekey with a single message
...
This commit changes the format of the encryption id to be based off 3
things:
1) The group id
2) The timestamp
3) The actual key
Previously this was solely based on the timestamp and the group id, but
this might lead to conflicts. Moreover the format of the key was an
uint32 and so it would wrap periodically.
The migration is a bit tricky, so first we cleared the cache of keys,
that's easier than migrating, and second we set the new field hash_id to
the concatenation of group_id / key_id.
This might lead on some duplication in case keys are re-received, but it
should not have an impact on the correctness of the code.
I have added 2 tests covering compatibility between old/new clients, as
this should not be a breaking change.
It also adds a new message to rekey in a single go, instead of having to
send multiple messages
2023-10-24 20:48:54 +01:00
Andrea Maria Piana
55afd65ec1
Bump version to v0.171.4
2023-10-24 19:02:36 +01:00
Andrea Maria Piana
bafdf08529
Fix account not being stored
2023-10-24 19:01:46 +01:00
Mikhail Rogachev
1be356af93
feat: Profile showcase backend ( #4005 )
...
* feat: profile showcase preferences basic impl
(squashed)
* feat: save preferences in batch for profile showcase
* chore: add validation for profile showcase settings request
and fix migration order
2023-10-24 14:43:18 +04:00
Igor Sirotin
e83be20def
fix: shared links and link previews contain full self information ( #4169 )
...
* fix(StatusUnfurler): allow contact without icon
2023-10-24 11:15:32 +01:00
frank
311e463eed
make lint-fix ignore for messenger_handlers.go ( #4181 )
...
* make lint-fix ignore messenger_handlers.go
* make lint-fix
2023-10-24 11:42:56 +08:00
Jonathan Rainville
b6acf16fd1
fix(chat/api): make community chat creation more forgiving and accurate ( #4185 )
...
Fixes https://github.com/status-im/status-desktop/issues/12418
2023-10-23 15:08:28 -04:00
Patryk Osmaczko
dc6fe5613a
fix: decouple permissions reevaluation from torrent client readiness
2023-10-22 21:50:41 +02:00
Patryk Osmaczko
bd245ab45b
refactor: unify `Owned()` and `ControlledCommunities()`
2023-10-22 21:50:41 +02:00
Patryk Osmaczko
345851c396
feat: ensure unique control node across devices
...
closes : status-im/status-desktop#11962
2023-10-22 21:50:41 +02:00
frank
624996a7e9
only sync decisions/state of AC notifications ( #3979 )
2023-10-22 17:41:20 +08:00
Patryk Osmaczko
2a5d3e5490
fix: mitigate flakiness of TestBasicWakuV2
...
fixes : #4105
2023-10-20 20:41:23 +02:00
Patryk Osmaczko
eb232d4680
fix: use `messengerSignalsHandler` instead of global object
2023-10-20 18:09:12 +02:00
Patryk Osmaczko
148721b680
chore: add `WaitOnSignaledMessengerResponse` test utility
2023-10-20 18:09:12 +02:00
Patryk Osmaczko
fc8ce915af
fix: prevent nil dereference in `IsControlNode` for existing communities
2023-10-19 22:11:53 +02:00
Patryk Osmaczko
05db628406
chore: omit `CommunityDescription` queuing if owner is already verified
2023-10-19 22:11:53 +02:00
Roman Volosovskyi
42527723f2
[ #4087 ] Omit history scanning on generated multiacc creation
2023-10-19 15:07:34 +02:00
Mykhailo Prakhov
74c13fd363
fix: setup owner as CommunityDescription signer after minting community owner token ( #4168 )
2023-10-19 13:03:41 +02:00
Cuteivist
9b44cf65ed
Update community solidity contracts ( #4166 )
2023-10-19 08:17:54 +02:00
Patryk Osmaczko
831feb3dcd
chore: ensure 'waku' and 'wakuv2' tests run first
...
Mitigates: #4105
2023-10-18 22:32:29 +02:00
Patryk Osmaczko
3292c1c883
feat: rekey community on control node change
...
closes : status-im/status-desktop#11963
2023-10-18 22:32:29 +02:00
Patryk Osmaczko
246b68a8c0
refactor: rename and simplify `UpdatePrivateKeyAndControlNode`
2023-10-18 22:32:29 +02:00
Patryk Osmaczko
6c4ce3dedf
fix: make `testJoinedPrivilegedMemberReceiveRequestsToJoin` less flaky
2023-10-18 17:11:20 +02:00
Patryk Osmaczko
a9cde06e44
refactor: simplify community requests logic
...
With the recent introduction of pending states, the community requests
logic became more complex. This commit simplifies the flow and
appropriately delegates logic to its corresponding abstraction levels:
messenger, manager and community. Additionally, it eliminates
redundancies in notifications and request-saving mechanism.
2023-10-18 17:11:20 +02:00
Patryk Osmaczko
b932cc97bb
fix: ensure owners and token masters receive revealed addresses with
...
request to join
2023-10-18 17:11:20 +02:00
Michal Iskierko
8ac26f8810
feat: use owner&master token addresses when deploying assets
...
Issue #12364
2023-10-18 14:09:05 +02:00
frank
3326362b90
optimised finding server cert ( #4148 )
...
* optimised finding server cert
* make sure `close(done)` invoked only once
* remove sleep
* resolve IDE warning
* refactor for findServerCert
2023-10-18 14:17:49 +08:00
Patryk Osmaczko
0881d8cdb0
Add queue for processing community description & configurable control node
2023-10-17 21:00:24 +01:00
Sale Djenic
b348cca15c
feat: added functionality to ask a client to sign a transaction and an endpoint to continue sending using provided signature
...
This functionality is needed in case the user wants to send a transaction and
signs it using the signature provided by the keycard (or any other compatible way).
2023-10-17 19:42:06 +02:00
Vitaliy Vlasov
abac55c778
fix waku2 FilterManager.pingPeers() range variable issue; modify logs
2023-10-17 17:24:33 +03:00
Jonathan Rainville
c8910d69fe
feat(pairing): sync 1-1 chats and groups on pairing devices ( #4102 )
...
Fixes #3547
2023-10-17 09:24:15 -04:00
Anthony Laibe
21ddaa4b9f
feat: arbitrum sepolia
2023-10-17 09:28:13 +02:00
Igor Sirotin
036173cfed
fix: always unfurl status links ( #4159 )
2023-10-17 08:25:45 +01:00