472 Commits

Author SHA1 Message Date
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
29d1a618e5 test: Fix relay timeouts. 2023-10-09 17:32:54 +01:00
Hayden Young
6d82ad2b31 test: Dial peers. 2023-09-28 20:57:00 +01:00
haad
f86564db13 Fix helia tests 2023-09-28 16:14:57 +03:00
Hayden Young
d917e11b6e test: Hang up relay. 2023-09-28 08:08:23 +01:00
Hayden Young
f28aa476f7 test: Relay for web browser testing. 2023-09-26 03:22:06 +01:00
Hayden Young
ec8b17352a fix: Deregister all events to complete stop sync. 2023-09-25 19:32:36 +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
72ebd7ebc2 Close databases when orbitdb is stopped 2023-09-13 07:49:28 +03:00
Hayden Young
954767e50f chore: Fix lint issues. 2023-09-08 01:34:41 +01:00
Hayden Young
858c66fe86 test: Override default keyvalue with indexed keyvalue. 2023-09-08 00:53:59 +01:00
Hayden Young
a8d241cd7b test: Basic tests for identity configuration. 2023-09-08 00:14:42 +01:00
Hayden Young
8fb09a959d chore: Fix lint issues. 2023-09-07 14:49:43 +01:00
Hayden Young
c42f28740a fix: Async both the idp and the verifyIdentity function. 2023-09-07 13:44:24 +01:00
Hayden Young
c75b805ed1 refactor: Use an identity provider. 2023-09-07 09:38:19 +01:00
Hayden Young
06ea870308 refactor: Use an access controller. 2023-09-07 09:34:48 +01:00
Hayden Young
7888ff06a3 refactor: Use a database type. 2023-09-07 09:29:33 +01:00
Hayden Young
a0fc91d674 chore: Lint fixes. 2023-09-05 23:01:37 +01:00
Hayden Young
b0296838bb refactor: Align AC/IDP/Database registration processes. Should return similar errors. 2023-09-05 22:53:47 +01:00
Hayden Young
c4f085b267 refactor: Match database registration to AC/IDP registration processes. 2023-09-05 22:52:51 +01:00
Hayden Young
cc2ee0fe2a test: Check for valid IDP when creating an identity. 2023-09-04 17:35:01 +01:00
Hayden Young
a552bde0b0 fix: Export the IDP type in both the function definition and the function return values. 2023-09-04 17:03:10 +01:00
Hayden Young
c08bf8d2d0 refactor: Move type and verifyIdentity into IDP function. Pass provider as using provider param. 2023-09-04 10:39:25 +01:00
Hayden Young
0a5a6ed1ac refactor: Identity provider can be passed as partially instantiated function. 2023-09-04 00:43:27 +01:00
haad
ef56b9f9b1 Fix db instance caching 2023-09-01 09:03:34 +03:00
Hayden Young
5f5d25d4c1 chore: Fix lint issues. 2023-08-15 01:09:51 +01:00
Hayden Young
5079d490d9 refactor: Rename OrbitDB entry point. 2023-08-15 00:55:27 +01:00
haad
f368e2ef73 Fix OrbitDB AC test 2023-07-29 09:27:23 +03:00
haad
b105c84f99 Fix Sync timeout and events tests 2023-07-29 09:23:20 +03:00
haad
5032415e01 Fix OrbitDBAccessController address and return values 2023-07-29 09:18:17 +03:00
Hayden Young
af57db4337 refactor: Change package name orbit-db -> orbitdb. 2023-07-15 15:44:06 +01:00
Hayden Young
b5cd67bed1 test: Match db tests to module names. 2023-06-27 15:03:10 +01:00
Hayden Young
546e3ea601 test: Match namespace for database tests. 2023-06-27 14:57:09 +01:00
Hayden Young
44752a464e refactor: Use hash instead of path when referencing orbitdb addresses. 2023-06-27 14:06:31 +01:00
Hayden Young
cdbe76d708 refactor: Match databases dir to namespace. 2023-06-27 13:33:08 +01:00
Hayden Young
9befa48a7a docs: Formatting. 2023-06-24 23:50:44 +01:00
Hayden Young
578f4890b9 docs: Do not expose internal OrbitDBAddress function. 2023-06-24 16:28:49 +01:00
Hayden Young
222c7234fe refactor: Rename manifest store. 2023-06-22 01:10:12 +01:00
Hayden Young
a525d91e8f docs: Expose access controllers/identity providers/dbs directly. Remove get* functions for AC/IP/DB loaders. 2023-06-21 21:19:35 +01:00
Hayden Young
4c3a338205 refactor: Standardize module loader functions. Do not expose module lists. 2023-06-18 03:05:07 +01:00
Hayden Young
8b93553d0e refactor: Move database type management to db module. 2023-06-18 02:43:03 +01:00
Hayden Young
6def69f345
Identity issue (#82)
* docs: Correctly print out db query results.

* test: Remove concurrent.

* test: Remove unimplemented and 3rd party AC tests.

* test: Remove unimplemented and 3rd party identity tests.

* docs: Move jsdoc config to conf directory.

* Point package.json main at index.js to access all exported functions.

* test: Identities storage pointing at wrong location.

* refactor: Identities is configurable when creating an OrbitDB instance.
2023-06-13 23:55:25 +08:00