Mikhail Rakhmanov
56c1d65e88
Merge pull request #94 from anytypeio/sync-protocol-no-transaction-add
2023-05-11 18:50:58 +02:00
mcrakhman
864e86ceb6
Fix logs in diffsyncer (thanks Roma)
2023-05-11 18:48:38 +02:00
mcrakhman
e186761968
Fix ctx and change add method name in storage
2023-05-11 18:31:59 +02:00
mcrakhman
ca5be7cd0a
Send update only on remote tree or put tree when building
2023-05-11 13:40:24 +02:00
mcrakhman
393708a2bc
Update syncprotocol test
2023-05-11 09:51:24 +02:00
mcrakhman
8b3d8a4fef
Update sync protocol to remove transaction add
2023-05-10 23:51:03 +02:00
Mikhail Rakhmanov
182b047dce
Merge pull request #89 from anytypeio/fix-object-sync-ids
2023-05-09 15:40:31 +02:00
Sergey Cherepanov
8ec9d2c12a
Merge pull request #93 from anytypeio/dependabot/go_modules/golang.org/x/net-0.10.0
...
Bump golang.org/x/net from 0.9.0 to 0.10.0
2023-05-09 10:36:20 +02:00
Sergey Cherepanov
80a4990775
Merge pull request #92 from anytypeio/dependabot/go_modules/storj.io/drpc-0.0.33
...
Bump storj.io/drpc from 0.0.32 to 0.0.33
2023-05-09 10:36:03 +02:00
Sergey Cherepanov
c264d87692
Merge pull request #91 from anytypeio/dependabot/go_modules/github.com/libp2p/go-libp2p-0.27.2
...
Bump github.com/libp2p/go-libp2p from 0.27.1 to 0.27.2
2023-05-09 10:35:49 +02:00
Sergey Cherepanov
3b7b96d575
Merge pull request #90 from anytypeio/dependabot/go_modules/github.com/prometheus/client_golang-1.15.1
...
Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1
2023-05-09 10:35:23 +02:00
dependabot[bot]
3a2bb848df
Bump golang.org/x/net from 0.9.0 to 0.10.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 18:05:01 +00:00
dependabot[bot]
4716973dce
Bump storj.io/drpc from 0.0.32 to 0.0.33
...
Bumps [storj.io/drpc](https://github.com/storj/drpc ) from 0.0.32 to 0.0.33.
- [Release notes](https://github.com/storj/drpc/releases )
- [Commits](https://github.com/storj/drpc/compare/v0.0.32...v0.0.33 )
---
updated-dependencies:
- dependency-name: storj.io/drpc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 18:04:52 +00:00
dependabot[bot]
41f240e198
Bump github.com/libp2p/go-libp2p from 0.27.1 to 0.27.2
...
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/libp2p/go-libp2p/releases )
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md )
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.27.1...v0.27.2 )
---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 18:04:21 +00:00
dependabot[bot]
61963e2043
Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 18:03:33 +00:00
mcrakhman
fdbcd29b29
Add build full tree for history tree
2023-05-07 20:27:46 +02:00
mcrakhman
fc9644e509
Fix unmarshallSendError bug
2023-05-07 20:27:30 +02:00
Sergey Cherepanov
7394b4bd67
Merge pull request #86 from anytypeio/GO-802-metrics
...
GO-802 rpc metrics
2023-05-05 19:35:18 +02:00
Mikhail Rakhmanov
d48923fbdf
Merge pull request #88 from anytypeio/fix-space-settings
2023-05-05 19:31:34 +02:00
mcrakhman
461410a8f8
Add comment
2023-05-05 18:51:30 +02:00
mcrakhman
11b8609a9b
Fix space settings
2023-05-05 18:49:51 +02:00
Mikhail Rakhmanov
67ca504f81
Merge pull request #87 from anytypeio/fix-dialer-addrs
2023-05-05 16:50:52 +02:00
Sergey Cherepanov
0ca41dbd47
remove peer addr from log
2023-05-05 16:30:22 +02:00
Sergey Cherepanov
36cb769379
remove peer addr from log
2023-05-05 16:28:31 +02:00
mcrakhman
590e8080b8
Update dialer to have peer addrs map
2023-05-05 16:18:46 +02:00
Sergey Cherepanov
fc4bdb6000
check that metric is using
2023-05-04 19:35:07 +02:00
Sergey Cherepanov
a12f3fb0dd
allow nil metric
2023-05-04 19:30:46 +02:00
Sergey Cherepanov
debbf448db
fix import
2023-05-04 19:04:41 +02:00
Sergey Cherepanov
847b2d40fd
file fields
2023-05-04 17:49:24 +02:00
Sergey Cherepanov
9855eb4484
request log
2023-05-04 17:39:23 +02:00
Sergey Cherepanov
4bc402f1f0
stream ctx + peer addr
2023-05-04 17:39:11 +02:00
Mikhail Rakhmanov
ba5ca3d6be
Merge pull request #85 from anytypeio/GO-1227-add-custom-timestamps
2023-05-04 16:30:11 +02:00
mcrakhman
7294a74de0
Improve timestamp test
2023-05-04 16:25:41 +02:00
mcrakhman
ce9fcb5b0a
Change timestamp condition
2023-05-04 14:58:17 +02:00
mcrakhman
d26bce0dea
Send timestamp to addcontent
2023-05-04 14:12:29 +02:00
mcrakhman
0cb7ae1100
Add timestamp externally in tree
2023-05-04 11:10:08 +02:00
Sergey Cherepanov
5fdfb6c8e4
Merge branch 'main' of github.com:anytypeio/any-sync into GO-802-metrics
2023-05-01 12:28:41 +02:00
Mikhail Rakhmanov
235a365ade
Merge pull request #82 from anytypeio/fix-empty-data-tree
2023-04-27 19:37:37 +02:00
mcrakhman
6efde25562
Keep inmemory data on load
2023-04-27 19:11:05 +02:00
mcrakhman
6676480e1d
Add sync protocol tests for empty data tree
2023-04-27 18:43:04 +02:00
mcrakhman
da0e4f148a
Fix empty data tree
2023-04-27 18:24:45 +02:00
Mikhail Rakhmanov
f3c9c64bce
Merge pull request #81 from anytypeio/broadcast-no-error
2023-04-26 18:15:32 +02:00
mcrakhman
75a44c4281
Remove error in broadcast
2023-04-26 18:12:03 +02:00
Sergey Cherepanov
1ebe18296d
merge
2023-04-26 12:14:09 +02:00
Mikhail Rakhmanov
4cb88b2bfb
Merge pull request #80 from anytypeio/protocol-errors
2023-04-25 21:43:27 +02:00
mcrakhman
e9c6f95991
Add reference to linear task in periodicsync todo
2023-04-25 21:41:18 +02:00
mcrakhman
46de85a7f8
Check peerId when dialling
2023-04-25 20:55:00 +02:00
mcrakhman
1d29aba45e
Update space receipt to include network id
2023-04-25 20:49:31 +02:00
mcrakhman
6ec030942f
More info in receipt errors and change tests
2023-04-25 14:25:08 +02:00
mcrakhman
cadd63d458
Nodeconf error and periodicsync partial rename
2023-04-25 14:00:38 +02:00
mcrakhman
2be7753ed9
Merge remote-tracking branch 'origin/main' into protocol-errors
2023-04-25 10:41:59 +02:00
mcrakhman
854913a22b
Remove commonspace checks
2023-04-25 10:38:22 +02:00
mcrakhman
bf44f1b24f
Use same format for identity
2023-04-25 10:04:42 +02:00
mcrakhman
4b330e8b2d
Move receipt logic to any-sync, write tests
2023-04-25 09:54:12 +02:00
mcrakhman
b0f3fec939
Add receipt check
2023-04-24 20:33:35 +02:00
Sergey Cherepanov
cc70180db2
Merge pull request #79 from anytypeio/nodeconf-update-interval-config
...
nodeconf update interval config
2023-04-24 15:46:06 +02:00
Sergey Cherepanov
5082a10a18
nodeconf update interval config
2023-04-24 15:04:11 +02:00
Sergey Cherepanov
6cbff3a930
wip: drpc access log
2023-04-24 14:59:15 +02:00
mcrakhman
9216896777
Add errors to proto
2023-04-24 14:12:24 +02:00
Mikhail Rakhmanov
84283a0441
Merge pull request #78 from anytypeio/validate-storage-paylaod
2023-04-21 23:34:01 +02:00
mcrakhman
6eb08ca438
Change identity error
2023-04-21 23:29:29 +02:00
mcrakhman
d85e318553
Fix test
2023-04-21 23:25:54 +02:00
mcrakhman
63c797d35b
Add todos for test helpers
2023-04-21 23:23:07 +02:00
mcrakhman
e684088ca4
Improve payload validation
2023-04-21 23:21:49 +02:00
mcrakhman
f0c4ae3f5e
Move validation to any-sync
2023-04-21 20:12:47 +02:00
Sergey Cherepanov
9aef76be8f
Merge pull request #77 from anytypeio/fix-empty-address-panic
...
fix panic for empty node addresses / update libp2p
2023-04-21 17:25:06 +02:00
Sergey Cherepanov
443ab3c24b
update libp2p
2023-04-21 17:02:51 +02:00
Sergey Cherepanov
474b81c8b6
move rpc prometheus config to metric service
2023-04-21 17:00:35 +02:00
Sergey Cherepanov
a57fb52b63
fix panic for empty node addresses
2023-04-21 16:04:35 +02:00
Mikhail Rakhmanov
e94e2bcf45
Merge pull request #76 from anytypeio/sync-tests
2023-04-21 10:23:36 +02:00
mcrakhman
5c954d1bdd
Change inmemory parameter naming
2023-04-20 17:12:39 +02:00
mcrakhman
5d13fb6a6e
Change config parameter name
2023-04-20 12:52:25 +02:00
mcrakhman
e896a88d29
Change test name for fuzzy merge
2023-04-20 12:48:25 +02:00
mcrakhman
7979c48ca3
Change error to typed in treeremotegetter
2023-04-20 12:46:36 +02:00
mcrakhman
2894b8ef66
Fix full sync request condition
2023-04-20 11:46:19 +02:00
mcrakhman
6f42dc2f7a
Refactor genchanges
2023-04-20 11:26:53 +02:00
mcrakhman
25f90d5f5f
Fix proto
2023-04-20 00:04:16 +02:00
mcrakhman
4c71a9a1c4
Simplify request factory
2023-04-19 22:52:06 +02:00
mcrakhman
e79d319925
Change sync client message pool interactions and request-reply
2023-04-19 22:43:46 +02:00
mcrakhman
ed16abcede
Fix sending reply with empty rootchange
2023-04-19 21:16:32 +02:00
mcrakhman
3edda33db6
Update object sync error handling logic
2023-04-19 20:42:47 +02:00
mcrakhman
aeaad8ab35
Add logs if failed to get object
2023-04-19 19:34:31 +02:00
mcrakhman
34865d0e68
Further test comments and changes
2023-04-19 11:52:11 +02:00
mcrakhman
9acec773fa
Add comments to test
2023-04-19 11:49:04 +02:00
mcrakhman
73201843e5
Merge remote-tracking branch 'origin/main' into sync-tests
...
# Conflicts:
# commonspace/object/tree/synctree/synctree_test.go
# commonspace/objectsync/objectsync.go
# commonspace/objectsync/syncclient.go
2023-04-19 10:13:37 +02:00
mcrakhman
58f3c4ef8c
Fix objectsync etc
2023-04-18 22:51:12 +02:00
mcrakhman
99bad9ce9d
Send error response on sync (wip)
2023-04-18 12:09:25 +02:00
Bilienko Dmitry
fd65e61127
Merge pull request #73 from anytypeio/bilienko/GO-1059
...
Check all payload validations on nodes
2023-04-18 11:48:42 +05:00
Dmitry Bilienko
d2805a077d
ACL Payload validation fix
2023-04-18 11:45:00 +05:00
mcrakhman
8fc1f03f54
Change treegetter to treemanager and return BuildObjectTreeFunc
2023-04-18 00:34:14 +02:00
mcrakhman
678ec256bf
Add tests and don't load data into changes
2023-04-17 23:51:17 +02:00
mcrakhman
125d8b4626
Add test with random trees
2023-04-17 21:49:51 +02:00
Sergey Cherepanov
b4b1e0b340
Merge pull request #67 from anytypeio/logger-order
...
Logger level determine order
2023-04-17 20:18:32 +02:00
Sergey Cherepanov
84859a8796
Merge pull request #75 from anytypeio/dependabot/go_modules/github.com/prometheus/client_golang-1.15.0
...
Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0
2023-04-17 20:12:06 +02:00
Sergey Cherepanov
3f0118eb0d
Merge pull request #59 from anytypeio/GO-800-nodes-configuration
...
GO-800 node configuration command proto
2023-04-17 20:11:43 +02:00
Sergey Cherepanov
adb800d56a
use periodicSync
2023-04-17 20:08:07 +02:00
dependabot[bot]
19127c9c64
Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-17 18:04:58 +00:00
Sergey Cherepanov
7348f39eff
fix decode node types
2023-04-17 17:16:26 +02:00
Sergey Cherepanov
cc24e38081
nodeConfStore: create dir on start
2023-04-17 17:10:15 +02:00
Sergey Cherepanov
d3c9fef7b4
update conf on start
2023-04-17 17:00:35 +02:00
Sergey Cherepanov
f014209d75
log dial error
2023-04-17 16:08:19 +02:00
Sergey Cherepanov
813d6e339c
nodeconf: stop update loop on close
2023-04-17 15:59:43 +02:00
Dmitry Bilienko
5426e968d9
Validation issues fix
2023-04-17 18:00:22 +05:00
Sergey Cherepanov
649e8fe538
update coordinatorclient mock
2023-04-17 14:33:59 +02:00
Sergey Cherepanov
73ee67c5c0
nodeconf source constructor
2023-04-17 13:47:04 +02:00
mcrakhman
673925df84
Improve validator logic and add tests
2023-04-14 00:16:58 +02:00
mcrakhman
e101389af0
Add empty client logic
2023-04-13 21:32:39 +02:00
Sergey Cherepanov
f7cc1f4b5d
fix
2023-04-13 20:47:53 +02:00
Sergey Cherepanov
b97721f729
fix
2023-04-13 20:46:56 +02:00
Sergey Cherepanov
803500ee34
fix
2023-04-13 20:46:01 +02:00
Sergey Cherepanov
1dc05faf58
nodeconf logs
2023-04-13 20:44:50 +02:00
Sergey Cherepanov
eb8f760370
Merge branch 'main' of github.com:anytypeio/any-sync into GO-800-nodes-configuration
2023-04-13 19:06:22 +02:00
Sergey Cherepanov
cae5578cc5
fix
2023-04-13 19:06:16 +02:00
mcrakhman
caa63463d1
Merge branch 'main' into sync-tests
...
# Conflicts:
# commonspace/object/acl/list/aclrecordbuilder_test.go
# commonspace/object/tree/objecttree/objecttree_test.go
2023-04-13 13:54:46 +02:00
Dmitry Bilienko
022893dbc9
Additional validation of identifiers and new unit tests.
2023-04-13 15:19:58 +05:00
Mikhail Rakhmanov
950b41f72b
Merge pull request #74 from anytypeio/try-add-on-dial
...
Change add to tryadd in dial
2023-04-12 20:39:36 +02:00
mcrakhman
77ad931cc3
Change add to tryadd in dial
2023-04-12 19:16:48 +02:00
Sergey Cherepanov
4d36015a31
fix test
2023-04-12 15:09:04 +02:00
Sergey Cherepanov
9d95d57788
nodeconf store
2023-04-12 14:50:35 +02:00
Sergey Cherepanov
4178b3ed0e
Merge branch 'main' of github.com:anytypeio/any-sync into GO-800-nodes-configuration
2023-04-12 14:22:43 +02:00
Sergey Cherepanov
55878490e9
fix handshake test
2023-04-12 14:22:33 +02:00
Sergey Cherepanov
aab53579e0
fix config
2023-04-12 14:22:20 +02:00
Dmitry Bilienko
c37e039360
Check all payload validations on nodes
2023-04-12 13:23:33 +05:00
Sergey Cherepanov
752294e4ea
Merge pull request #71 from anytypeio/dependabot/go_modules/github.com/ipfs/go-blockservice-0.5.1
...
Bump github.com/ipfs/go-blockservice from 0.5.0 to 0.5.1
2023-04-12 08:24:10 +02:00
Mikhail Rakhmanov
8fdd7b5f3d
Merge pull request #72 from anytypeio/update-gochash
2023-04-11 20:01:13 +02:00
mcrakhman
d71a47692f
Update chash
2023-04-11 18:43:20 +02:00
Sergey Cherepanov
031afe69bb
Merge branch 'main' of github.com:anytypeio/any-sync into GO-800-nodes-configuration
2023-04-11 14:33:33 +02:00
dependabot[bot]
8cae38c0ae
Bump github.com/ipfs/go-blockservice from 0.5.0 to 0.5.1
...
Bumps [github.com/ipfs/go-blockservice](https://github.com/ipfs/go-blockservice ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/ipfs/go-blockservice/releases )
- [Commits](https://github.com/ipfs/go-blockservice/compare/v0.5.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-blockservice
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-11 09:07:04 +00:00
Sergey Cherepanov
c77b9620c6
Merge pull request #70 from anytypeio/dependabot/go_modules/github.com/ipfs/go-cid-0.4.1
...
Bump github.com/ipfs/go-cid from 0.4.0 to 0.4.1
2023-04-11 11:00:02 +02:00
Sergey Cherepanov
0865ed5374
Merge pull request #69 from anytypeio/dependabot/go_modules/golang.org/x/net-0.9.0
...
Bump golang.org/x/net from 0.8.0 to 0.9.0
2023-04-11 10:59:48 +02:00
Sergey Cherepanov
7d0507e650
Merge pull request #68 from anytypeio/dependabot/go_modules/golang.org/x/crypto-0.8.0
...
Bump golang.org/x/crypto from 0.7.0 to 0.8.0
2023-04-11 10:59:23 +02:00
dependabot[bot]
5af3bc7b2d
Bump github.com/ipfs/go-cid from 0.4.0 to 0.4.1
...
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/ipfs/go-cid/releases )
- [Commits](https://github.com/ipfs/go-cid/compare/v0.4.0...v0.4.1 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-cid
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 18:03:50 +00:00
dependabot[bot]
ee8aeabf05
Bump golang.org/x/net from 0.8.0 to 0.9.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 18:03:33 +00:00
dependabot[bot]
e7faa2ee3c
Bump golang.org/x/crypto from 0.7.0 to 0.8.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 18:03:19 +00:00
Sergey Cherepanov
c843b27b19
coord nodeconf source, nodeconf service updates
2023-04-08 17:01:40 +02:00
Roman Khafizianov
295a88c8c6
add test
2023-04-07 16:47:39 +02:00
Roman Khafizianov
72306e6a40
logger: make the log named logger list order determined
2023-04-07 16:29:35 +02:00
Sergey Cherepanov
86ac8e0d75
change nodeconf.Configuration to nodeconf.NodeConf
2023-04-06 19:26:38 +02:00
Sergey Cherepanov
9cee18c834
nodeconf interfaces
2023-04-06 19:02:18 +02:00
Sergey Cherepanov
85997631ff
Merge pull request #64 from anytypeio/bilienko/GO-1051
...
Cache | Reduce RAM
2023-04-04 11:50:49 +02:00
mcrakhman
73a919ff96
Fix mocks
2023-04-04 11:22:48 +02:00
Mikhail Rakhmanov
c8c3380a8f
Merge pull request #66 from anytypeio/add-master-key
2023-04-03 14:28:23 +02:00
mcrakhman
e9d1de7781
Remove master key from account
2023-04-03 13:19:12 +02:00
mcrakhman
357f1c935d
Update derivation path comment
2023-04-03 13:01:58 +02:00
mcrakhman
7258df1c2d
Update key path
2023-04-03 10:21:28 +02:00
mcrakhman
13df75d0e0
Add old account to coordinator proto
2023-04-02 18:53:02 +02:00
mcrakhman
20a4d85836
Update cryptography and add master key
2023-04-02 18:13:10 +02:00
Sergey Cherepanov
6af4238664
merge
2023-04-02 14:41:10 +02:00
Sergey Cherepanov
2c73e1947d
strkey: newtwork id encoding
2023-04-02 14:34:03 +02:00
Sergey Cherepanov
cc8c9cb0a5
mod tidy
2023-04-02 14:33:33 +02:00
Sergey Cherepanov
c66b570396
fix test
2023-04-02 14:33:07 +02:00
Sergey Cherepanov
ad1bea2a6a
Merge branch 'main' of github.com:anytypeio/any-sync into GO-800-nodes-configuration
2023-04-02 11:58:54 +02:00
Sergey Cherepanov
cad467dede
remove unused
2023-04-02 11:58:42 +02:00
Mikhail Rakhmanov
a4b3430d6e
Merge pull request #65 from anytypeio/add-settings-snapshot
2023-03-30 13:06:45 +02:00
Sergey Cherepanov
de28c1e3f8
Merge pull request #63 from anytypeio/dependabot/go_modules/github.com/goccy/go-graphviz-0.1.1
...
Bump github.com/goccy/go-graphviz from 0.1.0 to 0.1.1
2023-03-30 12:13:18 +02:00
Sergey Cherepanov
7135b436ca
Merge pull request #62 from anytypeio/dependabot/go_modules/github.com/ipfs/go-block-format-0.1.2
...
Bump github.com/ipfs/go-block-format from 0.1.1 to 0.1.2
2023-03-30 12:12:47 +02:00
Sergey Cherepanov
bb3d1b1d7e
Merge pull request #61 from anytypeio/dependabot/go_modules/github.com/ipfs/go-unixfs-0.4.5
...
Bump github.com/ipfs/go-unixfs from 0.4.4 to 0.4.5
2023-03-30 12:12:16 +02:00
mcrakhman
254fcd5ea8
Change doSnapshot method call
2023-03-29 23:43:04 +02:00
mcrakhman
fb4455e16a
Add settings changefactory tests
2023-03-29 23:40:49 +02:00
mcrakhman
19fd4e3a56
Add settings snapshot logic
2023-03-29 23:06:51 +02:00
dependabot[bot]
274a83a039
Bump github.com/goccy/go-graphviz from 0.1.0 to 0.1.1
...
Bumps [github.com/goccy/go-graphviz](https://github.com/goccy/go-graphviz ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/goccy/go-graphviz/releases )
- [Commits](https://github.com/goccy/go-graphviz/compare/v0.1.0...v0.1.1 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-graphviz
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-29 15:57:04 +00:00
dependabot[bot]
5cabb4fbc3
Bump github.com/ipfs/go-unixfs from 0.4.4 to 0.4.5
...
Bumps [github.com/ipfs/go-unixfs](https://github.com/ipfs/go-unixfs ) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/ipfs/go-unixfs/releases )
- [Commits](https://github.com/ipfs/go-unixfs/compare/v0.4.4...v0.4.5 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-unixfs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-29 15:56:32 +00:00
Mikhail Rakhmanov
4b19d06415
Merge pull request #60 from anytypeio/protocol-crypto-update
2023-03-29 17:54:24 +02:00
mcrakhman
f472fd83c4
Add some tests
2023-03-28 21:29:12 +02:00
Dmitry Bilienko
178159b0c5
Cache | Reduce RAM
2023-03-28 16:25:36 +08:00
mcrakhman
a8ef63eca0
Update space header validation
2023-03-28 00:11:09 +02:00
mcrakhman
13f30aa60f
Change sym encryption logic in objecttree
2023-03-27 23:03:02 +02:00
mcrakhman
f4bc677d02
Fix private key marshal
2023-03-27 22:28:49 +02:00
mcrakhman
6d70bc3786
Fix mnemonic
2023-03-27 22:08:07 +02:00
mcrakhman
b62ad57988
Move peer util package into crypto
2023-03-27 21:22:32 +02:00
dependabot[bot]
f074a1fa53
Bump github.com/ipfs/go-block-format from 0.1.1 to 0.1.2
...
Bumps [github.com/ipfs/go-block-format](https://github.com/ipfs/go-block-format ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/ipfs/go-block-format/releases )
- [Commits](https://github.com/ipfs/go-block-format/compare/v0.1.1...v0.1.2 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-block-format
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 18:08:17 +00:00
Sergey Cherepanov
6e1c5aab91
update nodeconf service
2023-03-27 17:55:27 +02:00
mcrakhman
9679bb3bf3
Add peer id string for keys
2023-03-27 17:04:59 +02:00
mcrakhman
eec2b842bc
Add accountdata constructor
2023-03-27 16:32:56 +02:00
mcrakhman
2225aca40f
Add marshalling of private key
2023-03-27 16:03:58 +02:00
mcrakhman
3d017d1e0c
Add individual key derivation for trees
2023-03-27 13:01:35 +02:00
mcrakhman
503c4f339f
Remove pointer methods
2023-03-27 01:57:49 +02:00
mcrakhman
cdfb88d6a8
Add decoders
2023-03-27 01:55:33 +02:00
mcrakhman
58cc732f3a
Add mnemonic
2023-03-27 01:34:51 +02:00
mcrakhman
2d977ed535
Fix tests
2023-03-26 18:47:35 +02:00
mcrakhman
0243ec0fca
Fix objecttree tests
2023-03-26 18:36:07 +02:00
mcrakhman
ee0f62410f
Remove old acl methods and tests, acl builder
2023-03-26 17:53:11 +02:00
Sergey Cherepanov
3809b20d50
expose nodeconf config getter
2023-03-26 16:22:18 +02:00
Sergey Cherepanov
067bf797dd
node configuration command proto
2023-03-26 14:54:27 +02:00
mcrakhman
98931433a5
Fix handshake tests
2023-03-26 13:45:24 +02:00
mcrakhman
d9868c55c2
Add KeyStorage
2023-03-25 14:06:20 +01:00
mcrakhman
fd5bd0b099
More key changes
2023-03-25 13:15:19 +01:00
mcrakhman
5baa6dc856
ACLState refactoring
2023-03-24 22:43:25 +01:00
mcrakhman
2273c94cf4
Merge branch 'update-proto' into protocol-crypto-update
2023-03-24 14:59:14 +01:00
mcrakhman
d9cf1feaee
Merge branch 'protocol-crypto-update' into update-proto
...
# Conflicts:
# commonspace/object/acl/aclrecordproto/aclrecord.pb.go
2023-03-24 14:58:47 +01:00
mcrakhman
cc48cf88f3
Update derivation
2023-03-24 14:56:39 +01:00
mcrakhman
33c9a25665
Add sym key
2023-03-24 13:01:53 +01:00
mcrakhman
add25062f3
WIP refactor crypto proto
2023-03-24 11:45:39 +01:00
mcrakhman
18240ea5ef
Update aclrecordproto
2023-03-22 18:51:01 +01:00
Sergey Cherepanov
d20f5fc2b3
Merge pull request #58 from anytypeio/fix-increase-ipfs-chunk-size
...
increase ipfs chunk size
2023-03-21 20:35:39 +03:00
Roman Khafizianov
afae514535
Merge pull request #57 from anytypeio/app-start-logger
...
app long start/stop logger
2023-03-21 18:35:27 +01:00
Sergey Cherepanov
fa24020ab1
make chunk size public
2023-03-21 18:28:45 +01:00
Sergey Cherepanov
f34bc4061b
increase ipfs chunk size
2023-03-21 18:24:29 +01:00
Roman Khafizianov
8f4a39ebe9
app long start/stop logger
2023-03-21 15:27:15 +01:00
Sergey Cherepanov
da1a69932a
Merge pull request #55 from anytypeio/update-fileproto
...
Update fileproto
2023-03-21 13:34:09 +03:00
Sergey Cherepanov
207553f638
update fileproto
2023-03-21 11:23:52 +01:00
Sergey Cherepanov
af2026fac8
update fileproto
2023-03-21 11:20:16 +01:00
Sergey Cherepanov
2f21006457
update fileproto
2023-03-21 11:10:50 +01:00
Sergey Cherepanov
eed0458794
Merge pull request #53 from anytypeio/dependabot/go_modules/github.com/multiformats/go-multibase-0.2.0
...
Bump github.com/multiformats/go-multibase from 0.1.1 to 0.2.0
2023-03-20 22:55:11 +03:00
Sergey Cherepanov
42200fddcd
Merge pull request #54 from anytypeio/dependabot/go_modules/github.com/ipfs/go-cid-0.4.0
...
Bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0
2023-03-20 22:54:48 +03:00
Sergey Cherepanov
6ce4c67ac1
Merge pull request #38 from anytypeio/update-fileproto
...
Update fileproto
2023-03-20 22:54:06 +03:00
dependabot[bot]
a523641dff
Bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0
...
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/ipfs/go-cid/releases )
- [Commits](https://github.com/ipfs/go-cid/compare/v0.3.2...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-cid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-20 18:04:01 +00:00
dependabot[bot]
b3b1afa307
Bump github.com/multiformats/go-multibase from 0.1.1 to 0.2.0
...
Bumps [github.com/multiformats/go-multibase](https://github.com/multiformats/go-multibase ) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/multiformats/go-multibase/releases )
- [Commits](https://github.com/multiformats/go-multibase/compare/v0.1.1...v0.2.0 )
---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multibase
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-20 18:03:47 +00:00
mcrakhman
0a1dc26a95
Add second test and description
2023-03-20 16:24:07 +01:00
mcrakhman
afad73fe8b
Add simple test
2023-03-20 16:00:44 +01:00
Sergey Cherepanov
935a95c247
Merge branch 'main' of github.com:anytypeio/any-sync into update-fileproto
2023-03-19 19:23:16 +03:00
Sergey Cherepanov
fdb1a59524
Merge pull request #51 from anytypeio/dependabot/go_modules/github.com/ipfs/go-ipfs-blockstore-1.3.0
...
Bump github.com/ipfs/go-ipfs-blockstore from 1.2.0 to 1.3.0
2023-03-19 19:23:08 +03:00
Sergey Cherepanov
22a597389d
Merge branch 'main' of github.com:anytypeio/any-sync into update-fileproto
2023-03-19 19:21:20 +03:00
Sergey Cherepanov
49248b02b3
fileproto forbidden error
2023-03-19 18:40:28 +03:00
Mikhail Rakhmanov
feba2c67d4
Merge pull request #52 from anytypeio/derived-id-space
2023-03-16 19:04:17 +01:00
mcrakhman
305c509fc6
Update derive id method name
2023-03-16 19:01:05 +01:00
mcrakhman
ed1b597fc5
Add error wrapping in app
2023-03-16 18:46:48 +01:00
mcrakhman
2691da66f7
Update rpc err in pull space
2023-03-16 18:27:28 +01:00
mcrakhman
417b203b09
Derive space id as a separate method
2023-03-16 17:57:10 +01:00
mcrakhman
0746526170
Create fixture draft
2023-03-14 11:41:29 +01:00
mcrakhman
829159690f
Add more components for async communication
2023-03-14 10:33:59 +01:00
mcrakhman
41362cdde6
Merge remote-tracking branch 'origin/main' into sync-tests
2023-03-13 22:04:07 +01:00
mcrakhman
5f5aefef53
Add test component structure
2023-03-13 22:03:38 +01:00
mcrakhman
accf68fc60
Start sync tests
2023-03-13 21:47:07 +01:00
dependabot[bot]
06b6ca22c0
Bump github.com/ipfs/go-ipfs-blockstore from 1.2.0 to 1.3.0
...
Bumps [github.com/ipfs/go-ipfs-blockstore](https://github.com/ipfs/go-ipfs-blockstore ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/ipfs/go-ipfs-blockstore/releases )
- [Commits](https://github.com/ipfs/go-ipfs-blockstore/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-ipfs-blockstore
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-13 18:08:51 +00:00
Mikhail Rakhmanov
5ec53522fe
Merge pull request #50 from anytypeio/fix-pool-remove-connection
2023-03-13 17:32:34 +01:00
mcrakhman
e568f899aa
Remove old connection from pool on close (GetOneOf)
2023-03-13 17:18:21 +01:00
Roman Khafizianov
1a01f361ad
Merge pull request #48 from anytypeio/fix-suggared-logger
...
fix replacing existing logger
2023-03-13 14:15:26 +01:00
Roman Khafizianov
86dcc83461
change logger name
2023-03-13 14:14:55 +01:00
Mikhail Rakhmanov
5de8af82bb
Merge pull request #49 from anytypeio/fix-counter
2023-03-13 13:55:22 +01:00
mcrakhman
25b0695d3e
Add counter for put sync tree
2023-03-13 13:46:36 +01:00
mcrakhman
a2efcafb3e
Update counters
2023-03-13 13:04:23 +01:00
mcrakhman
6b2667d4dc
Add increment/decrement logs
2023-03-13 12:58:37 +01:00
Mikhail Rakhmanov
1fbf87995b
Merge pull request #47 from anytypeio/update-proto
2023-03-11 13:48:57 +01:00
mcrakhman
981378c2e3
Ocache remove with ctx
2023-03-11 13:41:26 +01:00
mcrakhman
67ca417cb8
Change timeestamps
2023-03-11 12:52:42 +01:00
Roman Khafizianov
df9a5f11ae
cleanup logger names
2023-03-10 19:32:20 +01:00
Roman Khafizianov
ec0d8a0c07
fix replacing existing logger
2023-03-10 19:18:15 +01:00
mcrakhman
bb86e5b7e5
Fix test
2023-03-10 18:22:08 +01:00
mcrakhman
a97efd2a5b
Merge branch 'ocache-try-close' into update-proto
2023-03-10 18:12:03 +01:00
mcrakhman
01e170ba69
Add newline to treechangeproto
2023-03-10 16:52:30 +01:00
mcrakhman
7d39332a79
Update state builder to fix root change
2023-03-10 16:33:13 +01:00
mcrakhman
19930e6252
Update space reserved constant
2023-03-10 15:07:45 +01:00
mcrakhman
ea74562290
Add change type and payload
2023-03-10 14:37:03 +01:00
mcrakhman
74f39239c6
Update tryclose with ttl
2023-03-10 10:17:57 +01:00
mcrakhman
067ad8cf16
Add TryClose to space interface
2023-03-09 23:11:20 +01:00
mcrakhman
0c79741216
Update objecttree with tryclose
2023-03-09 23:09:26 +01:00
mcrakhman
94f28430a3
Remove called records in fuzzy test
2023-03-09 22:58:36 +01:00
mcrakhman
83476a9e84
Lower timeouts
2023-03-09 22:56:59 +01:00
mcrakhman
43a35f4878
Add tryclose everywhere
2023-03-09 22:52:31 +01:00
mcrakhman
ca2ea8cef9
Add some fuzzy tests
2023-03-09 22:03:45 +01:00
mcrakhman
63ba0a9fab
Update cache logic to remove from entries on close
2023-03-09 20:25:01 +01:00
mcrakhman
4fb34fcb7c
Readability improvements
2023-03-09 09:38:45 +01:00
mcrakhman
9836caf2cb
More tests and split entry
2023-03-09 09:06:02 +01:00
mcrakhman
65496d247f
Test returning to cache after tryclose
2023-03-08 22:52:43 +01:00
mcrakhman
07c6e8000c
Add ocache tryClose
2023-03-08 22:07:44 +01:00
Roman Khafizianov
4687b1f805
Merge pull request #45 from anytypeio/fix-logger-console
...
fix default logger encoding config
2023-03-07 19:47:32 +01:00
Roman Khafizianov
7adae54f87
fix default logger encoding config
2023-03-07 19:37:21 +01:00
Roman Khafizianov
f5baccaf08
Merge pull request #44 from anytypeio/logger-json
...
logger: add Format in config
2023-03-07 18:58:57 +01:00
Roman Khafizianov
589f885b63
logger: add Format in config
...
support json, color, plaintext
2023-03-07 18:52:28 +01:00
Roman Khafizianov
52278f02f4
Merge pull request #43 from anytypeio/named-logger-levels
...
Named logger levels
2023-03-07 15:13:58 +01:00
Roman Khafizianov
0d40838196
rename some loggers to the same convention
2023-03-07 10:42:36 +01:00
Roman Khafizianov
3693218fc5
rename logger common.commonspace.settings -> commonspace.settings
2023-03-06 22:26:32 +01:00
Roman Khafizianov
d4c19f790d
add an ability to set levels separately for named loggers
...
with glob support
2023-03-06 22:25:43 +01:00
Sergey Cherepanov
bc7a1754ad
Merge pull request #42 from anytypeio/dependabot/go_modules/github.com/ipfs/go-unixfs-0.4.4
...
Bump github.com/ipfs/go-unixfs from 0.4.3 to 0.4.4
2023-03-06 21:22:06 +03:00
Sergey Cherepanov
f95374bb3e
Merge pull request #41 from anytypeio/dependabot/go_modules/golang.org/x/net-0.8.0
...
Bump golang.org/x/net from 0.7.0 to 0.8.0
2023-03-06 21:21:51 +03:00
Mikhail Rakhmanov
848556200b
Merge pull request #40 from anytypeio/add-strkey
2023-03-06 19:15:28 +01:00
dependabot[bot]
e043c84cae
Bump github.com/ipfs/go-unixfs from 0.4.3 to 0.4.4
...
Bumps [github.com/ipfs/go-unixfs](https://github.com/ipfs/go-unixfs ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/ipfs/go-unixfs/releases )
- [Commits](https://github.com/ipfs/go-unixfs/compare/v0.4.3...v0.4.4 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-unixfs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-06 18:09:49 +00:00
dependabot[bot]
0314ea1103
Bump golang.org/x/net from 0.7.0 to 0.8.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-06 18:09:36 +00:00
mcrakhman
6a1c3d27f8
Add strkey for string encoding
2023-03-06 19:08:16 +01:00
Mikhail Rakhmanov
d22d8f4f25
Merge pull request #39 from anytypeio/coordinator
2023-03-06 18:59:17 +01:00
mcrakhman
61cd658ab0
Add todo
2023-03-06 14:29:07 +01:00
mcrakhman
998f631ee8
Update diffsyncer to directly sync settings tree
2023-03-06 11:08:27 +01:00
Sergey Cherepanov
bee7146a60
fileId ctx funcs
2023-03-06 12:22:29 +03:00
Sergey Cherepanov
a497e129c4
Merge branch 'main' of github.com:anytypeio/any-sync into update-fileproto
2023-03-06 12:10:28 +03:00
mcrakhman
e1f6dad499
Add error unwrapping
2023-03-06 09:41:45 +01:00
mcrakhman
58f01da459
Add safe access in case no delete change provided
2023-03-06 09:31:27 +01:00
mcrakhman
3895dc8e14
Add errors to coordinator proto
2023-03-04 12:10:32 +01:00
mcrakhman
3ea11abb56
Update status method
2023-03-03 23:10:05 +01:00
Sergey Cherepanov
6524762c09
fileproto: FileInfo
2023-03-03 13:22:37 +03:00
Sergey Cherepanov
70682ff397
fix fileproto
2023-03-03 13:09:55 +03:00
Sergey Cherepanov
b37dec42a2
fix fileproto
2023-03-03 13:08:38 +03:00
mcrakhman
3f48831e8b
Fix spacestorage
2023-03-02 23:28:46 +01:00
mcrakhman
cda401356d
Simplify cred provider logic
2023-03-02 22:40:56 +01:00
mcrakhman
897c50e8e6
Add credential provider
2023-03-02 22:04:37 +01:00
mcrakhman
5218eea8ad
Fix change builder with no root
2023-03-02 21:08:14 +01:00
mcrakhman
6e5d044251
Update metrics to convert dots
2023-03-02 20:54:52 +01:00
mcrakhman
fcb936bca9
Update coordinator client
2023-03-02 19:55:27 +01:00
Sergey Cherepanov
1837d89ef9
fileproto: SpaceInfo method
2023-03-02 19:11:55 +03:00
mcrakhman
9979a820d3
Update coordinator proto
2023-03-02 14:19:32 +01:00
mcrakhman
1ed8f162ae
Update space header validation
2023-03-02 13:27:08 +01:00
mcrakhman
31b3fed274
Add space header validation
2023-03-02 13:23:43 +01:00
mcrakhman
3758e9cdf3
Add header to coordinator proto
2023-03-02 12:18:12 +01:00
mcrakhman
eae4f0a57d
Change verify export
2023-03-01 22:12:07 +01:00
mcrakhman
00c344112e
Export VerifyDeleteChange
2023-03-01 22:06:37 +01:00
Roman Khafizianov
6c17d380b7
Merge pull request #37 from anytypeio/fix-graphviz-nocgo
...
exclude graphviz when CGO_ENABLED=0
2023-03-01 15:13:01 +01:00
Sergey Cherepanov
e6352f74ad
update fileproto
2023-03-01 13:44:15 +03:00
Roman Khafizianov
3f95941045
exclude graphviz when CGO_ENABLED=0
2023-02-28 17:03:19 +01:00
Sergey Cherepanov
c42c4415bf
fix fileproto
2023-02-28 12:26:19 +03:00
Sergey Cherepanov
cd8dd7a869
extending file protocol
2023-02-28 12:04:05 +03:00
Sergey Cherepanov
fef3c7f937
Merge pull request #35 from anytypeio/dependabot/go_modules/github.com/stretchr/testify-1.8.2
...
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
2023-02-28 11:45:08 +03:00
mcrakhman
4212138546
Update coordinator proto
2023-02-27 22:50:11 +01:00
dependabot[bot]
61859bbb09
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 18:15:28 +00:00
Mikhail Rakhmanov
5906091051
Merge pull request #34 from anytypeio/account-deletion
2023-02-27 15:40:58 +01:00
Mikhail Rakhmanov
51a956fd84
Merge pull request #33 from anytypeio/coordinator
2023-02-27 15:40:29 +01:00
Sergey Cherepanov
cd5a4abc87
mock coordinatorclient
2023-02-27 17:19:23 +03:00
Sergey Cherepanov
2dd2b309df
coordinator client
2023-02-27 16:40:27 +03:00
mcrakhman
cf80cdbe7d
Change deleter peer logic
2023-02-27 14:24:28 +01:00
mcrakhman
74b0269230
Any-sync remove printlns and fix condition
2023-02-26 18:47:55 +01:00
mcrakhman
679b068dfa
Merge remote-tracking branch 'origin/main' into account-deletion
2023-02-26 09:22:18 +01:00
mcrakhman
aea36229fb
Add deletionmanager tests
2023-02-26 00:05:28 +01:00
mcrakhman
67d97c26ec
Add some basic tests for settings
2023-02-25 22:41:12 +01:00
mcrakhman
0c200ba323
Test settings state builder
2023-02-25 21:41:35 +01:00
mcrakhman
be253bb01b
Add deps
2023-02-24 23:51:45 +01:00
mcrakhman
8d25922f27
Update interfaces
2023-02-24 23:42:05 +01:00
mcrakhman
4ff0d9d42a
Add logs and fix building settings state
2023-02-24 23:25:11 +01:00
Sergey Cherepanov
24cc345fbb
Merge pull request #31 from anytypeio/coordinator
...
Coordinator
2023-02-24 16:01:41 +03:00
mcrakhman
0ababcf913
Stop syncing with clients after deletion
2023-02-24 00:10:40 +01:00
mcrakhman
c5b47abf8a
Remove unnecessary call
2023-02-24 00:04:11 +01:00
mcrakhman
7960297ea2
Change deletion logic in headsync and objectsync
2023-02-23 23:58:09 +01:00
mcrakhman
3cd292db5b
Update any-sync new deletion logic
2023-02-23 21:08:31 +01:00
Sergey Cherepanov
c708fbd984
remove priv keys from nodes conf
2023-02-23 16:55:10 +03:00
Sergey Cherepanov
f5f960bd81
add peerId to space receipt
2023-02-23 14:13:11 +03:00
Sergey Cherepanov
2a76b81a32
Merge branch 'main' of github.com:anytypeio/any-sync into coordinator
2023-02-23 13:58:29 +03:00
Sergey Cherepanov
43e4c121ee
coordinator node type
2023-02-23 13:38:58 +03:00
Sergey Cherepanov
6765150ba9
Merge pull request #29 from anytypeio/dependabot/go_modules/github.com/ipfs/go-merkledag-0.10.0
...
Bump github.com/ipfs/go-merkledag from 0.9.0 to 0.10.0
2023-02-22 16:43:23 +03:00
Sergey Cherepanov
ab14cc9b6d
Merge pull request #28 from anytypeio/dependabot/go_modules/golang.org/x/net-0.7.0
...
Bump golang.org/x/net from 0.6.0 to 0.7.0
2023-02-22 16:42:40 +03:00
Sergey Cherepanov
64d9689be5
coordinator proto
2023-02-22 16:35:29 +03:00
mcrakhman
904224447f
Add space deleted in storage
2023-02-22 10:05:17 +01:00
mcrakhman
47be32c804
Merge branch 'main' into account-deletion
2023-02-22 09:59:13 +01:00
Mikhail Rakhmanov
98bbdc2e4e
Merge pull request #30 from anytypeio/fixes-and-logs
2023-02-21 16:51:40 +01:00
mcrakhman
7da3553db3
Add more logs for space
2023-02-21 16:46:40 +01:00
mcrakhman
c37c7ba874
Fix putTree close and handshake params and add logs for trees used debug
2023-02-21 16:36:58 +01:00
mcrakhman
def3d7cdd5
Add comments
2023-02-21 14:44:12 +01:00
mcrakhman
1565f7e509
Create methods for deleting space
2023-02-20 23:47:32 +01:00
mcrakhman
75d503b94c
Add spaceIsDeleted checks
2023-02-20 22:51:00 +01:00
mcrakhman
63833eb650
Add some deletion logic
2023-02-20 21:43:14 +01:00
dependabot[bot]
7cce8baca6
Bump github.com/ipfs/go-merkledag from 0.9.0 to 0.10.0
...
Bumps [github.com/ipfs/go-merkledag](https://github.com/ipfs/go-merkledag ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/ipfs/go-merkledag/releases )
- [Commits](https://github.com/ipfs/go-merkledag/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-merkledag
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-20 18:08:42 +00:00
dependabot[bot]
59e18ca68c
Bump golang.org/x/net from 0.6.0 to 0.7.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-20 18:08:07 +00:00
Mikhail Rakhmanov
030a7d61ba
Merge pull request #27 from anytypeio/add-subscribe-after-push
2023-02-17 22:31:36 +01:00
mcrakhman
40ee06560e
Add subscribe after push
2023-02-17 22:27:10 +01:00
Sergey Cherepanov
4ce9ffdf5a
Merge pull request #26 from anytypeio/any-handshake
...
fix listener
2023-02-17 15:39:31 +03:00
Sergey Cherepanov
b3e63984bb
fix listener
2023-02-17 15:38:42 +03:00
Sergey Cherepanov
96f399293d
Merge pull request #24 from anytypeio/any-handshake
...
Any handshake
2023-02-17 11:15:40 +03:00
Sergey Cherepanov
49b738fb3c
remove unused param
2023-02-17 00:24:52 +03:00
Sergey Cherepanov
5b93739487
dial timeout
2023-02-17 00:19:05 +03:00
Sergey Cherepanov
38a74fd195
remove tls listener, move handshake to serve goroutine
2023-02-17 00:09:52 +03:00
Sergey Cherepanov
ea9d101622
Merge branch 'main' of github.com:anytypeio/any-sync into any-handshake
2023-02-15 22:29:11 +03:00
Sergey Cherepanov
ea80f4591b
Merge pull request #25 from anytypeio/drpc-server
...
Add listen addrs
2023-02-15 22:28:47 +03:00
Sergey Cherepanov
f2d729022d
secure service test
2023-02-15 22:09:09 +03:00
Sergey Cherepanov
94d33f2c4a
handshake with ctx
2023-02-15 21:29:37 +03:00
Sergey Cherepanov
20768266ca
Merge branch 'main' of github.com:anytypeio/any-sync into any-handshake
2023-02-15 20:47:25 +03:00
Sergey Cherepanov
1db0e731e0
Merge pull request #23 from anytypeio/handshake-debug
...
increase dial timeout + debug logs
2023-02-15 14:59:17 +03:00
Sergey Cherepanov
4d356318f0
increase dial timeout + debug logs
2023-02-15 14:58:23 +03:00
mcrakhman
cd82b41cf1
Add listen addrs
2023-02-14 23:09:03 +01:00
Sergey Cherepanov
3b837b4b6b
Merge pull request #22 from anytypeio/fix-space-gc
...
Fix space GC
2023-02-14 21:20:35 +03:00
Sergey Cherepanov
189922e534
cleanup thread on error
2023-02-14 21:18:25 +03:00
Sergey Cherepanov
4cde54bdb3
dial timeout
2023-02-14 19:39:57 +03:00
Sergey Cherepanov
00dc0bcca6
fix
2023-02-14 19:00:27 +03:00
Sergey Cherepanov
047bd1c379
handleQueue thread close / onObjectClose method
2023-02-14 16:53:43 +03:00
Sergey Cherepanov
ce0a60df67
timeoutconn: remove debug
2023-02-13 22:13:40 +03:00
Sergey Cherepanov
95b7927a4c
Merge pull request #21 from anytypeio/fix-ocache-closing-deadlock
...
Fix ocache closing deadlock
2023-02-13 22:12:22 +03:00
Sergey Cherepanov
e6d15c6a72
Merge pull request #19 from anytypeio/dependabot/go_modules/golang.org/x/net-0.6.0
...
Bump golang.org/x/net from 0.5.0 to 0.6.0
2023-02-13 22:10:21 +03:00
Sergey Cherepanov
0175ffeb3f
Merge pull request #20 from anytypeio/dependabot/go_modules/github.com/ipfs/go-unixfs-0.4.3
...
Bump github.com/ipfs/go-unixfs from 0.4.2 to 0.4.3
2023-02-13 22:10:09 +03:00
Sergey Cherepanov
92f22d04b0
default periodic sync timeout
2023-02-13 22:09:06 +03:00
Sergey Cherepanov
55ad2a536b
commongetter: check for space close
2023-02-13 21:53:27 +03:00
Sergey Cherepanov
18451bd4fe
listen ctx for closing object
2023-02-13 21:49:56 +03:00
Sergey Cherepanov
b34136ce06
wip: secureservice with verifiers
2023-02-13 21:48:41 +03:00
dependabot[bot]
0f89b5a4f5
Bump github.com/ipfs/go-unixfs from 0.4.2 to 0.4.3
...
Bumps [github.com/ipfs/go-unixfs](https://github.com/ipfs/go-unixfs ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/ipfs/go-unixfs/releases )
- [Commits](https://github.com/ipfs/go-unixfs/compare/v0.4.2...v0.4.3 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-unixfs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-13 18:12:32 +00:00
dependabot[bot]
004c8b7f38
Bump golang.org/x/net from 0.5.0 to 0.6.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-13 18:12:15 +00:00
Sergey Cherepanov
4c00dba1cf
Merge pull request #17 from anytypeio/add-try-lock-iface
...
RWLocker iface: add TryLock
2023-02-13 19:08:14 +03:00
Sergey Cherepanov
2fe9f8c295
handshake: return identity
2023-02-13 13:45:07 +03:00
Sergey Cherepanov
e8a7ad7476
handshake proto and implementation
2023-02-11 22:52:20 +03:00
Roman Khafizianov
0601685040
fix tests
2023-02-10 14:40:45 +01:00
Roman Khafizianov
adec5fa746
RWLocker iface: add TryLock
2023-02-10 14:23:45 +01:00
Sergey Cherepanov
f6d3a85a7f
Merge pull request #11 from anytypeio/dependabot/go_modules/github.com/ipfs/go-unixfs-0.4.2
...
Bump github.com/ipfs/go-unixfs from 0.4.1 to 0.4.2
2023-02-07 15:35:06 +03:00
Sergey Cherepanov
0eaf9094a1
Merge pull request #13 from anytypeio/dependabot/go_modules/github.com/goccy/go-graphviz-0.1.0
...
Bump github.com/goccy/go-graphviz from 0.0.9 to 0.1.0
2023-02-07 15:34:50 +03:00
dependabot[bot]
20320f81c3
Bump github.com/ipfs/go-unixfs from 0.4.1 to 0.4.2
...
Bumps [github.com/ipfs/go-unixfs](https://github.com/ipfs/go-unixfs ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/ipfs/go-unixfs/releases )
- [Commits](https://github.com/ipfs/go-unixfs/compare/v0.4.1...v0.4.2 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-unixfs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-07 12:34:43 +00:00
dependabot[bot]
cbee800509
Bump github.com/goccy/go-graphviz from 0.0.9 to 0.1.0
...
Bumps [github.com/goccy/go-graphviz](https://github.com/goccy/go-graphviz ) from 0.0.9 to 0.1.0.
- [Release notes](https://github.com/goccy/go-graphviz/releases )
- [Commits](https://github.com/goccy/go-graphviz/compare/v0.0.9...v0.1.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-graphviz
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-07 12:34:24 +00:00
Sergey Cherepanov
d9baeab63e
Merge pull request #12 from anytypeio/dependabot/go_modules/golang.org/x/net-0.5.0
...
Bump golang.org/x/net from 0.3.0 to 0.5.0
2023-02-07 15:33:34 +03:00
Sergey Cherepanov
7ef55b3c46
Merge pull request #14 from anytypeio/dependabot/go_modules/github.com/ipfs/go-merkledag-0.9.0
...
Bump github.com/ipfs/go-merkledag from 0.8.1 to 0.9.0
2023-02-07 15:33:22 +03:00
Sergey Cherepanov
6b5b3d2b6b
Merge pull request #16 from anytypeio/middleware-compatibility
...
Middleware fixes etc
2023-02-07 15:33:00 +03:00
Sergey Cherepanov
2d2ad9ee43
Merge pull request #10 from anytypeio/dependabot/go_modules/github.com/ipfs/go-block-format-0.1.1
...
Bump github.com/ipfs/go-block-format from 0.0.3 to 0.1.1
2023-02-07 15:32:38 +03:00
Sergey Cherepanov
b2140f3c30
fix win build
2023-02-05 17:29:55 +03:00
mcrakhman
d3108b5e6c
Move remote getter to separate entity
2023-02-05 11:31:14 +01:00
Mikhail Rakhmanov
e35c5eb5c7
Merge pull request #15 from anytypeio/nodesync
2023-02-04 21:54:37 +01:00
Sergey Cherepanov
a4d26ab82d
expose chash params
2023-02-04 19:45:11 +03:00
mcrakhman
d3362ba85e
Update batcher to 3.0.1
2023-02-04 17:41:20 +01:00
mcrakhman
9bb42a2906
Merge branch 'main' into middleware-compatibility
2023-02-04 17:38:48 +01:00
mcrakhman
9c696ad96a
Rename sync tree
2023-02-04 17:38:27 +01:00
Mikhail Rakhmanov
f2ff10e3f7
Merge pull request #9 from anytypeio/nodesync
2023-02-04 17:33:39 +01:00
Sergey Cherepanov
0f2a0eec8e
Update dependabot.yml
2023-02-04 18:19:18 +03:00
dependabot[bot]
9289bb424a
Bump github.com/ipfs/go-merkledag from 0.8.1 to 0.9.0
...
Bumps [github.com/ipfs/go-merkledag](https://github.com/ipfs/go-merkledag ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/ipfs/go-merkledag/releases )
- [Commits](https://github.com/ipfs/go-merkledag/compare/v0.8.1...v0.9.0 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-merkledag
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-04 15:07:10 +00:00
dependabot[bot]
859323c5ca
Bump golang.org/x/net from 0.3.0 to 0.5.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.3.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-04 15:06:55 +00:00
dependabot[bot]
61b0a24b28
Bump github.com/ipfs/go-block-format from 0.0.3 to 0.1.1
...
Bumps [github.com/ipfs/go-block-format](https://github.com/ipfs/go-block-format ) from 0.0.3 to 0.1.1.
- [Release notes](https://github.com/ipfs/go-block-format/releases )
- [Commits](https://github.com/ipfs/go-block-format/compare/v0.0.3...v0.1.1 )
---
updated-dependencies:
- dependency-name: github.com/ipfs/go-block-format
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-04 15:06:40 +00:00
Sergey Cherepanov
8624b672e2
Create dependabot.yml
2023-02-04 17:28:23 +03:00
Sergey Cherepanov
163c0e4058
testrpc server implement app.Component
2023-02-04 15:20:34 +03:00
mcrakhman
27b1c948e9
Remove SendResponsible
2023-02-03 20:15:55 +01:00
mcrakhman
ea48365d2f
Simplify ping tree
2023-02-03 20:12:02 +01:00
mcrakhman
a193906d94
Add wait for available peers to appear
2023-02-03 15:36:12 +01:00
mcrakhman
fad981daee
Update responsible peers
2023-02-03 14:55:30 +01:00
mcrakhman
2da9f84907
Switch peers when getting tree
2023-02-03 14:49:05 +01:00
mcrakhman
9ba0620cab
Fix peer getting in sync tree
2023-02-03 12:55:44 +01:00
Sergey Cherepanov
cc2a98bbad
fix
2023-02-02 21:21:25 +03:00
Sergey Cherepanov
75c660916d
fix
2023-02-02 21:16:59 +03:00
Sergey Cherepanov
d2a19d21fe
fix ldiff mock
2023-02-02 13:19:20 +03:00
Sergey Cherepanov
6d2178dfc9
testPool: add peers
2023-02-02 13:18:30 +03:00
Sergey Cherepanov
3fcbe3aba9
testPool: implement pool.Service
2023-02-02 13:12:52 +03:00
mcrakhman
3630744086
Helper methods for local streams etc
2023-02-01 23:21:02 +01:00
Sergey Cherepanov
f4c6679b0e
ldiff: Len
2023-02-01 21:38:47 +03:00
Sergey Cherepanov
aff2ecbca0
ldiff: Element by id
2023-02-01 20:58:20 +03:00
Sergey Cherepanov
38f831ab6b
Merge pull request #8 from anytypeio/middleware-compatibility
...
Middleware compatibility
2023-01-31 19:36:52 +03:00
Sergey Cherepanov
8ff7cc9e16
fix the test blinking
2023-01-31 19:34:27 +03:00
Sergey Cherepanov
2ef1970479
Merge branch 'main' of github.com:anytypeio/any-sync into middleware-compatibility
2023-01-31 19:31:02 +03:00
Sergey Cherepanov
4cdbecd705
Merge pull request #7 from anytypeio/update-fileproto
...
Update fileproto
2023-01-31 18:40:55 +03:00
Sergey Cherepanov
0b977c2e1c
fileproto: allowWrite flag
2023-01-31 15:48:53 +03:00
Sergey Cherepanov
25a51b2cc8
update fileproto: BlocksGet -> BlockGet
2023-01-31 14:27:41 +03:00
Sergey Cherepanov
1e9960752f
update fileproto: unary method instead stream for blocksGet
2023-01-31 14:24:39 +03:00
Sergey Cherepanov
22ee12e28c
rename proto pkg
2023-01-30 20:19:52 +03:00
Sergey Cherepanov
86aadf9d6c
update fileproto
2023-01-30 20:17:41 +03:00
mcrakhman
c8f6e39199
Merge branch 'main' into middleware-compatibility
2023-01-30 17:40:10 +01:00
Mikhail Rakhmanov
48e55d4827
Merge pull request #6 from anytypeio/async-stream-dial
2023-01-30 17:37:49 +01:00
Sergey Cherepanov
73762e460a
streammanger -> peermanager, remove confconnector
2023-01-30 19:18:53 +03:00
Sergey Cherepanov
d04d1f3a3b
streampool: close dial queue
2023-01-30 18:40:25 +03:00
Sergey Cherepanov
9dc3c807fb
stream config
2023-01-30 17:03:31 +03:00
Sergey Cherepanov
78067eaa4c
dial pool
2023-01-30 16:43:52 +03:00
Sergey Cherepanov
b2578a19ba
async dial
2023-01-30 13:16:07 +03:00
mcrakhman
06bb0f7496
Add dialer to inner pool
2023-01-28 23:58:47 +01:00
mcrakhman
e1565f60d6
Merge branch 'main' into middleware-compatibility
2023-01-28 20:24:40 +01:00
Mikhail Rakhmanov
c6910bc2fe
Merge pull request #5 from anytypeio/stream-manager
2023-01-28 20:22:29 +01:00
Sergey Cherepanov
dccb5a9826
fix streampool tags
2023-01-27 20:34:48 +03:00
Sergey Cherepanov
8f1cba3770
streampool fixes
2023-01-27 16:15:50 +03:00
Sergey Cherepanov
44ffc39729
fix test
2023-01-27 14:52:08 +03:00
Sergey Cherepanov
d7a888c1fd
add requestId to separate request/reply flows
2023-01-27 14:37:06 +03:00
Sergey Cherepanov
b78cf2c710
handle replies in separate thread
2023-01-27 13:58:28 +03:00
Sergey Cherepanov
92bb1ce576
space milti queue
2023-01-27 13:50:36 +03:00
mcrakhman
bf56f338f2
Set heads in tree storage
2023-01-26 12:55:34 +01:00
mcrakhman
82b398ff7f
Set object tree id at the start
2023-01-26 10:06:06 +01:00
Sergey Cherepanov
6cb696d508
debug/fixes
2023-01-25 23:35:20 +03:00
mcrakhman
dffb418e60
Add tree exporter
2023-01-25 21:20:23 +01:00
mcrakhman
348b94a554
Change debug api for tree
2023-01-25 11:26:37 +01:00
mcrakhman
60b2c99660
Change interfaces for import tree
2023-01-25 10:13:01 +01:00
Sergey Cherepanov
ddd20ae5b5
ctx logger + streapool add/removeTags + space subscribe message
2023-01-24 22:10:28 +03:00
mcrakhman
ed615379c4
Change dataconverter interface
2023-01-24 17:04:38 +01:00
Sergey Cherepanov
09aee68bd7
debug
2023-01-24 16:23:35 +03:00
mcrakhman
7174e0e081
Add exporter/viewer interfaces and empty methods, refactoring
2023-01-22 22:16:14 +01:00
Sergey Cherepanov
ebe05db662
peer and space last usage
2023-01-20 19:32:38 +03:00
Sergey Cherepanov
64e5479ca0
sync fixes + fix tests
2023-01-20 14:55:45 +03:00
Sergey Cherepanov
7fdd4f215e
merge
2023-01-19 15:25:34 +03:00
Sergey Cherepanov
79d81662ce
commonspace with new streampool
2023-01-19 15:17:04 +03:00
Sergey Cherepanov
330c97ab30
common streampool pkg
2023-01-18 13:46:49 +03:00
Sergey Cherepanov
c1bf0e12cc
PoolService still keeps the default Pool but with ability to create new pools
2023-01-18 13:44:50 +03:00
mcrakhman
a5f01265d6
Fix timestamps
2023-01-18 10:06:01 +01:00
mcrakhman
9b9c278718
Few fixes re history
2023-01-18 09:16:38 +01:00
mcrakhman
e7ee5dd864
Optimize interfaces
2023-01-18 08:36:54 +01:00
mcrakhman
d466d40cf0
Expose header in history
2023-01-18 08:24:33 +01:00
mcrakhman
0acc14144a
Add GetChange method to tree
2023-01-18 08:07:47 +01:00
mcrakhman
41f66edfb9
WIP history tree
2023-01-17 23:07:15 +01:00
mcrakhman
9c41451986
Update synctree to be able to provide listener
2023-01-17 15:16:04 +01:00
mcrakhman
fb4e2b1fc9
Update delete loop
2023-01-17 00:04:14 +01:00
mcrakhman
ea5856c4b0
Refactor commongetter to hide reserved objects
2023-01-16 20:34:26 +01:00
mcrakhman
cf464ef25f
Save tls listeners
2023-01-15 23:41:54 +01:00
Sergey Cherepanov
bded394761
Merge pull request #4 from anytypeio/net-fixes
...
Net fixes
2023-01-15 22:53:07 +03:00
Sergey Cherepanov
ef1155743e
Merge branch 'middleware-compatibility' of github.com:anytypeio/any-sync into net-fixes
2023-01-15 22:50:53 +03:00
Sergey Cherepanov
4ff4c5950d
pool.Get instead pool.Dial for pullSpace
2023-01-15 22:45:43 +03:00
Sergey Cherepanov
8e1053a116
addr in dial logs
2023-01-15 22:44:09 +03:00
Sergey Cherepanov
576cef2d53
fix nil ctx
2023-01-15 18:23:46 +03:00
mcrakhman
5e23680b36
Transactional add in object tree
2023-01-15 15:49:09 +01:00
Sergey Cherepanov
4e7c3840ac
log connection error
2023-01-15 17:13:17 +03:00
mcrakhman
265b64b6f0
Make settings iterate from root, hide settings from user
2023-01-14 22:24:57 +01:00
mcrakhman
3bd8c92f51
Change objecttree to set mode Rebuild if we update the snapshot after current heads
2023-01-14 20:59:54 +01:00
Sergey Cherepanov
a51f26c785
Merge branch 'nodesync'
2023-01-14 16:57:59 +03:00
Mikhail Rakhmanov
af753ec392
Merge pull request #3 from anytypeio/nodesync
2023-01-14 14:51:42 +01:00
Sergey Cherepanov
8de24af4b9
write space hash on open
2023-01-13 19:51:29 +03:00
Sergey Cherepanov
790be1b02b
save space hash
2023-01-13 19:13:26 +03:00
Sergey Cherepanov
a093e1c9f0
StateHash method for space
2023-01-13 17:02:25 +03:00
Sergey Cherepanov
3381a84dec
nodeconf Partition + ReplKey + configuration tests
2023-01-13 15:41:08 +03:00
Sergey Cherepanov
42913d3d18
shorter repl key
2023-01-13 15:40:20 +03:00
Mikhail Rakhmanov
b84dfc595f
Merge pull request #1 from anytypeio/middleware-compatibility
2023-01-13 13:09:39 +01:00
mcrakhman
b6be4e8975
Change PutTree
2023-01-13 12:59:13 +01:00
mcrakhman
25a52f41b8
Update synctree to connect with responsible node
2023-01-13 12:55:28 +01:00
Sergey Cherepanov
18bc3314fe
Merge branch 'main' into middleware-compatibility
2023-01-13 14:19:49 +03:00
mcrakhman
4c4abc9266
Update any-sync to wait sync for docs
2023-01-13 11:42:44 +01:00
Sergey Cherepanov
8cf6ad560e
test account improve
2023-01-13 12:11:20 +03:00
Sergey Cherepanov
059f0ca636
update chash
2023-01-13 10:40:34 +03:00
Sergey Cherepanov
4cb79eeab9
nodeconf: expose CHash
2023-01-13 10:14:50 +03:00
Sergey Cherepanov
9f0c7f4711
Merge branch 'middleware-compatibility' of github.com:anytypeio/any-sync into middleware-compatibility
2023-01-12 13:53:51 +03:00
Sergey Cherepanov
cfbae15999
net pool metrics
2023-01-12 13:53:32 +03:00
mcrakhman
a7a54bcc8b
Add handling for root ids
2023-01-11 19:18:04 +01:00
mcrakhman
1eed7e5050
Change object tree debug dump
2023-01-11 19:04:47 +01:00
Grigory Efimov
d21dd91a77
.github/workflows/coverage.yml update actions
2023-01-11 20:32:06 +03:00
Grigory Efimov
c792ff1fcb
fix set-output
2023-01-11 20:25:15 +03:00
Grigory Efimov
ec96ecafcc
.github/workflows/coverage.yml add go-cache-paths
2023-01-11 20:20:28 +03:00
Grigory Efimov
b875c504a0
.github/workflows/coverage.yml add actions/cach
2023-01-11 20:09:54 +03:00
Grigory Efimov
1bb707f0a2
refact
2023-01-11 19:59:54 +03:00
Grigory Efimov
28dd15e07e
fix go version
2023-01-11 19:48:47 +03:00
Grigory Efimov
0fb8ec2b7c
fix .github/workflows/coverage.yml
2023-01-11 19:43:52 +03:00
Grigory Efimov
ca1ebaaf14
testbytest
2023-01-11 19:39:50 +03:00
Grigory Efimov
7f165dd6f8
testbytest
2023-01-11 19:38:44 +03:00
Grigory Efimov
abe4603639
testbytest
2023-01-11 19:36:30 +03:00
Grigory Efimov
da61fec0a0
testbytest
2023-01-11 18:52:12 +03:00
Grigory Efimov
39bffdab9c
testbytest
2023-01-11 18:51:30 +03:00
Grigory Efimov
c12bb0f081
testbytest
2023-01-11 18:37:56 +03:00
Grigory Efimov
96896d3060
testbytest
2023-01-11 18:34:28 +03:00
Grigory Efimov
d158b98b35
testbytest
2023-01-11 18:33:17 +03:00
Grigory Efimov
57eb691b53
testbytest
2023-01-11 18:06:13 +03:00
Grigory Efimov
fe8f8c43f5
testbytest
2023-01-11 18:04:16 +03:00
Grigory Efimov
39f79e03ce
testbytest
2023-01-11 17:49:00 +03:00
Grigory Efimov
a9c564777a
testbytest
2023-01-11 17:17:19 +03:00
Grigory Efimov
876f94ef4e
testbytest
2023-01-11 17:11:52 +03:00
Grigory Efimov
3bc23edfd3
.github/workflows/coverage.yml add test go install
2023-01-11 17:09:12 +03:00
Grigory Efimov
88cc804d01
Makefile: revert tests
2023-01-11 17:08:43 +03:00
Grigory Efimov
993403bf76
fix .github/workflows/coverage.yml
2023-01-11 16:29:21 +03:00
Grigory Efimov
35e58ae20f
fix .github/workflows/coverage.yml
2023-01-11 16:25:52 +03:00
Grigory Efimov
27b6f754b5
fix .github/workflows/coverage.yml
2023-01-11 15:53:34 +03:00
Grigory Efimov
4186e30912
fix .github/workflows/coverage.yml
2023-01-11 15:43:55 +03:00
Sergey Cherepanov
9205f414cc
Merge branch 'middleware-compatibility' of github.com:anytypeio/any-sync into middleware-compatibility
2023-01-11 15:39:52 +03:00
Sergey Cherepanov
d986290db8
fileservice.HasCid
2023-01-11 15:39:32 +03:00
Grigory Efimov
dcae5da0ec
fix .github/workflows/coverage.yml
2023-01-11 15:38:53 +03:00
Grigory Efimov
bcc0aa8fd6
Merge branch 'middleware-compatibility' of github.com:anytypeio/any-sync into middleware-compatibility
2023-01-11 15:34:54 +03:00
Grigory Efimov
8c36953790
fix .github/workflows/coverage.yml
2023-01-11 15:34:49 +03:00
Sergey Cherepanov
18bc40a531
Merge branch 'middleware-compatibility' of github.com:anytypeio/any-sync into middleware-compatibility
2023-01-11 15:30:52 +03:00
Sergey Cherepanov
da74f45d46
update chash
2023-01-11 15:30:31 +03:00
Grigory Efimov
527d104ba7
fix GOPRIVATE
2023-01-11 15:22:43 +03:00
Grigory Efimov
7e41284cc8
add export GIT_TERMINAL_PROMPT=1
2023-01-11 15:20:13 +03:00
Grigory Efimov
071d85cd22
fix .github/workflows/coverage.yml
2023-01-11 15:18:40 +03:00
Grigory Efimov
d0ac577686
coverage.yml add GOPRIVATE
2023-01-11 15:16:18 +03:00
Grigory Efimov
0dd992b7a6
fix
2023-01-11 15:06:17 +03:00
Grigory Efimov
2f95c66360
coverage.yml test
2023-01-11 15:03:48 +03:00
Grigory Efimov
c7254ed8be
.github/workflows/coverage.yml add git config
2023-01-11 14:53:55 +03:00
Sergey Cherepanov
bb25dd0ea1
files: export DAGService
2023-01-11 14:50:20 +03:00
Sergey Cherepanov
c565071dad
build deps locally
2023-01-11 14:15:20 +03:00
mcrakhman
b96654dd14
Fix acl derivation
2023-01-10 17:54:04 +01:00
mcrakhman
048406edfd
Fix incorrect Graph method
2023-01-07 12:41:13 +01:00
Sergey Cherepanov
62c4e80c36
go vet
2023-01-07 13:35:12 +03:00
Sergey Cherepanov
b3194da23c
fix CI
2023-01-07 13:26:46 +03:00
mcrakhman
207e2dce52
Update libp2p ver
2023-01-07 00:11:27 +01:00
mcrakhman
dfd2b0e8b9
Use account service in secureservice instead of config
2023-01-06 20:55:10 +01:00
Sergey Cherepanov
248a112236
fix CI
2023-01-06 21:44:28 +03:00
Sergey Cherepanov
dbfc62eef5
crypro: DeriveRSA
2023-01-06 21:39:36 +03:00
Sergey Cherepanov
b8b4f937d4
CI coverage
2023-01-06 21:38:48 +03:00
Sergey Cherepanov
f79d7f8eb4
Revert "remove key.Key.Equals for more compatibility"
...
This reverts commit 7f5df570631033b017e2d724f7cd118445834ec9.
2023-01-05 18:24:48 +03:00
Sergey Cherepanov
c88b31ca2f
remove key.Key.Equals for more compatibility
2023-01-05 17:53:24 +03:00
Sergey Cherepanov
4c5cb61802
remove consensus dep
2023-01-05 15:39:08 +03:00
Sergey Cherepanov
90f0d0bb37
remove consensus dep
2023-01-05 15:39:08 +03:00
Sergey Cherepanov
71cfefe6fa
make common module as any-sync repo
2023-01-05 15:34:09 +03:00
Mikhail Rakhmanov
4aa8c9ac09
Merge pull request #28 from anytypeio/middleware-compatibility
2023-01-05 13:18:21 +01:00
Sergey Cherepanov
6bb542ca09
Merge branch 'middleware-compatibility' of github.com:anytypeio/go-anytype-infrastructure-experiments into middleware-compatibility
2023-01-05 15:02:38 +03:00
Sergey Cherepanov
f9c65bf8e1
go.mod: update mb/v3
2023-01-05 15:02:08 +03:00
mcrakhman
411a67c31f
Change object creation logic
2023-01-05 12:45:50 +01:00
mcrakhman
02e92a0db0
Update space service to return id in case the space storage is already created
2023-01-04 15:07:56 +01:00
mcrakhman
9b59e6029d
Rename ObjectTree.Iterate to IterateRoot
2023-01-04 14:39:26 +01:00
mcrakhman
ac84febce9
Add easy access to unmarshalled header
2023-01-03 18:55:43 +01:00
Sergey Cherepanov
e57ef72be1
Merge pull request #27 from anytypeio/files
...
files: rpcstore.AddAsync + lazy connect in clientmgr
2023-01-03 17:02:16 +03:00
Sergey Cherepanov
2d605ca694
files: rpcstore.AddAsync + lazy connect in clientmgr
2023-01-03 15:08:07 +03:00
mcrakhman
c64f732878
Refactor space storage and add tree root
2023-01-03 00:02:33 +01:00
mcrakhman
40f8fb503a
Make tree creation logic more transparent
2023-01-02 23:30:58 +01:00
mcrakhman
987bd0154f
Update ocache ObjectLocker
2023-01-02 14:27:24 +01:00
mcrakhman
8680c24329
Add generic mustcomponent as in middleware
2023-01-02 13:16:49 +01:00
mcrakhman
1a2ceb6e2b
Remove unnecessary context cleanup
2023-01-02 11:31:43 +01:00
mcrakhman
8d8aff2680
Remove error handling on broadcasting
...
In theory this can cause a non-decrease of a treesUsed var
2023-01-02 11:26:26 +01:00
mcrakhman
397252d97a
Change headsync logic (ensure space closing on nodes)
2023-01-02 10:54:17 +01:00
mcrakhman
58389432d7
Change object creation to do it through cache
2023-01-01 22:05:29 +01:00
Sergey Cherepanov
a55306aa27
Merge pull request #26 from anytypeio/files
...
files:partial upload
2022-12-29 22:36:41 +03:00
mcrakhman
e44bcfedaf
Remove unused function in confconnector
2022-12-29 18:27:27 +01:00
Mikhail Rakhmanov
33a2b5cc84
Merge pull request #25 from anytypeio/naming-and-refactoring
2022-12-29 15:39:07 +01:00
mcrakhman
a855f02f63
Add queue test
2022-12-29 15:16:30 +01:00
mcrakhman
8eafaa266d
Merge branch 'bilienko/integration-tests-start' into naming-and-refactoring
...
# Conflicts:
# common/commonspace/objectsync/streampool.go
# util/cmd/debug/commands/scripts.go
2022-12-29 13:51:41 +01:00
mcrakhman
b5dc56d72c
Update action queue
2022-12-29 13:47:17 +01:00
mcrakhman
a103c960a4
Some streampool fixes
2022-12-28 17:52:10 +01:00
mcrakhman
98b8584efc
Change solution to use queue for better performance
2022-12-27 22:37:47 +01:00
mcrakhman
fa076ee83f
Fix waiters in streampool
2022-12-27 19:59:27 +01:00
mcrakhman
d4b90e5202
Fix streampool waiters bug
2022-12-27 19:57:01 +01:00
Sergey Cherepanov
84b21c62c5
refactor configs
2022-12-27 16:50:20 +03:00
Sergey Cherepanov
caec31dd7f
files:partial upload
2022-12-27 13:55:51 +03:00
Dmitry
f86337ffc8
Nodes descriptions added
2022-12-27 17:57:17 +08:00
Dmitry
70163c3aaf
First integrational test!
2022-12-27 17:53:14 +08:00
mcrakhman
5b98550349
Change port number for file node in deploy
2022-12-26 18:05:33 +01:00
mcrakhman
0a24886ce6
Change ID to Id
2022-12-26 18:01:18 +01:00
mcrakhman
9da4e0e7e9
Change ACL to Acl
2022-12-26 17:52:39 +01:00
mcrakhman
d35d5c9437
Add comments and change cnames
2022-12-26 17:36:42 +01:00
Sergey Cherepanov
ac018be8b1
Merge pull request #24 from anytypeio/files
...
file fixes: rpcstore context listen
2022-12-26 19:13:43 +03:00
Sergey Cherepanov
6fb720e0ea
files: rpcstore context listen
2022-12-26 18:59:33 +03:00
mcrakhman
e736ff313f
Add generation for textchanges in test client
2022-12-25 21:20:41 +01:00
mcrakhman
f696d774bb
Refactor spacesyncproto
2022-12-25 21:12:17 +01:00
mcrakhman
50dcc735c7
Moving around files and refactoring of common
2022-12-25 20:27:37 +01:00
mcrakhman
3c30f72cd5
WIP refactoring syncstatus headsync
2022-12-25 15:08:26 +01:00
Sergey Cherepanov
874d5bbca0
Merge pull request #22 from anytypeio/files
...
Move fileserver to filenode, filenode in debugapi
2022-12-23 23:26:56 +03:00
Sergey Cherepanov
acf21c7d54
move fileserver to filenode, filenode in debugapi
2022-12-23 21:23:44 +03:00
Sergey Cherepanov
b7d4c27920
Merge pull request #21 from anytypeio/files
...
Files
2022-12-23 13:35:50 +03:00
Sergey Cherepanov
555ff804fe
files: fix syncer loop, check ctx.Done
2022-12-22 14:50:20 +03:00
Sergey Cherepanov
ec900d6e9d
go mod fixes
2022-12-22 14:08:15 +03:00
Sergey Cherepanov
0b27fe7642
merge
2022-12-22 14:01:36 +03:00
Sergey Cherepanov
ad8055635d
gitignore debug.json
2022-12-22 13:46:22 +03:00
Mikhail Rakhmanov
f4a27fb1d3
Merge pull request #20 from anytypeio/status-service
2022-12-21 21:34:00 +01:00
mcrakhman
b0b75ac8ea
Fix sync bugs (connection with different nodes on stream and diff)
2022-12-21 21:24:17 +01:00
mcrakhman
108900e88a
Send head notify message on object create
2022-12-21 19:50:46 +01:00
Sergey Cherepanov
439182cdfa
files: ref, proxyStore, index
2022-12-21 21:23:57 +03:00
mcrakhman
9b0aba1339
Change some parameter names
2022-12-21 10:48:32 +01:00
mcrakhman
b3024740d0
Change naming, add debug mode and remove sh script
2022-12-21 00:23:09 +01:00
mcrakhman
cfd2ea8ece
More cmd fixes
2022-12-20 23:49:36 +01:00
mcrakhman
d0adbf5026
Change command a bit, change debug command parameter
2022-12-20 23:30:32 +01:00
mcrakhman
9d6e0886f4
Add preliminary deploy script
2022-12-20 18:26:47 +01:00
mcrakhman
f1d1a26b64
Few more fixes in tests
2022-12-19 18:51:31 +01:00
mcrakhman
15ccf29f0b
Statusservice refactoring
2022-12-19 17:54:06 +01:00
mcrakhman
ad87d5e545
Update status service
2022-12-19 16:59:43 +01:00
mcrakhman
322a8d144a
Add some comments and checks
2022-12-18 13:43:05 +01:00
mcrakhman
4aa9ce1a27
Change sync status update logic
2022-12-18 13:16:37 +01:00
mcrakhman
364ec32a39
Added simple watcher and statusservice upgrades
2022-12-17 21:48:48 +01:00
mcrakhman
6444042a02
Add status service implementation
2022-12-17 17:19:19 +01:00
mcrakhman
5df4f13938
Add preliminary interfaces for syncstatus
2022-12-17 16:55:15 +01:00
Mikhail Rakhmanov
4eba413631
Merge pull request #19 from anytypeio/sync-fixes
2022-12-17 14:50:26 +01:00
mcrakhman
060c14792c
Fix tests
2022-12-17 14:00:39 +01:00
mcrakhman
a43d25841d
Fixing tests wip
2022-12-16 23:39:00 +01:00
mcrakhman
da0398c103
Fix objecttree tests
2022-12-16 21:16:30 +01:00
mcrakhman
3b320087f3
Add comments and fix streampool test
2022-12-16 21:02:34 +01:00
mcrakhman
0c85336e82
Add queue to sync client
2022-12-16 16:40:23 +01:00
mcrakhman
367bd1978d
Move queue to separate object
2022-12-16 13:09:15 +01:00
mcrakhman
8a6a5a6bc1
More fixes to synctree and objecttree
2022-12-15 21:53:58 +01:00
mcrakhman
c064f89988
Add queue to handle quickly updating records
2022-12-15 17:20:11 +01:00
mcrakhman
c36fe14272
Removed sending under a lock in sync tree handler
2022-12-14 21:37:36 +01:00
Sergey Cherepanov
8a19ea8dcb
file to client
2022-12-14 19:14:47 +03:00
Sergey Cherepanov
d0a4b05706
file-node
2022-12-14 16:37:59 +03:00
mcrakhman
38e055ed12
Add connection with timeout, message limits more logs etc
2022-12-14 14:27:43 +01:00
mcrakhman
0924413056
Fix treebuilder errors
2022-12-13 13:57:23 +01:00
mcrakhman
09acec0d11
More raw loader fixes
2022-12-12 21:22:35 +01:00
Sergey Cherepanov
fa8ac48c2a
merge
2022-12-12 20:53:18 +03:00
Sergey Cherepanov
da70f7b78c
commonfile
2022-12-12 20:49:43 +03:00
mcrakhman
e0c1e6f19d
Fix not taking lock
2022-12-12 17:30:21 +01:00
mcrakhman
b71360ec01
Change obj tree logic to include their heads on add raw changes
2022-12-12 17:17:09 +01:00
mcrakhman
3807d8e6ef
Remove sugared logger
2022-12-09 22:11:22 +01:00
mcrakhman
d7cce3c9fb
Few fixes to syncservice and streamchecker
2022-12-09 21:53:24 +01:00
mcrakhman
5eaa3bfe44
Fix stream checker and tests
2022-12-09 19:55:57 +01:00
mcrakhman
eb078d311a
Add stream checker
2022-12-09 17:16:43 +01:00
Mikhail Rakhmanov
462eb1cc7a
Merge pull request #18 from anytypeio/node-client-rpc
2022-12-06 23:07:46 +01:00
mcrakhman
8b703efb55
Change sync period
2022-12-06 21:02:47 +01:00
mcrakhman
a08c3873b4
Add config gen to Makefile
2022-12-06 21:02:37 +01:00
mcrakhman
2ffd735e25
Add debug client to script and change commands
2022-12-06 18:15:26 +01:00
mcrakhman
761772f09a
Add build helpers for local testing
2022-12-06 16:36:17 +01:00
mcrakhman
de12b35216
Change tree creation logic
2022-12-06 10:20:05 +01:00
mcrakhman
6f8a21e547
More fixes to settingsdocument
2022-12-05 23:04:56 +01:00
mcrakhman
50e3d70f70
Fix incorrect args in debug
2022-12-05 20:02:26 +01:00
mcrakhman
f9a064e9aa
Remove duplicated code
2022-12-05 19:11:16 +01:00
mcrakhman
a8507d8120
Update synctree ping logic
2022-12-05 18:51:59 +01:00
mcrakhman
acf5b95646
Fix notifiable when creating sync tree
2022-12-05 17:21:14 +01:00
mcrakhman
cd197dc7d7
Add scripts
2022-12-05 16:35:14 +01:00
mcrakhman
016543db40
Use cobra command line
2022-12-05 12:43:36 +01:00
mcrakhman
6ed6142129
Add two client script and fix common snapshot bug
2022-12-04 15:02:50 +01:00
mcrakhman
cdfee1232e
Fix syncservice loop
2022-12-03 17:54:10 +01:00
mcrakhman
25191a2443
Fix dfsprev
2022-12-03 15:59:45 +01:00
mcrakhman
339dd2b006
Add tree params and debugging
2022-12-03 15:06:43 +01:00
mcrakhman
eb7a6fb9dc
WIP add snapshot methods to debug api
2022-12-03 14:43:18 +01:00
mcrakhman
8b86ad2918
Check space dir existence before creating new
2022-12-03 13:23:14 +01:00
mcrakhman
3d624adc09
WIP node api
2022-12-03 13:09:15 +01:00
mcrakhman
4062a76e21
WIP node api
2022-12-03 12:44:02 +01:00
mcrakhman
9ae5710854
Simplify space locked solution
2022-12-03 11:48:18 +01:00
mcrakhman
494b7552ce
Stopped space from unloading if trees are still there
2022-12-02 19:45:43 +01:00
mcrakhman
aaecd2ae6d
Move notifiable logic to synctree instead of syncclient
2022-12-02 14:14:02 +01:00
mcrakhman
1e4a25c15d
Add dump heads and new head when adding text
2022-12-02 12:18:38 +01:00
mcrakhman
ea9a51ec02
Add load space methods and fix storage errors
2022-12-02 09:52:04 +01:00
mcrakhman
4593637e23
Add scripts
2022-12-01 22:08:01 +01:00
mcrakhman
bdae3a76d0
Redirect logs and add more commands
2022-12-01 21:28:36 +01:00
mcrakhman
a370efda87
WIP debug client
2022-12-01 16:30:41 +01:00
mcrakhman
bab107ebf6
WIP debug client
2022-12-01 11:15:17 +01:00
mcrakhman
ea6dd0dc99
Client api wip
2022-11-30 23:42:26 +01:00
mcrakhman
20b9a36604
Add api grpc server to client
2022-11-30 22:50:43 +01:00
mcrakhman
b3b50aa8ab
Abstract drpc server and add client drpc api
2022-11-30 22:09:18 +01:00
Mikhail Rakhmanov
f749e967f1
Merge pull request #17 from anytypeio/object-delete
2022-11-30 18:59:11 +01:00
mcrakhman
75b5193dc4
Add idprovider tests
2022-11-29 20:54:44 +01:00
mcrakhman
6bc8124413
Add deleter tests
2022-11-29 19:45:51 +01:00
mcrakhman
06d68e25ac
Add deletionstate tests
2022-11-29 19:37:18 +01:00
mcrakhman
19bc9a0c93
Add settingsdocument tests
2022-11-29 18:53:04 +01:00
mcrakhman
4a3f20b236
Tests and refactoring
2022-11-29 16:54:04 +01:00
mcrakhman
82400407b9
Improve interfaces for synctree, generate mocks
2022-11-28 16:54:31 +01:00
mcrakhman
d49384b98b
Changes for tests and database fixes
2022-11-28 16:15:25 +01:00
mcrakhman
3c1072db4a
Update diffsyncer
2022-11-25 15:24:25 +01:00
mcrakhman
41fde6f1ad
Fix diffservice tests
2022-11-25 15:09:44 +01:00
mcrakhman
620731b464
Re-generate mocks and fix sync tree tests
2022-11-25 14:37:00 +01:00
mcrakhman
558cecea76
Fix more bugs
2022-11-25 11:40:36 +01:00
mcrakhman
ff81bf1fac
Add sync listener nil check
2022-11-25 09:46:01 +01:00
mcrakhman
71717a5dbb
Fix settings document
2022-11-24 22:41:34 +01:00
mcrakhman
9155a3cbf2
Fix tests
2022-11-24 22:20:01 +01:00
mcrakhman
f98d629a78
Add deletion test
2022-11-24 21:03:43 +01:00
mcrakhman
55e04cd2cd
Change push space and some tree deletion logic
2022-11-24 20:24:59 +01:00
mcrakhman
f6d8183001
Simplify deletion pipeline and change other stuff
2022-11-24 01:17:56 +01:00
mcrakhman
b9f4ddd480
Add remove notifial
2022-11-13 14:16:58 +01:00
mcrakhman
0d9360490d
Change deletion logic
2022-11-13 09:35:47 +01:00
mcrakhman
8854bbbe95
Fix some document deletion bugs
2022-11-12 22:55:12 +01:00
mcrakhman
b617cdc690
Add sync loop to settings document
2022-11-12 18:17:01 +01:00
mcrakhman
62d26fbafd
WIP more deletion checks
2022-11-12 17:49:25 +01:00
mcrakhman
6c38474c40
Diff service notify logic
2022-11-12 16:24:06 +01:00
mcrakhman
fed41ba3aa
Add non-encrypted changes and settings document logic
2022-11-12 13:36:30 +01:00
Sergey Cherepanov
181d74a139
ipfs store + cache store impl
2022-11-12 15:22:33 +03:00
mcrakhman
72d83ca171
WIP document deletion
2022-11-11 12:37:45 +01:00
mcrakhman
020b1f1d71
Change pullspace and pushspace methods and handlers
2022-11-10 20:10:57 +01:00
mcrakhman
11e57a43f7
Create space with settings
2022-11-10 19:44:33 +01:00
Sergey Cherepanov
f9647c0691
merge
2022-11-08 14:46:43 +03:00
Mikhail Rakhmanov
92bdf7d57b
Merge pull request #16 from anytypeio/acl-invite
2022-11-07 15:56:05 +01:00
mcrakhman
d5ef4f9313
Add client space
2022-11-07 15:53:27 +01:00
mcrakhman
925005a9de
Fix tests and change peer id context logic
2022-11-07 13:36:10 +01:00
mcrakhman
354ee3b6c7
Merge remote-tracking branch 'origin/acl-sync' into acl-invite
...
# Conflicts:
# common/commonspace/service.go
# common/pkg/acl/aclrecordproto/aclrecord.pb.go
# common/pkg/acl/aclrecordproto/protos/aclrecord.proto
# common/pkg/acl/list/list.go
# common/pkg/acl/storage/inmemory.go
# common/pkg/acl/testutils/acllistbuilder/liststoragebuilder.go
# node/nodespace/rpchandler.go
# node/nodespace/service.go
2022-11-07 12:36:48 +01:00
Sergey Cherepanov
9f080b4533
acl sync handler [wip]
2022-11-07 11:22:48 +03:00
mcrakhman
16b7181ebc
Fix bugs in syncer etc, add peerkey for clients
2022-11-06 22:43:28 +01:00
mcrakhman
7c1d449743
Add load space command
2022-11-06 18:36:25 +01:00
mcrakhman
9bbb1a02e5
Add pull space method to proto and provide get space
2022-11-06 14:25:27 +01:00
Sergey Cherepanov
37035bfacd
node acl service
2022-11-02 13:54:57 +03:00
Sergey Cherepanov
434f149e04
merge
2022-10-31 11:33:42 +03:00
Sergey Cherepanov
25f30cacc2
acl service wip
2022-10-31 11:25:58 +03:00
mcrakhman
8f862fd1a1
Fix building list
2022-10-28 13:24:05 +02:00
mcrakhman
5904815908
Add test for user join build and fix bugs
2022-10-28 13:01:20 +02:00
mcrakhman
36b80c25d4
Add raw record to list
2022-10-28 12:04:23 +02:00
mcrakhman
994ffe3d5f
Change lisstoragebuilder to use inmemorystorage
2022-10-28 11:26:39 +02:00
mcrakhman
08b8ecba32
Change invite logic
2022-10-27 17:09:07 +02:00
Mikhail Rakhmanov
675885d875
Merge pull request #15 from anytypeio/streampool-test
2022-10-27 16:58:01 +02:00
mcrakhman
f0b8e5ab64
Further test refactoring
2022-10-27 16:57:01 +02:00
mcrakhman
9a202207b4
Refactor tests
2022-10-27 16:43:10 +02:00
mcrakhman
f4027b433d
Fix mocks and formatting
2022-10-26 22:05:55 +02:00
mcrakhman
ab4fee8229
Update tests
2022-10-26 22:03:02 +02:00
mcrakhman
1920a190bc
Add space storage test
2022-10-26 21:48:59 +02:00
mcrakhman
b9db1881ca
Add badger list storage and tree storage test
2022-10-26 21:26:36 +02:00
mcrakhman
9c1c1e609d
Finish pogreb tests and fix some issues
2022-10-26 21:00:15 +02:00
Sergey Cherepanov
7a2d366bdd
node acl service (wip), fixes
2022-10-26 17:02:27 +03:00
mcrakhman
6497e461bd
Add list storage
2022-10-26 14:18:44 +02:00
mcrakhman
6a6b750b4e
Add more tree tests
2022-10-26 13:27:57 +02:00
mcrakhman
7b5c51a198
Change tree methods and start adding tree tests
2022-10-26 12:55:47 +02:00
mcrakhman
600ae38c0f
Fix ocache closing
2022-10-25 12:16:04 +02:00
mcrakhman
f5b9275192
Test stream pool
2022-10-24 21:57:19 +02:00
Sergey Cherepanov
c33e944ec4
Merge branch 'main' of github.com:anytypeio/go-anytype-infrastructure-experiments into acl-sync
2022-10-24 16:16:47 +03:00
Mikhail Rakhmanov
8263bbfde2
Merge pull request #14 from anytypeio/add-client-functionality
2022-10-24 14:46:48 +02:00
mcrakhman
305cd2d795
Remove lastusage from syncclient
2022-10-24 14:46:24 +02:00
mcrakhman
93bf6d4dc4
Remove fleet artefacts
2022-10-24 14:44:15 +02:00
mcrakhman
3546fabdfa
Merge branch 'main' into add-client-functionality
...
# Conflicts:
# common/commonspace/syncservice/streampool.go
# consensus/stream/service.go
2022-10-24 14:40:44 +02:00
mcrakhman
f507e4cabd
Better logs in space storage
2022-10-24 12:09:59 +02:00
Sergey Cherepanov
9992b1fa7e
remove debug
2022-10-24 13:05:51 +03:00
mcrakhman
e419e59f1d
Change space payload
2022-10-24 11:59:37 +02:00
Sergey Cherepanov
a3d5a56077
Merge pull request #13 from anytypeio/acl-sync
...
Acl sync
2022-10-24 12:21:20 +03:00
mcrakhman
7bd593f0e5
Stream pool and synctree fixes
2022-10-24 10:31:29 +02:00
mcrakhman
63d353a078
Add tests for sync handler
2022-10-23 22:24:13 +02:00
mcrakhman
bf7a8b0854
Test sync tree
2022-10-23 18:19:15 +02:00
mcrakhman
09f28cf829
Refactor synctree
2022-10-22 16:19:47 +02:00
mcrakhman
58f0cf2916
Change proto and generalise logic
2022-10-22 16:05:06 +02:00
mcrakhman
d6a45cced0
Move concrete logic to concrete packages
2022-10-22 14:23:55 +02:00
mcrakhman
8cc44c4a79
WIP sync refactoring
2022-10-22 13:04:58 +02:00
mcrakhman
5b93c78ebd
Add timeout when waiting in streampool
2022-10-21 23:50:14 +02:00
mcrakhman
2085e3ae40
Don't broadcast when no content added
2022-10-21 21:32:37 +02:00
mcrakhman
3886436841
Storage close and diff fixes and logs
2022-10-21 20:34:37 +02:00
mcrakhman
40ce73db68
Ocache fix tests and return deadline back
2022-10-21 11:21:20 +02:00
mcrakhman
27b3213bac
Fix ranges deadlock
2022-10-21 11:00:38 +02:00
mcrakhman
829cfb3054
Fix bug with nested read locks in diff
2022-10-20 21:48:31 +02:00
mcrakhman
3a3d21cd01
Raw loader and key fixes
2022-10-20 20:12:00 +02:00
mcrakhman
aa47d8ecf8
Fix listener sync tree and diff iter bug
2022-10-20 19:39:45 +02:00
Sergey Cherepanov
e8353897eb
fix tests + remove consensus testclient
2022-10-20 20:20:03 +03:00
Sergey Cherepanov
58f9e623a4
reconnection for consensus client + fixes
2022-10-20 20:14:27 +03:00
mcrakhman
d871c9b061
Fix add text bug
2022-10-20 19:08:43 +02:00
mcrakhman
4da28bcd86
Fix bug with head update not being sent on first receive
2022-10-20 18:56:09 +02:00
mcrakhman
f21f05585c
Fix bugs with storage
2022-10-20 16:02:16 +02:00
Sergey Cherepanov
a606e5f79e
consensus stream watch error
2022-10-20 14:04:59 +03:00
Sergey Cherepanov
15bf4c7018
WIP: acl service
2022-10-20 14:04:26 +03:00
mcrakhman
efa3acc368
Create waiters map
2022-10-19 22:57:34 +02:00
mcrakhman
64e0ba3b77
Fix ocache and streampool bugs, fix push space
2022-10-19 22:21:44 +02:00
mcrakhman
c9ded8956c
Fix bugs appearing while creating tree
2022-10-19 20:21:58 +02:00
mcrakhman
6cb6b91bd4
Document creation fixes
2022-10-19 17:59:12 +02:00
mcrakhman
6470454221
Fix client imports
2022-10-19 15:07:29 +02:00
mcrakhman
a3814f644c
Add client configs to nodegen
2022-10-19 14:09:04 +02:00
mcrakhman
a89d6dc468
Add API service
2022-10-19 13:38:20 +02:00
mcrakhman
ad8f90d12e
Add controller which calls different api methods
2022-10-19 12:48:55 +02:00
mcrakhman
95cb91ffad
Add space and tree close logic and fix some related tests
2022-10-19 12:20:24 +02:00
mcrakhman
04fd072ae9
Add client cmd
2022-10-18 15:16:06 +02:00
mcrakhman
6201951e3b
Add space and document creation logic for client
2022-10-18 14:17:49 +02:00
mcrakhman
9f1735110c
Revert "Push main go remove replace"
...
This reverts commit 440d63ade0 .
2022-10-18 11:17:57 +02:00
mcrakhman
440d63ade0
Push main go remove replace
2022-10-18 11:17:15 +02:00
Sergey Cherepanov
09e3eb3e54
go mod fixes
2022-10-17 18:11:00 +03:00
Sergey Cherepanov
22074a5fbd
mod replace
2022-10-17 17:05:42 +03:00
Sergey Cherepanov
5a17320c44
go workspaces
2022-10-17 15:31:09 +03:00
Sergey Cherepanov
7548082355
move pkgs
2022-10-17 14:11:55 +03:00
Mikhail Rakhmanov
36181b0ef8
Merge pull request #12 from anytypeio/add-node-db
2022-10-17 12:55:59 +02:00
mcrakhman
d478d973fd
Merge branch 'main' into add-node-db
...
# Conflicts:
# config/config.go
# etc/configs/node1.yml
# go.mod
# go.sum
# pkg/ocache/ocache.go
2022-10-17 12:52:12 +02:00
mcrakhman
d80986e6d0
Change space service methods and change list storage
2022-10-17 12:40:55 +02:00
Sergey Cherepanov
f929bf280f
Merge pull request #10 from anytypeio/metrics
...
Prometheus metrics
2022-10-17 12:19:18 +03:00
mcrakhman
0013f64c61
Add preliminary API and fix space service methods
2022-10-16 17:59:16 +02:00
mcrakhman
a2d2c61f1e
Further wip badger
2022-10-16 16:41:01 +02:00
mcrakhman
700e04cc14
Add transaction benchmarks for badger
2022-10-16 10:13:17 +02:00
mcrakhman
baa275b05b
Client badger WIP
2022-10-15 21:43:01 +02:00
mcrakhman
e6d6cae35c
Change tree keys logic
2022-10-15 17:09:25 +02:00
mcrakhman
3facea9a06
Change pogreb implementation
2022-10-15 16:26:03 +02:00
mcrakhman
a1aacbffed
Fix keys and remove close waiter
2022-10-14 13:32:40 +02:00
mcrakhman
401402021a
Add tests for ocache
2022-10-14 12:37:45 +02:00
Sergey Cherepanov
e7602a164a
prometheus handle metrics
2022-10-13 17:00:51 +03:00
mcrakhman
980357509d
Change ocache to include wait for closing
2022-10-13 13:27:18 +02:00
mcrakhman
ad021e5758
Add close waiter and close logic for db
2022-10-12 21:36:16 +02:00
Sergey Cherepanov
5e2a6778f0
change copaction interval
2022-10-12 15:14:19 +03:00
mcrakhman
296d9a86d0
Naming fixes
2022-10-11 23:11:17 +02:00
mcrakhman
85d83ed9ba
Add checks for bench
2022-10-11 23:01:41 +02:00
mcrakhman
d2b64fb272
Add wip benchmarks
2022-10-11 21:30:06 +02:00
Sergey Cherepanov
8970730ec9
fix
2022-10-11 12:36:05 +03:00
Sergey Cherepanov
bc9ffc1a79
merge and fix test
2022-10-11 12:20:49 +03:00
mcrakhman
46f562e91d
Change mutex logic
2022-10-11 11:15:46 +02:00
Sergey Cherepanov
3695a29b32
drpc metrics to quantile
2022-10-11 12:13:31 +03:00
mcrakhman
03eb8834c1
Wire up node
2022-10-11 10:25:29 +02:00
mcrakhman
79f5fc6908
Fix incorrect storage key
2022-10-11 09:56:51 +02:00
mcrakhman
526ddf12d5
WIP storage
2022-10-10 23:08:44 +02:00
mcrakhman
d3acc71d95
Add some raw prototypes for storage
2022-10-10 20:10:47 +02:00
Mikhail Rakhmanov
3438770f30
Merge pull request #11 from anytypeio/sync-tests
2022-10-10 16:02:58 +02:00
Sergey Cherepanov
46d5d464b6
log config
2022-10-10 13:48:56 +03:00
Sergey Cherepanov
01438d630d
fix
2022-10-10 11:38:25 +03:00
mcrakhman
c3d8273caa
SyncTree tests
2022-10-10 09:10:47 +02:00
mcrakhman
2999f2dcdd
Add conf connector and change configuration logic
2022-10-09 21:54:34 +02:00
Sergey Cherepanov
1676d02d80
metric service, ocache and drpc handlers
2022-10-08 20:16:20 +03:00
Sergey Cherepanov
65e7d0a2cd
Merge pull request #9 from anytypeio/consensus-node
...
Consensus node
2022-10-07 17:15:52 +03:00
mcrakhman
afc9141a7c
Merge remote-tracking branch 'origin/consensus-node' into sync-tests
...
# Conflicts:
# Makefile
# go.mod
# go.sum
2022-10-07 16:02:43 +02:00
Sergey Cherepanov
fd8ba951dc
cleanup and comments
2022-10-07 15:06:54 +03:00
Sergey Cherepanov
6374ef8d1b
rewrite for single stream
2022-10-07 11:04:48 +03:00
Sergey Cherepanov
9f16e7c272
pool.Dial* methods + consesus test client
2022-10-05 11:41:48 +03:00
Sergey Cherepanov
b59cc28dc5
consensus client
2022-10-04 17:55:30 +03:00
Sergey Cherepanov
9930db8dc7
ignore consensus nodes in configuratrion
2022-10-04 16:40:40 +03:00
Sergey Cherepanov
9f902bfbe9
nodesgen consensus configs
2022-10-04 16:36:11 +03:00
Sergey Cherepanov
5729a32959
consensus node
2022-10-04 15:39:29 +03:00
mcrakhman
86616b6936
Add sync handler tests
2022-10-03 23:35:25 +02:00
mcrakhman
d7a2a12129
Add head update tests
2022-10-02 22:40:13 +02:00
mcrakhman
274573df28
Further updates to sync logic
2022-10-02 16:11:47 +02:00
mcrakhman
20234269e9
Update sync handler
2022-10-02 11:54:34 +02:00
mcrakhman
edc9a14ef5
Few tree sync fixes and additions
2022-10-01 21:04:31 +02:00
Sergey Cherepanov
7e6c72a198
consistent node db component
2022-09-30 19:16:44 +03:00
mcrakhman
48ae45550d
Add diffservice tests
2022-09-30 16:55:34 +02:00
mcrakhman
aaaab9deca
Add periodicsync test
2022-09-30 16:12:41 +02:00
mcrakhman
53d10dc597
Add more syncer tests
2022-09-30 16:02:47 +02:00
mcrakhman
86ef6d2dd6
Move mocks to separate packages
2022-09-30 15:53:33 +02:00
mcrakhman
beccba6d95
Require no error in tests
2022-09-30 14:43:11 +02:00
mcrakhman
c01441460b
Add push space custom matchers
2022-09-30 14:41:36 +02:00
mcrakhman
68ed132e61
Make sync test
2022-09-30 14:21:48 +02:00
mcrakhman
b9c9424103
Add mock to write diffservice tests
2022-09-30 13:49:31 +02:00
mcrakhman
82eda9a092
Prepare components for testing
2022-09-30 09:28:13 +02:00
mcrakhman
8e6237e885
Separate diff service into components
2022-09-29 16:51:05 +02:00
mcrakhman
e99650615d
Fix circular deps etc
2022-09-29 16:22:56 +02:00
Mikhail Rakhmanov
58b4dc760e
Merge pull request #8 from anytypeio/space-sync
2022-09-29 13:33:37 +02:00
mcrakhman
131f4a6968
Change cache logic
2022-09-28 20:56:11 +02:00
mcrakhman
533880e9f1
Add better error handling
2022-09-28 19:55:47 +02:00
mcrakhman
9be23b4ff7
Add push space logic and change storage interface
2022-09-28 09:18:04 +02:00
mcrakhman
53af9c6c1e
Merge remote-tracking branch 'origin/rpcerr' into space-sync
2022-09-27 21:07:19 +02:00
mcrakhman
51af8c223d
Add space/tree creation and derivation and push space protocol changes
2022-09-27 21:06:49 +02:00
Sergey Cherepanov
dbc951a9d0
rpc errors
2022-09-27 19:43:39 +03:00
mcrakhman
ac3a50a31c
Gen new configs
2022-09-27 14:05:21 +02:00
mcrakhman
c111257f63
Change account logic and add space objects
2022-09-27 13:31:50 +02:00
mcrakhman
67f0b82ae4
Fix keys
2022-09-26 22:26:42 +02:00
mcrakhman
0b97aaa302
Remove unneeded files
2022-09-26 22:20:08 +02:00
mcrakhman
227e7d47ab
Few more fixes, remove node service
2022-09-26 22:15:40 +02:00
mcrakhman
9d73e1d5c1
Remove decoders and fix sync tree
2022-09-26 20:32:59 +02:00
mcrakhman
632d73698f
More test fixes
2022-09-26 14:41:50 +02:00
mcrakhman
674e784318
Make acl list etc compile
2022-09-26 13:47:34 +02:00
mcrakhman
d77d8dbdd1
Fixes to acls
2022-09-26 12:03:20 +02:00
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 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
Sergey Cherepanov
88832596da
WIP: files
2022-09-07 13:01:15 +03: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
b18514d9fe
file bench service
2022-08-31 14:49:35 +03: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
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
Sergey Cherepanov
23deea0c37
remove example service
2022-08-15 20:06:23 +03:00
Sergey Cherepanov
cc2d6194a9
diff container and mod tidy
2022-08-15 20:03:30 +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
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
b7190b6a74
Add read and write methods for treecache
2022-08-10 12:53:15 +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
7eb965977a
Merge branch 'sync-prototype'
2022-08-05 21:06:13 +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
4724fab97e
Add indication in tree graph for non-acl changes
2022-08-03 14:47:31 +02: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
mcrakhman
9aaa80dcc1
Update tree cache for document creation
2022-07-21 11:03:39 +02:00
mcrakhman
3463b8d374
WIP sync logic prototype with server
2022-07-19 10:40:31 +02:00
mcrakhman
16b3787258
WIP stream logic
2022-07-19 01:43:21 +02:00
mcrakhman
269f907d1d
Add message service to handle streams
2022-07-19 00:47:22 +02:00
mcrakhman
5f2144db0f
Use account key instead of generating new
2022-07-18 22:27:27 +02:00
mcrakhman
693c159360
Merge remote-tracking branch 'origin/grpc-experiments' into sync-prototype
...
# Conflicts:
# cmd/node/node.go
2022-07-18 14:45:25 +02:00
mcrakhman
7a6c42df62
Add oneof to sync proto
2022-07-18 10:45:05 +02:00
mcrakhman
9f984054b6
Create new tree logic
2022-07-17 13:34:07 +02:00
Sergey Cherepanov
1400e57cf7
merge
2022-07-17 09:54:59 +03:00
Sergey Cherepanov
7f4b18104f
drpc server, libp2p tls connections
2022-07-17 09:44:16 +03:00
mcrakhman
d9452509b5
WIP new document logic
2022-07-16 14:24:27 +02:00
mcrakhman
d120da8000
Move logic to different components
2022-07-16 13:21:46 +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
Sergey Cherepanov
48af2866d2
remove drpc
2022-07-15 12:35:54 +03: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
Sergey Cherepanov
cbfaf7fd91
drpc experiment
2022-07-14 16:59:01 +03:00
mcrakhman
abc6f68062
WIP pubsub and sync logic
2022-07-14 14:28:37 +02:00
Mikhail Rakhmanov
1331123fb4
Merge pull request #3 from anytypeio/improve-acl-naming-and-packages
2022-07-14 13:17:16 +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
Sergey Cherepanov
8552b676cb
grpc server and test client implementation
2022-07-14 00:22:28 +03: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
mcrakhman
d439b804fe
Update keys
2022-07-13 20:52:56 +02:00
Sergey Cherepanov
84c2ee1e1c
Merge pull request #2 from anytypeio/initial-structure
...
Initial structure
2022-07-13 21:11:10 +03:00
Sergey Cherepanov
fecae2228d
add pkg/ocache
2022-07-13 21:10:48 +03:00
Sergey Cherepanov
2580b7693c
gitignore for bin
2022-07-13 20:20:43 +03:00
Sergey Cherepanov
a62e713219
project structure proposal
2022-07-13 20:09:19 +03:00
Sergey Cherepanov
410780d051
fix go.sum
2022-07-13 19:23:16 +03:00
Sergey Cherepanov
bb910e20ac
inital structure: app, config, node binary
2022-07-13 19:18:43 +03:00
Sergey Cherepanov
31a735ca25
move acl tree files to acl folder
2022-07-13 19:17:50 +03:00
mcrakhman
3d069dbb1c
Merge branch 'add-data-package-with-acl'
2022-07-13 13:49:44 +02:00
mcrakhman
5b3f594b2b
Remove unneded plaintextdocument file
2022-07-13 09:00:10 +02:00
mcrakhman
3643719161
Improve test
2022-07-12 23:13:51 +02:00
mcrakhman
d743317069
Add document tests
2022-07-12 23:07:05 +02:00
mcrakhman
f274181270
Add test for thread utility
2022-07-12 21:27:27 +02:00
mcrakhman
c90af47f02
Change InviteId logic and add UserAdd to change builder
2022-07-12 20:25:13 +02:00
mcrakhman
7496c79ae5
Add test for rebuild useCase
2022-07-12 17:46:08 +02:00
mcrakhman
11d3d93693
Add first update test
2022-07-12 16:57:02 +02:00
mcrakhman
277d40761b
Change updates format in yaml
2022-07-12 16:33:22 +02:00
mcrakhman
27ec72cdb9
Fix header parse and add todos
2022-07-12 13:26:06 +02:00
mcrakhman
e17e8e15c7
Simplify paths to yaml tests
2022-07-12 10:55:09 +02:00
mcrakhman
4b6ec6f310
Change first thread entry handling
2022-07-12 10:27:02 +02:00
mcrakhman
04c55cd602
Add synchronization to inmemory store
2022-07-12 09:01:06 +02:00
mcrakhman
c242ef49a6
WIP plaintextdocument
2022-07-12 08:55:30 +02:00
mcrakhman
4502ca7bf4
WIP plain text document
2022-07-12 08:45:13 +02:00
mcrakhman
9c72f05fbd
Add inmemory thread and build logic
2022-07-12 00:30:33 +02:00
mcrakhman
1fb82a6d7f
Update changebuilder to include CID creation
2022-07-11 23:56:13 +02:00
mcrakhman
9242f78b88
Add thread header and make snapshot
2022-07-11 23:40:44 +02:00
mcrakhman
5b9d403b7d
Add tree updater to ACL tree
2022-07-11 11:28:58 +02:00
mcrakhman
cc802ebc69
WIP ACLTree tests
2022-07-10 17:33:27 +02:00
mcrakhman
0129c97c83
Change ACLTree methods to include change builder
2022-07-10 17:14:15 +02:00
mcrakhman
fc01b705a5
Add logic update and create logic
2022-07-10 15:53:50 +02:00
mcrakhman
126d080c63
WIP Change interface rework
2022-07-10 11:44:02 +02:00
mcrakhman
d5614eb5ee
WIP ACLTree
2022-07-08 15:13:01 +02:00
mcrakhman
c07b26d568
WIP ACLTree
2022-07-08 12:31:06 +02:00
mcrakhman
11fcb088e5
WIP ACLTree and moving files to packages
2022-07-08 11:33:32 +02:00
mcrakhman
f889aa1b71
Continue adjusting folder structure
2022-07-08 10:52:06 +02:00
mcrakhman
ee123efd7d
WIP change package structure
2022-07-08 10:19:43 +02:00
mcrakhman
94f53aabe1
WIP create change continue
2022-07-07 11:32:02 +02:00
mcrakhman
9fe502057e
WIP change creation logic
2022-07-07 11:11:34 +02:00
mcrakhman
17c556607a
Add simple update test
2022-07-07 09:18:55 +02:00
mcrakhman
a18938d0b1
Add document build test
2022-07-07 08:53:47 +02:00
mcrakhman
d08fb78357
Add updated changes to thread builder
2022-07-07 08:47:11 +02:00
mcrakhman
906d2b6614
Fix some bugs
2022-07-06 23:35:43 +02:00
mcrakhman
a09e7ca1cb
Add new heads logic
2022-07-06 23:24:11 +02:00
mcrakhman
3ad690d624
WIP document update
2022-07-06 21:51:00 +02:00
mcrakhman
db06096169
Add Build method to document
2022-07-05 18:09:45 +02:00
mcrakhman
99d67d531b
Change init logic and fix tests
2022-07-05 17:21:45 +02:00
mcrakhman
4e8585bf9a
WIP change init logic
2022-07-05 15:58:11 +02:00
mcrakhman
376e5ba119
Unify changes loading in change loader
2022-07-05 15:42:17 +02:00
mcrakhman
3395f35b59
WIP work on document structure
2022-07-05 11:59:01 +02:00
mcrakhman
102b33c3dc
Add some comments in tests
2022-07-04 13:42:29 +02:00
mcrakhman
aa4222588a
Further fixes including tests
2022-07-04 13:28:16 +02:00
mcrakhman
15deb66dff
Fix tree builder bugs related to dfs
2022-07-04 11:22:37 +02:00
mcrakhman
4a5da29cfe
Fix first ACL test and threadbuilder
2022-07-03 18:15:33 +02:00
mcrakhman
18963546ef
Add plain text document state
2022-07-03 17:51:14 +02:00
mcrakhman
3404626dd6
Fix threadbuilder and change examples
2022-07-03 17:35:21 +02:00
mcrakhman
e970fa1d4d
Make doc state building more abstract
2022-07-03 16:38:48 +02:00
mcrakhman
e5b3b7a3c0
Some more fixes for trees and stuff
2022-07-02 22:34:50 +02:00
mcrakhman
64eb6581e3
Further refactoring of ACL logic
2022-07-01 11:39:42 +02:00
mcrakhman
dc9f6f3917
Add some deps for threadbuilder
2022-07-01 10:54:47 +02:00
mcrakhman
3c2cd5d936
Rework threadbuilder for new change format
2022-06-30 18:52:20 +02:00
mcrakhman
6e98744aab
Add makefile and proto generating
2022-06-29 18:30:44 +02:00
mcrakhman
4beb0d2902
Start adding ACLs
2022-06-28 15:37:09 +02:00
Mikhail Rakhmanov
9c62ec1d2c
Initial commit
2022-06-28 13:37:24 +02:00