455 Commits

Author SHA1 Message Date
haad
ebdafaa248 Improve sync protocol event handling 2023-03-03 07:38:25 +02:00
haad
eacada3ab2 Don't use secp256k1.publicKeyConvert function 2023-03-02 10:08:07 +02:00
haad
9f50fb5e53 Use js-ipfs only in tests 2023-03-02 09:08:17 +02:00
haad
739ddc9ded Disable Ethereum and DID identity providers for now 2023-03-02 08:32:28 +02:00
haad
dd22ceabb7 Fix tests, remove old fixtures data 2023-03-02 08:16:59 +02:00
haad
b1e953d926 Clean up database tests 2023-03-02 07:41:44 +02:00
haad
2c6e40c0f1 Fix identity storage path and clean up tests 2023-03-02 07:24:21 +02:00
haad
fbc76b4b31 Clean up oplog tests 2023-03-02 07:08:05 +02:00
haad
13d5c93701 Clean up test files 2023-03-02 06:00:45 +02:00
haad
4a7d3f0720 Move files, clean up 2023-03-01 18:16:06 +02:00
haad
a063b3fb4a Refactor OrbitDB
Fix sync
Fix linter
Fix tests
Clean up
Set default references count to 0
Fix sync
Use address instead of databaseId
Sync protocol
Keep references to open databases in OrbitDB
Fix append benchmark
Initial version of heads exchange
Remove Feed
Fix KeyValuePersisted iterator
Refactor OrbitDBAddress a bit more
Add rest of the database types
Refactor OrbitDB addresses
Initial version for the full circle
Initial structure and tests for new OrbitDB
Make sure KeyStore is open when a Database is created
Re-organize OrbitDB
Use new databases and Log
More clean up
Add 'drop' event to Database
Clean up OrbitDB
Remove id from OrbitDB
Use new KeyStore and Identities
Remove storage from OrbitDB
Remove migrations from OrbitDB
Remove caches from OrbitDB
Remove pubsub from OrbitDB
2023-03-01 16:21:07 +02:00
haad
1575f00912 Add new test keys fixtures database 2023-03-01 14:49:00 +02:00
Hayden Young
f6368c2645 feat: Implement new keystore across tests. 2023-03-01 10:01:17 +00:00
Hayden Young
ba71a7985e feat: Use composite storage for key store. 2023-02-28 16:30:36 +00:00
Hayden Young
0c5c44e429 refactor: Generate keys using crypto. 2023-02-28 03:34:55 +00:00
Hayden Young
bf86156f9f refactor: Use KeyStore as function. Export signMessage and verifyMessage to avoid clashes with similarly named functions. 2023-02-27 02:42:18 +00:00
Hayden Young
2e8530e7b1 test: Persisted keyvalue with KeyStore. 2023-02-26 23:23:27 +00:00
Hayden Young
0dac15ba7f test: Signing and verifying. 2023-02-26 18:16:28 +00:00
Hayden Young
be2d5900de refactor: wip. 2023-02-24 19:57:16 +00:00
haad
e8c1ead900 Fix EventStore tests 2023-02-24 08:30:47 +02:00
Hayden Young
1fe62104c6 refactor: queue writes to index. 2023-02-24 02:51:56 +00:00
Hayden Young
678ba05e50 feat: Do not include Feed as a store. 2023-02-24 00:50:38 +00:00
Hayden Young
3f70f4ddd2 refactor: Do not return hash as part of iterator result. 2023-02-24 00:46:56 +00:00
Hayden Young
0cdd740df6 test: Key/Value. 2023-02-23 02:36:50 +00:00
Hayden Young
3027b9dfbd test: Feed test. 2023-02-23 00:05:19 +00:00
Hayden Young
ba521f7bc2 test: Ranges. 2023-02-22 21:07:08 +00:00
Hayden Young
56a3860154 test: Remove redundant tests 2023-02-22 16:42:50 +00:00
Hayden Young
0381c74146 test: Iterator option tests. 2023-02-22 16:39:05 +00:00
haad
e03af7e905 Fix tests 2023-02-22 10:09:15 +02:00
Hayden Young
d7d4d72ce9 test: amount, lt, lte, gt, gte. 2023-02-22 02:34:56 +00:00
Hayden Young
8db138ac9d refactor: Return hash and value. 2023-02-21 17:22:27 +00:00
Hayden Young
f252e3b332 feat: Iterator can return full operation. 2023-02-21 14:26:43 +00:00
Hayden Young
fe207a9020 test: Test event store iterator options. 2023-02-21 02:47:05 +00:00
Hayden Young
d8145edcc3 test: Move store tests to subdir. 2023-02-20 23:44:56 +00:00
Hayden Young
421bd5c694 test: Move db replication to own location. 2023-02-20 23:36:20 +00:00
Hayden Young
06917ffa7c test: Test single document store. 2023-02-20 23:30:08 +00:00
haad
0b385e5c57 Clean ups 2023-02-20 12:12:50 +02:00
haad
f84915fca8 Merge identity keys and signing keys keystores 2023-02-20 11:21:34 +02:00
haad
0caa34afcb Change Identity's signatures structure 2023-02-20 10:51:12 +02:00
haad
0e0c160b20 Clean up after tests 2023-02-20 09:41:41 +02:00
haad
4b4d2ff35c Refactor Identity 2023-02-20 09:41:41 +02:00
haad
5b6a70c7cc Refactor IdentityProvider 2023-02-20 09:41:41 +02:00
haad
19ce1ce160 Re-organize IdentityProvider 2023-02-16 14:50:14 +02:00
haad
fe8d469a7c Add IdentityProvider tests 2023-02-16 14:49:27 +02:00
haad
60fd0239bb Add IdentityProvider test fixtures 2023-02-16 14:48:50 +02:00
haad
6c19219cba Rename *.spec to *.test 2023-02-16 13:32:44 +02:00
haad
dc5a0edd93 Move Log to oplog directory, refactor references 2023-02-16 13:10:20 +02:00
haad
7503bd30bb Rename db/interface to db/database 2023-02-16 12:40:15 +02:00
haad
967abafb8d Re-organize oplog tests 2023-02-16 12:32:10 +02:00
haad
5903e41a83 Run all tests 2023-02-16 12:29:54 +02:00