diff --git a/VERSION b/VERSION index befd7323f..a1196bca7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.141.4 +0.142.0 diff --git a/protocol/communities/community.go b/protocol/communities/community.go index 31586b563..344de5636 100644 --- a/protocol/communities/community.go +++ b/protocol/communities/community.go @@ -114,6 +114,7 @@ func (o *Community) MarshalPublicAPIJSON() ([]byte, error) { BanList []string `json:"banList"` TokenPermissions map[string]*protobuf.CommunityTokenPermission `json:"tokenPermissions"` CommunityTokensMetadata []*protobuf.CommunityTokenMetadata `json:"communityTokensMetadata"` + ActiveMembersCount uint64 `json:"activeMembersCount"` }{ ID: o.ID(), Verified: o.config.Verified, @@ -158,6 +159,7 @@ func (o *Community) MarshalPublicAPIJSON() ([]byte, error) { communityItem.OutroMessage = o.config.CommunityDescription.OutroMessage communityItem.BanList = o.config.CommunityDescription.BanList communityItem.CommunityTokensMetadata = o.config.CommunityDescription.CommunityTokensMetadata + communityItem.ActiveMembersCount = o.config.CommunityDescription.ActiveMembersCount if o.config.CommunityDescription.Identity != nil { communityItem.Name = o.Name() @@ -217,6 +219,7 @@ func (o *Community) MarshalJSON() ([]byte, error) { BanList []string `json:"banList"` TokenPermissions map[string]*protobuf.CommunityTokenPermission `json:"tokenPermissions"` CommunityTokensMetadata []*protobuf.CommunityTokenMetadata `json:"communityTokensMetadata"` + ActiveMembersCount uint64 `json:"activeMembersCount"` }{ ID: o.ID(), Admin: o.IsAdmin(), @@ -271,6 +274,7 @@ func (o *Community) MarshalJSON() ([]byte, error) { communityItem.OutroMessage = o.config.CommunityDescription.OutroMessage communityItem.BanList = o.config.CommunityDescription.BanList communityItem.CommunityTokensMetadata = o.config.CommunityDescription.CommunityTokensMetadata + communityItem.ActiveMembersCount = o.config.CommunityDescription.ActiveMembersCount if o.config.CommunityDescription.Identity != nil { communityItem.Name = o.Name() @@ -1844,6 +1848,24 @@ func (o *Community) AddMemberWallet(memberID string, addresses []string) (*Commu return changes, nil } +func (o *Community) SetActiveMembersCount(activeMembersCount uint64) (updated bool, err error) { + o.mutex.Lock() + defer o.mutex.Unlock() + + if o.config.PrivateKey == nil { + return false, ErrNotAdmin + } + + if activeMembersCount == o.config.CommunityDescription.ActiveMembersCount { + return false, nil + } + + o.config.CommunityDescription.ActiveMembersCount = activeMembersCount + o.increaseClock() + + return true, nil +} + func emptyCommunityChanges() *CommunityChanges { return &CommunityChanges{ MembersAdded: make(map[string]*protobuf.CommunityMember), diff --git a/protocol/communities/manager.go b/protocol/communities/manager.go index 20fb63f60..40e82f019 100644 --- a/protocol/communities/manager.go +++ b/protocol/communities/manager.go @@ -3147,3 +3147,28 @@ func (m *Manager) AddCommunityToken(token *CommunityToken) (*CommunityToken, err func (m *Manager) UpdateCommunityTokenState(contractAddress string, deployState DeployState) error { return m.persistence.UpdateCommunityTokenState(contractAddress, deployState) } + +func (m *Manager) SetCommunityActiveMembersCount(communityID string, activeMembersCount uint64) error { + community, err := m.GetByIDString(communityID) + if err != nil { + return err + } + if community == nil { + return ErrOrgNotFound + } + + updated, err := community.SetActiveMembersCount(activeMembersCount) + if err != nil { + return err + } + + if updated { + if err = m.persistence.SaveCommunity(community); err != nil { + return err + } + + m.publish(&Subscription{Community: community}) + } + + return nil +} diff --git a/protocol/message_persistence.go b/protocol/message_persistence.go index 13ce13c7b..d51dd56ae 100644 --- a/protocol/message_persistence.go +++ b/protocol/message_persistence.go @@ -973,6 +973,26 @@ func (db sqlitePersistence) AllChatIDsByCommunity(communityID string) ([]string, return rst, nil } +func (db sqlitePersistence) CountActiveChattersInCommunity(communityID string, activeAfterTimestamp int64) (uint, error) { + var activeChattersCount uint + err := db.db.QueryRow( + ` + SELECT COUNT(DISTINCT source) + FROM user_messages + JOIN chats ON user_messages.local_chat_id = chats.id + WHERE chats.community_id = ? + AND user_messages.timestamp >= ? + `, communityID, activeAfterTimestamp).Scan(&activeChattersCount) + if err == sql.ErrNoRows { + return 0, nil + } + if err != nil { + return 0, err + } + + return activeChattersCount, nil +} + // PinnedMessageByChatID returns all pinned messages for a given chatID in descending order. // Ordering is accomplished using two concatenated values: ClockValue and ID. // These two values are also used to compose a cursor which is returned to the result. diff --git a/protocol/messenger.go b/protocol/messenger.go index 7ba25781d..7228210c5 100644 --- a/protocol/messenger.go +++ b/protocol/messenger.go @@ -692,6 +692,7 @@ func (m *Messenger) Start() (*MessengerResponse, error) { m.handleEncryptionLayerSubscriptions(subscriptions) m.handleCommunitiesSubscription(m.communitiesManager.Subscribe()) m.handleCommunitiesHistoryArchivesSubscription(m.communitiesManager.Subscribe()) + m.updateCommunitiesActiveMembersPeriodically() m.handleConnectionChange(m.online()) m.handleENSVerificationSubscription(ensSubscription) m.watchConnectionChange() diff --git a/protocol/messenger_communities.go b/protocol/messenger_communities.go index a44a02ae3..cbbb5b93b 100644 --- a/protocol/messenger_communities.go +++ b/protocol/messenger_communities.go @@ -40,6 +40,9 @@ import ( // 7 days interval var messageArchiveInterval = 7 * 24 * time.Hour +// 1 day interval +var updateActiveMembersInterval = 24 * time.Hour + const discordTimestampLayout = "2006-01-02T15:04:05+00:00" func (m *Messenger) publishOrg(org *communities.Community) error { @@ -227,6 +230,65 @@ func (m *Messenger) handleCommunitiesSubscription(c chan *communities.Subscripti }() } +func (m *Messenger) updateCommunitiesActiveMembersPeriodically() { + communitiesLastUpdated := make(map[string]int64) + + // We check every 5 minutes if we need to update + ticker := time.NewTicker(5 * time.Minute) + + go func() { + for { + select { + case <-ticker.C: + ownedCommunities, err := m.communitiesManager.Created() + if err != nil { + m.logger.Error("failed to update community active members count", zap.Error(err)) + } + + for _, community := range ownedCommunities { + lastUpdated, ok := communitiesLastUpdated[community.IDString()] + if !ok { + lastUpdated = 0 + } + + // If not enough time has passed since last update, we skip this + if time.Now().Unix()-lastUpdated < int64(updateActiveMembersInterval.Seconds()) { + continue + } + + if err := m.updateCommunityActiveMembers(community.IDString()); err == nil { + communitiesLastUpdated[community.IDString()] = time.Now().Unix() + + // Perf: ensure `updateCommunityActiveMembers` is not called few times in a row + // Next communities will be handled in subsequent ticks + break + } else { + m.logger.Error("failed to update community active members count", zap.Error(err)) + } + } + + case <-m.quit: + return + } + } + }() +} + +func (m *Messenger) updateCommunityActiveMembers(communityID string) error { + lastWeek := time.Now().AddDate(0, 0, -7).Unix() + count, err := m.persistence.CountActiveChattersInCommunity(communityID, lastWeek) + if err != nil { + return err + } + + if err = m.communitiesManager.SetCommunityActiveMembersCount(communityID, uint64(count)); err != nil { + return err + } + + m.logger.Debug("community active members updated", zap.String("communityID", communityID), zap.Uint("count", count)) + return nil +} + func (m *Messenger) Communities() ([]*communities.Community, error) { return m.communitiesManager.All() } diff --git a/protocol/persistence_test.go b/protocol/persistence_test.go index b98d404dc..55ec3be6a 100644 --- a/protocol/persistence_test.go +++ b/protocol/persistence_test.go @@ -3,6 +3,7 @@ package protocol import ( "bytes" "database/sql" + "fmt" "io/ioutil" "math" "sort" @@ -1624,3 +1625,60 @@ func TestSaveHashRatchetMessage(t *testing.T) { require.Len(t, fetchedMessages, 1) require.Equal(t, fetchedMessages[0], message1) } + +func TestCountActiveChattersInCommunity(t *testing.T) { + db, err := openTestDB() + require.NoError(t, err) + p := newSQLitePersistence(db) + + channel1 := Chat{ + ID: "channel1", + Name: "channel1", + CommunityID: "testCommunity", + } + + channel2 := Chat{ + ID: "channel2", + Name: "channel2", + CommunityID: "testCommunity", + } + + require.NoError(t, p.SaveChat(channel1)) + require.NoError(t, p.SaveChat(channel2)) + + fillChatWithMessages := func(chat *Chat, offset int) { + count := 5 + var messages []*common.Message + for i := 0; i < count; i++ { + messages = append(messages, &common.Message{ + ID: fmt.Sprintf("%smsg%d", chat.Name, i), + LocalChatID: chat.ID, + ChatMessage: protobuf.ChatMessage{ + Clock: uint64(i), + Timestamp: uint64(i + offset), + }, + From: fmt.Sprintf("user%d", i), + }) + } + require.NoError(t, p.SaveMessages(messages)) + } + + // timestamp/user/msgID + // channel1: 0/user0/channel1msg0 1/user1/channel1msg1 2/user2/channel1msg2 3/user3/channel1msg3 4/user4/channel1msg4 + // channel2: 3/user0/channel2msg0 4/user1/channel2msg1 5/user2/channel2msg2 6/user3/channel2msg3 7/user4/channel2msg4 + fillChatWithMessages(&channel1, 0) + fillChatWithMessages(&channel2, 3) + + checker := func(activeAfterTimestamp int64, expected uint) { + result, err := p.CountActiveChattersInCommunity("testCommunity", activeAfterTimestamp) + require.NoError(t, err) + require.Equal(t, expected, result) + } + checker(0, 5) + checker(3, 5) + checker(4, 4) + checker(5, 3) + checker(6, 2) + checker(7, 1) + checker(8, 0) +} diff --git a/protocol/protobuf/communities.pb.go b/protocol/protobuf/communities.pb.go index ca45b7695..2dcc5eb1c 100644 --- a/protocol/protobuf/communities.pb.go +++ b/protocol/protobuf/communities.pb.go @@ -537,6 +537,7 @@ type CommunityDescription struct { Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"` TokenPermissions map[string]*CommunityTokenPermission `protobuf:"bytes,15,rep,name=token_permissions,json=tokenPermissions,proto3" json:"token_permissions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` CommunityTokensMetadata []*CommunityTokenMetadata `protobuf:"bytes,16,rep,name=community_tokens_metadata,json=communityTokensMetadata,proto3" json:"community_tokens_metadata,omitempty"` + ActiveMembersCount uint64 `protobuf:"varint,17,opt,name=active_members_count,json=activeMembersCount,proto3" json:"active_members_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -672,6 +673,13 @@ func (m *CommunityDescription) GetCommunityTokensMetadata() []*CommunityTokenMet return nil } +func (m *CommunityDescription) GetActiveMembersCount() uint64 { + if m != nil { + return m.ActiveMembersCount + } + return 0 +} + type CommunityAdminSettings struct { PinMessageAllMembersEnabled bool `protobuf:"varint,1,opt,name=pin_message_all_members_enabled,json=pinMessageAllMembersEnabled,proto3" json:"pin_message_all_members_enabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1579,125 +1587,126 @@ func init() { } var fileDescriptor_f937943d74c1cd8b = []byte{ - // 1905 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x72, 0x23, 0x49, - 0xf1, 0x9f, 0xd6, 0x87, 0x2d, 0xa5, 0x3e, 0x46, 0xae, 0x19, 0xdb, 0x6d, 0xcf, 0xcc, 0xda, 0xd3, - 0xff, 0x3f, 0xb1, 0xde, 0x20, 0xd0, 0xb0, 0x5a, 0x08, 0x26, 0x76, 0x61, 0x77, 0x35, 0xb6, 0x62, - 0x10, 0x63, 0x49, 0xde, 0xb2, 0xcc, 0xb2, 0x1b, 0x40, 0x47, 0xb9, 0xbb, 0x6c, 0x57, 0xb8, 0xd5, - 0x2d, 0xba, 0x4a, 0x06, 0x71, 0xe0, 0xc4, 0x43, 0x70, 0xe7, 0x4a, 0xf0, 0x0a, 0x1c, 0xe0, 0x48, - 0x70, 0x24, 0x82, 0x1b, 0x27, 0x82, 0xc7, 0x20, 0xea, 0xa3, 0xa5, 0x6e, 0x59, 0xb2, 0x87, 0x58, - 0x88, 0xe0, 0xa4, 0xce, 0xac, 0xcc, 0xac, 0xac, 0xcc, 0x5f, 0x65, 0x65, 0x0a, 0x36, 0xbc, 0x68, - 0x34, 0x9a, 0x84, 0x4c, 0x30, 0xca, 0x9b, 0xe3, 0x38, 0x12, 0x11, 0x2a, 0xa9, 0x9f, 0xf3, 0xc9, - 0xc5, 0xee, 0x23, 0xef, 0x8a, 0x08, 0x97, 0xf9, 0x34, 0x14, 0x4c, 0x4c, 0xf5, 0xf2, 0x6e, 0x85, - 0x86, 0x93, 0x91, 0x91, 0x75, 0x6e, 0xa0, 0xf8, 0x3a, 0x26, 0xa1, 0x40, 0xcf, 0xa1, 0x9a, 0x58, - 0x9a, 0xba, 0xcc, 0xb7, 0xad, 0x7d, 0xeb, 0xa0, 0x8a, 0x2b, 0x33, 0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 0x38, 0x15, 0x26, 0xba, 0x86, 0x92, 0x59, 0xe0, 0xec, 0x97, 0xd4, 0xfc, 0x19, 0xa7, 0xbe, - 0x17, 0x31, 0x52, 0x98, 0x61, 0xc4, 0xf9, 0x8b, 0x05, 0xdb, 0x2b, 0x4e, 0x81, 0xde, 0x40, 0xc9, - 0x0c, 0x0e, 0x49, 0xe3, 0xf2, 0xe2, 0x2e, 0x1f, 0x95, 0x52, 0xd3, 0x10, 0xa6, 0x5e, 0xcf, 0x0c, - 0xec, 0x5e, 0x40, 0x2d, 0xb3, 0xb4, 0xa4, 0x3a, 0x7f, 0x92, 0x6d, 0x09, 0xde, 0xbb, 0x77, 0xb3, - 0x59, 0x54, 0xe6, 0x85, 0xfc, 0x55, 0xed, 0xcb, 0x4a, 0xf3, 0xc5, 0x47, 0x89, 0xe6, 0xf9, 0x9a, - 0xfa, 0xfa, 0xe0, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x53, 0xf5, 0x9f, 0xe9, 0x45, 0x15, 0x00, - 0x00, + // 1927 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x5f, 0x6f, 0x23, 0x49, + 0x11, 0xdf, 0xf1, 0x9f, 0xc4, 0x2e, 0xff, 0x89, 0xd3, 0xbb, 0x49, 0x26, 0xd9, 0xdd, 0x4b, 0x76, + 0x00, 0x5d, 0x4e, 0x08, 0xef, 0x9d, 0x0f, 0xc4, 0xea, 0x0e, 0xee, 0xce, 0x9b, 0x58, 0x8b, 0xd9, + 0xd8, 0xce, 0x75, 0x1c, 0x8e, 0x3b, 0x01, 0xa3, 0xce, 0x4c, 0xc7, 0x69, 0x65, 0x3c, 0x63, 0xa6, + 0xdb, 0x01, 0xf3, 0xc0, 0x13, 0x1f, 0x82, 0x77, 0x5e, 0x11, 0x5f, 0x81, 0x07, 0x5e, 0x11, 0x8f, + 0x48, 0xbc, 0xf1,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x0e, 0x53, 0x3e, 0x09, 0x7c, 0x4e, 0x57, 0xb8, 0xfc, 0x3d, 0x28, 0x27, 0x5b, 0xdd, 0x51, + 0x4b, 0x52, 0x18, 0xc6, 0x73, 0x05, 0x79, 0x6f, 0xe4, 0x30, 0xa5, 0x1e, 0xf4, 0xbc, 0x2a, 0x86, + 0x09, 0x3d, 0x87, 0x7a, 0x21, 0x0d, 0xf5, 0xc5, 0xe3, 0x16, 0x6f, 0x1f, 0xf7, 0x29, 0x80, 0xee, + 0x75, 0xec, 0x69, 0xc8, 0xa2, 0x21, 0xb4, 0xac, 0x39, 0xe7, 0x21, 0xb3, 0x30, 0xec, 0xdc, 0x3e, + 0xe9, 0x09, 0x25, 0x37, 0xab, 0x8e, 0xb8, 0xb8, 0x65, 0xee, 0xd6, 0x96, 0xd6, 0x8f, 0xe1, 0x59, + 0xaa, 0xce, 0xe8, 0x52, 0xbe, 0xd8, 0x56, 0xad, 0xb0, 0x9e, 0xf5, 0x36, 0xb7, 0xe8, 0xed, 0x1f, + 0x0d, 0xa8, 0x7c, 0x41, 0xae, 0xa7, 0x71, 0x0f, 0xd4, 0x80, 0x3c, 0x67, 0xa3, 0xa8, 0x46, 0xc8, + 0x4f, 0xd9, 0x15, 0x09, 0x36, 0xa6, 0x5c, 0x90, 0xf1, 0x44, 0xe9, 0x17, 0xf0, 0x9c, 0x21, 0x37, + 0x15, 0xc1, 0x84, 0x39, 0x2a, 0xbc, 0x55, 0xac, 0x09, 0x35, 0x13, 0x93, 0x99, 0x17, 0x90, 0x18, + 0x2f, 0x31, 0xa9, 0x57, 0x5c, 0x97, 0xf9, 0xa3, 0x28, 0xb4, 0x31, 0x29, 0xeb, 0xde, 0x15, 0xe1, + 0x57, 0x2a, 0xa0, 0x55, 0xac, 0xbe, 0x91, 0x05, 0x55, 0x71, 0xc5, 0x42, 0xf7, 0x94, 0x84, 0x32, + 0x0e, 0xd1, 0xa4, 0x96, 0xe1, 0x59, 0xbf, 0x86, 0xbd, 0x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 0xe7, 0x1f, 0xc7, 0x9a, 0x17, 0x6b, 0xea, 0xeb, 0xc3, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x50, + 0x24, 0xc4, 0xac, 0x77, 0x15, 0x00, 0x00, } diff --git a/protocol/protobuf/communities.proto b/protocol/protobuf/communities.proto index 4df298771..7191b1b95 100644 --- a/protocol/protobuf/communities.proto +++ b/protocol/protobuf/communities.proto @@ -89,6 +89,7 @@ message CommunityDescription { repeated string tags = 14; map token_permissions = 15; repeated CommunityTokenMetadata community_tokens_metadata = 16; + uint64 active_members_count = 17; } message CommunityAdminSettings {