19 Commits

Author SHA1 Message Date
Hayden Young
c8914a74ec fix: Lint issues. 2023-10-14 14:55:03 +01:00
Hayden Young
649c2dfc91 test: Use unique db names to avoid db close errors. 2023-10-14 14:50:58 +01:00
Hayden Young
7123556a27 test: Drop dbs after each test. 2023-10-14 01:48:21 +01:00
Hayden Young
7f87b64542 test: Wait for db2 to close before re-opening. 2023-10-12 23:55:51 +01:00
Hayden Young
e609d33ae8 chore: Output stack. 2023-10-11 23:30:35 +01:00
Hayden Young
3b3f90501c fix: Stop sync before removing listeners. 2023-10-11 22:24:05 +01:00
Hayden Young
a44323851f test: Pause between db close/open when testing deterministic AC. 2023-10-10 19:49:33 +01:00
Hayden Young
e8146bb2ff fix: Lint issues. 2023-10-10 19:42:15 +01:00
Hayden Young
4213bdb241 test: Disable db re-open when testing deterministic AC. 2023-10-10 19:38:53 +01:00
Hayden Young
15ec24570b test: Only run single test to isolate premature db closure during CI. 2023-10-10 19:22:28 +01:00
Hayden Young
5cd69a4b99 test: Skip test to isolate premature db closure during CI. 2023-10-10 18:36:32 +01:00
Hayden Young
31597d7084 refactor: Support Helia. 2023-09-23 16:25:29 +01:00
Hayden Young
170d9a9b7c chore: Update npm packages. 2023-09-18 14:12:43 +01:00
haad
f368e2ef73 Fix OrbitDB AC test 2023-07-29 09:27:23 +03:00
haad
5032415e01 Fix OrbitDBAccessController address and return values 2023-07-29 09:18:17 +03:00
Hayden Young
dadf4c34e7
refactor: Adhere to case naming convention for OrbitDB module. (#67) 2023-04-06 22:39:05 +08: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
saul
1c16a7155c Replace ipfs package with ipfs-core. 2023-03-27 12:59:51 +13:00
Hayden Young
b9422463d0
chore: Check required params. (#46)
* chore: Check required params.

* fix: Linting.

* feat: Specify a list of peers with write access.

* test: Identify OrbitDB tests.

* test: IPFS access controller.

* test: Omit "OrbitDB" from test labels.

* test: Correctly set write options.

* fix: Linting.
2023-03-25 06:00:08 +08:00