Commit Graph
196 Commits
Author SHA1 Message Date
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 a907cde399.
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
mcrakhman cde907e15a Add mocks for tree 2022-09-06 19:25:06 +02:00
mcrakhman 94c95b44ec Make better dependencies for object tree 2022-09-06 18:08:24 +02:00
mcrakhman b8e3ec8b7b Rename to object tree 2022-09-05 13:08:49 +02:00
mcrakhman 9a1dc89a99 Fixing several copy issues and other stuff in doc tree 2022-09-05 12:40:41 +02:00
mcrakhman 90cee00319 Further changes to treebuilder etc 2022-09-05 11:48:50 +02:00
mcrakhman 1ad4eba17e Fix algorithms and add tests 2022-09-04 17:05:00 +02:00
mcrakhman b87c38e232 Add tree reduce 2022-09-04 16:05:38 +02:00
mcrakhman b602c08603 Change tree iterate 2022-09-04 14:34:37 +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 9f4dbf0002 Fix change validator 2022-08-23 00:21:46 +02:00
mcrakhman 10a5677241 Add ACL exchange logic 2022-08-22 23:53:14 +02:00
mcrakhman f2cedfd08e Add generated read keys 2022-08-21 17:43:22 +02:00