1542 Commits

Author SHA1 Message Date
haad
13d5c93701 Clean up test files 2023-03-02 06:00:45 +02:00
haad
de15c6250b Expose storage modules from OrbitDB index 2023-03-02 05:50:40 +02:00
haad
4a7d3f0720 Move files, clean up 2023-03-01 18:16:06 +02:00
Haad
ff03d63ae6
Merge pull request #16 from orbitdb/dev/new-orbit
Refactor OrbitDB
2023-03-01 17:23:12 +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
Hayden Young
dd1f27713f
Merge pull request #14 from orbitdb/refactor/key-store
refactor: wip.
2023-03-01 21:57:48 +08:00
Hayden Young
ddf56a186f
Merge pull request #15 from orbitdb/refactor/new-keys
Add new test keys fixtures database
2023-03-01 21:13:55 +08: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
8b16332bd6 feat: Default cache size. 2023-02-27 16:12:08 +00:00
Hayden Young
45770b05ac feat: Default keystore location. 2023-02-27 16:10:50 +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
7cd2831a82 fix: Missing KeyValue verify. 2023-02-26 23:25:43 +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
13f02ba580 refactor: Defaults. 2023-02-26 18:16:06 +00:00
Hayden Young
be2d5900de refactor: wip. 2023-02-24 19:57:16 +00:00
Haad
4b8379cbbb
Merge pull request #13 from orbitdb/test/db-test-restructure
Test/db test restructure
2023-02-24 08:32:20 +02: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
3f9afe627c feat: Do not export Feed store. 2023-02-24 00:51:25 +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
61fe23c8d5 chore: Enable linting of tests. 2023-02-23 16:12:21 +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
Hayden Young
96bd3eab1b
Merge pull request #12 from orbitdb/fix/log-iterator
Fix log iterator
2023-02-22 19:51:31 +08:00
haad
e03af7e905 Fix tests 2023-02-22 10:09:15 +02:00
haad
2189f39b3d Fix Log's iterator and traverse logic 2023-02-22 10:09:07 +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
4c40f6947f
Merge pull request #9 from orbitdb/refactor/identity-provider
Refactor IdentityProvider
2023-02-20 12:15:51 +02: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
bbb6ef9e2b
Merge pull request #11 from orbitdb/fix/add-queue-to-database
Add a queue to Database
2023-02-20 09:40:42 +02:00
haad
b769ff271d Add a queue to Database 2023-02-20 09:39:46 +02:00