saul
b3e4a093ca
Remove cpy-cli.
2023-04-04 14:10:43 +12:00
saul
23aee1d1ec
Remove p-map package and replace with Promise.all.
2023-04-04 14:05:25 +12:00
saul
1cca881a9e
Remove logplease.
2023-04-04 14:01:23 +12:00
Hayden Young
428ce83878
Refactor/ac ( #61 )
...
* refactor: Move Manifest to own module.
* refactor: Modularize orbitdb access controller.
* chore: Check for correct access controller path and modify if necessary.
* fix: Linting.
* refactor: AC interface no longer needed.
* refactor: Move IPFS-specific AC list back into IPFS AC.
* refactor: Explicitly name access controller param.
* refactor: Pass in manifest settings as object.
* refactor: Config access controllers.
* refactor: ACs should expose specific params before being called with generic params.
* feat: Pass write access to root IPFS AC.
* refactor: AC should handle type prefix.
* test: Test for type.
* refactor: Pass generic access to Database (and inheriting dbs).
* refactor: Use AccessControllers module to manage custom ACs.
* chore: Remove excess console logging.
* test: Fix ipfs module import.
2023-04-03 19:56:47 +08:00
Haad
a027525e5c
Merge pull request #57 from saul-jb/feat/path-refactor
...
feat: Remove dependence on path.
2023-03-29 18:20:11 +03:00
Haad
a5c14d5377
Fix log fetching parallelism ( #60 )
...
* Fix log traverse parallelism
* Rename pointerCount to referencesCount
2023-03-29 21:10:24 +08:00
saul
9c1af3deb8
Fix test descriptions.
2023-03-29 11:15:44 +13:00
saul
ce5e177813
Skip path join tests in environments where it is undefined.
2023-03-29 11:10:09 +13:00
saul
3335c8b698
Cleanup path join tests.
2023-03-29 10:47:38 +13:00
saul
9ca2408453
Change default join to posix.
2023-03-29 10:39:54 +13:00
saul
ed28fb4136
Expand test with harder tests.
2023-03-29 10:37:10 +13:00
saul
194ecafb0a
Fix issue using posix paths with win32 join.
2023-03-29 10:13:19 +13:00
saul
d3162d898f
Add path join tests.
2023-03-29 09:57:48 +13:00
Haad
0b635666fd
Merge pull request #59 from orbitdb/fix/join-entry
...
Fix joinEntry traversing by checking refs both ways
2023-03-28 11:30:43 +03:00
haad
52fc82a859
Fix joinEntry traversing by checking refs both ways
2023-03-28 11:29:25 +03:00
Haad
bb99931440
Merge pull request #52 from saul-jb/fix/top-async
...
fix: Move top-level await to method.
2023-03-28 10:47:18 +03:00
Haad
fddb6c704e
Merge pull request #58 from saul-jb/fix/is-defined
...
refactor: Remove is-defined util.
2023-03-28 10:46:25 +03:00
saul
35a6bf121c
Remove is-defined util.
2023-03-28 15:01:21 +13:00
saul
3433e0a0f6
Remove topLevelAwait from webpack configs.
2023-03-28 14:22:21 +13:00
saul
33a53cf765
Fallback webpack test config process var.
2023-03-28 14:07:43 +13:00
saul
07ddc99858
Add process back to webpack test config.
2023-03-28 13:52:44 +13:00
saul
34238dd852
Fix linter errors.
2023-03-28 13:44:07 +13:00
saul
1b03b58d14
Remove redundant webpack configs.
2023-03-28 13:38:20 +13:00
saul
3c79588778
Fix process undefined error in browsers.
2023-03-28 13:04:08 +13:00
saul
06a68bbe1c
Replace usages of path with path join util.
2023-03-28 12:55:15 +13:00
saul
7ce1257cf9
Add posix and win32 variations to path join.
2023-03-28 12:55:11 +13:00
saul
cf421ee669
Add path joining utility.
2023-03-28 12:16:42 +13:00
saul
f064deafb1
Move the cache back outside the verify message method.
2023-03-28 08:55:45 +13:00
Haad
edb913a0ed
Merge pull request #56 from orbitdb/fix/benchmarks2
...
Use ipfs-core in benchmarks
2023-03-27 15:12:43 +03:00
haad
460749c173
Use ipfs-core in benchmarks
2023-03-27 15:12:05 +03:00
Haad
fddcd0d775
Fix tests ( #51 )
...
* Fix error event test in Sync tests
* Fix race condition
* Debug timeouts
* More tests fixing
* Try running local webrtc-star-signalling server for tests
* Fix sync tests
* Skip Log references tests in the browser tests
2023-03-27 20:09:26 +08:00
Haad
4fe1b0c1a1
Add Entry index to Log ( #48 )
...
* Turn off IPFS console.log output for tests
* Fix replication and sync tests
* Close keystore after tests in IPFSAccessController tests
* Fix error event test in Sync tests
* Fix race condition
* Add entry index to Log
* Clean up storage files
* Fix tests
* Fix linter
2023-03-27 18:09:44 +08:00
Haad
f396d97a69
Merge pull request #55 from orbitdb/fix/ci
...
Run tests on pull requests
2023-03-27 07:13:57 +03:00
haad
538a397f32
Run tests on pull requests
2023-03-27 07:12:44 +03:00
Haad
893e34451d
Merge pull request #53 from saul-jb/feat/buffer-refactor
...
feat: remove dependence on buffer/safe-buffer
2023-03-27 07:05:42 +03:00
Haad
1ff1fd5d90
Merge pull request #54 from saul-jb/fix/ipfs-core
...
fix: Replace ipfs with ipfs-core.
2023-03-27 07:01:12 +03:00
saul
1c16a7155c
Replace ipfs package with ipfs-core.
2023-03-27 12:59:51 +13:00
saul
92dcad1a6e
Remove safe-buffer.
2023-03-27 11:50:56 +13:00
saul
2845c138c5
Remove buffer usage from tests.
2023-03-27 11:48:30 +13:00
saul
b0483a1b60
Fix public key test.
2023-03-27 11:24:21 +13:00
saul
82fcc830ec
Replace usage of Buffer with Uint8Array.
2023-03-27 11:23:36 +13:00
saul
b6f1943f3e
Add uint8arrays package.
2023-03-27 10:01:31 +13:00
saul
29ba745e4a
Move top-level await to method.
2023-03-27 09:16:47 +13:00
Haad
256e3f50e0
Merge pull request #50 from orbitdb/fix/browser-tests
...
Fix Sync state
2023-03-26 08:42:01 +03:00
haad
2308f01a99
Fix Sync state
2023-03-26 08:35:06 +03:00
Haad
3f138ab98b
Merge pull request #49 from orbitdb/fix/lru-for-identities
...
Add LRUStorage to identities
2023-03-25 14:31:46 +02:00
haad
2501f8c9de
Add LRUStorage to identities
2023-03-25 14:30:48 +02:00
Haad
82fae426f5
Merge pull request #47 from orbitdb/dev/improve-benchmarks
...
Dev/improve benchmarks
2023-03-25 12:38:03 +02:00
haad
06dbbc83af
Clean up benchmarks
2023-03-25 12:34:02 +02:00
haad
39f5face5a
Add optional flag to disable automatic sync per database
2023-03-25 12:34:02 +02:00