Commit Graph
1005 Commits
Author SHA1 Message Date
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
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 v0.0.36 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 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 v0.0.35 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
v0.0.34
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