Commit Graph
63 Commits
Author SHA1 Message Date
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
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
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 f5d79a5469 Add first ACL list test and other refactoring 2022-08-21 15:23:47 +02:00
mcrakhman 88c58237c1 Few tree fixes 2022-08-20 23:55:18 +02:00
mcrakhman 03d8c187ed Add tree tests and benchmarks 2022-08-20 23:22:01 +02:00
mcrakhman d3ed644b9c Optimize and simplify tree algorithm 2022-08-20 16:57:32 +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 1f403291cc Change list builder 2022-08-19 18:17:02 +02:00
mcrakhman edaad85990 Create ACL list and update tree package 2022-08-18 23:03:27 +02:00
mcrakhman f4aeecae84 Add rollback after adding invalid changes 2022-08-16 00:57:38 +02:00
mcrakhman 9142f28d55 Refactoring doc tree 2022-08-15 23:31:00 +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 e7956901de Start tree cache and document rewrite 2022-08-10 22:16:16 +02:00
mcrakhman 0e3d7cc8ca Add doc tree 2022-08-10 18:10:28 +02:00
mcrakhman 103c8a4aef Further work acltree, aclstate etc 2022-08-10 14:48:17 +02:00
mcrakhman ddf976e240 Add tree removal for state build 2022-08-10 12:00:22 +02:00
mcrakhman d23cc0a239 Add acltree in new package 2022-08-10 11:52:45 +02:00
mcrakhman ff5a0d6a45 Start refactoring tree package 2022-08-09 21:48:14 +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 fbaf96eb38 Fix sync bugs and add logs 2022-08-05 18:14:35 +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 4724fab97e Add indication in tree graph for non-acl changes 2022-08-03 14:47:31 +02:00
mcrakhman e6be9ea84e Add http server for debugging 2022-08-02 19:28:32 +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
mcrakhman 9aaa80dcc1 Update tree cache for document creation 2022-07-21 11:03:39 +02:00
mcrakhman 9f984054b6 Create new tree logic 2022-07-17 13:34:07 +02:00
mcrakhman d9452509b5 WIP new document logic 2022-07-16 14:24:27 +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 5f8dc32ed6 Simplify code in decoders 2022-07-14 21:29:10 +02:00