Commit Graph
46 Commits
Author SHA1 Message Date
mcrakhman 024f316b3a Merge branch 'main' into new-tree-structure
# Conflicts:
#	Makefile
#	cmd/node/node.go
#	syncproto/sync.pb.go
2022-09-07 16:38:18 +02:00
mcrakhman b8e3ec8b7b Rename to object tree 2022-09-05 13:08:49 +02:00
Sergey Cherepanov e2dffad962 configuration to space 2022-08-24 13:53:32 +03:00
mcrakhman 10a5677241 Add ACL exchange logic 2022-08-22 23:53:14 +02:00
mcrakhman d19f0534e4 Add test for user remove 2022-08-21 15:50:06 +02:00
mcrakhman 6bfda6743e Update code to work with acl lists and new models 2022-08-20 14:28:06 +02:00
mcrakhman 66067a3506 Fix bugs related to docTree and aclTree 2022-08-11 19:04:29 +02:00
mcrakhman eed3c518cd Move treeheader to upper level in sync 2022-08-11 16:31:09 +02:00
mcrakhman 88b0e8cd7e Add storage and change API to include both tree types 2022-08-11 15:54:27 +02:00
mcrakhman 028cb99586 Update sync layer to work with different trees 2022-08-11 15:33:39 +02:00
mcrakhman 37eacb5d61 Rewrite document service methods 2022-08-11 11:04:03 +02:00
mcrakhman e7956901de Start tree cache and document rewrite 2022-08-10 22:16:16 +02:00
mcrakhman b7190b6a74 Add read and write methods for treecache 2022-08-10 12:53:15 +02:00
mcrakhman 6a1e7d9a20 Fix sync logic, move acks after handling finished, made message service async 2022-08-06 10:22:09 +02:00
mcrakhman 48627c0901 Fix replyId update and add goroutine in handleMessage 2022-08-05 21:05:47 +02:00
mcrakhman fbaf96eb38 Fix sync bugs and add logs 2022-08-05 18:14:35 +02:00
mcrakhman 31517db9bf Add contexts and fix bugs 2022-08-05 17:23:43 +02:00
mcrakhman d0ecf74836 Change dialling logic 2022-08-05 16:33:37 +02:00
mcrakhman 89fb94420a Fix compile errors and add dependencies 2022-08-05 14:19:03 +02:00
mcrakhman 3e81762f27 Add message to syncproto, fix request handler 2022-08-05 13:44:23 +02:00
mcrakhman 06a362225f Merge remote-tracking branch 'origin/net' into sync-prototype
# Conflicts:
#	cmd/node/node.go
#	config/config.go
#	config/grpc.go
#	etc/config.yml
#	service/net/rpc/server/drpcserver.go
#	service/net/secure/service.go
2022-08-05 12:40:02 +02:00
Sergey Cherepanov 62c5d8e3b9 net utils wip 2022-08-05 12:07:34 +03:00
mcrakhman ad99bbb7e8 Add logs for receiving a message, descriptive messages for api 2022-08-02 20:50:35 +02:00
mcrakhman 7a1ddf9c83 Fix server starting, add some logs 2022-08-02 20:28:33 +02:00
mcrakhman cc134da1ed Change bootstrap, remove cycles 2022-08-02 20:08:07 +02:00
mcrakhman 718df194fe Add component registration on start 2022-08-02 17:36:37 +02:00
mcrakhman f5ec49b375 Add document service 2022-07-21 11:54:19 +02:00
mcrakhman 9aaa80dcc1 Update tree cache for document creation 2022-07-21 11:03:39 +02:00
mcrakhman 3463b8d374 WIP sync logic prototype with server 2022-07-19 10:40:31 +02:00
mcrakhman 16b3787258 WIP stream logic 2022-07-19 01:43:21 +02:00
mcrakhman 269f907d1d Add message service to handle streams 2022-07-19 00:47:22 +02:00
mcrakhman 5f2144db0f Use account key instead of generating new 2022-07-18 22:27:27 +02:00
mcrakhman 693c159360 Merge remote-tracking branch 'origin/grpc-experiments' into sync-prototype
# Conflicts:
#	cmd/node/node.go
2022-07-18 14:45:25 +02:00
mcrakhman 7a6c42df62 Add oneof to sync proto 2022-07-18 10:45:05 +02:00
mcrakhman 9f984054b6 Create new tree logic 2022-07-17 13:34:07 +02:00
Sergey Cherepanov 7f4b18104f drpc server, libp2p tls connections 2022-07-17 09:44:16 +03:00
mcrakhman d9452509b5 WIP new document logic 2022-07-16 14:24:27 +02:00
mcrakhman d120da8000 Move logic to different components 2022-07-16 13:21:46 +02:00
mcrakhman bc5ffe1828 Add getting common snapshot logic 2022-07-16 12:24:49 +02:00
mcrakhman 5211267cd2 Provide for getting new tree 2022-07-16 00:50:08 +02:00
mcrakhman 67e0956042 Fix request handler heads update logic 2022-07-15 18:10:31 +02:00
mcrakhman 0467933ae9 Start using raw changes + wip request handler 2022-07-15 16:27:10 +02:00
mcrakhman d3922d812a WIP handling sync requests 2022-07-15 10:14:39 +02:00
mcrakhman 2893c4b4ad Use pb rawchanges instead of treestorage.RawChange 2022-07-15 09:39:16 +02:00
mcrakhman b8dcac03cc WIP sync proto 2022-07-14 23:52:37 +02:00
mcrakhman abc6f68062 WIP pubsub and sync logic 2022-07-14 14:28:37 +02:00