75 Commits

Author SHA1 Message Date
mcrakhman
3cbdf798a2
Merge branch 'drpc-services' into space-sync
# Conflicts:
#	Makefile
#	cmd/node/node.go
#	pkg/acl/aclchanges/aclpb/aclchanges.pb.go
#	pkg/acl/acltree/aclstatebuilder.go
#	pkg/acl/acltree/change.go
#	pkg/acl/example/plaintextdocument/document.go
#	pkg/acl/example/plaintextdocument/plaintextdocstate.go
#	pkg/acl/list/aclstate.go
#	pkg/acl/list/changebuilder.go
#	pkg/acl/testutils/testchanges/proto/test.pb.go
#	pkg/acl/testutils/treestoragebuilder/treestoragebuilder.go
#	pkg/acl/testutils/treestoragebuilder/treestoragebuildergraph_nix.go
#	pkg/acl/tree/treegraph_nix.go
#	service/document/service.go
#	service/space/service.go
#	service/space/space.go
#	service/sync/requesthandler/requesthandler.go
#	service/treecache/service.go
#	syncproto/helpers.go
#	syncproto/sync.pb.go
2022-09-11 15:36:38 +02:00
Sergey Cherepanov
caa725dc20
package moving + commonaspace and nidespace services 2022-09-08 21:56:32 +03:00
Sergey Cherepanov
bee067ad76
space service periodic sync 2022-09-08 12:05:30 +03:00
mcrakhman
88bf93a2cc
Fix tests 2022-09-08 08:08:33 +02:00
mcrakhman
3f284889ac
Make stuff compile 2022-09-08 07:50:52 +02:00
Sergey Cherepanov
698acad3bd
remotediff test 2022-09-08 00:24:19 +03:00
Sergey Cherepanov
11cb1e1f31
drpc space service, new pool, new peer 2022-09-08 00:00:46 +03:00
mcrakhman
de1a5baaca
Change sync logic 2022-09-07 22:01:11 +02:00
Sergey Cherepanov
7afde45ac6
change proto generator to std gogo: fix tests 2022-09-07 19:49:54 +03:00
Sergey Cherepanov
357e889dad
change proto generator to std gogo 2022-09-07 19:43:01 +03:00
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
mcrakhman
90cee00319
Further changes to treebuilder etc 2022-09-05 11:48:50 +02:00
Sergey Cherepanov
e2dffad962
configuration to space 2022-08-24 13:53:32 +03:00
Sergey Cherepanov
3957fa3be6
configuration from config 2022-08-24 00:40:14 +03:00
Sergey Cherepanov
535358b057
configuration service 2022-08-23 21:32:04 +03:00
mcrakhman
10a5677241
Add ACL exchange logic 2022-08-22 23:53:14 +02:00
mcrakhman
13236d8ebc
Import acl document from the start 2022-08-21 16:44:05 +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
8cf5acd183
Add some logic in validator 2022-08-19 22:31:13 +02:00
mcrakhman
b0432487cc
Add ACLList struct 2022-08-19 21:44:38 +02:00
mcrakhman
e5fe1b5a92
Change treeheader to header 2022-08-19 20:35:10 +02:00
mcrakhman
edaad85990
Create ACL list and update tree package 2022-08-18 23:03:27 +02:00
Sergey Cherepanov
23deea0c37
remove example service 2022-08-15 20:06:23 +03:00
mcrakhman
340528f5af
Fix update document 2022-08-12 10:01:01 +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
b7e94f2b52
Change config generation logic 2022-08-03 14:20:20 +02: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
e6be9ea84e
Add http server for debugging 2022-08-02 19:28:32 +02:00
mcrakhman
718df194fe
Add component registration on start 2022-08-02 17:36:37 +02:00
mcrakhman
26eb52adf1
Add nodes generation 2022-08-02 17:30:59 +02:00
mcrakhman
f5ec49b375
Add document service 2022-07-21 11:54:19 +02:00