210 Commits

Author SHA1 Message Date
mcrakhman
58812a568f
WIP root change refactoring 2022-09-25 13:50:35 +02:00
mcrakhman
e768e83507
Update gitignore to include vendor 2022-09-21 09:26:33 +02:00
mcrakhman
dc69e93064
Some renamings and fixes 2022-09-18 11:23:01 +02:00
mcrakhman
832d0d5bfa
Add treecache to node 2022-09-17 22:18:11 +02:00
mcrakhman
04184b1582
Remove responsibility of objecttree to notify and move to synctree 2022-09-17 21:39:17 +02:00
mcrakhman
70dabf70dd
Move diff logic to separate service, simplify send sync 2022-09-17 20:54:23 +02:00
mcrakhman
f420ac144c
Update stream configuration and sync service 2022-09-16 11:20:43 +02:00
mcrakhman
1bc9242644
Update sync handler 2022-09-16 10:17:54 +02:00
mcrakhman
eb36eed4c0
Add tree validation before saving 2022-09-16 07:47:36 +02:00
mcrakhman
91aacdd955
Add build tree sync request 2022-09-16 00:22:22 +02:00
mcrakhman
a48e8f357a
Update peer reading logic 2022-09-15 14:11:49 +02:00
mcrakhman
34ef43786c
Update tree sync logic 2022-09-15 13:42:51 +02:00
mcrakhman
fbdf820734
Add sync tree and remove head send from sync handler 2022-09-15 12:34:28 +02:00
mcrakhman
aecb95bc92
Add more logic re sync service 2022-09-15 11:35:16 +02:00
mcrakhman
f900cbff0b
WIP sync 2022-09-14 18:54:10 +02:00
mcrakhman
206b695e62
Add sync handler 2022-09-13 22:26:51 +02:00
mcrakhman
c94a0c94f3
Add .idea to gitignore 2022-09-13 16:37:15 +02:00
mcrakhman
5599277bf2
Generate drpc and some fixes 2022-09-13 15:52:47 +02:00
mcrakhman
7a62b348cd
Revert "Use string instead of bytes, to simplify code"
This reverts commit a907cde3993868dbf27938fe609fd2bbc02db2b5.
2022-09-13 12:26:37 +02:00
mcrakhman
a907cde399
Use string instead of bytes, to simplify code 2022-09-13 10:44:02 +02:00
mcrakhman
77bbb64feb
Fix pkg tests 2022-09-13 09:04:47 +02:00
mcrakhman
b5aa0b135f
Fix list package and some storage stuff 2022-09-12 21:25:27 +02:00
mcrakhman
9976a84d42
WIP proto refactoring 2022-09-12 21:06:20 +02:00
mcrakhman
018406d25c
Merge branch 'main' into space-sync 2022-09-11 21:26:43 +02:00
mcrakhman
639cc302d2
Fix tree append logic, validtate only new changes and check unattached changes which were added at this round 2022-09-11 18:45:47 +02:00
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
mcrakhman
74ebcc5616
Few more changes and tree fixes 2022-09-09 09:45:25 +02:00
mcrakhman
0685f401f3
Change tree Rebuild checks 2022-09-09 09:01:50 +02:00
mcrakhman
235c179d60
Refactor ACLState a little bit 2022-09-08 23:20:11 +02:00
Sergey Cherepanov
caa725dc20
package moving + commonaspace and nidespace services 2022-09-08 21:56:32 +03:00
Sergey Cherepanov
feff4ad890
rename protos-go -> protos 2022-09-08 12:15:54 +03:00
Sergey Cherepanov
bee067ad76
space service periodic sync 2022-09-08 12:05:30 +03:00
Mikhail Rakhmanov
2e47b23827
Merge pull request #7 from anytypeio/new-tree-structure 2022-09-08 08:09:00 +02: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
mcrakhman
20f462e603
Add load from database tests and fixes 2022-09-07 23:23:59 +02:00
Sergey Cherepanov
11cb1e1f31
drpc space service, new pool, new peer 2022-09-08 00:00:46 +03:00
mcrakhman
5b1228e14d
More tests and fixes for reading from tree 2022-09-07 22:30:29 +02:00
mcrakhman
de1a5baaca
Change sync logic 2022-09-07 22:01:11 +02:00
mcrakhman
3ca8814e46
WIP algorithm 2022-09-07 21:02:42 +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
Mikhail Rakhmanov
2e1c2cbc6e
Merge pull request #6 from anytypeio/space-diff 2022-09-07 12:38:17 +02:00
mcrakhman
1375854237
Fix addcontent acl list locks 2022-09-07 11:31:16 +02:00
mcrakhman
c7fdd81691
More test cases 2022-09-07 01:02:53 +02:00
mcrakhman
276d935cee
Add more tests and fix bugs 2022-09-07 00:12:11 +02:00
mcrakhman
9905b2608b
Add first test for object tree 2022-09-06 20:58:41 +02:00
mcrakhman
06f80f0646
Change storages and add iterate 2022-09-06 20:23:57 +02:00