1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 18:10:49 +09:00

GO-3514 Merge branch 'main' of github.com:anyproto/anytype-heart into go-3514-custom-types-that-are-deleted-are-impossible-to-bring-back

This commit is contained in:
AnastasiaShemyakinskaya 2024-07-03 10:44:26 +02:00
commit 6e6802294e
No known key found for this signature in database
GPG key ID: CCD60ED83B103281
67 changed files with 8152 additions and 3017 deletions

View file

@ -10,9 +10,11 @@ issues:
exclude-generated: disable
exclude-dirs:
- pkg/lib/pb
- pb
exclude-files:
- '.*_test.go'
- 'testMock/*'
- 'clientlibrary/service/service.pb.go'
linters-settings:
unused:

View file

@ -25,311 +25,314 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("pb/protos/service/service.proto", fileDescriptor_93a29dc403579097) }
var fileDescriptor_93a29dc403579097 = []byte{
// 4850 bytes of a gzipped FileDescriptorProto
// 4904 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x9d, 0xdd, 0x6f, 0x24, 0x49,
0x52, 0xc0, 0xb7, 0x5f, 0x58, 0xa8, 0xe3, 0x16, 0xe8, 0x85, 0x65, 0x6f, 0xb9, 0x9b, 0x99, 0x9d,
0x9d, 0x0f, 0xcf, 0x78, 0xdc, 0xf6, 0xce, 0xec, 0xc7, 0xb1, 0x87, 0x84, 0x3c, 0xf6, 0xd8, 0x6b,
0xce, 0xf6, 0x18, 0x77, 0x7b, 0x46, 0x5a, 0x09, 0x89, 0x72, 0x75, 0xb8, 0x5d, 0xb8, 0xba, 0xb2,
0x2e, 0x2b, 0xbb, 0x3d, 0x7d, 0x08, 0x04, 0x02, 0x81, 0x40, 0x20, 0x4e, 0x7c, 0xbd, 0xf0, 0x80,
0x84, 0xf8, 0x63, 0x78, 0xbc, 0x27, 0xc4, 0x23, 0xda, 0xfd, 0x47, 0x4e, 0x95, 0x95, 0x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x50, 0x6f, 0x64, 0x7a, 0x88,
0x79, 0xe0, 0x57, 0x6d, 0x0d, 0x33, 0x0f, 0x3b, 0x39, 0xb3, 0xff, 0xba, 0x1f, 0x67, 0x19, 0xf0,
0x55, 0x23, 0x3b, 0x8a, 0xf3, 0xf4, 0x02, 0x4a, 0x81, 0xf6, 0x5f, 0x15, 0x35, 0xc2, 0x18, 0xb1,
0xff, 0x1a, 0xc0, 0x4d, 0x36, 0x8f, 0x3c, 0x1f, 0xe4, 0x53, 0x78, 0x83, 0xb2, 0x79, 0x6c, 0x47,
0x32, 0x44, 0x36, 0x4f, 0xb1, 0x66, 0x47, 0xf4, 0x79, 0xc6, 0x92, 0x2b, 0x35, 0x05, 0xb8, 0x0d,
0x2c, 0x25, 0x78, 0x0e, 0xb8, 0x1b, 0x42, 0xcc, 0x24, 0x20, 0x05, 0xa7, 0x50, 0x64, 0x71, 0x82,
0x6f, 0x38, 0xd4, 0x3a, 0x4a, 0x46, 0x4c, 0x02, 0x98, 0x41, 0xc5, 0x55, 0x37, 0x27, 0x7c, 0xc5,
0x45, 0x17, 0x27, 0xee, 0x86, 0x10, 0x33, 0x0d, 0x4a, 0xc1, 0xb8, 0xc8, 0x52, 0x81, 0xba, 0x41,
0xad, 0x21, 0x25, 0x44, 0x37, 0x70, 0x09, 0x64, 0xf2, 0x08, 0xf8, 0x0c, 0xbc, 0x26, 0xa5, 0x24,
0x68, 0xb2, 0x21, 0xcc, 0x45, 0xb8, 0xba, 0xee, 0xac, 0x58, 0xa1, 0x8b, 0x70, 0xaa, 0x5a, 0xac,
0x58, 0x11, 0x17, 0xe1, 0x1c, 0x00, 0x15, 0xf1, 0x24, 0x2e, 0x85, 0xbf, 0x88, 0x52, 0x12, 0x2c,
0x62, 0x43, 0x98, 0x39, 0xba, 0x2e, 0xe2, 0x42, 0xa0, 0x39, 0x5a, 0x15, 0xc0, 0x3a, 0x0f, 0xbd,
0x4d, 0xca, 0xcd, 0x48, 0x52, 0xb7, 0x0a, 0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3f, 0xd2, 0xe3, 0x12, 0x96, 0x29, 0xe0, 0xc3, 0x6d, 0x4b, 0x42, 0xf4, 0x7f,
0x97, 0x30, 0x3d, 0xeb, 0x34, 0xaf, 0x8a, 0x2c, 0xae, 0x2e, 0xd4, 0x71, 0xa7, 0x5b, 0xe7, 0x46,
0x88, 0x0f, 0x3c, 0xef, 0x77, 0x50, 0x66, 0x50, 0x6f, 0x64, 0x7a, 0x88, 0x79, 0xe0, 0x57, 0x6d,
0x0d, 0x33, 0x0f, 0x3b, 0x39, 0xb3, 0xff, 0xba, 0x17, 0x67, 0x19, 0x94, 0xab, 0x46, 0x76, 0x18,
0xe7, 0xe9, 0x39, 0x54, 0x1c, 0xed, 0xbf, 0x2a, 0x6a, 0x84, 0x31, 0x62, 0xff, 0x35, 0x80, 0x9b,
0x6c, 0x1e, 0x79, 0xde, 0xcf, 0xa7, 0xf0, 0x16, 0x65, 0xf3, 0xd8, 0x8e, 0x60, 0x88, 0x6c, 0x9e,
0x62, 0xcd, 0x8e, 0xe8, 0x8b, 0x8c, 0x25, 0x97, 0x6a, 0x0a, 0x70, 0x1b, 0x58, 0x48, 0xf0, 0x1c,
0x70, 0x27, 0x84, 0x98, 0x49, 0x40, 0x08, 0x4e, 0xa0, 0xc8, 0xe2, 0x04, 0xdf, 0x70, 0x90, 0x3a,
0x4a, 0x46, 0x4c, 0x02, 0x98, 0x41, 0xc5, 0x55, 0x37, 0x27, 0x7c, 0xc5, 0x45, 0x17, 0x27, 0xee,
0x84, 0x10, 0x33, 0x0d, 0x0a, 0xc1, 0xb8, 0xc8, 0x52, 0x8e, 0xba, 0x81, 0xd4, 0x10, 0x12, 0xa2,
0x1b, 0xb8, 0x04, 0x32, 0x79, 0x08, 0xe5, 0x0c, 0xbc, 0x26, 0x85, 0x24, 0x68, 0xb2, 0x21, 0xcc,
0x45, 0x38, 0x59, 0x77, 0x56, 0xac, 0xd0, 0x45, 0x38, 0x55, 0x2d, 0x56, 0xac, 0x88, 0x8b, 0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x71, 0xfb,
0x7f, 0xbf, 0xbe, 0x31, 0xf8, 0xf9, 0xd7, 0x37, 0x06, 0xff, 0xff, 0xf5, 0x8d, 0xc1, 0xcf, 0xbe,
0xb9, 0xf1, 0xce, 0xcf, 0xbf, 0xb9, 0xf1, 0xce, 0x2f, 0xbe, 0xb9, 0xf1, 0xce, 0x57, 0xef, 0xaa,
0x3f, 0x58, 0x76, 0xf6, 0x2b, 0xe2, 0xcf, 0x8e, 0x3d, 0xff, 0x65, 0x00, 0x00, 0x00, 0xff, 0xff,
0xf5, 0x3b, 0x43, 0x25, 0xd4, 0x6c, 0x00, 0x00,
}
// This is a compile-time assertion to ensure that this generated file
@ -646,6 +649,9 @@ type ClientCommandsHandler interface {
// 12D3KooWA8EXV3KjBxEU5EnsPfneLx84vMWAtTBQBeyooN82KSuS -> hello.any
NameServiceResolveAnyId(context.Context, *pb.RpcNameServiceResolveAnyIdRequest) *pb.RpcNameServiceResolveAnyIdResponse
BroadcastPayloadEvent(context.Context, *pb.RpcBroadcastPayloadEventRequest) *pb.RpcBroadcastPayloadEventResponse
DeviceSetName(context.Context, *pb.RpcDeviceSetNameRequest) *pb.RpcDeviceSetNameResponse
DeviceList(context.Context, *pb.RpcDeviceListRequest) *pb.RpcDeviceListResponse
DeviceNetworkStateSet(context.Context, *pb.RpcDeviceNetworkStateSetRequest) *pb.RpcDeviceNetworkStateSetResponse
}
func registerClientCommandsHandler(srv ClientCommandsHandler) {
@ -5572,6 +5578,66 @@ func BroadcastPayloadEvent(b []byte) (resp []byte) {
return resp
}
func DeviceSetName(b []byte) (resp []byte) {
defer func() {
if PanicHandler != nil {
if r := recover(); r != nil {
resp, _ = (&pb.RpcDeviceSetNameResponse{Error: &pb.RpcDeviceSetNameResponseError{Code: pb.RpcDeviceSetNameResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
PanicHandler(r)
}
}
}()
in := new(pb.RpcDeviceSetNameRequest)
if err := in.Unmarshal(b); err != nil {
resp, _ = (&pb.RpcDeviceSetNameResponse{Error: &pb.RpcDeviceSetNameResponseError{Code: pb.RpcDeviceSetNameResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
return resp
}
resp, _ = clientCommandsHandler.DeviceSetName(context.Background(), in).Marshal()
return resp
}
func DeviceList(b []byte) (resp []byte) {
defer func() {
if PanicHandler != nil {
if r := recover(); r != nil {
resp, _ = (&pb.RpcDeviceListResponse{Error: &pb.RpcDeviceListResponseError{Code: pb.RpcDeviceListResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
PanicHandler(r)
}
}
}()
in := new(pb.RpcDeviceListRequest)
if err := in.Unmarshal(b); err != nil {
resp, _ = (&pb.RpcDeviceListResponse{Error: &pb.RpcDeviceListResponseError{Code: pb.RpcDeviceListResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
return resp
}
resp, _ = clientCommandsHandler.DeviceList(context.Background(), in).Marshal()
return resp
}
func DeviceNetworkStateSet(b []byte) (resp []byte) {
defer func() {
if PanicHandler != nil {
if r := recover(); r != nil {
resp, _ = (&pb.RpcDeviceNetworkStateSetResponse{Error: &pb.RpcDeviceNetworkStateSetResponseError{Code: pb.RpcDeviceNetworkStateSetResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
PanicHandler(r)
}
}
}()
in := new(pb.RpcDeviceNetworkStateSetRequest)
if err := in.Unmarshal(b); err != nil {
resp, _ = (&pb.RpcDeviceNetworkStateSetResponse{Error: &pb.RpcDeviceNetworkStateSetResponseError{Code: pb.RpcDeviceNetworkStateSetResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
return resp
}
resp, _ = clientCommandsHandler.DeviceNetworkStateSet(context.Background(), in).Marshal()
return resp
}
var PanicHandler func(v interface{})
func CommandAsync(cmd string, data []byte, callback func(data []byte)) {
@ -6070,6 +6136,12 @@ func CommandAsync(cmd string, data []byte, callback func(data []byte)) {
cd = NameServiceResolveAnyId(data)
case "BroadcastPayloadEvent":
cd = BroadcastPayloadEvent(data)
case "DeviceSetName":
cd = DeviceSetName(data)
case "DeviceList":
cd = DeviceList(data)
case "DeviceNetworkStateSet":
cd = DeviceNetworkStateSet(data)
default:
log.Errorf("unknown command type: %s\n", cmd)
}
@ -9536,3 +9608,45 @@ func (h *ClientCommandsHandlerProxy) BroadcastPayloadEvent(ctx context.Context,
call, _ := actualCall(ctx, req)
return call.(*pb.RpcBroadcastPayloadEventResponse)
}
func (h *ClientCommandsHandlerProxy) DeviceSetName(ctx context.Context, req *pb.RpcDeviceSetNameRequest) *pb.RpcDeviceSetNameResponse {
actualCall := func(ctx context.Context, req any) (any, error) {
return h.client.DeviceSetName(ctx, req.(*pb.RpcDeviceSetNameRequest)), nil
}
for _, interceptor := range h.interceptors {
toCall := actualCall
currentInterceptor := interceptor
actualCall = func(ctx context.Context, req any) (any, error) {
return currentInterceptor(ctx, req, "DeviceSetName", toCall)
}
}
call, _ := actualCall(ctx, req)
return call.(*pb.RpcDeviceSetNameResponse)
}
func (h *ClientCommandsHandlerProxy) DeviceList(ctx context.Context, req *pb.RpcDeviceListRequest) *pb.RpcDeviceListResponse {
actualCall := func(ctx context.Context, req any) (any, error) {
return h.client.DeviceList(ctx, req.(*pb.RpcDeviceListRequest)), nil
}
for _, interceptor := range h.interceptors {
toCall := actualCall
currentInterceptor := interceptor
actualCall = func(ctx context.Context, req any) (any, error) {
return currentInterceptor(ctx, req, "DeviceList", toCall)
}
}
call, _ := actualCall(ctx, req)
return call.(*pb.RpcDeviceListResponse)
}
func (h *ClientCommandsHandlerProxy) DeviceNetworkStateSet(ctx context.Context, req *pb.RpcDeviceNetworkStateSetRequest) *pb.RpcDeviceNetworkStateSetResponse {
actualCall := func(ctx context.Context, req any) (any, error) {
return h.client.DeviceNetworkStateSet(ctx, req.(*pb.RpcDeviceNetworkStateSetRequest)), nil
}
for _, interceptor := range h.interceptors {
toCall := actualCall
currentInterceptor := interceptor
actualCall = func(ctx context.Context, req any) (any, error) {
return currentInterceptor(ctx, req, "DeviceNetworkStateSet", toCall)
}
}
call, _ := actualCall(ctx, req)
return call.(*pb.RpcDeviceNetworkStateSetResponse)
}

View file

@ -125,8 +125,8 @@ func (mw *Middleware) AccountMove(cctx context.Context, req *pb.RpcAccountMoveRe
}
}
func (mw *Middleware) AccountDelete(cctx context.Context, req *pb.RpcAccountDeleteRequest) *pb.RpcAccountDeleteResponse {
status, err := mw.applicationService.AccountDelete(cctx, req)
func (mw *Middleware) AccountDelete(cctx context.Context, _ *pb.RpcAccountDeleteRequest) *pb.RpcAccountDeleteResponse {
status, err := mw.applicationService.AccountDelete(cctx)
code := mapErrorCode(err,
errToCode(application.ErrAccountIsAlreadyDeleted, pb.RpcAccountDeleteResponseError_ACCOUNT_IS_ALREADY_DELETED),
errToCode(net.ErrUnableToConnect, pb.RpcAccountDeleteResponseError_UNABLE_TO_CONNECT),

View file

@ -53,6 +53,7 @@ import (
"github.com/anyproto/anytype-heart/core/configfetcher"
"github.com/anyproto/anytype-heart/core/debug"
"github.com/anyproto/anytype-heart/core/debug/profiler"
"github.com/anyproto/anytype-heart/core/device"
"github.com/anyproto/anytype-heart/core/files"
"github.com/anyproto/anytype-heart/core/files/fileacl"
"github.com/anyproto/anytype-heart/core/files/fileobject"
@ -229,6 +230,7 @@ func Bootstrap(a *app.App, components ...app.Component) {
Register(virtualspaceservice.New()).
Register(spacecore.New()).
Register(idresolver.New()).
Register(device.New()).
Register(localdiscovery.New()).
Register(peermanager.New()).
Register(typeprovider.New()).
@ -278,6 +280,7 @@ func Bootstrap(a *app.App, components ...app.Component) {
Register(decorator.New()).
Register(objectcreator.NewCreator()).
Register(kanban.New()).
Register(device.NewDevices()).
Register(editor.NewObjectFactory()).
Register(objectgraph.NewBuilder()).
Register(account.New()).

View file

@ -104,8 +104,6 @@ func (s *Service) handleCustomStorageLocation(req *pb.RpcAccountCreateRequest, a
}
func (s *Service) setAccountAndProfileDetails(ctx context.Context, req *pb.RpcAccountCreateRequest, newAcc *model.Account) error {
newAcc.Name = req.Name
personalSpaceId := app.MustComponent[account.Service](s.app).PersonalSpaceID()
var err error
newAcc.Info, err = app.MustComponent[account.Service](s.app).GetInfo(ctx, personalSpaceId)
@ -138,7 +136,6 @@ func (s *Service) setAccountAndProfileDetails(ctx context.Context, req *pb.RpcAc
if err != nil {
log.Warnf("can't add avatar: %v", err)
} else {
newAcc.Avatar = &model.AccountAvatar{Avatar: &model.AccountAvatarAvatarOfImage{Image: &model.BlockContentFile{Hash: hash}}}
profileDetails = append(profileDetails, &model.Detail{
Key: bundle.RelationKeyIconImage.String(),
Value: pbtypes.String(hash),

View file

@ -6,7 +6,6 @@ import (
"github.com/anyproto/anytype-heart/core/anytype/account"
"github.com/anyproto/anytype-heart/core/configfetcher"
"github.com/anyproto/anytype-heart/pb"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
"github.com/anyproto/anytype-heart/space/spacecore"
)
@ -16,7 +15,7 @@ var (
ErrAccountIsActive = errors.New("account is active")
)
func (s *Service) AccountDelete(ctx context.Context, req *pb.RpcAccountDeleteRequest) (*model.AccountStatus, error) {
func (s *Service) AccountDelete(ctx context.Context) (*model.AccountStatus, error) {
s.lock.RLock()
defer s.lock.RUnlock()
var (

View file

@ -24,8 +24,7 @@ func (s *Service) AccountRecover() error {
Value: &pb.EventMessageValueOfAccountShow{
AccountShow: &pb.EventAccountShow{
Account: &model.Account{
Id: res.Identity.GetPublic().Account(),
Name: "",
Id: res.Identity.GetPublic().Account(),
},
},
},

View file

@ -2,6 +2,7 @@ package basic
import (
"context"
"errors"
"fmt"
"github.com/globalsign/mgo/bson"
@ -62,7 +63,7 @@ func (bs *basic) ExtractBlocksToObjects(
return nil, fmt.Errorf("create child object: %w", err)
}
linkID, err := bs.changeToBlockWithLink(newState, rootBlock, objectID)
linkID, err := bs.changeToBlockWithLink(newState, rootBlock, objectID, req.Block)
if err != nil {
return nil, fmt.Errorf("create link to object %s: %w", objectID, err)
}
@ -117,17 +118,28 @@ func insertBlocksToState(
objState.Set(simple.New(rootB))
}
func (bs *basic) changeToBlockWithLink(newState *state.State, blockToChange simple.Block, objectID string) (string, error) {
return bs.CreateBlock(newState, pb.RpcBlockCreateRequest{
TargetId: blockToChange.Model().Id,
Block: &model.Block{
func (bs *basic) changeToBlockWithLink(newState *state.State, blockToReplace simple.Block, objectID string, linkBlock *model.Block) (string, error) {
if linkBlock == nil {
linkBlock = &model.Block{
Content: &model.BlockContentOfLink{
Link: &model.BlockContentLink{
TargetBlockId: objectID,
Style: model.BlockContentLink_Page,
},
},
},
}
} else {
link := linkBlock.GetLink()
if link == nil {
return "", errors.New("linkBlock content is not a link")
} else {
link.TargetBlockId = objectID
}
}
linkBlockCopy := pbtypes.CopyBlock(linkBlock)
return bs.CreateBlock(newState, pb.RpcBlockCreateRequest{
TargetId: blockToReplace.Model().Id,
Block: linkBlockCopy,
Position: model.Block_Replace,
})
}

View file

@ -323,6 +323,75 @@ func TestExtractObjects(t *testing.T) {
assert.Contains(t, fields, bundle.RelationKeyName.String())
})
t.Run("add custom link block", func(t *testing.T) {
fixture := newFixture(t)
defer fixture.cleanUp()
creator := testCreator{objects: map[string]*smarttest.SmartTest{}}
sb := makeTestObject()
creator.Add(sb)
ts := testTemplateService{templates: map[string]*state.State{}}
tmpl := makeTemplateState()
ts.AddTemplate("template", tmpl)
req := pb.RpcBlockListConvertToObjectsRequest{
ContextId: "test",
BlockIds: []string{"1"},
ObjectTypeUniqueKey: domain.MustUniqueKey(coresb.SmartBlockTypeObjectType, bundle.TypeKeyNote.String()).Marshal(),
Block: &model.Block{Id: "newId", Content: &model.BlockContentOfLink{
Link: &model.BlockContentLink{
CardStyle: model.BlockContentLink_Card,
},
}},
}
ctx := session.NewContext()
_, err := NewBasic(sb, fixture.store, converter.NewLayoutConverter()).ExtractBlocksToObjects(ctx, creator, ts, req)
assert.NoError(t, err)
var block *model.Block
for _, block = range sb.Blocks() {
if block.GetLink() != nil {
break
}
}
assert.NotNil(t, block)
assert.Equal(t, block.GetLink().GetCardStyle(), model.BlockContentLink_Card)
})
t.Run("add custom link block for multiple blocks", func(t *testing.T) {
fixture := newFixture(t)
defer fixture.cleanUp()
creator := testCreator{objects: map[string]*smarttest.SmartTest{}}
sb := makeTestObject()
creator.Add(sb)
ts := testTemplateService{templates: map[string]*state.State{}}
tmpl := makeTemplateState()
ts.AddTemplate("template", tmpl)
req := pb.RpcBlockListConvertToObjectsRequest{
ContextId: "test",
BlockIds: []string{"1", "2"},
ObjectTypeUniqueKey: domain.MustUniqueKey(coresb.SmartBlockTypeObjectType, bundle.TypeKeyNote.String()).Marshal(),
Block: &model.Block{Id: "newId", Content: &model.BlockContentOfLink{
Link: &model.BlockContentLink{
CardStyle: model.BlockContentLink_Card,
},
}},
}
ctx := session.NewContext()
_, err := NewBasic(sb, fixture.store, converter.NewLayoutConverter()).ExtractBlocksToObjects(ctx, creator, ts, req)
assert.NoError(t, err)
var addedBlocks []*model.Block
for _, message := range sb.Results.Events {
for _, eventMessage := range message {
if blockAdd := eventMessage.Msg.GetBlockAdd(); blockAdd != nil {
addedBlocks = append(addedBlocks, blockAdd.Blocks...)
}
}
}
assert.Len(t, addedBlocks, 2)
assert.NotEqual(t, addedBlocks[0].Id, addedBlocks[1].Id)
assert.NotEqual(t, addedBlocks[0].GetLink().GetTargetBlockId(), addedBlocks[1].GetLink().GetTargetBlockId())
})
}
type fixture struct {

View file

@ -0,0 +1,25 @@
package editor
import (
"github.com/anyproto/anytype-heart/core/block/editor/smartblock"
)
type DevicesObject struct {
smartblock.SmartBlock
deviceService deviceService
}
func NewDevicesObject(sb smartblock.SmartBlock, deviceService deviceService) *DevicesObject {
return &DevicesObject{
SmartBlock: sb,
deviceService: deviceService,
}
}
func (d *DevicesObject) Init(ctx *smartblock.InitContext) (err error) {
if err = d.SmartBlock.Init(ctx); err != nil {
return
}
d.AddHook(d.deviceService.SaveDeviceInfo, smartblock.HookAfterApply)
return nil
}

View file

@ -40,6 +40,10 @@ type accountService interface {
MyParticipantId(spaceId string) string
}
type deviceService interface {
SaveDeviceInfo(info smartblock.ApplyInfo) error
}
type ObjectFactory struct {
bookmarkService bookmark.BookmarkService
fileBlockService file.BlockService
@ -61,6 +65,7 @@ type ObjectFactory struct {
fileUploaderService fileuploader.Service
fileReconciler reconciler.Reconciler
objectDeleter ObjectDeleter
deviceService deviceService
}
func NewObjectFactory() *ObjectFactory {
@ -88,6 +93,7 @@ func (f *ObjectFactory) Init(a *app.App) (err error) {
f.fileUploaderService = app.MustComponent[fileuploader.Service](a)
f.objectDeleter = app.MustComponent[ObjectDeleter](a)
f.fileReconciler = app.MustComponent[reconciler.Reconciler](a)
f.deviceService = app.MustComponent[deviceService](a)
return nil
}
@ -185,6 +191,8 @@ func (f *ObjectFactory) New(space smartblock.Space, sbType coresb.SmartBlockType
return nil, fmt.Errorf("subobject not supported via factory")
case coresb.SmartBlockTypeParticipant:
return f.newParticipant(sb), nil
case coresb.SmartBlockTypeDevicesObject:
return NewDevicesObject(sb, f.deviceService), nil
default:
return nil, fmt.Errorf("unexpected smartblock type: %v", sbType)
}

View file

@ -716,7 +716,7 @@ func (sb *smartBlock) Apply(s *state.State, flags ...ApplyFlag) (err error) {
sb.undo.Add(act)
}
}
} else if hasChanges(changes) || migrationVersionUpdated { // TODO: change to len(changes) > 0
} else if hasChangesToPush(changes) || migrationVersionUpdated { // TODO: change to len(changes) > 0
// log.Errorf("sb apply %s: store changes %s", sb.Id(), pbtypes.Sprint(&pb.Change{Content: changes}))
err = pushChange()
if err != nil {
@ -1333,21 +1333,23 @@ func ObjectApplyTemplate(sb SmartBlock, s *state.State, templates ...template.St
return sb.Apply(s, NoHistory, NoEvent, NoRestrictions, SkipIfNoChanges)
}
func hasChanges(changes []*pb.ChangeContent) bool {
func hasChangesToPush(changes []*pb.ChangeContent) bool {
for _, ch := range changes {
if isStoreOrNotificationChanges(ch) {
if isSuitableChanges(ch) {
return true
}
}
return false
}
func isStoreOrNotificationChanges(ch *pb.ChangeContent) bool {
func isSuitableChanges(ch *pb.ChangeContent) bool {
return ch.GetStoreKeySet() != nil ||
ch.GetStoreKeyUnset() != nil ||
ch.GetStoreSliceUpdate() != nil ||
ch.GetNotificationCreate() != nil ||
ch.GetNotificationUpdate() != nil
ch.GetNotificationUpdate() != nil ||
ch.GetDeviceUpdate() != nil ||
ch.GetDeviceAdd() != nil
}
func hasDetailsMsgs(msgs []simple.EventMessage) bool {

View file

@ -250,6 +250,10 @@ func (s *State) applyChange(ch *pb.ChangeContent) (err error) {
s.addNotification(ch.GetNotificationCreate().GetNotification())
case ch.GetNotificationUpdate() != nil:
s.updateNotification(ch.GetNotificationUpdate())
case ch.GetDeviceAdd() != nil:
s.addDevice(ch.GetDeviceAdd().GetDevice())
case ch.GetDeviceUpdate() != nil:
s.updateDevice(ch.GetDeviceUpdate())
default:
return fmt.Errorf("unexpected changes content type: %v", ch)
}
@ -459,6 +463,23 @@ func (s *State) updateNotification(update *pb.ChangeNotificationUpdate) {
s.notifications[update.Id].Status = update.Status
}
func (s *State) addDevice(deviceInfo *model.DeviceInfo) {
if s.deviceStore == nil {
s.deviceStore = map[string]*model.DeviceInfo{}
}
s.deviceStore[deviceInfo.Id] = deviceInfo
}
func (s *State) updateDevice(update *pb.ChangeDeviceUpdate) {
if s.deviceStore == nil {
return
}
if _, ok := s.deviceStore[update.Id]; !ok {
return
}
s.deviceStore[update.Id].Name = update.Name
}
func (s *State) GetChanges() []*pb.ChangeContent {
return s.changes
}
@ -610,6 +631,7 @@ func (s *State) fillChanges(msgs []simple.EventMessage) {
s.changes = append(s.changes, s.makeOriginalCreatedChanges()...)
s.changes = append(s.changes, s.diffFileInfo()...)
s.changes = append(s.changes, s.makeNotificationChanges()...)
s.changes = append(s.changes, s.makeDeviceInfoChanges()...)
}
func (s *State) fillStructureChanges(cb *changeBuilder, msgs []*pb.EventBlockSetChildrenIds) {
@ -823,6 +845,34 @@ func (s *State) makeNotificationChanges() []*pb.ChangeContent {
return changes
}
func (s *State) makeDeviceInfoChanges() []*pb.ChangeContent {
changes := make([]*pb.ChangeContent, 0)
for id, device := range s.deviceStore {
if s.parent != nil {
if d := s.parent.GetDevice(id); d != nil {
if device.Name != d.Name {
changes = append(changes, &pb.ChangeContent{
Value: &pb.ChangeContentValueOfDeviceUpdate{
DeviceUpdate: &pb.ChangeDeviceUpdate{
Id: device.Id,
Name: device.Name,
},
},
})
}
continue
}
}
// if parent is nil or device is absence in parent state
changes = append(changes, &pb.ChangeContent{
Value: &pb.ChangeContentValueOfDeviceAdd{
DeviceAdd: &pb.ChangeDeviceAdd{Device: device},
},
})
}
return changes
}
type dstrings struct{ a, b []string }
func (d *dstrings) Equal(i, j int) bool { return d.a[i] == d.b[j] }

View file

@ -807,3 +807,75 @@ func Test_migrateObjectTypeIDToKey(t *testing.T) {
})
}
}
func TestRootDeviceChanges(t *testing.T) {
t.Run("no changes", func(t *testing.T) {
// given
a := NewDoc("root", nil).(*State)
s := a.NewState()
// when
_, _, err := ApplyState(s, true)
// then
assert.Nil(t, err)
assert.Len(t, s.GetChanges(), 0)
})
t.Run("add new device", func(t *testing.T) {
// given
a := NewDoc("root", nil).(*State)
s := a.NewState()
device := &model.DeviceInfo{
Id: "id",
Name: "test",
}
s.AddDevice(device)
// when
_, _, err := ApplyState(s, true)
// then
assert.Nil(t, err)
assert.Len(t, s.GetChanges(), 1)
assert.Equal(t, device, s.GetChanges()[0].GetDeviceAdd().GetDevice())
})
t.Run("update device", func(t *testing.T) {
// given
a := NewDoc("root", nil).(*State)
device := &model.DeviceInfo{
Id: "id",
Name: "test",
}
a.AddDevice(device)
s := a.NewState()
s.SetDeviceName("id", "test1")
// when
_, _, err := ApplyState(s, true)
// then
assert.Nil(t, err)
assert.Len(t, s.GetChanges(), 1)
assert.Equal(t, "test1", s.GetChanges()[0].GetDeviceUpdate().GetName())
})
t.Run("add device - parent nil", func(t *testing.T) {
// given
a := NewDoc("root", nil).(*State)
s := a.NewState()
device := &model.DeviceInfo{
Id: "id",
Name: "test",
}
s.AddDevice(device)
s.parent = nil
// when
_, _, err := ApplyState(s, true)
// then
assert.Nil(t, err)
assert.Len(t, s.GetChanges(), 1)
assert.Equal(t, device, s.GetChanges()[0].GetDeviceAdd().GetDevice())
})
}

View file

@ -118,6 +118,7 @@ type State struct {
localDetails *types.Struct
relationLinks pbtypes.RelationLinks
notifications map[string]*model.Notification
deviceStore map[string]*model.DeviceInfo
migrationVersion uint32
@ -762,6 +763,10 @@ func (s *State) apply(fast, one, withLayouts bool) (msgs []simple.EventMessage,
s.parent.notifications = s.notifications
}
if s.parent != nil && s.deviceStore != nil {
s.parent.deviceStore = s.deviceStore
}
msgs = s.processTrailingDuplicatedEvents(msgs)
log.Debugf("middle: state apply: %d affected; %d for remove; %d copied; %d changes; for a %v", len(affectedIds), len(toRemove), len(s.blocks), len(s.changes), time.Since(st))
return
@ -1403,6 +1408,7 @@ func (s *State) Copy() *State {
originalCreatedTimestamp: s.originalCreatedTimestamp,
fileInfo: s.fileInfo,
notifications: s.notifications,
deviceStore: s.deviceStore,
}
return copy
}
@ -1977,6 +1983,73 @@ func (s *State) findStateWithNonEmptyNotifications() *State {
return iterState
}
func (s *State) ListDevices() map[string]*model.DeviceInfo {
iterState := s.findStateWithDeviceInfo()
if iterState == nil {
return nil
}
return iterState.deviceStore
}
func (s *State) findStateWithDeviceInfo() *State {
iterState := s
for iterState != nil && iterState.deviceStore == nil {
iterState = iterState.parent
}
return iterState
}
func (s *State) AddDevice(device *model.DeviceInfo) {
if s.deviceStore == nil {
s.deviceStore = map[string]*model.DeviceInfo{}
}
if s.parent != nil {
for _, d := range s.parent.ListDevices() {
if _, ok := s.deviceStore[d.Id]; !ok {
s.deviceStore[d.Id] = pbtypes.CopyDevice(d)
}
}
}
if _, ok := s.deviceStore[device.Id]; ok {
return
}
s.deviceStore[device.Id] = device
}
func (s *State) SetDeviceName(id, name string) {
if s.deviceStore == nil {
s.deviceStore = map[string]*model.DeviceInfo{}
}
if s.parent != nil {
for _, d := range s.parent.ListDevices() {
if _, ok := s.deviceStore[d.Id]; !ok {
s.deviceStore[d.Id] = pbtypes.CopyDevice(d)
}
}
}
if _, ok := s.deviceStore[id]; !ok {
device := &model.DeviceInfo{
Id: id,
Name: name,
AddDate: time.Now().Unix(),
}
s.deviceStore[id] = device
return
}
s.deviceStore[id].Name = name
}
func (s *State) GetDevice(id string) *model.DeviceInfo {
iterState := s.findStateWithDeviceInfo()
if iterState == nil {
return nil
}
if device, ok := iterState.deviceStore[id]; ok {
return device
}
return nil
}
// UniqueKeyInternal is the second part of uniquekey.UniqueKey. It used together with smartblock type for the ID derivation
// which will be unique and reproducible within the same space
func (s *State) UniqueKeyInternal() string {

View file

@ -2596,3 +2596,137 @@ func TestState_RootId(t *testing.T) {
// assert.True(t, assertAllDetailsLessThenLimit(s.CombinedDetails()))
// })
// }
func TestState_AddDevice(t *testing.T) {
t.Run("add device", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
// when
st.AddDevice(&model.DeviceInfo{
Id: "id",
Name: "test",
})
// then
assert.NotNil(t, st.deviceStore["id"])
})
t.Run("add device - device exist", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
st.AddDevice(&model.DeviceInfo{
Id: "id",
Name: "test",
})
newState := st.NewState()
// when
newState.AddDevice(&model.DeviceInfo{
Id: "id",
Name: "test1",
})
// then
assert.NotNil(t, st.deviceStore["id"])
assert.Equal(t, "test", st.deviceStore["id"].Name)
})
}
func TestState_GetDevice(t *testing.T) {
t.Run("get device, device not exist", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
// when
device := st.GetDevice("id")
// then
assert.Nil(t, device)
})
t.Run("add device - device exist", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
st.AddDevice(&model.DeviceInfo{
Id: "id",
Name: "test",
})
// when
device := st.GetDevice("id")
// then
assert.NotNil(t, device)
})
t.Run("add device - device with given id not exist", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
st.AddDevice(&model.DeviceInfo{
Id: "id",
Name: "test",
})
// when
device := st.GetDevice("id1")
// then
assert.Nil(t, device)
})
}
func TestState_ListDevices(t *testing.T) {
t.Run("list devices, no devices", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
// when
devices := st.ListDevices()
// then
assert.Empty(t, devices)
})
t.Run("list devices", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
st.AddDevice(&model.DeviceInfo{
Id: "id",
Name: "test",
})
// when
devices := st.ListDevices()
// then
assert.Len(t, devices, 1)
})
}
func TestState_SetDeviceName(t *testing.T) {
t.Run("set device name, device not exist", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
// when
st.SetDeviceName("id", "test")
// then
assert.NotNil(t, st.deviceStore["id"])
assert.Equal(t, st.deviceStore["id"].Name, "test")
})
t.Run("set device name, device exists", func(t *testing.T) {
// given
st := NewDoc("root", nil).(*State)
st.AddDevice(&model.DeviceInfo{
Id: "id",
Name: "test",
})
newState := st.NewState()
// when
newState.SetDeviceName("id", "test1")
// then
assert.NotNil(t, newState.deviceStore["id"])
assert.Equal(t, newState.deviceStore["id"].Name, "test1")
})
}

View file

@ -256,7 +256,9 @@ func (oc *ObjectCreator) createNewObject(
}
})
if err == nil {
sb.Lock()
respDetails = sb.Details()
sb.Unlock()
} else if errors.Is(err, treestorage.ErrTreeExists) {
err = spc.Do(newID, func(sb smartblock.SmartBlock) error {
respDetails = sb.Details()

View file

@ -98,7 +98,9 @@ func (s *service) CreateSmartBlockFromStateInSpaceWithOptions(
return "", nil, err
}
sb.Lock()
newDetails = sb.CombinedDetails()
sb.Unlock()
id = sb.Id()
if sbType == coresb.SmartBlockTypeObjectType && pbtypes.GetInt64(newDetails, bundle.RelationKeyLastUsedDate.String()) == 0 {

22
core/device.go Normal file
View file

@ -0,0 +1,22 @@
package core
import (
"context"
"github.com/anyproto/any-sync/app"
"github.com/anyproto/anytype-heart/core/device"
"github.com/anyproto/anytype-heart/pb"
)
func (mw *Middleware) DeviceNetworkStateSet(cctx context.Context, req *pb.RpcDeviceNetworkStateSetRequest) *pb.RpcDeviceNetworkStateSetResponse {
response := func(code pb.RpcDeviceNetworkStateSetResponseErrorCode, err error) *pb.RpcDeviceNetworkStateSetResponse {
m := &pb.RpcDeviceNetworkStateSetResponse{Error: &pb.RpcDeviceNetworkStateSetResponseError{Code: code}}
if err != nil {
m.Error.Description = err.Error()
}
return m
}
app.MustComponent[device.NetworkState](mw.GetApp()).SetNetworkState(req.DeviceNetworkType)
return response(pb.RpcDeviceNetworkStateSetResponseError_NULL, nil)
}

View file

@ -0,0 +1,67 @@
package device
import (
"sync"
"github.com/anyproto/any-sync/app"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
)
const CName = "networkState"
type OnNetworkUpdateHook func(network model.DeviceNetworkType)
type NetworkState interface {
app.Component
GetNetworkState() model.DeviceNetworkType
SetNetworkState(networkState model.DeviceNetworkType)
RegisterHook(hook OnNetworkUpdateHook)
}
type networkState struct {
networkState model.DeviceNetworkType
networkMu sync.Mutex
onNetworkUpdateHooks []OnNetworkUpdateHook
hookMu sync.Mutex
}
func New() NetworkState {
return &networkState{}
}
func (n *networkState) Init(a *app.App) (err error) {
return
}
func (n *networkState) Name() (name string) {
return CName
}
func (n *networkState) GetNetworkState() model.DeviceNetworkType {
n.networkMu.Lock()
defer n.networkMu.Unlock()
return n.networkState
}
func (n *networkState) SetNetworkState(networkState model.DeviceNetworkType) {
n.networkMu.Lock()
n.networkState = networkState
defer n.networkMu.Unlock()
n.runOnNetworkUpdateHook()
}
func (n *networkState) RegisterHook(hook OnNetworkUpdateHook) {
n.hookMu.Lock()
defer n.hookMu.Unlock()
n.onNetworkUpdateHooks = append(n.onNetworkUpdateHooks, hook)
}
func (n *networkState) runOnNetworkUpdateHook() {
n.hookMu.Lock()
defer n.hookMu.Unlock()
for _, hook := range n.onNetworkUpdateHooks {
hook(n.networkState)
}
}

View file

@ -0,0 +1,74 @@
package device
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
)
func TestNetworkState_SetNetworkState(t *testing.T) {
t.Run("set network state", func(t *testing.T) {
// given
state := &networkState{}
// when
state.SetNetworkState(model.DeviceNetworkType_CELLULAR)
// then
assert.Equal(t, model.DeviceNetworkType_CELLULAR, state.networkState)
})
t.Run("update network state", func(t *testing.T) {
// given
state := &networkState{}
// when
state.SetNetworkState(model.DeviceNetworkType_CELLULAR)
state.SetNetworkState(model.DeviceNetworkType_WIFI)
// then
assert.Equal(t, model.DeviceNetworkType_WIFI, state.networkState)
})
t.Run("update network state with hook", func(t *testing.T) {
// given
state := &networkState{}
var hookState model.DeviceNetworkType
h := func(state model.DeviceNetworkType) {
hookState = state
}
state.RegisterHook(h)
// when
state.SetNetworkState(model.DeviceNetworkType_CELLULAR)
state.SetNetworkState(model.DeviceNetworkType_WIFI)
// then
assert.Equal(t, model.DeviceNetworkType_WIFI, state.networkState)
assert.Equal(t, model.DeviceNetworkType_WIFI, hookState)
})
}
func TestNetworkState_GetNetworkState(t *testing.T) {
t.Run("get default network state", func(t *testing.T) {
// given
state := New()
// when
networkType := state.GetNetworkState()
// then
assert.Equal(t, model.DeviceNetworkType_WIFI, networkType)
})
t.Run("get updated network state", func(t *testing.T) {
// given
state := New()
// when
state.SetNetworkState(model.DeviceNetworkType_CELLULAR)
networkType := state.GetNetworkState()
// then
assert.Equal(t, model.DeviceNetworkType_CELLULAR, networkType)
})
}

177
core/device/service.go Normal file
View file

@ -0,0 +1,177 @@
package device
import (
"context"
"errors"
"fmt"
"os"
"time"
"github.com/anyproto/any-sync/app"
"github.com/anyproto/any-sync/commonspace/object/tree/treestorage"
"github.com/anyproto/any-sync/net/peer"
"github.com/anyproto/anytype-heart/core/block/editor/smartblock"
"github.com/anyproto/anytype-heart/core/block/editor/state"
"github.com/anyproto/anytype-heart/core/block/object/objectcache"
"github.com/anyproto/anytype-heart/core/domain"
"github.com/anyproto/anytype-heart/core/wallet"
sb "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock"
"github.com/anyproto/anytype-heart/pkg/lib/datastore"
"github.com/anyproto/anytype-heart/pkg/lib/logging"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
"github.com/anyproto/anytype-heart/space"
"github.com/anyproto/anytype-heart/space/spacecore/peermanager"
)
const deviceService = "deviceService"
var log = logging.Logger(deviceService)
type Service interface {
app.ComponentRunnable
UpdateName(ctx context.Context, id, name string) error
ListDevices(ctx context.Context) ([]*model.DeviceInfo, error)
SaveDeviceInfo(info smartblock.ApplyInfo) error
}
func NewDevices() Service {
return &devices{finishLoad: make(chan struct{})}
}
type devices struct {
deviceObjectId string
spaceService space.Service
wallet wallet.Wallet
cancel context.CancelFunc
store Store
finishLoad chan struct{}
}
func (d *devices) Init(a *app.App) (err error) {
d.spaceService = app.MustComponent[space.Service](a)
d.wallet = a.MustComponent(wallet.CName).(wallet.Wallet)
datastoreService := app.MustComponent[datastore.Datastore](a)
db, err := datastoreService.LocalStorage()
if err != nil {
return fmt.Errorf("failed to initialize notification store %w", err)
}
d.store = NewStore(db)
return nil
}
func (d *devices) Name() (name string) {
return deviceService
}
func (d *devices) Run(ctx context.Context) error {
ctx, cancel := context.WithCancel(context.Background())
d.cancel = cancel
go d.loadDevices(ctx)
return nil
}
func (d *devices) loadDevices(ctx context.Context) {
defer close(d.finishLoad)
uk, err := domain.NewUniqueKey(sb.SmartBlockTypeDevicesObject, "")
if err != nil {
log.Errorf("failed to get devices object unique key: %v", err)
return
}
techSpace, err := d.spaceService.GetTechSpace(ctx)
if err != nil {
return
}
objectId, err := techSpace.DeriveObjectID(ctx, uk)
if err != nil {
log.Errorf("failed to derive device object id: %v", err)
return
}
d.deviceObjectId = objectId
ctx = context.WithValue(ctx, peermanager.ContextPeerFindDeadlineKey, time.Now().Add(30*time.Second))
ctx = peer.CtxWithPeerId(ctx, peer.CtxResponsiblePeers)
deviceObject, err := techSpace.GetObject(ctx, objectId)
if err != nil {
deviceObject, err = techSpace.DeriveTreeObject(ctx, objectcache.TreeDerivationParams{
Key: uk,
InitFunc: func(id string) *smartblock.InitContext {
return &smartblock.InitContext{
Ctx: ctx,
SpaceID: techSpace.Id(),
State: state.NewDoc(id, nil).(*state.State),
}
},
})
if err != nil && !errors.Is(err, treestorage.ErrTreeExists) {
log.Errorf("failed to derive device object: %v", err)
return
}
if err == nil {
d.deviceObjectId = deviceObject.Id()
}
}
hostname, err := os.Hostname()
if err != nil {
log.Errorf("failed to get hostname: %v", err)
return
}
deviceObject.Lock()
st := deviceObject.NewState()
deviceId := d.wallet.GetDevicePrivkey().GetPublic().PeerId()
st.AddDevice(&model.DeviceInfo{
Id: deviceId,
Name: hostname,
AddDate: time.Now().Unix(),
})
err = deviceObject.Apply(st)
if err != nil {
log.Errorf("failed to apply device state: %v", err)
}
deviceObject.Unlock()
}
func (d *devices) Close(ctx context.Context) error {
if d.cancel != nil {
d.cancel()
}
return nil
}
func (d *devices) SaveDeviceInfo(info smartblock.ApplyInfo) error {
if info.State == nil {
return nil
}
deviceId := d.wallet.GetDevicePrivkey().GetPublic().PeerId()
for _, deviceInfo := range info.State.ListDevices() {
if deviceInfo.Id == deviceId {
deviceInfo.IsConnected = true
}
err := d.store.SaveDevice(deviceInfo)
if err != nil {
return fmt.Errorf("failed to save device: %w", err)
}
}
return nil
}
func (d *devices) UpdateName(ctx context.Context, id, name string) error {
err := d.store.UpdateDeviceName(id, name)
if err != nil {
return fmt.Errorf("failed to update device name: %w", err)
}
spc, err := d.spaceService.Get(ctx, d.spaceService.TechSpaceId())
if err != nil {
return fmt.Errorf("failed to get space: %w", err)
}
return spc.Do(d.deviceObjectId, func(sb smartblock.SmartBlock) error {
st := sb.NewState()
st.SetDeviceName(id, name)
return sb.Apply(st)
})
}
func (d *devices) ListDevices(ctx context.Context) ([]*model.DeviceInfo, error) {
return d.store.ListDevices()
}

351
core/device/service_test.go Normal file
View file

@ -0,0 +1,351 @@
package device
import (
"context"
"fmt"
"os"
"testing"
"github.com/anyproto/any-sync/app"
"github.com/anyproto/any-sync/commonspace/object/tree/treestorage"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/anyproto/anytype-heart/core/block/editor"
"github.com/anyproto/anytype-heart/core/block/editor/smartblock"
"github.com/anyproto/anytype-heart/core/block/editor/smartblock/smarttest"
"github.com/anyproto/anytype-heart/core/block/object/objectcache/mock_objectcache"
wallet2 "github.com/anyproto/anytype-heart/core/wallet"
"github.com/anyproto/anytype-heart/pkg/lib/datastore"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
"github.com/anyproto/anytype-heart/space/clientspace"
"github.com/anyproto/anytype-heart/space/mock_space"
"github.com/anyproto/anytype-heart/tests/testutil"
)
func TestService_SaveDeviceInfo(t *testing.T) {
deviceObjectId := "deviceObjectId"
t.Run("save device in object", func(t *testing.T) {
// given
testDevice := &model.DeviceInfo{
Id: "id",
Name: "test",
}
devicesService := newFixture(t, deviceObjectId)
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
state := deviceObject.NewState()
state.AddDevice(testDevice)
err := deviceObject.Apply(state)
assert.Nil(t, err)
// when
err = devicesService.SaveDeviceInfo(smartblock.ApplyInfo{State: deviceObject.NewState()})
// then
assert.Nil(t, err)
assert.NotNil(t, deviceObject.NewState().GetDevice("id"))
deviceInfos, err := devicesService.store.ListDevices()
assert.Nil(t, err)
assert.Contains(t, deviceInfos, testDevice)
})
t.Run("save device in object, device exist", func(t *testing.T) {
// given
testDevice := &model.DeviceInfo{
Id: "id",
Name: "test",
}
devicesService := newFixture(t, deviceObjectId)
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
testDevice1 := &model.DeviceInfo{
Id: "id",
Name: "test1",
}
state := deviceObject.NewState()
state.AddDevice(testDevice)
err := deviceObject.Apply(state)
assert.Nil(t, err)
// when
err = devicesService.SaveDeviceInfo(smartblock.ApplyInfo{State: deviceObject.NewState()})
err = devicesService.SaveDeviceInfo(smartblock.ApplyInfo{State: deviceObject.NewState()})
// then
assert.Nil(t, err)
assert.NotNil(t, deviceObject.NewState().GetDevice("id"))
assert.Equal(t, "test", deviceObject.NewState().GetDevice("id").Name)
deviceInfos, err := devicesService.store.ListDevices()
assert.Nil(t, err)
assert.Contains(t, deviceInfos, testDevice)
assert.NotContains(t, deviceInfos, testDevice1)
})
}
func TestService_UpdateName(t *testing.T) {
deviceObjectId := "deviceObjectId"
techSpaceId := "techSpaceId"
t.Run("update name, device not exist", func(t *testing.T) {
// given
devicesService := newFixture(t, deviceObjectId)
virtualSpace := clientspace.NewVirtualSpace(techSpaceId, clientspace.VirtualSpaceDeps{})
devicesService.mockSpaceService.EXPECT().Get(context.Background(), techSpaceId).Return(virtualSpace, nil)
devicesService.mockSpaceService.EXPECT().TechSpaceId().Return(techSpaceId)
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
mockCache := mock_objectcache.NewMockCache(t)
mockCache.EXPECT().GetObject(context.Background(), deviceObjectId).Return(deviceObject, nil)
virtualSpace.Cache = mockCache
// when
err := devicesService.UpdateName(context.Background(), "id", "new name")
// then
assert.Nil(t, err)
assert.NotNil(t, deviceObject.NewState().GetDevice("id"))
assert.Equal(t, "new name", deviceObject.NewState().GetDevice("id").Name)
deviceInfos, err := devicesService.store.ListDevices()
assert.Nil(t, err)
assert.Contains(t, deviceInfos, &model.DeviceInfo{
Id: "id",
Name: "new name",
})
})
t.Run("update name, device exists", func(t *testing.T) {
// given
testDevice := &model.DeviceInfo{
Id: "id",
Name: "test",
}
devicesService := newFixture(t, deviceObjectId)
virtualSpace := clientspace.NewVirtualSpace(techSpaceId, clientspace.VirtualSpaceDeps{})
devicesService.mockSpaceService.EXPECT().Get(context.Background(), techSpaceId).Return(virtualSpace, nil)
devicesService.mockSpaceService.EXPECT().TechSpaceId().Return(techSpaceId)
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
mockCache := mock_objectcache.NewMockCache(t)
mockCache.EXPECT().GetObject(context.Background(), deviceObjectId).Return(deviceObject, nil)
state := deviceObject.NewState()
state.AddDevice(testDevice)
err := deviceObject.Apply(state)
assert.Nil(t, err)
virtualSpace.Cache = mockCache
err = devicesService.SaveDeviceInfo(smartblock.ApplyInfo{State: deviceObject.NewState()})
assert.Nil(t, err)
// when
err = devicesService.UpdateName(context.Background(), "id", "new name")
// then
assert.Nil(t, err)
assert.NotNil(t, deviceObject.NewState().GetDevice("id"))
assert.Equal(t, "new name", deviceObject.NewState().GetDevice("id").Name)
deviceInfos, err := devicesService.store.ListDevices()
assert.Nil(t, err)
assert.NotContains(t, deviceInfos, testDevice)
testDevice.Name = "new name"
assert.Contains(t, deviceInfos, testDevice)
})
}
func TestService_ListDevices(t *testing.T) {
deviceObjectId := "deviceObjectId"
t.Run("list devices, no devices", func(t *testing.T) {
// given
devicesService := newFixture(t, deviceObjectId)
// when
close(devicesService.finishLoad)
devicesList, err := devicesService.ListDevices(context.Background())
// then
assert.Nil(t, err)
assert.Len(t, devicesList, 0)
})
t.Run("list devices", func(t *testing.T) {
// given
testDevice := &model.DeviceInfo{
Id: "id",
Name: "test",
}
testDevice1 := &model.DeviceInfo{
Id: "id1",
Name: "test1",
}
devicesService := newFixture(t, deviceObjectId)
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
state := deviceObject.NewState()
state.AddDevice(testDevice)
state.AddDevice(testDevice1)
err := deviceObject.Apply(state)
assert.Nil(t, err)
err = devicesService.SaveDeviceInfo(smartblock.ApplyInfo{State: deviceObject.NewState()})
assert.Nil(t, err)
// when
close(devicesService.finishLoad)
devicesList, err := devicesService.ListDevices(context.Background())
// then
assert.Nil(t, err)
assert.Len(t, devicesList, 2)
assert.Equal(t, devicesList[0].Id, "id")
assert.Equal(t, devicesList[1].Id, "id1")
})
}
func TestService_loadDevices(t *testing.T) {
deviceObjectId := "deviceObjectId"
techSpaceId := "techSpaceId"
ctx := context.Background()
t.Run("loadDevices, device object not exist", func(t *testing.T) {
// given
devicesService := newFixture(t, deviceObjectId)
virtualSpace := clientspace.NewVirtualSpace(techSpaceId, clientspace.VirtualSpaceDeps{})
devicesService.mockSpaceService.EXPECT().GetTechSpace(ctx).Return(virtualSpace, nil)
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
mockCache := mock_objectcache.NewMockCache(t)
mockCache.EXPECT().GetObject(mock.Anything, deviceObjectId).Return(nil, fmt.Errorf("error"))
mockCache.EXPECT().DeriveTreeObject(mock.Anything, mock.Anything).Return(deviceObject, nil)
mockCache.EXPECT().DeriveObjectID(mock.Anything, mock.Anything).Return(deviceObjectId, nil)
virtualSpace.Cache = mockCache
// when
devicesService.loadDevices(ctx)
// then
assert.NotNil(t, deviceObject.NewState().GetDevice(devicesService.wallet.GetDevicePrivkey().GetPublic().PeerId()))
})
t.Run("loadDevices, device object exist", func(t *testing.T) {
// given
devicesService := newFixture(t, deviceObjectId)
virtualSpace := clientspace.NewVirtualSpace(techSpaceId, clientspace.VirtualSpaceDeps{})
devicesService.mockSpaceService.EXPECT().GetTechSpace(ctx).Return(virtualSpace, nil)
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
mockCache := mock_objectcache.NewMockCache(t)
mockCache.EXPECT().DeriveObjectID(mock.Anything, mock.Anything).Return(deviceObjectId, nil)
mockCache.EXPECT().GetObject(mock.Anything, deviceObjectId).Return(deviceObject, nil)
virtualSpace.Cache = mockCache
// when
devicesService.loadDevices(ctx)
// then
assert.NotNil(t, deviceObject.NewState().GetDevice(devicesService.wallet.GetDevicePrivkey().GetPublic().PeerId()))
})
t.Run("loadDevices, save devices from derived objects", func(t *testing.T) {
// given
devicesService := newFixture(t, deviceObjectId)
virtualSpace := clientspace.NewVirtualSpace(techSpaceId, clientspace.VirtualSpaceDeps{})
devicesService.mockSpaceService.EXPECT().GetTechSpace(ctx).Return(virtualSpace, nil)
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
mockCache := mock_objectcache.NewMockCache(t)
mockCache.EXPECT().DeriveObjectID(mock.Anything, mock.Anything).Return(deviceObjectId, nil)
mockCache.EXPECT().GetObject(mock.Anything, deviceObjectId).Return(deviceObject, nil)
virtualSpace.Cache = mockCache
state := deviceObject.NewState()
state.AddDevice(&model.DeviceInfo{
Id: "test",
Name: "test",
IsConnected: true,
})
state.AddDevice(&model.DeviceInfo{
Id: "test1",
Name: "test1",
})
err := deviceObject.Apply(state)
assert.Nil(t, err)
deviceObject.AddHook(devicesService.SaveDeviceInfo, smartblock.HookAfterApply)
// when
devicesService.loadDevices(ctx)
// then
assert.NotNil(t, deviceObject.NewState().GetDevice(devicesService.wallet.GetDevicePrivkey().GetPublic().PeerId()))
listDevices, err := devicesService.store.ListDevices()
assert.Nil(t, err)
assert.Len(t, listDevices, 3)
})
}
func TestService_Init(t *testing.T) {
t.Run("successfully started and closed service", func(t *testing.T) {
// given
deviceObjectId := "deviceObjectId"
ctx := context.Background()
techSpaceId := "techSpaceId"
devicesService := newFixture(t, deviceObjectId)
virtualSpace := clientspace.NewVirtualSpace(techSpaceId, clientspace.VirtualSpaceDeps{})
devicesService.mockSpaceService.EXPECT().GetTechSpace(mock.Anything).Return(virtualSpace, nil).Maybe()
deviceObject := &editor.Page{SmartBlock: smarttest.New(deviceObjectId)}
mockCache := mock_objectcache.NewMockCache(t)
mockCache.EXPECT().GetObject(mock.Anything, deviceObjectId).Return(deviceObject, nil).Maybe()
mockCache.EXPECT().DeriveTreeObject(mock.Anything, mock.Anything).Return(nil, treestorage.ErrTreeExists).Maybe()
mockCache.EXPECT().DeriveObjectID(mock.Anything, mock.Anything).Return(deviceObjectId, nil).Maybe()
virtualSpace.Cache = mockCache
// when
assert.Nil(t, devicesService.Run(ctx))
// then
assert.Nil(t, devicesService.Close(ctx))
})
}
type deviceFixture struct {
*devices
mockSpaceService *mock_space.MockService
mockCache *mock_objectcache.MockCache
wallet wallet2.Wallet
db datastore.Datastore
}
func newFixture(t *testing.T, deviceObjectId string) *deviceFixture {
mockSpaceService := mock_space.NewMockService(t)
mockCache := mock_objectcache.NewMockCache(t)
wallet := wallet2.NewWithRepoDirAndRandomKeys(os.TempDir())
db, err := datastore.NewInMemory()
assert.Nil(t, err)
df := &deviceFixture{
mockSpaceService: mockSpaceService,
mockCache: mockCache,
wallet: wallet,
devices: &devices{deviceObjectId: deviceObjectId, finishLoad: make(chan struct{})},
db: db,
}
a := &app.App{}
a.Register(testutil.PrepareMock(context.Background(), a, mockSpaceService)).
Register(wallet).
Register(db)
err = wallet.Init(a)
assert.Nil(t, err)
err = df.Init(a)
assert.Nil(t, err)
return df
}

100
core/device/store.go Normal file
View file

@ -0,0 +1,100 @@
package device
import (
"github.com/dgraph-io/badger/v4"
"github.com/gogo/protobuf/proto"
ds "github.com/ipfs/go-datastore"
"github.com/anyproto/anytype-heart/pkg/lib/localstore"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
"github.com/anyproto/anytype-heart/util/badgerhelper"
)
const devicesInfo = "devices"
var deviceInfo = ds.NewKey("/" + devicesInfo + "/info")
type Store interface {
SaveDevice(device *model.DeviceInfo) error
ListDevices() ([]*model.DeviceInfo, error)
UpdateDeviceName(id, name string) error
}
type deviceStore struct {
db *badger.DB
}
func NewStore(db *badger.DB) Store {
return &deviceStore{db: db}
}
func (n *deviceStore) SaveDevice(device *model.DeviceInfo) error {
return n.db.Update(func(txn *badger.Txn) error {
_, err := txn.Get(deviceInfo.ChildString(device.Id).Bytes())
if err != nil && !badgerhelper.IsNotFound(err) {
return err
}
if badgerhelper.IsNotFound(err) {
infoRaw, err := device.Marshal()
if err != nil {
return err
}
return txn.Set(deviceInfo.ChildString(device.Id).Bytes(), infoRaw)
}
return nil
})
}
func (n *deviceStore) ListDevices() ([]*model.DeviceInfo, error) {
return badgerhelper.ViewTxnWithResult(n.db, func(txn *badger.Txn) ([]*model.DeviceInfo, error) {
keys := localstore.GetKeys(txn, deviceInfo.String(), 0)
devicesIds, err := localstore.GetLeavesFromResults(keys)
if err != nil {
return nil, err
}
deviceInfos := make([]*model.DeviceInfo, 0, len(devicesIds))
for _, id := range devicesIds {
info := deviceInfo.ChildString(id)
device, err := badgerhelper.GetValueTxn(txn, info.Bytes(), unmarshalDeviceInfo)
if badgerhelper.IsNotFound(err) {
continue
}
deviceInfos = append(deviceInfos, device)
}
return deviceInfos, nil
})
}
func (n *deviceStore) UpdateDeviceName(id, name string) error {
return n.db.Update(func(txn *badger.Txn) error {
item, err := txn.Get(deviceInfo.ChildString(id).Bytes())
if err != nil && !badgerhelper.IsNotFound(err) {
return err
}
var info *model.DeviceInfo
if badgerhelper.IsNotFound(err) {
info = &model.DeviceInfo{
Id: id,
Name: name,
}
} else {
if err = item.Value(func(val []byte) error {
info, err = unmarshalDeviceInfo(val)
return err
}); err != nil {
return err
}
info.Name = name
}
infoRaw, err := info.Marshal()
if err != nil {
return err
}
return txn.Set(deviceInfo.ChildString(id).Bytes(), infoRaw)
})
}
func unmarshalDeviceInfo(raw []byte) (*model.DeviceInfo, error) {
v := &model.DeviceInfo{}
return v, proto.Unmarshal(raw, v)
}

145
core/device/store_test.go Normal file
View file

@ -0,0 +1,145 @@
package device
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/anyproto/anytype-heart/pkg/lib/datastore"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
)
func TestDeviceStore_SaveDevice(t *testing.T) {
t.Run("device exist: not save it again", func(t *testing.T) {
// given
memory, err := datastore.NewInMemory()
assert.Nil(t, err)
storage, err := memory.LocalStorage()
assert.Nil(t, err)
store := NewStore(storage)
testInfo1 := &model.DeviceInfo{Id: "test", Name: "test"}
testInfo2 := &model.DeviceInfo{Id: "test", Name: "test"}
err = store.SaveDevice(testInfo1)
assert.Nil(t, err)
// when
err = store.SaveDevice(testInfo2)
// then
assert.Nil(t, err)
listDevices, err := store.ListDevices()
assert.Nil(t, err)
assert.Len(t, listDevices, 1)
})
t.Run("device not exist: save it", func(t *testing.T) {
// given
memory, err := datastore.NewInMemory()
assert.Nil(t, err)
storage, err := memory.LocalStorage()
assert.Nil(t, err)
store := NewStore(storage)
testInfo1 := &model.DeviceInfo{Id: "test", Name: "test"}
// when
err = store.SaveDevice(testInfo1)
// then
assert.Nil(t, err)
listDevices, err := store.ListDevices()
assert.Nil(t, err)
assert.Len(t, listDevices, 1)
})
}
func TestDeviceStore_ListDevices(t *testing.T) {
t.Run("list devices: no devices", func(t *testing.T) {
// given
memory, err := datastore.NewInMemory()
assert.Nil(t, err)
storage, err := memory.LocalStorage()
assert.Nil(t, err)
store := NewStore(storage)
// when
devices, err := store.ListDevices()
// then
assert.Nil(t, err)
assert.Len(t, devices, 0)
})
t.Run("list devices: 2 devices", func(t *testing.T) {
// given
memory, err := datastore.NewInMemory()
assert.Nil(t, err)
storage, err := memory.LocalStorage()
assert.Nil(t, err)
store := NewStore(storage)
testInfo1 := &model.DeviceInfo{Id: "test", Name: "test"}
testInfo2 := &model.DeviceInfo{Id: "test1", Name: "test"}
err = store.SaveDevice(testInfo1)
assert.Nil(t, err)
err = store.SaveDevice(testInfo2)
assert.Nil(t, err)
// when
devices, err := store.ListDevices()
// then
assert.Nil(t, err)
assert.Len(t, devices, 2)
})
}
func TestDeviceStore_UpdateDeviceName(t *testing.T) {
t.Run("update device: device not exist - save it", func(t *testing.T) {
// given
memory, err := datastore.NewInMemory()
assert.Nil(t, err)
storage, err := memory.LocalStorage()
assert.Nil(t, err)
store := NewStore(storage)
// when
err = store.UpdateDeviceName("id", "test")
// then
assert.Nil(t, err)
listDevices, err := store.ListDevices()
assert.Nil(t, err)
assert.Len(t, listDevices, 1)
assert.Contains(t, listDevices, &model.DeviceInfo{
Id: "id",
Name: "test",
})
})
t.Run("update device: device exists - update it", func(t *testing.T) {
// given
memory, err := datastore.NewInMemory()
assert.Nil(t, err)
storage, err := memory.LocalStorage()
assert.Nil(t, err)
store := NewStore(storage)
testInfo1 := &model.DeviceInfo{Id: "id", Name: "test"}
err = store.SaveDevice(testInfo1)
assert.Nil(t, err)
// when
err = store.UpdateDeviceName("id", "test1")
// then
assert.Nil(t, err)
listDevices, err := store.ListDevices()
assert.Nil(t, err)
assert.Len(t, listDevices, 1)
assert.Contains(t, listDevices, &model.DeviceInfo{
Id: "id",
Name: "test1",
})
})
}

40
core/devices.go Normal file
View file

@ -0,0 +1,40 @@
package core
import (
"context"
"github.com/anyproto/anytype-heart/core/device"
"github.com/anyproto/anytype-heart/pb"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
)
func (mw *Middleware) DeviceSetName(cctx context.Context, req *pb.RpcDeviceSetNameRequest) *pb.RpcDeviceSetNameResponse {
response := func(code pb.RpcDeviceSetNameResponseErrorCode, err error) *pb.RpcDeviceSetNameResponse {
m := &pb.RpcDeviceSetNameResponse{Error: &pb.RpcDeviceSetNameResponseError{Code: code}}
if err != nil {
m.Error.Description = err.Error()
}
return m
}
err := getService[device.Service](mw).UpdateName(cctx, req.DeviceId, req.Name)
if err != nil {
return response(pb.RpcDeviceSetNameResponseError_UNKNOWN_ERROR, err)
}
return response(pb.RpcDeviceSetNameResponseError_NULL, nil)
}
func (mw *Middleware) DeviceList(cctx context.Context, _ *pb.RpcDeviceListRequest) *pb.RpcDeviceListResponse {
response := func(code pb.RpcDeviceListResponseErrorCode, devices []*model.DeviceInfo, err error) *pb.RpcDeviceListResponse {
m := &pb.RpcDeviceListResponse{Error: &pb.RpcDeviceListResponseError{Code: code}}
if err != nil {
m.Error.Description = err.Error()
}
m.Devices = devices
return m
}
devices, err := getService[device.Service](mw).ListDevices(cctx)
if err != nil {
return response(pb.RpcDeviceListResponseError_UNKNOWN_ERROR, devices, err)
}
return response(pb.RpcDeviceListResponseError_NULL, devices, nil)
}

View file

@ -14,6 +14,7 @@ const (
Syncing SpaceSyncStatus = 1
Error SpaceSyncStatus = 2
Offline SpaceSyncStatus = 3
Unknown SpaceSyncStatus = 4
)
type ObjectSyncStatus int32

View file

@ -23,6 +23,7 @@ var smartBlockTypeToKey = map[smartblock.SmartBlockType]string{
smartblock.SmartBlockTypeFileObject: "file", // For migration purposes only
smartblock.SmartBlockTypePage: "page", // For migration purposes only, used for old profile data migration
smartblock.SmartBlockTypeNotificationObject: "notification",
smartblock.SmartBlockTypeDevicesObject: "devices",
}
// UniqueKey is unique key composed of two parts: smartblock type and internal key.

View file

@ -30,7 +30,7 @@ func (mw *Middleware) ListenSessionEvents(req *pb.StreamRequest, server lib.Clie
return
}
if mw.GetApp() != nil {
notifier := app.MustComponent[session.NewSessionNotifier](mw.GetApp())
notifier := app.MustComponent[session.Notifier](mw.GetApp())
notifier.Notify(session.NewContext(session.WithSession(req.Token)))
}
var stopChan = make(chan os.Signal, 2)

View file

@ -223,8 +223,7 @@ func (i *indexer) addSyncDetails(space clientspace.Space) {
for _, id := range ids {
err := space.DoLockedIfNotExists(id, func() error {
return i.store.ModifyObjectDetails(id, func(details *types.Struct) (*types.Struct, error) {
details = helper.InjectsSyncDetails(details, syncStatus, syncError)
return details, nil
return helper.InjectsSyncDetails(details, syncStatus, syncError), nil
})
})
if err != nil {

View file

@ -1,5 +1,5 @@
package session
type NewSessionNotifier interface {
type Notifier interface {
Notify(ctx Context)
}

View file

@ -168,6 +168,9 @@ func (u *syncStatusUpdater) setObjectDetails(syncStatusDetails *syncStatusDetail
if !changed {
return nil
}
if !u.isLayoutSuitableForSyncRelations(record) {
return nil
}
spc, err := u.spaceService.Get(u.ctx, syncStatusDetails.spaceId)
if err != nil {
return err
@ -196,6 +199,18 @@ func (u *syncStatusUpdater) setObjectDetails(syncStatusDetails *syncStatusDetail
})
}
func (u *syncStatusUpdater) isLayoutSuitableForSyncRelations(details *types.Struct) bool {
layoutsWithoutSyncRelations := []float64{
float64(model.ObjectType_participant),
float64(model.ObjectType_dashboard),
float64(model.ObjectType_spaceView),
float64(model.ObjectType_space),
float64(model.ObjectType_date),
}
layout := details.Fields[bundle.RelationKeyLayout.String()].GetNumberValue()
return !slices.Contains(layoutsWithoutSyncRelations, layout)
}
func mapObjectSyncToSpaceSyncStatus(status domain.ObjectSyncStatus, syncError domain.SyncError) domain.SpaceSyncStatus {
switch status {
case domain.ObjectSynced:

View file

@ -7,6 +7,7 @@ import (
"github.com/anyproto/any-sync/app"
"github.com/anyproto/any-sync/app/ocache"
"github.com/cheggaaa/mb/v3"
"github.com/gogo/protobuf/types"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
@ -18,6 +19,7 @@ import (
"github.com/anyproto/anytype-heart/pkg/lib/bundle"
coresb "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock"
"github.com/anyproto/anytype-heart/pkg/lib/localstore/objectstore"
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
"github.com/anyproto/anytype-heart/space/clientspace/mock_clientspace"
"github.com/anyproto/anytype-heart/space/mock_space"
"github.com/anyproto/anytype-heart/tests/testutil"
@ -256,23 +258,33 @@ func TestSyncStatusUpdater_setSyncDetails(t *testing.T) {
})
}
func TestSyncStatusUpdater_updateDetails(t *testing.T) {
t.Run("update sync status and date - no changes", func(t *testing.T) {
func TestSyncStatusUpdater_isLayoutSuitableForSyncRelations(t *testing.T) {
t.Run("isLayoutSuitableForSyncRelations - participant details", func(t *testing.T) {
// given
fixture := newFixture(t)
space := mock_clientspace.NewMockSpace(t)
fixture.service.EXPECT().Get(fixture.updater.ctx, "spaceId").Return(space, nil)
fixture.storeFixture.AddObjects(t, []objectstore.TestObject{
{
bundle.RelationKeyId: pbtypes.String("id"),
bundle.RelationKeySpaceId: pbtypes.String("spaceId"),
},
})
space.EXPECT().DoLockedIfNotExists("id", mock.Anything).Return(nil)
// when
fixture.statusUpdater.EXPECT().SendUpdate(domain.MakeSyncStatus("spaceId", domain.Synced, domain.Null, domain.Objects))
fixture.updater.updateDetails(&syncStatusDetails{nil, domain.ObjectSynced, domain.Null, "spaceId"})
details := &types.Struct{Fields: map[string]*types.Value{
bundle.RelationKeyLayout.String(): pbtypes.Float64(float64(model.ObjectType_participant)),
}}
isSuitable := fixture.updater.isLayoutSuitableForSyncRelations(details)
// then
assert.False(t, isSuitable)
})
t.Run("isLayoutSuitableForSyncRelations - basic details", func(t *testing.T) {
// given
fixture := newFixture(t)
// when
details := &types.Struct{Fields: map[string]*types.Value{
bundle.RelationKeyLayout.String(): pbtypes.Float64(float64(model.ObjectType_basic)),
}}
isSuitable := fixture.updater.isLayoutSuitableForSyncRelations(details)
// then
assert.True(t, isSuitable)
})
}

View file

@ -52,12 +52,10 @@ func (s *service) indexFileSyncStatus(fileObjectId string, status filesyncstatus
if err != nil {
return fmt.Errorf("get object: %w", err)
}
err = s.updateReceiver.UpdateTree(context.Background(), fileObjectId, status.ToSyncStatus())
if err != nil {
return fmt.Errorf("update tree: %w", err)
}
s.sendSpaceStatusUpdate(status, spaceId, bytesLeftPercentage)
return nil
}

View file

@ -183,10 +183,18 @@ func (s *syncStatusService) update(ctx context.Context) (err error) {
if err != nil {
return
}
s.updateDetails(entry.treeId, mapStatus(entry.status))
}
return
}
func mapStatus(status SyncStatus) domain.ObjectSyncStatus {
if status == StatusSynced {
return domain.ObjectSynced
}
return domain.ObjectSyncing
}
func (s *syncStatusService) HeadsReceive(senderId, treeId string, heads []string) {
s.Lock()
defer s.Unlock()

View file

@ -235,7 +235,7 @@ func TestSyncStatusService_update(t *testing.T) {
// when
s.detailsUpdater.EXPECT().UpdateDetails([]string{"id"}, domain.ObjectSyncing, domain.Null, "spaceId")
s.service.EXPECT().NetworkCompatibilityStatus().Return(nodeconf.NetworkCompatibilityStatusOk)
s.service.EXPECT().NetworkCompatibilityStatus().Return(nodeconf.NetworkCompatibilityStatusOk).Times(2)
s.HeadsChange("id", []string{"head1"})
err := s.Watch("id")
assert.Nil(t, err)
@ -245,26 +245,6 @@ func TestSyncStatusService_update(t *testing.T) {
assert.Nil(t, err)
updateReceiver.AssertCalled(t, "UpdateTree", context.Background(), "id", StatusNotSynced)
})
t.Run("update: watch object, but no update received", func(t *testing.T) {
// given
s := newFixture(t)
updateReceiver := NewMockUpdateReceiver(t)
s.SetUpdateReceiver(updateReceiver)
// when
s.detailsUpdater.EXPECT().UpdateDetails([]string{"id"}, domain.ObjectSyncing, domain.Null, "spaceId")
s.service.EXPECT().NetworkCompatibilityStatus().Return(nodeconf.NetworkCompatibilityStatusOk)
s.HeadsChange("id", []string{"head1"})
err := s.Watch("id")
assert.Nil(t, err)
delete(s.treeHeads, "id")
err = s.update(context.Background())
// then
assert.NotNil(t, err)
updateReceiver.AssertNotCalled(t, "UpdateTree")
})
}
func TestSyncStatusService_Run(t *testing.T) {

View file

@ -31,8 +31,7 @@ type Service interface {
var _ Service = (*service)(nil)
type service struct {
updateReceiver *updateReceiver
updateReceiver *updateReceiver
fileSyncService filesync.FileSync
objectWatchersLock sync.Mutex
@ -53,20 +52,18 @@ func New() Service {
func (s *service) Init(a *app.App) (err error) {
s.fileSyncService = app.MustComponent[filesync.FileSync](a)
s.objectStore = app.MustComponent[objectstore.ObjectStore](a)
nodeConfService := app.MustComponent[nodeconf.Service](a)
cfg := app.MustComponent[*config.Config](a)
eventSender := app.MustComponent[event.Sender](a)
nodeStatus := app.MustComponent[nodestatus.NodeStatus](a)
s.spaceSyncStatus = app.MustComponent[spacesyncstatus.Updater](a)
s.updateReceiver = newUpdateReceiver(nodeConfService, cfg, eventSender, s.objectStore, nodeStatus)
s.objectGetter = app.MustComponent[cache.ObjectGetter](a)
s.fileSyncService.OnUploaded(s.onFileUploaded)
s.fileSyncService.OnUploadStarted(s.onFileUploadStarted)
s.fileSyncService.OnLimited(s.onFileLimited)
s.fileSyncService.OnDelete(s.OnFileDelete)
nodeConfService := app.MustComponent[nodeconf.Service](a)
cfg := app.MustComponent[*config.Config](a)
eventSender := app.MustComponent[event.Sender](a)
nodeStatus := app.MustComponent[nodestatus.NodeStatus](a)
s.updateReceiver = newUpdateReceiver(nodeConfService, cfg, eventSender, s.objectStore, nodeStatus)
return nil
}
@ -101,8 +98,6 @@ func (s *service) Unwatch(spaceID string, id string) {
}
func (s *service) Watch(spaceId string, id string, filesGetter func() []string) (new bool, err error) {
s.updateReceiver.ClearLastObjectStatus(id)
s.objectWatchersLock.Lock()
defer s.objectWatchersLock.Unlock()
objectWatcher := s.objectWatchers[spaceId]
@ -116,8 +111,6 @@ func (s *service) Watch(spaceId string, id string, filesGetter func() []string)
}
func (s *service) unwatch(spaceID string, id string) {
s.updateReceiver.ClearLastObjectStatus(id)
s.objectWatchersLock.Lock()
defer s.objectWatchersLock.Unlock()
objectWatcher := s.objectWatchers[spaceID]

View file

@ -35,9 +35,9 @@ func (f *FileState) SetObjectsNumber(status *domain.SpaceSync) {
f.Lock()
defer f.Unlock()
switch status.Status {
case domain.Error, domain.Offline, domain.Synced:
case domain.Error, domain.Offline:
f.fileSyncCountBySpace[status.SpaceId] = 0
case domain.Syncing:
default:
records, err := f.store.Query(database.Query{
Filters: []*model.BlockContentDataviewFilter{
{
@ -62,14 +62,27 @@ func (f *FileState) SetObjectsNumber(status *domain.SpaceSync) {
func (f *FileState) SetSyncStatusAndErr(status domain.SpaceSyncStatus, syncErr domain.SyncError, spaceId string) {
f.Lock()
defer f.Unlock()
f.fileSyncStatusBySpace[spaceId] = status
f.filesErrorBySpace[spaceId] = syncErr
switch status {
case domain.Synced:
f.fileSyncStatusBySpace[spaceId] = domain.Synced
f.filesErrorBySpace[spaceId] = syncErr
if number := f.fileSyncCountBySpace[spaceId]; number > 0 {
f.fileSyncStatusBySpace[spaceId] = domain.Syncing
return
}
case domain.Error, domain.Syncing, domain.Offline:
f.fileSyncStatusBySpace[spaceId] = status
f.filesErrorBySpace[spaceId] = syncErr
}
}
func (f *FileState) GetSyncStatus(spaceId string) domain.SpaceSyncStatus {
f.Lock()
defer f.Unlock()
return f.fileSyncStatusBySpace[spaceId]
if status, ok := f.fileSyncStatusBySpace[spaceId]; ok {
return status
}
return domain.Unknown
}
func (f *FileState) GetSyncObjectCount(spaceId string) int {

View file

@ -56,7 +56,7 @@ func TestFileState_GetSyncStatus(t *testing.T) {
syncStatus := fileState.GetSyncStatus("spaceId")
// then
assert.Equal(t, domain.Synced, syncStatus)
assert.Equal(t, domain.Unknown, syncStatus)
})
}
@ -147,4 +147,15 @@ func TestFileState_SetSyncStatus(t *testing.T) {
// then
assert.Equal(t, domain.Offline, fileState.GetSyncStatus("spaceId"))
})
t.Run("SetSyncStatusAndErr, syncing status", func(t *testing.T) {
// given
fileState := NewFileState(objectstore.NewStoreFixture(t))
// when
fileState.fileSyncCountBySpace["spaceId"] = 1
fileState.SetSyncStatusAndErr(domain.Synced, domain.Null, "spaceId")
// then
assert.Equal(t, domain.Syncing, fileState.GetSyncStatus("spaceId"))
})
}

View file

@ -158,51 +158,6 @@ func (_c *MockSpaceIdGetter_Name_Call) RunAndReturn(run func() string) *MockSpac
return _c
}
// PersonalSpaceId provides a mock function with given fields:
func (_m *MockSpaceIdGetter) PersonalSpaceId() string {
ret := _m.Called()
if len(ret) == 0 {
panic("no return value specified for PersonalSpaceId")
}
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// MockSpaceIdGetter_PersonalSpaceId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PersonalSpaceId'
type MockSpaceIdGetter_PersonalSpaceId_Call struct {
*mock.Call
}
// PersonalSpaceId is a helper method to define mock.On call
func (_e *MockSpaceIdGetter_Expecter) PersonalSpaceId() *MockSpaceIdGetter_PersonalSpaceId_Call {
return &MockSpaceIdGetter_PersonalSpaceId_Call{Call: _e.mock.On("PersonalSpaceId")}
}
func (_c *MockSpaceIdGetter_PersonalSpaceId_Call) Run(run func()) *MockSpaceIdGetter_PersonalSpaceId_Call {
_c.Call.Run(func(args mock.Arguments) {
run()
})
return _c
}
func (_c *MockSpaceIdGetter_PersonalSpaceId_Call) Return(_a0 string) *MockSpaceIdGetter_PersonalSpaceId_Call {
_c.Call.Return(_a0)
return _c
}
func (_c *MockSpaceIdGetter_PersonalSpaceId_Call) RunAndReturn(run func() string) *MockSpaceIdGetter_PersonalSpaceId_Call {
_c.Call.Return(run)
return _c
}
// TechSpaceId provides a mock function with given fields:
func (_m *MockSpaceIdGetter) TechSpaceId() string {
ret := _m.Called()

View file

@ -33,9 +33,9 @@ func (o *ObjectState) SetObjectsNumber(status *domain.SpaceSync) {
o.Lock()
defer o.Unlock()
switch status.Status {
case domain.Error, domain.Offline, domain.Synced:
case domain.Error, domain.Offline:
o.objectSyncCountBySpace[status.SpaceId] = 0
case domain.Syncing:
default:
records := o.getSyncingObjects(status)
o.objectSyncCountBySpace[status.SpaceId] = len(records)
}
@ -73,6 +73,13 @@ func (o *ObjectState) getSyncingObjects(status *domain.SpaceSync) []database.Rec
}
func (o *ObjectState) SetSyncStatusAndErr(status domain.SpaceSyncStatus, syncErr domain.SyncError, spaceId string) {
o.Lock()
defer o.Unlock()
if objectNumber, ok := o.objectSyncCountBySpace[spaceId]; ok && objectNumber > 0 {
o.objectSyncStatusBySpace[spaceId] = domain.Syncing
o.objectSyncErrBySpace[spaceId] = domain.Null
return
}
o.objectSyncStatusBySpace[spaceId] = status
o.objectSyncErrBySpace[spaceId] = syncErr
}
@ -80,7 +87,10 @@ func (o *ObjectState) SetSyncStatusAndErr(status domain.SpaceSyncStatus, syncErr
func (o *ObjectState) GetSyncStatus(spaceId string) domain.SpaceSyncStatus {
o.Lock()
defer o.Unlock()
return o.objectSyncStatusBySpace[spaceId]
if status, ok := o.objectSyncStatusBySpace[spaceId]; ok {
return status
}
return domain.Unknown
}
func (o *ObjectState) GetSyncObjectCount(spaceId string) int {

View file

@ -55,7 +55,7 @@ func TestObjectState_GetSyncStatus(t *testing.T) {
syncStatus := objectState.GetSyncStatus("spaceId")
// then
assert.Equal(t, domain.Synced, syncStatus)
assert.Equal(t, domain.Unknown, syncStatus)
})
}

View file

@ -26,7 +26,6 @@ type Updater interface {
type SpaceIdGetter interface {
app.Component
TechSpaceId() string
PersonalSpaceId() string
AllSpaceIds() []string
}
@ -89,7 +88,7 @@ func (s *spaceSyncStatus) Run(ctx context.Context) (err error) {
close(s.finish)
return
} else {
s.sendStartEvent(s.spaceIdGetter.PersonalSpaceId())
s.sendStartEvent(s.spaceIdGetter.AllSpaceIds())
}
s.ctx, s.ctxCancel = context.WithCancel(context.Background())
go s.processEvents()
@ -106,14 +105,16 @@ func (s *spaceSyncStatus) sendEventToSession(spaceId, token string) {
})
}
func (s *spaceSyncStatus) sendStartEvent(spaceId string) {
s.eventSender.Broadcast(&pb.Event{
Messages: []*pb.EventMessage{{
Value: &pb.EventMessageValueOfSpaceSyncStatusUpdate{
SpaceSyncStatusUpdate: s.makeSpaceSyncEvent(spaceId),
},
}},
})
func (s *spaceSyncStatus) sendStartEvent(spaceIds []string) {
for _, id := range spaceIds {
s.eventSender.Broadcast(&pb.Event{
Messages: []*pb.EventMessage{{
Value: &pb.EventMessageValueOfSpaceSyncStatusUpdate{
SpaceSyncStatusUpdate: s.makeSpaceSyncEvent(id),
},
}},
})
}
}
func (s *spaceSyncStatus) sendLocalOnlyEvent() {
@ -183,7 +184,11 @@ func (s *spaceSyncStatus) isStatusNotChanged(status *domain.SpaceSync) bool {
return false
}
syncErrNotChanged := s.getError(status.SpaceId) == mapError(status.SyncError)
statusNotChanged := s.getSpaceSyncStatus(status.SpaceId) == status.Status
syncStatus := s.getSpaceSyncStatus(status.SpaceId)
if syncStatus == domain.Unknown {
return false
}
statusNotChanged := syncStatus == status.Status
if syncErrNotChanged && statusNotChanged {
return true
}
@ -221,6 +226,9 @@ func (s *spaceSyncStatus) getSpaceSyncStatus(spaceId string) domain.SpaceSyncSta
filesStatus := s.filesState.GetSyncStatus(spaceId)
objectsStatus := s.objectsState.GetSyncStatus(spaceId)
if s.isUnknown(filesStatus, objectsStatus) {
return domain.Unknown
}
if s.isOfflineStatus(filesStatus, objectsStatus) {
return domain.Offline
}
@ -276,6 +284,10 @@ func (s *spaceSyncStatus) getError(spaceId string) pb.EventSpaceSyncError {
return pb.EventSpace_Null
}
func (s *spaceSyncStatus) isUnknown(filesStatus domain.SpaceSyncStatus, objectsStatus domain.SpaceSyncStatus) bool {
return filesStatus == domain.Unknown && objectsStatus == domain.Unknown
}
func mapNetworkMode(mode pb.RpcAccountNetworkMode) pb.EventSpaceNetwork {
switch mode {
case pb.RpcAccount_LocalOnly:

View file

@ -42,7 +42,7 @@ func TestSpaceSyncStatus_Init(t *testing.T) {
// then
assert.Nil(t, err)
space.EXPECT().PersonalSpaceId().Return("personalId")
space.EXPECT().AllSpaceIds().Return([]string{"personalId"})
eventSender.EXPECT().Broadcast(&pb.Event{
Messages: []*pb.EventMessage{{
Value: &pb.EventMessageValueOfSpaceSyncStatusUpdate{
@ -380,10 +380,38 @@ func TestSpaceSyncStatus_updateSpaceSyncStatus(t *testing.T) {
// when
assert.Equal(t, domain.Synced, status.objectsState.GetSyncStatus("spaceId"))
assert.Equal(t, 0, status.objectsState.GetSyncObjectCount("spaceId"))
assert.Equal(t, domain.Synced, status.filesState.GetSyncStatus("spaceId"))
assert.Equal(t, domain.Unknown, status.filesState.GetSyncStatus("spaceId"))
assert.Equal(t, 0, status.filesState.GetSyncObjectCount("spaceId"))
assert.Equal(t, domain.Synced, status.getSpaceSyncStatus(syncStatus.SpaceId))
})
t.Run("send initial synced event", func(t *testing.T) {
// given
eventSender := mock_event.NewMockSender(t)
status := spaceSyncStatus{
eventSender: eventSender,
networkConfig: &config.Config{NetworkMode: pb.RpcAccount_CustomConfig},
batcher: mb.New[*domain.SpaceSync](0),
filesState: NewFileState(objectstore.NewStoreFixture(t)),
objectsState: NewObjectState(objectstore.NewStoreFixture(t)),
}
eventSender.EXPECT().Broadcast(&pb.Event{
Messages: []*pb.EventMessage{{
Value: &pb.EventMessageValueOfSpaceSyncStatusUpdate{
SpaceSyncStatusUpdate: &pb.EventSpaceSyncStatusUpdate{
Id: "spaceId",
Status: pb.EventSpace_Synced,
Network: pb.EventSpace_SelfHost,
Error: pb.EventSpace_Null,
SyncingObjectsCounter: 0,
},
},
}},
})
// then
syncStatus := domain.MakeSyncStatus("spaceId", domain.Synced, domain.Null, domain.Objects)
status.updateSpaceSyncStatus(syncStatus)
})
t.Run("not send not needed synced event", func(t *testing.T) {
// given
eventSender := mock_event.NewMockSender(t)
@ -394,8 +422,10 @@ func TestSpaceSyncStatus_updateSpaceSyncStatus(t *testing.T) {
filesState: NewFileState(objectstore.NewStoreFixture(t)),
objectsState: NewObjectState(objectstore.NewStoreFixture(t)),
}
// then
status.objectsState.SetSyncStatusAndErr(domain.Synced, domain.Null, "spaceId")
status.filesState.SetSyncStatusAndErr(domain.Synced, domain.Null, "spaceId")
// then
syncStatus := domain.MakeSyncStatus("spaceId", domain.Synced, domain.Null, domain.Objects)
status.updateSpaceSyncStatus(syncStatus)

View file

@ -23,7 +23,6 @@ type updateReceiver struct {
nodeConfService nodeconf.Service
sync.Mutex
nodeConnected bool
lastStatus map[string]pb.EventStatusThreadSyncStatus
objectStore objectstore.ObjectStore
nodeStatus nodestatus.NodeStatus
spaceId string
@ -41,7 +40,6 @@ func newUpdateReceiver(
}
return &updateReceiver{
nodeConfService: nodeConfService,
lastStatus: make(map[string]pb.EventStatusThreadSyncStatus),
eventSender: eventSender,
objectStore: objectStore,
nodeStatus: nodeStatus,
@ -50,23 +48,10 @@ func newUpdateReceiver(
func (r *updateReceiver) UpdateTree(_ context.Context, objId string, status objectsyncstatus.SyncStatus) error {
objStatusEvent := r.getObjectSyncStatus(objId, status)
if !r.isStatusUpdated(objId, objStatusEvent) {
return nil
}
r.notify(objId, objStatusEvent)
return nil
}
func (r *updateReceiver) isStatusUpdated(objectID string, objStatus pb.EventStatusThreadSyncStatus) bool {
r.Lock()
defer r.Unlock()
if lastObjStatus, ok := r.lastStatus[objectID]; ok && objStatus == lastObjStatus {
return false
}
r.lastStatus[objectID] = objStatus
return true
}
func (r *updateReceiver) getFileStatus(fileId string) (filesyncstatus.Status, error) {
details, err := r.objectStore.GetDetails(fileId)
if err != nil {
@ -104,24 +89,12 @@ func (r *updateReceiver) getObjectSyncStatus(objectId string, status objectsyncs
return pb.EventStatusThread_Syncing
}
func (r *updateReceiver) ClearLastObjectStatus(objectID string) {
r.Lock()
defer r.Unlock()
delete(r.lastStatus, objectID)
}
func (r *updateReceiver) isNodeConnected() bool {
r.Lock()
defer r.Unlock()
return r.nodeConnected
}
func (r *updateReceiver) UpdateNodeConnection(online bool) {
r.Lock()
defer r.Unlock()
r.nodeConnected = online
}
func (r *updateReceiver) UpdateNodeStatus() {
r.Lock()
defer r.Unlock()

View file

@ -214,32 +214,6 @@ func TestUpdateReceiver_UpdateTree(t *testing.T) {
// when
err := receiver.UpdateTree(nil, "id", objectsyncstatus.StatusUnknown)
// then
assert.Nil(t, err)
})
t.Run("sync status not changed", func(t *testing.T) {
// given
receiver := newFixture(t)
receiver.nodeConnected = true
receiver.nodeConf.EXPECT().NetworkCompatibilityStatus().Return(nodeconf.NetworkCompatibilityStatusOk).Times(2)
receiver.sender.EXPECT().Broadcast(&pb.Event{
Messages: []*pb.EventMessage{{Value: &pb.EventMessageValueOfThreadStatus{ThreadStatus: &pb.EventStatusThread{
Summary: &pb.EventStatusThreadSummary{Status: pb.EventStatusThread_Synced},
Cafe: &pb.EventStatusThreadCafe{
Status: pb.EventStatusThread_Synced,
Files: &pb.EventStatusThreadCafePinStatus{},
},
}}}},
ContextId: "id",
}).Return().Times(1)
// when
err := receiver.UpdateTree(nil, "id", objectsyncstatus.StatusSynced)
assert.Nil(t, err)
err = receiver.UpdateTree(nil, "id", objectsyncstatus.StatusSynced)
assert.Nil(t, err)
// then
assert.Nil(t, err)
})

View file

@ -16,6 +16,8 @@
- [Change.Content](#anytype-Change-Content)
- [Change.DetailsSet](#anytype-Change-DetailsSet)
- [Change.DetailsUnset](#anytype-Change-DetailsUnset)
- [Change.DeviceAdd](#anytype-Change-DeviceAdd)
- [Change.DeviceUpdate](#anytype-Change-DeviceUpdate)
- [Change.FileKeys](#anytype-Change-FileKeys)
- [Change.FileKeys.KeysEntry](#anytype-Change-FileKeys-KeysEntry)
- [Change.NotificationCreate](#anytype-Change-NotificationCreate)
@ -570,6 +572,20 @@
- [Rpc.Debug.TreeHeads.Response](#anytype-Rpc-Debug-TreeHeads-Response)
- [Rpc.Debug.TreeHeads.Response.Error](#anytype-Rpc-Debug-TreeHeads-Response-Error)
- [Rpc.Debug.TreeInfo](#anytype-Rpc-Debug-TreeInfo)
- [Rpc.Device](#anytype-Rpc-Device)
- [Rpc.Device.List](#anytype-Rpc-Device-List)
- [Rpc.Device.List.Request](#anytype-Rpc-Device-List-Request)
- [Rpc.Device.List.Response](#anytype-Rpc-Device-List-Response)
- [Rpc.Device.List.Response.Error](#anytype-Rpc-Device-List-Response-Error)
- [Rpc.Device.NetworkState](#anytype-Rpc-Device-NetworkState)
- [Rpc.Device.NetworkState.Set](#anytype-Rpc-Device-NetworkState-Set)
- [Rpc.Device.NetworkState.Set.Request](#anytype-Rpc-Device-NetworkState-Set-Request)
- [Rpc.Device.NetworkState.Set.Response](#anytype-Rpc-Device-NetworkState-Set-Response)
- [Rpc.Device.NetworkState.Set.Response.Error](#anytype-Rpc-Device-NetworkState-Set-Response-Error)
- [Rpc.Device.SetName](#anytype-Rpc-Device-SetName)
- [Rpc.Device.SetName.Request](#anytype-Rpc-Device-SetName-Request)
- [Rpc.Device.SetName.Response](#anytype-Rpc-Device-SetName-Response)
- [Rpc.Device.SetName.Response.Error](#anytype-Rpc-Device-SetName-Response-Error)
- [Rpc.File](#anytype-Rpc-File)
- [Rpc.File.Download](#anytype-Rpc-File-Download)
- [Rpc.File.Download.Request](#anytype-Rpc-File-Download-Request)
@ -1271,6 +1287,9 @@
- [Rpc.Debug.Subscriptions.Response.Error.Code](#anytype-Rpc-Debug-Subscriptions-Response-Error-Code)
- [Rpc.Debug.Tree.Response.Error.Code](#anytype-Rpc-Debug-Tree-Response-Error-Code)
- [Rpc.Debug.TreeHeads.Response.Error.Code](#anytype-Rpc-Debug-TreeHeads-Response-Error-Code)
- [Rpc.Device.List.Response.Error.Code](#anytype-Rpc-Device-List-Response-Error-Code)
- [Rpc.Device.NetworkState.Set.Response.Error.Code](#anytype-Rpc-Device-NetworkState-Set-Response-Error-Code)
- [Rpc.Device.SetName.Response.Error.Code](#anytype-Rpc-Device-SetName-Response-Error-Code)
- [Rpc.File.Download.Response.Error.Code](#anytype-Rpc-File-Download-Response-Error-Code)
- [Rpc.File.Drop.Response.Error.Code](#anytype-Rpc-File-Drop-Response-Error-Code)
- [Rpc.File.ListOffload.Response.Error.Code](#anytype-Rpc-File-ListOffload-Response-Error-Code)
@ -1635,7 +1654,6 @@
- [pkg/lib/pb/model/protos/models.proto](#pkg_lib_pb_model_protos_models-proto)
- [Account](#anytype-model-Account)
- [Account.Avatar](#anytype-model-Account-Avatar)
- [Account.Config](#anytype-model-Account-Config)
- [Account.Info](#anytype-model-Account-Info)
- [Account.Status](#anytype-model-Account-Status)
@ -1675,6 +1693,7 @@
- [Block.Restrictions](#anytype-model-Block-Restrictions)
- [BlockMetaOnly](#anytype-model-BlockMetaOnly)
- [Detail](#anytype-model-Detail)
- [DeviceInfo](#anytype-model-DeviceInfo)
- [Export](#anytype-model-Export)
- [FileEncryptionKey](#anytype-model-FileEncryptionKey)
- [FileInfo](#anytype-model-FileInfo)
@ -1753,6 +1772,7 @@
- [Block.Content.Widget.Layout](#anytype-model-Block-Content-Widget-Layout)
- [Block.Position](#anytype-model-Block-Position)
- [Block.VerticalAlign](#anytype-model-Block-VerticalAlign)
- [DeviceNetworkType](#anytype-model-DeviceNetworkType)
- [Export.Format](#anytype-model-Export-Format)
- [FileIndexingStatus](#anytype-model-FileIndexingStatus)
- [ImageKind](#anytype-model-ImageKind)
@ -2053,6 +2073,9 @@
| NameServiceResolveName | [Rpc.NameService.ResolveName.Request](#anytype-Rpc-NameService-ResolveName-Request) | [Rpc.NameService.ResolveName.Response](#anytype-Rpc-NameService-ResolveName-Response) | |
| NameServiceResolveAnyId | [Rpc.NameService.ResolveAnyId.Request](#anytype-Rpc-NameService-ResolveAnyId-Request) | [Rpc.NameService.ResolveAnyId.Response](#anytype-Rpc-NameService-ResolveAnyId-Response) | 12D3KooWA8EXV3KjBxEU5EnsPfneLx84vMWAtTBQBeyooN82KSuS -> hello.any |
| BroadcastPayloadEvent | [Rpc.Broadcast.PayloadEvent.Request](#anytype-Rpc-Broadcast-PayloadEvent-Request) | [Rpc.Broadcast.PayloadEvent.Response](#anytype-Rpc-Broadcast-PayloadEvent-Response) | |
| DeviceSetName | [Rpc.Device.SetName.Request](#anytype-Rpc-Device-SetName-Request) | [Rpc.Device.SetName.Response](#anytype-Rpc-Device-SetName-Response) | |
| DeviceList | [Rpc.Device.List.Request](#anytype-Rpc-Device-List-Request) | [Rpc.Device.List.Response](#anytype-Rpc-Device-List-Response) | |
| DeviceNetworkStateSet | [Rpc.Device.NetworkState.Set.Request](#anytype-Rpc-Device-NetworkState-Set-Request) | [Rpc.Device.NetworkState.Set.Response](#anytype-Rpc-Device-NetworkState-Set-Response) | |
@ -2194,6 +2217,8 @@ the element of change tree used to store and internal apply smartBlock history
| setFileInfo | [Change.SetFileInfo](#anytype-Change-SetFileInfo) | | |
| notificationCreate | [Change.NotificationCreate](#anytype-Change-NotificationCreate) | | |
| notificationUpdate | [Change.NotificationUpdate](#anytype-Change-NotificationUpdate) | | |
| deviceAdd | [Change.DeviceAdd](#anytype-Change-DeviceAdd) | | |
| deviceUpdate | [Change.DeviceUpdate](#anytype-Change-DeviceUpdate) | | |
@ -2231,6 +2256,37 @@ the element of change tree used to store and internal apply smartBlock history
<a name="anytype-Change-DeviceAdd"></a>
### Change.DeviceAdd
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| device | [model.DeviceInfo](#anytype-model-DeviceInfo) | | |
<a name="anytype-Change-DeviceUpdate"></a>
### Change.DeviceUpdate
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| id | [string](#string) | | |
| name | [string](#string) | | |
<a name="anytype-Change-FileKeys"></a>
### Change.FileKeys
@ -3939,6 +3995,7 @@ common simple block command
| blockIds | [string](#string) | repeated | |
| objectTypeUniqueKey | [string](#string) | | |
| templateId | [string](#string) | | |
| block | [model.Block](#anytype-model-Block) | | |
@ -10287,6 +10344,191 @@ Get marks list in the selected range in text block.
<a name="anytype-Rpc-Device"></a>
### Rpc.Device
<a name="anytype-Rpc-Device-List"></a>
### Rpc.Device.List
<a name="anytype-Rpc-Device-List-Request"></a>
### Rpc.Device.List.Request
<a name="anytype-Rpc-Device-List-Response"></a>
### Rpc.Device.List.Response
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| error | [Rpc.Device.List.Response.Error](#anytype-Rpc-Device-List-Response-Error) | | |
| devices | [model.DeviceInfo](#anytype-model-DeviceInfo) | repeated | |
<a name="anytype-Rpc-Device-List-Response-Error"></a>
### Rpc.Device.List.Response.Error
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| code | [Rpc.Device.List.Response.Error.Code](#anytype-Rpc-Device-List-Response-Error-Code) | | |
| description | [string](#string) | | |
<a name="anytype-Rpc-Device-NetworkState"></a>
### Rpc.Device.NetworkState
<a name="anytype-Rpc-Device-NetworkState-Set"></a>
### Rpc.Device.NetworkState.Set
<a name="anytype-Rpc-Device-NetworkState-Set-Request"></a>
### Rpc.Device.NetworkState.Set.Request
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| deviceNetworkType | [model.DeviceNetworkType](#anytype-model-DeviceNetworkType) | | |
<a name="anytype-Rpc-Device-NetworkState-Set-Response"></a>
### Rpc.Device.NetworkState.Set.Response
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| error | [Rpc.Device.NetworkState.Set.Response.Error](#anytype-Rpc-Device-NetworkState-Set-Response-Error) | | |
<a name="anytype-Rpc-Device-NetworkState-Set-Response-Error"></a>
### Rpc.Device.NetworkState.Set.Response.Error
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| code | [Rpc.Device.NetworkState.Set.Response.Error.Code](#anytype-Rpc-Device-NetworkState-Set-Response-Error-Code) | | |
| description | [string](#string) | | |
<a name="anytype-Rpc-Device-SetName"></a>
### Rpc.Device.SetName
<a name="anytype-Rpc-Device-SetName-Request"></a>
### Rpc.Device.SetName.Request
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| deviceId | [string](#string) | | |
| name | [string](#string) | | |
<a name="anytype-Rpc-Device-SetName-Response"></a>
### Rpc.Device.SetName.Response
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| error | [Rpc.Device.SetName.Response.Error](#anytype-Rpc-Device-SetName-Response-Error) | | |
<a name="anytype-Rpc-Device-SetName-Response-Error"></a>
### Rpc.Device.SetName.Response.Error
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| code | [Rpc.Device.SetName.Response.Error.Code](#anytype-Rpc-Device-SetName-Response-Error-Code) | | |
| description | [string](#string) | | |
<a name="anytype-Rpc-File"></a>
### Rpc.File
@ -20310,6 +20552,46 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er
<a name="anytype-Rpc-Device-List-Response-Error-Code"></a>
### Rpc.Device.List.Response.Error.Code
| Name | Number | Description |
| ---- | ------ | ----------- |
| NULL | 0 | |
| UNKNOWN_ERROR | 1 | |
| BAD_INPUT | 2 | |
<a name="anytype-Rpc-Device-NetworkState-Set-Response-Error-Code"></a>
### Rpc.Device.NetworkState.Set.Response.Error.Code
| Name | Number | Description |
| ---- | ------ | ----------- |
| NULL | 0 | |
| UNKNOWN_ERROR | 1 | |
| BAD_INPUT | 2 | |
| INTERNAL_ERROR | 3 | |
<a name="anytype-Rpc-Device-SetName-Response-Error-Code"></a>
### Rpc.Device.SetName.Response.Error.Code
| Name | Number | Description |
| ---- | ------ | ----------- |
| NULL | 0 | |
| UNKNOWN_ERROR | 1 | |
| BAD_INPUT | 2 | |
<a name="anytype-Rpc-File-Download-Response-Error-Code"></a>
### Rpc.File.Download.Response.Error.Code
@ -25777,8 +26059,6 @@ Contains basic information about a user account
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| id | [string](#string) | | User&#39;s thread id |
| name | [string](#string) | | User name, that associated with this account |
| avatar | [Account.Avatar](#anytype-model-Account-Avatar) | | Avatar of a user&#39;s account |
| config | [Account.Config](#anytype-model-Account-Config) | | |
| status | [Account.Status](#anytype-model-Account-Status) | | |
| info | [Account.Info](#anytype-model-Account-Info) | | |
@ -25788,22 +26068,6 @@ Contains basic information about a user account
<a name="anytype-model-Account-Avatar"></a>
### Account.Avatar
Avatar of a user&#39;s account. It could be an image or color
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| image | [Block.Content.File](#anytype-model-Block-Content-File) | | Image of the avatar. Contains the hash to retrieve the image. |
| color | [string](#string) | | Color of the avatar, used if image not set. |
<a name="anytype-model-Account-Config"></a>
### Account.Config
@ -26485,6 +26749,25 @@ Used to decode block meta only, without the content itself
<a name="anytype-model-DeviceInfo"></a>
### DeviceInfo
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| id | [string](#string) | | |
| name | [string](#string) | | |
| addDate | [int64](#int64) | | |
| archived | [bool](#bool) | | |
| isConnected | [bool](#bool) | | |
<a name="anytype-model-Export"></a>
### Export
@ -27812,6 +28095,19 @@ stored |
<a name="anytype-model-DeviceNetworkType"></a>
### DeviceNetworkType
| Name | Number | Description |
| ---- | ------ | ----------- |
| WIFI | 0 | |
| CELLULAR | 1 | |
| NOT_CONNECTED | 2 | |
<a name="anytype-model-Export-Format"></a>
### Export.Format
@ -28224,6 +28520,7 @@ RelationFormat describes how the underlying data is stored in the google.protobu
| MissingObject | 519 | |
| FileObject | 533 | |
| NotificationObject | 535 | |
| DevicesObject | 536 | |

6
go.mod
View file

@ -77,7 +77,7 @@ require (
github.com/prometheus/client_golang v1.19.1
github.com/pseudomuto/protoc-gen-doc v1.5.1
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd
github.com/samber/lo v1.39.0
github.com/samber/lo v1.44.0
github.com/sasha-s/go-deadlock v0.3.1
github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
@ -85,13 +85,13 @@ require (
github.com/valyala/fastjson v1.6.4
github.com/vektra/mockery/v2 v2.42.2
github.com/xeipuuv/gojsonschema v1.2.0
github.com/yuin/goldmark v1.7.1
github.com/yuin/goldmark v1.7.4
go.uber.org/atomic v1.11.0
go.uber.org/mock v0.4.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
golang.org/x/image v0.17.0
golang.org/x/image v0.18.0
golang.org/x/mobile v0.0.0-20240404231514-09dbf07665ed
golang.org/x/net v0.26.0
golang.org/x/oauth2 v0.21.0

12
go.sum
View file

@ -1232,8 +1232,8 @@ github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd h1:CmH9+J6ZSsIjUK3dcGsnCnO41eRBOnY12zwkn5qVwgc=
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd/go.mod h1:hPqNNc0+uJM6H+SuU8sEs5K5IQeKccPqeSjfgcKGgPk=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA=
github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA=
github.com/samber/lo v1.44.0 h1:5il56KxRE+GHsm1IR+sZ/6J42NODigFiqCWpSc2dybA=
github.com/samber/lo v1.44.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU=
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0=
github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM=
@ -1384,8 +1384,8 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark v1.5.5/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark v1.7.1 h1:3bajkSilaCbjdKVsKdZjZCLBNPL9pYzrCakKaf4U49U=
github.com/yuin/goldmark v1.7.1/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E=
github.com/yuin/goldmark v1.7.4 h1:BDXOHExt+A7gwPCJgPIIq7ENvceR7we7rOS9TNoLZeg=
github.com/yuin/goldmark v1.7.4/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
github.com/zeebo/assert v1.1.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
@ -1495,8 +1495,8 @@ golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86h
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/image v0.17.0 h1:nTRVVdajgB8zCMZVsViyzhnMKPwYeroEERRC64JuLco=
golang.org/x/image v0.17.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E=
golang.org/x/image v0.18.0 h1:jGzIakQa/ZXI1I0Fxvaa9W7yP25TqT6cHIHn+6CqvSQ=
golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=

View file

@ -268,6 +268,8 @@ type ChangeContent struct {
// *ChangeContentValueOfSetFileInfo
// *ChangeContentValueOfNotificationCreate
// *ChangeContentValueOfNotificationUpdate
// *ChangeContentValueOfDeviceAdd
// *ChangeContentValueOfDeviceUpdate
Value IsChangeContentValue `protobuf_oneof:"value"`
}
@ -364,6 +366,12 @@ type ChangeContentValueOfNotificationCreate struct {
type ChangeContentValueOfNotificationUpdate struct {
NotificationUpdate *ChangeNotificationUpdate `protobuf:"bytes,113,opt,name=notificationUpdate,proto3,oneof" json:"notificationUpdate,omitempty"`
}
type ChangeContentValueOfDeviceAdd struct {
DeviceAdd *ChangeDeviceAdd `protobuf:"bytes,114,opt,name=deviceAdd,proto3,oneof" json:"deviceAdd,omitempty"`
}
type ChangeContentValueOfDeviceUpdate struct {
DeviceUpdate *ChangeDeviceUpdate `protobuf:"bytes,115,opt,name=deviceUpdate,proto3,oneof" json:"deviceUpdate,omitempty"`
}
func (*ChangeContentValueOfBlockCreate) IsChangeContentValue() {}
func (*ChangeContentValueOfBlockUpdate) IsChangeContentValue() {}
@ -383,6 +391,8 @@ func (*ChangeContentValueOfOriginalCreatedTimestampSet) IsChangeContentValue() {
func (*ChangeContentValueOfSetFileInfo) IsChangeContentValue() {}
func (*ChangeContentValueOfNotificationCreate) IsChangeContentValue() {}
func (*ChangeContentValueOfNotificationUpdate) IsChangeContentValue() {}
func (*ChangeContentValueOfDeviceAdd) IsChangeContentValue() {}
func (*ChangeContentValueOfDeviceUpdate) IsChangeContentValue() {}
func (m *ChangeContent) GetValue() IsChangeContentValue {
if m != nil {
@ -517,6 +527,20 @@ func (m *ChangeContent) GetNotificationUpdate() *ChangeNotificationUpdate {
return nil
}
func (m *ChangeContent) GetDeviceAdd() *ChangeDeviceAdd {
if x, ok := m.GetValue().(*ChangeContentValueOfDeviceAdd); ok {
return x.DeviceAdd
}
return nil
}
func (m *ChangeContent) GetDeviceUpdate() *ChangeDeviceUpdate {
if x, ok := m.GetValue().(*ChangeContentValueOfDeviceUpdate); ok {
return x.DeviceUpdate
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*ChangeContent) XXX_OneofWrappers() []interface{} {
return []interface{}{
@ -538,6 +562,8 @@ func (*ChangeContent) XXX_OneofWrappers() []interface{} {
(*ChangeContentValueOfSetFileInfo)(nil),
(*ChangeContentValueOfNotificationCreate)(nil),
(*ChangeContentValueOfNotificationUpdate)(nil),
(*ChangeContentValueOfDeviceAdd)(nil),
(*ChangeContentValueOfDeviceUpdate)(nil),
}
}
@ -1631,6 +1657,102 @@ func (m *ChangeNotificationUpdate) GetStatus() model.NotificationStatus {
return model.Notification_Created
}
type ChangeDeviceAdd struct {
Device *model.DeviceInfo `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}
func (m *ChangeDeviceAdd) Reset() { *m = ChangeDeviceAdd{} }
func (m *ChangeDeviceAdd) String() string { return proto.CompactTextString(m) }
func (*ChangeDeviceAdd) ProtoMessage() {}
func (*ChangeDeviceAdd) Descriptor() ([]byte, []int) {
return fileDescriptor_2b02bba284ea1e46, []int{0, 21}
}
func (m *ChangeDeviceAdd) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ChangeDeviceAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ChangeDeviceAdd.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ChangeDeviceAdd) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeDeviceAdd.Merge(m, src)
}
func (m *ChangeDeviceAdd) XXX_Size() int {
return m.Size()
}
func (m *ChangeDeviceAdd) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeDeviceAdd.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeDeviceAdd proto.InternalMessageInfo
func (m *ChangeDeviceAdd) GetDevice() *model.DeviceInfo {
if m != nil {
return m.Device
}
return nil
}
type ChangeDeviceUpdate struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}
func (m *ChangeDeviceUpdate) Reset() { *m = ChangeDeviceUpdate{} }
func (m *ChangeDeviceUpdate) String() string { return proto.CompactTextString(m) }
func (*ChangeDeviceUpdate) ProtoMessage() {}
func (*ChangeDeviceUpdate) Descriptor() ([]byte, []int) {
return fileDescriptor_2b02bba284ea1e46, []int{0, 22}
}
func (m *ChangeDeviceUpdate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ChangeDeviceUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ChangeDeviceUpdate.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ChangeDeviceUpdate) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeDeviceUpdate.Merge(m, src)
}
func (m *ChangeDeviceUpdate) XXX_Size() int {
return m.Size()
}
func (m *ChangeDeviceUpdate) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeDeviceUpdate.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeDeviceUpdate proto.InternalMessageInfo
func (m *ChangeDeviceUpdate) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ChangeDeviceUpdate) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func init() {
proto.RegisterType((*Change)(nil), "anytype.Change")
proto.RegisterType((*ChangeSnapshot)(nil), "anytype.Change.Snapshot")
@ -1659,95 +1781,102 @@ func init() {
proto.RegisterType((*ChangeSetFileInfo)(nil), "anytype.Change.SetFileInfo")
proto.RegisterType((*ChangeNotificationCreate)(nil), "anytype.Change.NotificationCreate")
proto.RegisterType((*ChangeNotificationUpdate)(nil), "anytype.Change.NotificationUpdate")
proto.RegisterType((*ChangeDeviceAdd)(nil), "anytype.Change.DeviceAdd")
proto.RegisterType((*ChangeDeviceUpdate)(nil), "anytype.Change.DeviceUpdate")
}
func init() { proto.RegisterFile("pb/protos/changes.proto", fileDescriptor_2b02bba284ea1e46) }
var fileDescriptor_2b02bba284ea1e46 = []byte{
// 1324 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x4d, 0x93, 0xdb, 0x44,
0x13, 0xb6, 0x6c, 0xc7, 0x1f, 0xed, 0x5d, 0xbf, 0x7e, 0xa7, 0x52, 0x89, 0xd0, 0x6e, 0x8c, 0x09,
0x09, 0xb8, 0x20, 0x68, 0x2b, 0x5e, 0x2a, 0xe4, 0x03, 0x2a, 0x15, 0x27, 0xa1, 0xbc, 0x49, 0x36,
0x49, 0x8d, 0x13, 0x0e, 0x5c, 0x82, 0x6c, 0xcd, 0xda, 0x8a, 0x65, 0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65, 0x2f, 0x26, 0x97, 0xdd, 0x80, 0xca,
0xc6, 0x97, 0xdf, 0x83, 0xb2, 0x78, 0xf4, 0x67, 0xd0, 0xeb, 0x37, 0xa0, 0xee, 0x07, 0x24, 0x14,
0xd7, 0xca, 0xf8, 0x02, 0x76, 0x4e, 0xe8, 0x3a, 0xa8, 0x09, 0x45, 0x46, 0x85, 0x64, 0x09, 0x17,
0x19, 0x35, 0xfa, 0xd0, 0x48, 0xf5, 0x10, 0xb4, 0x1f, 0xcd, 0xee, 0xa2, 0xe5, 0x44, 0x73, 0xea,
0xc5, 0x95, 0x37, 0xa0, 0xa0, 0x38, 0x06, 0x1a, 0x2f, 0x01, 0xad, 0xf7, 0x0f, 0x74, 0x17, 0xb6,
0xd2, 0x95, 0x7e, 0x6d, 0xec, 0x8d, 0xe4, 0xd2, 0x44, 0x9c, 0x21, 0x18, 0x3f, 0x64, 0x65, 0xe5,
0xdd, 0x69, 0x42, 0xd1, 0x51, 0x39, 0x29, 0x3a, 0x36, 0xba, 0x0d, 0x15, 0xca, 0x2c, 0xb6, 0xa0,
0xb2, 0x08, 0x5d, 0x3e, 0x61, 0x03, 0x73, 0x28, 0x90, 0x58, 0x32, 0xfa, 0xbb, 0xbf, 0xbf, 0x6d,
0x6b, 0x6f, 0xde, 0xb6, 0xb5, 0x3f, 0xdf, 0xb6, 0xb5, 0x5f, 0xde, 0xb5, 0x0b, 0x6f, 0xde, 0xb5,
0x0b, 0x7f, 0xbc, 0x6b, 0x17, 0xbe, 0x2f, 0x06, 0xa3, 0x51, 0x45, 0x5c, 0xfb, 0xfd, 0x7f, 0x02,
0x00, 0x00, 0xff, 0xff, 0x07, 0xed, 0xf6, 0x08, 0x35, 0x0f, 0x00, 0x00,
// 1397 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x4d, 0x93, 0xd3, 0x46,
0x13, 0xb6, 0x6c, 0xe3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x03,
0xcd, 0xb8, 0xa9, 0xa1, 0x6b, 0x50, 0x8b, 0x7a, 0x92, 0xf0, 0xf4, 0x42, 0x4e, 0x28, 0x42, 0xf2,
0xd0, 0x05, 0x50, 0xef, 0xb3, 0x3a, 0x93, 0xb4, 0xb1, 0x35, 0xdf, 0x10, 0x54, 0x5d, 0x73, 0x2e,
0xff, 0x9c, 0xf0, 0xef, 0xc1, 0xee, 0xef, 0x6f, 0x3a, 0xca, 0xeb, 0x37, 0x1d, 0xe5, 0xcf, 0x37,
0x1d, 0xe5, 0x97, 0xb7, 0x9d, 0xd2, 0xeb, 0xb7, 0x9d, 0xd2, 0x1f, 0x6f, 0x3b, 0xa5, 0xef, 0xcb,
0xfe, 0x78, 0x5c, 0xe3, 0x57, 0x6d, 0xff, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0xdb, 0x9a,
0x94, 0x28, 0x10, 0x00, 0x00,
}
func (m *Change) Marshal() (dAtA []byte, err error) {
@ -2401,6 +2530,52 @@ func (m *ChangeContentValueOfNotificationUpdate) MarshalToSizedBuffer(dAtA []byt
}
return len(dAtA) - i, nil
}
func (m *ChangeContentValueOfDeviceAdd) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ChangeContentValueOfDeviceAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.DeviceAdd != nil {
{
size, err := m.DeviceAdd.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintChanges(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x7
i--
dAtA[i] = 0x92
}
return len(dAtA) - i, nil
}
func (m *ChangeContentValueOfDeviceUpdate) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ChangeContentValueOfDeviceUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.DeviceUpdate != nil {
{
size, err := m.DeviceUpdate.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintChanges(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x7
i--
dAtA[i] = 0x9a
}
return len(dAtA) - i, nil
}
func (m *ChangeBlockCreate) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@ -3243,6 +3418,78 @@ func (m *ChangeNotificationUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error
return len(dAtA) - i, nil
}
func (m *ChangeDeviceAdd) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *ChangeDeviceAdd) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ChangeDeviceAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.Device != nil {
{
size, err := m.Device.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintChanges(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *ChangeDeviceUpdate) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *ChangeDeviceUpdate) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ChangeDeviceUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.Name) > 0 {
i -= len(m.Name)
copy(dAtA[i:], m.Name)
i = encodeVarintChanges(dAtA, i, uint64(len(m.Name)))
i--
dAtA[i] = 0x12
}
if len(m.Id) > 0 {
i -= len(m.Id)
copy(dAtA[i:], m.Id)
i = encodeVarintChanges(dAtA, i, uint64(len(m.Id)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func encodeVarintChanges(dAtA []byte, offset int, v uint64) int {
offset -= sovChanges(v)
base := offset
@ -3577,6 +3824,30 @@ func (m *ChangeContentValueOfNotificationUpdate) Size() (n int) {
}
return n
}
func (m *ChangeContentValueOfDeviceAdd) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.DeviceAdd != nil {
l = m.DeviceAdd.Size()
n += 2 + l + sovChanges(uint64(l))
}
return n
}
func (m *ChangeContentValueOfDeviceUpdate) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.DeviceUpdate != nil {
l = m.DeviceUpdate.Size()
n += 2 + l + sovChanges(uint64(l))
}
return n
}
func (m *ChangeBlockCreate) Size() (n int) {
if m == nil {
return 0
@ -3960,6 +4231,36 @@ func (m *ChangeNotificationUpdate) Size() (n int) {
return n
}
func (m *ChangeDeviceAdd) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Device != nil {
l = m.Device.Size()
n += 1 + l + sovChanges(uint64(l))
}
return n
}
func (m *ChangeDeviceUpdate) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Id)
if l > 0 {
n += 1 + l + sovChanges(uint64(l))
}
l = len(m.Name)
if l > 0 {
n += 1 + l + sovChanges(uint64(l))
}
return n
}
func sovChanges(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
@ -5369,6 +5670,76 @@ func (m *ChangeContent) Unmarshal(dAtA []byte) error {
}
m.Value = &ChangeContentValueOfNotificationUpdate{v}
iNdEx = postIndex
case 114:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field DeviceAdd", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowChanges
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthChanges
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthChanges
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &ChangeDeviceAdd{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Value = &ChangeContentValueOfDeviceAdd{v}
iNdEx = postIndex
case 115:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field DeviceUpdate", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowChanges
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthChanges
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthChanges
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &ChangeDeviceUpdate{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Value = &ChangeContentValueOfDeviceUpdate{v}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipChanges(dAtA[iNdEx:])
@ -7590,6 +7961,206 @@ func (m *ChangeNotificationUpdate) Unmarshal(dAtA []byte) error {
}
return nil
}
func (m *ChangeDeviceAdd) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowChanges
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DeviceAdd: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DeviceAdd: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowChanges
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthChanges
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthChanges
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Device == nil {
m.Device = &model.DeviceInfo{}
}
if err := m.Device.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipChanges(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthChanges
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *ChangeDeviceUpdate) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowChanges
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DeviceUpdate: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DeviceUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowChanges
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthChanges
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthChanges
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Id = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowChanges
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthChanges
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthChanges
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Name = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipChanges(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthChanges
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipChanges(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0

File diff suppressed because it is too large Load diff

View file

@ -62,6 +62,9 @@ message Change {
SetFileInfo setFileInfo = 111;
NotificationCreate notificationCreate = 112;
NotificationUpdate notificationUpdate = 113;
DeviceAdd deviceAdd = 114;
DeviceUpdate deviceUpdate = 115;
}
reserved 102,103,104; // old unsupported relation changes
}
@ -167,4 +170,13 @@ message Change {
string id = 1;
anytype.model.Notification.Status status = 2;
}
message DeviceAdd {
anytype.model.DeviceInfo device = 1;
}
message DeviceUpdate {
string id = 1;
string name = 2;
}
}

View file

@ -4118,6 +4118,7 @@ message Rpc {
repeated string blockIds = 2;
string objectTypeUniqueKey = 3;
string templateId = 4;
anytype.model.Block block = 5;
}
message Response {
@ -7139,6 +7140,69 @@ message Rpc {
}
}
}
message Device {
message SetName {
message Request {
string deviceId = 1;
string name = 2;
}
message Response {
Error error = 1;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
}
}
}
}
message List {
message Request {}
message Response {
Error error = 1;
repeated anytype.model.DeviceInfo devices = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
}
}
}
}
message NetworkState {
message Set {
message Request {
anytype.model.DeviceNetworkType deviceNetworkType = 1;
}
message Response {
Error error = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
INTERNAL_ERROR = 3;
}
}
}
}
}
}
}

View file

@ -352,4 +352,8 @@ service ClientCommands {
rpc NameServiceResolveAnyId( anytype.Rpc.NameService.ResolveAnyId.Request ) returns (anytype.Rpc.NameService.ResolveAnyId.Response);
rpc BroadcastPayloadEvent (anytype.Rpc.Broadcast.PayloadEvent.Request) returns (anytype.Rpc.Broadcast.PayloadEvent.Response);
rpc DeviceSetName (anytype.Rpc.Device.SetName.Request) returns (anytype.Rpc.Device.SetName.Response);
rpc DeviceList (anytype.Rpc.Device.List.Request) returns (anytype.Rpc.Device.List.Response);
rpc DeviceNetworkStateSet (anytype.Rpc.Device.NetworkState.Set.Request) returns (anytype.Rpc.Device.NetworkState.Set.Response);
}

View file

@ -26,311 +26,314 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("pb/protos/service/service.proto", fileDescriptor_93a29dc403579097) }
var fileDescriptor_93a29dc403579097 = []byte{
// 4850 bytes of a gzipped FileDescriptorProto
// 4904 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x9d, 0xdd, 0x6f, 0x24, 0x49,
0x52, 0xc0, 0xb7, 0x5f, 0x58, 0xa8, 0xe3, 0x16, 0xe8, 0x85, 0x65, 0x6f, 0xb9, 0x9b, 0x99, 0x9d,
0x9d, 0x0f, 0xcf, 0x78, 0xdc, 0xf6, 0xce, 0xec, 0xc7, 0xb1, 0x87, 0x84, 0x3c, 0xf6, 0xd8, 0x6b,
0xce, 0xf6, 0x18, 0x77, 0x7b, 0x46, 0x5a, 0x09, 0x89, 0x72, 0x75, 0xb8, 0x5d, 0xb8, 0xba, 0xb2,
0x2e, 0x2b, 0xbb, 0x3d, 0x7d, 0x08, 0x04, 0x02, 0x81, 0x40, 0x20, 0x4e, 0x7c, 0xbd, 0xf0, 0x80,
0x84, 0xf8, 0x63, 0x78, 0xbc, 0x27, 0xc4, 0x23, 0xda, 0xfd, 0x47, 0x4e, 0x95, 0x95, 0x95, 0x1f,
0x51, 0x19, 0x59, 0xe5, 0x7d, 0x9a, 0x51, 0xc7, 0x2f, 0x22, 0x32, 0x2b, 0x23, 0x33, 0x23, 0x3f,
0xaa, 0x1c, 0xdd, 0x2e, 0xce, 0x37, 0x0b, 0xce, 0x04, 0x2b, 0x37, 0x4b, 0xe0, 0xcb, 0x34, 0x81,
0xe6, 0xdf, 0x91, 0xfc, 0x79, 0xf8, 0x76, 0x9c, 0xaf, 0xc4, 0xaa, 0x80, 0x0f, 0xde, 0x37, 0x64,
0xc2, 0xe6, 0xf3, 0x38, 0x9f, 0x96, 0x35, 0xf2, 0xc1, 0x7b, 0x46, 0x02, 0x4b, 0xc8, 0x85, 0xfa,
0xfd, 0xe9, 0x7f, 0xff, 0xef, 0x20, 0x7a, 0x67, 0x27, 0x4b, 0x21, 0x17, 0x3b, 0x4a, 0x63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f, 0xa7, 0xf0, 0x16, 0x65, 0xf3, 0xd8, 0x8e, 0x60, 0x88, 0x6c, 0x9e,
0x62, 0xcd, 0x8e, 0xe8, 0x8b, 0x8c, 0x25, 0x97, 0x6a, 0x0a, 0x70, 0x1b, 0x58, 0x48, 0xf0, 0x1c,
0x70, 0x27, 0x84, 0x98, 0x49, 0x40, 0x08, 0x4e, 0xa0, 0xc8, 0xe2, 0x04, 0xdf, 0x70, 0x90, 0x3a,
0x4a, 0x46, 0x4c, 0x02, 0x98, 0x41, 0xc5, 0x55, 0x37, 0x27, 0x7c, 0xc5, 0x45, 0x17, 0x27, 0xee,
0x84, 0x10, 0x33, 0x0d, 0x0a, 0xc1, 0xb8, 0xc8, 0x52, 0x8e, 0xba, 0x81, 0xd4, 0x10, 0x12, 0xa2,
0x1b, 0xb8, 0x04, 0x32, 0x79, 0x08, 0xe5, 0x0c, 0xbc, 0x26, 0x85, 0x24, 0x68, 0xb2, 0x21, 0xcc,
0x45, 0x38, 0x59, 0x77, 0x56, 0xac, 0xd0, 0x45, 0x38, 0x55, 0x2d, 0x56, 0xac, 0x88, 0x8b, 0x70,
0x0e, 0x80, 0x8a, 0x78, 0x1c, 0x57, 0xdc, 0x5f, 0x44, 0x21, 0x09, 0x16, 0xb1, 0x21, 0xcc, 0x1c,
0x2d, 0x8b, 0xb8, 0xe0, 0x68, 0x8e, 0x56, 0x05, 0xb0, 0xce, 0x43, 0x6f, 0x92, 0x72, 0x33, 0x92,
0xc8, 0x56, 0x01, 0xbe, 0x9b, 0x42, 0x36, 0xad, 0xd0, 0x48, 0xa2, 0x9e, 0x7b, 0x23, 0x25, 0x46,
0x92, 0x36, 0x85, 0x42, 0x49, 0xed, 0x1b, 0xfb, 0x6a, 0x87, 0xb6, 0x8c, 0xef, 0x84, 0x10, 0x33,
0x3e, 0x35, 0x85, 0xde, 0x8e, 0xcb, 0x32, 0xad, 0x27, 0xff, 0x07, 0xfe, 0x02, 0x35, 0x72, 0x62,
0x7c, 0xf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46, 0xdb, 0xed, 0x56, 0xbe, 0xda, 0xc7, 0x67, 0xe4, 0x1e,
0x4b, 0x02, 0x23, 0xd2, 0x8d, 0x00, 0x6e, 0xed, 0x7e, 0x96, 0x2c, 0x9e, 0x26, 0x71, 0xc5, 0x8f,
0xe3, 0x55, 0xc6, 0xe2, 0xa9, 0x98, 0xd7, 0xf1, 0xee, 0x67, 0xc3, 0x8c, 0x6c, 0x88, 0xda, 0xfd,
0xa4, 0x60, 0xb3, 0xb2, 0x53, 0x7f, 0x67, 0x4a, 0x5d, 0x2d, 0xbc, 0x8b, 0x72, 0x24, 0x51, 0x5e,
0x7c, 0xad, 0xf0, 0x5e, 0x18, 0x32, 0xaf, 0x44, 0x49, 0x91, 0x48, 0x43, 0x6e, 0xf9, 0x74, 0x9c,
0x04, 0xe4, 0x76, 0x80, 0x30, 0x9f, 0x49, 0x90, 0xbf, 0x37, 0x7f, 0x2a, 0x81, 0xab, 0x4f, 0xd7,
0x3e, 0xf5, 0xe9, 0xda, 0xd0, 0xc8, 0xfe, 0x0e, 0xd9, 0x7a, 0x4f, 0x5a, 0x7a, 0x7d, 0x71, 0xfb,
0x7f, 0xbf, 0xbe, 0x31, 0xf8, 0xf9, 0xd7, 0x37, 0x06, 0xff, 0xff, 0xf5, 0x8d, 0xc1, 0xcf, 0xbe,
0xb9, 0xf1, 0xce, 0xcf, 0xbf, 0xb9, 0xf1, 0xce, 0x2f, 0xbe, 0xb9, 0xf1, 0xce, 0x57, 0xef, 0xaa,
0x3f, 0x58, 0x76, 0xf6, 0x2b, 0xe2, 0xcf, 0x8e, 0x3d, 0xff, 0x65, 0x00, 0x00, 0x00, 0xff, 0xff,
0xf5, 0x3b, 0x43, 0x25, 0xd4, 0x6c, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -652,6 +655,9 @@ type ClientCommandsClient interface {
// 12D3KooWA8EXV3KjBxEU5EnsPfneLx84vMWAtTBQBeyooN82KSuS -> hello.any
NameServiceResolveAnyId(ctx context.Context, in *pb.RpcNameServiceResolveAnyIdRequest, opts ...grpc.CallOption) (*pb.RpcNameServiceResolveAnyIdResponse, error)
BroadcastPayloadEvent(ctx context.Context, in *pb.RpcBroadcastPayloadEventRequest, opts ...grpc.CallOption) (*pb.RpcBroadcastPayloadEventResponse, error)
DeviceSetName(ctx context.Context, in *pb.RpcDeviceSetNameRequest, opts ...grpc.CallOption) (*pb.RpcDeviceSetNameResponse, error)
DeviceList(ctx context.Context, in *pb.RpcDeviceListRequest, opts ...grpc.CallOption) (*pb.RpcDeviceListResponse, error)
DeviceNetworkStateSet(ctx context.Context, in *pb.RpcDeviceNetworkStateSetRequest, opts ...grpc.CallOption) (*pb.RpcDeviceNetworkStateSetResponse, error)
}
type clientCommandsClient struct {
@ -2908,6 +2914,33 @@ func (c *clientCommandsClient) BroadcastPayloadEvent(ctx context.Context, in *pb
return out, nil
}
func (c *clientCommandsClient) DeviceSetName(ctx context.Context, in *pb.RpcDeviceSetNameRequest, opts ...grpc.CallOption) (*pb.RpcDeviceSetNameResponse, error) {
out := new(pb.RpcDeviceSetNameResponse)
err := c.cc.Invoke(ctx, "/anytype.ClientCommands/DeviceSetName", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *clientCommandsClient) DeviceList(ctx context.Context, in *pb.RpcDeviceListRequest, opts ...grpc.CallOption) (*pb.RpcDeviceListResponse, error) {
out := new(pb.RpcDeviceListResponse)
err := c.cc.Invoke(ctx, "/anytype.ClientCommands/DeviceList", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *clientCommandsClient) DeviceNetworkStateSet(ctx context.Context, in *pb.RpcDeviceNetworkStateSetRequest, opts ...grpc.CallOption) (*pb.RpcDeviceNetworkStateSetResponse, error) {
out := new(pb.RpcDeviceNetworkStateSetResponse)
err := c.cc.Invoke(ctx, "/anytype.ClientCommands/DeviceNetworkStateSet", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ClientCommandsServer is the server API for ClientCommands service.
type ClientCommandsServer interface {
AppGetVersion(context.Context, *pb.RpcAppGetVersionRequest) *pb.RpcAppGetVersionResponse
@ -3217,6 +3250,9 @@ type ClientCommandsServer interface {
// 12D3KooWA8EXV3KjBxEU5EnsPfneLx84vMWAtTBQBeyooN82KSuS -> hello.any
NameServiceResolveAnyId(context.Context, *pb.RpcNameServiceResolveAnyIdRequest) *pb.RpcNameServiceResolveAnyIdResponse
BroadcastPayloadEvent(context.Context, *pb.RpcBroadcastPayloadEventRequest) *pb.RpcBroadcastPayloadEventResponse
DeviceSetName(context.Context, *pb.RpcDeviceSetNameRequest) *pb.RpcDeviceSetNameResponse
DeviceList(context.Context, *pb.RpcDeviceListRequest) *pb.RpcDeviceListResponse
DeviceNetworkStateSet(context.Context, *pb.RpcDeviceNetworkStateSetRequest) *pb.RpcDeviceNetworkStateSetResponse
}
// UnimplementedClientCommandsServer can be embedded to have forward compatible implementations.
@ -3964,6 +4000,15 @@ func (*UnimplementedClientCommandsServer) NameServiceResolveAnyId(ctx context.Co
func (*UnimplementedClientCommandsServer) BroadcastPayloadEvent(ctx context.Context, req *pb.RpcBroadcastPayloadEventRequest) *pb.RpcBroadcastPayloadEventResponse {
return nil
}
func (*UnimplementedClientCommandsServer) DeviceSetName(ctx context.Context, req *pb.RpcDeviceSetNameRequest) *pb.RpcDeviceSetNameResponse {
return nil
}
func (*UnimplementedClientCommandsServer) DeviceList(ctx context.Context, req *pb.RpcDeviceListRequest) *pb.RpcDeviceListResponse {
return nil
}
func (*UnimplementedClientCommandsServer) DeviceNetworkStateSet(ctx context.Context, req *pb.RpcDeviceNetworkStateSetRequest) *pb.RpcDeviceNetworkStateSetResponse {
return nil
}
func RegisterClientCommandsServer(s *grpc.Server, srv ClientCommandsServer) {
s.RegisterService(&_ClientCommands_serviceDesc, srv)
@ -8419,6 +8464,60 @@ func _ClientCommands_BroadcastPayloadEvent_Handler(srv interface{}, ctx context.
return interceptor(ctx, in, info, handler)
}
func _ClientCommands_DeviceSetName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(pb.RpcDeviceSetNameRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ClientCommandsServer).DeviceSetName(ctx, in), nil
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/anytype.ClientCommands/DeviceSetName",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ClientCommandsServer).DeviceSetName(ctx, req.(*pb.RpcDeviceSetNameRequest)), nil
}
return interceptor(ctx, in, info, handler)
}
func _ClientCommands_DeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(pb.RpcDeviceListRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ClientCommandsServer).DeviceList(ctx, in), nil
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/anytype.ClientCommands/DeviceList",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ClientCommandsServer).DeviceList(ctx, req.(*pb.RpcDeviceListRequest)), nil
}
return interceptor(ctx, in, info, handler)
}
func _ClientCommands_DeviceNetworkStateSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(pb.RpcDeviceNetworkStateSetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ClientCommandsServer).DeviceNetworkStateSet(ctx, in), nil
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/anytype.ClientCommands/DeviceNetworkStateSet",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ClientCommandsServer).DeviceNetworkStateSet(ctx, req.(*pb.RpcDeviceNetworkStateSetRequest)), nil
}
return interceptor(ctx, in, info, handler)
}
var _ClientCommands_serviceDesc = grpc.ServiceDesc{
ServiceName: "anytype.ClientCommands",
HandlerType: (*ClientCommandsServer)(nil),
@ -9407,6 +9506,18 @@ var _ClientCommands_serviceDesc = grpc.ServiceDesc{
MethodName: "BroadcastPayloadEvent",
Handler: _ClientCommands_BroadcastPayloadEvent_Handler,
},
{
MethodName: "DeviceSetName",
Handler: _ClientCommands_DeviceSetName_Handler,
},
{
MethodName: "DeviceList",
Handler: _ClientCommands_DeviceList_Handler,
},
{
MethodName: "DeviceNetworkStateSet",
Handler: _ClientCommands_DeviceNetworkStateSet_Handler,
},
},
Streams: []grpc.StreamDesc{
{

View file

@ -37,6 +37,7 @@ const (
SmartBlockTypeMissingObject = SmartBlockType(model.SmartBlockType_MissingObject)
SmartBlockTypeNotificationObject = SmartBlockType(model.SmartBlockType_NotificationObject)
SmartBlockTypeDevicesObject = SmartBlockType(model.SmartBlockType_DevicesObject)
)
var ErrNoSuchSmartblock = errors.New("this id does not relate to any smartblock type")
@ -68,7 +69,8 @@ func (sbt SmartBlockType) IsOneOf(sbts ...SmartBlockType) bool {
// Indexable determines if the object of specific type need to be proceeded by the indexer in order to appear in sets
func (sbt SmartBlockType) Indexable() (details, outgoingLinks bool) {
switch sbt {
case SmartBlockTypeDate, SmartBlockTypeAccountOld, SmartBlockTypeArchive, SmartBlockTypeHome:
case SmartBlockTypeDate, SmartBlockTypeAccountOld, SmartBlockTypeArchive,
SmartBlockTypeHome, SmartBlockTypeNotificationObject, SmartBlockTypeDevicesObject:
return false, false
case SmartBlockTypeWidget:
return true, false

View file

@ -105,6 +105,31 @@ func openBadgerWithRecover(opts badger.Options) (db *badger.DB, err error) {
return db, err
}
func isBadgerCorrupted(err error) bool {
if strings.Contains(err.Error(), "checksum mismatch") {
return true
}
if strings.Contains(err.Error(), "checksum is empty") {
return true
}
if strings.Contains(err.Error(), "EOF") {
return true
}
if strings.Contains(err.Error(), "file does not exist") {
return true
}
if strings.Contains(err.Error(), "Unable to parse log") {
return true
}
if strings.Contains(err.Error(), "Level validation err") {
return true
}
if strings.Contains(err.Error(), "failed to read index") {
return true
}
return false
}
func (r *clientds) Init(a *app.App) (err error) {
// TODO: looks like we do a lot of stuff on Init here. We should consider moving it to the Run
r.closing = make(chan struct{})
@ -144,7 +169,7 @@ func (r *clientds) Init(a *app.App) (err error) {
r.localstoreDS, err = openBadgerWithRecover(opts)
err = oserror.TransformError(err)
if err != nil && strings.Contains(err.Error(), "checksum mismatch") {
if err != nil && isBadgerCorrupted(err) {
// because localstore contains mostly recoverable info (with th only exception of objects' lastOpenedDate)
// we can just remove and recreate it
err2 := os.Rename(opts.Dir, filepath.Join(opts.Dir, "-corrupted"))

View file

@ -1,6 +1,8 @@
package objectstore
import (
"fmt"
"github.com/dgraph-io/badger/v4"
"github.com/anyproto/anytype-heart/util/badgerhelper"
@ -35,6 +37,12 @@ func iterateKeysByPrefixBatchedTx(
batchSize int,
processKeysFn func(keys [][]byte) error,
) error {
var err error
defer func() {
if r := recover(); r != nil {
err = fmt.Errorf("badger iterator panic: %v", r)
}
}()
opts := badger.DefaultIteratorOptions
opts.PrefetchValues = false
opts.Prefix = prefix
@ -50,7 +58,7 @@ func iterateKeysByPrefixBatchedTx(
count++
if count == batchSize {
err := processKeysFn(batch)
err = processKeysFn(batch)
if err != nil {
return err
}
@ -60,7 +68,7 @@ func iterateKeysByPrefixBatchedTx(
}
if count > 0 {
err := processKeysFn(batch)
err = processKeysFn(batch)
if err != nil {
return err
}
@ -70,6 +78,12 @@ func iterateKeysByPrefixBatchedTx(
}
func iterateKeysByPrefixTx(txn *badger.Txn, prefix []byte, processKeyFn func(key []byte)) error {
var err error
defer func() {
if r := recover(); r != nil {
err = fmt.Errorf("badger iterator panic: %v", r)
}
}()
opts := badger.DefaultIteratorOptions
opts.PrefetchValues = false
opts.Prefix = prefix
@ -80,5 +94,5 @@ func iterateKeysByPrefixTx(txn *badger.Txn, prefix []byte, processKeyFn func(key
key := iter.Item().KeyCopy(nil)
processKeyFn(key)
}
return nil
return err
}

View file

@ -93,9 +93,16 @@ func (s *dsObjectStore) getInjectedResults(details *types.Struct, score float64,
func (s *dsObjectStore) queryRaw(filter func(g *types.Struct) bool, order database.Order, limit int, offset int) ([]database.Record, error) {
var (
records []database.Record
err error
)
err := s.db.View(func(txn *badger.Txn) error {
defer func() {
if r := recover(); r != nil {
err = fmt.Errorf("badger iterator panic: %v", r)
}
}()
err = s.db.View(func(txn *badger.Txn) error {
opts := badger.DefaultIteratorOptions
opts.PrefetchValues = false
opts.Prefix = pagesDetailsBase.Bytes()
@ -395,6 +402,13 @@ func getSpaceIDFromFilter(fltr database.Filter) (spaceID string) {
if f.Key == bundle.RelationKeySpaceId.String() {
return f.Value.GetStringValue()
}
case database.FilterIn:
if f.Key == bundle.RelationKeySpaceId.String() {
values := f.Value.GetValues()
if len(values) > 0 {
return values[0].GetStringValue()
}
}
case database.FiltersAnd:
spaceID = iterateOverAndFilters(f)
}

View file

@ -1093,6 +1093,17 @@ func TestGetSpaceIDFromFilters(t *testing.T) {
assert.Equal(t, "", getSpaceIDFromFilter(f))
})
t.Run("filters is filter.FilterIn with spaceId", func(t *testing.T) {
list, err := pbtypes.ValueListWrapper(pbtypes.StringList([]string{"space1", "space2"}))
assert.NoError(t, err)
f := database.FilterIn{
Key: bundle.RelationKeySpaceId.String(),
Value: list,
}
assert.Equal(t, "space1", getSpaceIDFromFilter(f))
})
t.Run("spaceID is nested in and filters", func(t *testing.T) {
spaceID := "secret_space"
f := database.FiltersAnd{

View file

@ -238,6 +238,11 @@ func GetKeysByIndex(index Index, txn *badger.Txn, val interface{}, limit int) ([
}
func GetKeys(txn *badger.Txn, prefix string, limit int) []string {
defer func() {
if r := recover(); r != nil {
log.Errorf("badger iterator panic: %v", r)
}
}()
iter := txn.NewIterator(badger.IteratorOptions{
Prefix: []byte(prefix),
PrefetchValues: false,

File diff suppressed because it is too large Load diff

View file

@ -50,6 +50,7 @@ enum SmartBlockType {
FileObject = 0x215;
NotificationObject = 0x217;
DevicesObject = 0x218;
}
message Search {
@ -595,21 +596,10 @@ message Range {
*/
message Account {
string id = 1; // User's thread id
string name = 2; // User name, that associated with this account
Avatar avatar = 3; // Avatar of a user's account
Config config = 4;
Status status = 5;
Info info = 6;
/**
* Avatar of a user's account. It could be an image or color
*/
message Avatar {
oneof avatar {
Block.Content.File image = 1; // Image of the avatar. Contains the hash to retrieve the image.
string color = 2; // Color of the avatar, used if image not set.
}
}
message Config {
bool enableDataview = 1;
bool enableDebug = 2;
@ -1200,7 +1190,7 @@ enum NameserviceNameType {
}
message Membership {
message Membership {
enum Status {
StatusUnknown = 0;
// please wait a bit more, we are still processing your request
@ -1217,7 +1207,7 @@ message Membership {
// in this case please call Finalize to finish the process
StatusPendingRequiresFinalization = 3;
}
enum PaymentMethod {
MethodNone = 0;
MethodStripe = 1;
@ -1259,7 +1249,7 @@ message MembershipTierData {
PeriodTypeDays = 2;
PeriodTypeWeeks = 3;
PeriodTypeMonths = 4;
PeriodTypeYears = 5;
PeriodTypeYears = 5;
}
// this is a unique Payment Node ID of the tier
@ -1270,14 +1260,14 @@ message MembershipTierData {
// just a short technical description
string description = 3;
// is this tier for testing and debugging only?
bool isTest = 4;
bool isTest = 4;
// how long is the period of the subscription
PeriodType periodType = 5;
// i.e. "5 days" or "3 years"
uint32 periodValue = 6;
// this one is a price we use ONLY on Stripe platform
uint32 priceStripeUsdCents = 7;
// number of ANY NS names that this tier includes
// number of ANY NS names that this tier includes
// also in the "features" list (see below)
uint32 anyNamesCountIncluded = 8;
// somename.any - is of len 8
@ -1299,8 +1289,21 @@ message MembershipTierData {
string androidProductId = 17;
string androidManageUrl = 18;
}
enum DeviceNetworkType {
WIFI = 0;
CELLULAR = 1;
NOT_CONNECTED = 2;
}
message Detail {
string key = 1;
google.protobuf.Value value = 2; // NUll - removes key
}
message DeviceInfo {
string id = 1;
string name = 2;
int64 addDate = 3;
bool archived = 4;
bool isConnected = 5;
}

View file

@ -103,6 +103,11 @@ func Event(e *pb.EventMessage) (res *pb.EventMessage) {
case *pb.EventMessageValueOfBlockSetText:
if v.BlockSetText.Text != nil {
v.BlockSetText.Text.Value = Text(v.BlockSetText.Text.Value)
if v.BlockSetText.Marks != nil && v.BlockSetText.Marks.Value != nil {
for i, mark := range v.BlockSetText.Marks.Value.Marks {
v.BlockSetText.Marks.Value.Marks[i].Param = Text(mark.Param)
}
}
}
case *pb.EventMessageValueOfBlockSetFile:
if v.BlockSetFile.Name != nil {

View file

@ -34,6 +34,12 @@ func TestChange(t *testing.T) {
Content: &model.BlockContentOfText{
Text: &model.BlockContentText{
Text: "block create text",
Marks: &model.BlockContentTextMarks{
Marks: []*model.BlockContentTextMark{{
Param: "https://randomsite.com/kosilica",
Type: model.BlockContentTextMark_Link,
}},
},
},
},
},
@ -43,9 +49,18 @@ func TestChange(t *testing.T) {
},
changeUpdate(&pb.EventMessage{
Value: &pb.EventMessageValueOfBlockSetText{
BlockSetText: &pb.EventBlockSetText{Id: "text", Text: &pb.EventBlockSetTextText{
Value: "set text event",
}},
BlockSetText: &pb.EventBlockSetText{
Id: "text",
Text: &pb.EventBlockSetTextText{
Value: "set text event",
},
Marks: &pb.EventBlockSetTextMarks{Value: &model.BlockContentTextMarks{
Marks: []*model.BlockContentTextMark{{
Param: "https://randomsite.com/kosilica",
Type: model.BlockContentTextMark_Link,
}},
}},
},
},
}),
},
@ -60,16 +75,27 @@ func TestChange(t *testing.T) {
in.Content[0].GetBlockCreate().Blocks[0].GetText().Text,
out.Content[0].GetBlockCreate().Blocks[0].GetText().Text,
)
assert.NotEqual(
t,
in.Content[0].GetBlockCreate().Blocks[0].GetText().Marks.Marks[0].Param,
out.Content[0].GetBlockCreate().Blocks[0].GetText().Marks.Marks[0].Param,
)
assert.NotEqual(
t,
in.Content[1].GetBlockUpdate().Events[0].GetBlockSetText().Text,
out.Content[1].GetBlockUpdate().Events[0].GetBlockSetText().Text,
)
assert.NotEqual(
t,
in.Content[1].GetBlockUpdate().Events[0].GetBlockSetText().Marks.Value.Marks[0].Param,
out.Content[1].GetBlockUpdate().Events[0].GetBlockSetText().Marks.Value.Marks[0].Param,
)
}
func TestText(t *testing.T) {
in := "Some string with ютф. Symbols? http://123.com"
out := Text(in)
assert.NotEqual(t, in, out)
assert.Equal(t, text.UTF16RuneCountString(in), text.UTF16RuneCountString(out))
}

View file

@ -208,3 +208,24 @@ func CopyNotification(in *model.Notification) (out *model.Notification) {
bytesPool.Put(buf)
return
}
func CopyDevice(in *model.DeviceInfo) (out *model.DeviceInfo) {
var err error
buf := bytesPool.Get().([]byte)
size := in.Size()
if cap(buf) < size {
buf = make([]byte, 0, size)
}
// nolint:errcheck
size, err = in.MarshalToSizedBuffer(buf[:size])
if err != nil {
log.Debugf("failed to marshal size buffer: %s", err)
}
out = &model.DeviceInfo{}
err = out.Unmarshal(buf[:size])
if err != nil {
log.Debugf("failed to unmarshal deviceInfo: %s", err)
}
bytesPool.Put(buf)
return
}

View file

@ -34,7 +34,13 @@ func NewBadgerStorage[T Item](db *badger.DB, badgerPrefix []byte, factoryFunc Fa
func (s *badgerStorage[T]) List() ([]T, error) {
var items []T
err := s.db.View(func(txn *badger.Txn) error {
var err error
defer func() {
if r := recover(); r != nil {
err = fmt.Errorf("badger iterator panic: %v", r)
}
}()
err = s.db.View(func(txn *badger.Txn) error {
it := txn.NewIterator(badger.IteratorOptions{
PrefetchSize: 100,
PrefetchValues: true,