52 Commits

Author SHA1 Message Date
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
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
mcrakhman
293ada96c8
Add tree cache service 2022-07-14 21:23:40 +02:00
mcrakhman
6c4c4f1e9d
Add account reading from file logic 2022-07-14 21:07:34 +02:00
mcrakhman
5f92bc3d8d
Rename pb packages to something more meaningful 2022-07-14 13:16:12 +02:00
mcrakhman
c8c6b63cd2
Add context to acl tree 2022-07-14 11:21:52 +02:00
mcrakhman
fe90278b8e
Rename keys 2022-07-13 22:57:12 +02:00
mcrakhman
37e6722ffb
Remove go-threads 2022-07-13 22:54:47 +02:00
mcrakhman
7b27fca2ad
Change decoder logic 2022-07-13 22:36:56 +02:00
mcrakhman
f9919bd72c
Add error in all methods of tree storage 2022-07-13 22:25:32 +02:00
mcrakhman
3a72587a9e
Remove last thread ids 2022-07-13 22:15:07 +02:00
mcrakhman
71d88cdcba
Change thread to tree storage and other changes with protos 2022-07-13 22:11:38 +02:00