1885 Commits

Author SHA1 Message Date
Hayden Young
222c7234fe refactor: Rename manifest store. 2023-06-22 01:10:12 +01:00
Hayden Young
4a2f2d6809 docs: Distinguish between opening a new db and opening an existing one. 2023-06-22 00:28:05 +01:00
Hayden Young
41230d6150 docs: Fix referenceCount definition. 2023-06-22 00:20:33 +01:00
Hayden Young
877d6b38ea docs: Metadata new db vs opening db. 2023-06-22 00:17:08 +01:00
Hayden Young
8f88098ee7 docs: Sync default is true. 2023-06-22 00:15:13 +01:00
Hayden Young
7d31c9a763 docs: Correct default ComposedStorage. 2023-06-22 00:00:38 +01:00
Hayden Young
b3fcd36237 docs: Link to IPFSAccessController. 2023-06-21 22:34:08 +01:00
Hayden Young
6c34ff79ab Merge remote-tracking branch 'origin' into docs/pre-release 2023-06-21 21:47:14 +01:00
Hayden Young
bb0b65a158
Merge pull request #86 from orbitdb/module-loaders-retrieval
Module loaders retrieval
2023-06-22 04:23:44 +08: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
29a901d6dc docs: Expand on param. 2023-06-20 00:28:16 +01:00
Hayden Young
f676410543 docs: Do not include in API docs. For internal use only. 2023-06-20 00:26:29 +01:00
Hayden Young
0ca2256b39 docs: PublicKeyIdentityProvider is namespace of IdentityProviders. 2023-06-20 00:24:51 +01:00
Hayden Young
59d8bdc90a docs: Remove docblocks for Identity. Document Identity properties and functions. 2023-06-19 02:24:52 +01:00
Hayden Young
4fa3b0c115 docs: Remove docblocks for internal functions. 2023-06-19 01:54:54 +01:00
Hayden Young
a243efff71 docs: Remove implementation of custom ACs in API. 2023-06-19 01:35:11 +01:00
Hayden Young
58bcdb4855 docs: Change API output dir. 2023-06-18 20:36:04 +01:00
Hayden Young
4e5b6bb597 chore: Simplify error checking. 2023-06-18 19:33:48 +01:00
Hayden Young
7fafda8416 docs: type is required. 2023-06-18 03:22:18 +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
85e6848f4c
Pre release (#85)
* docs: Update README to match new version.

* docs: Update events example to use new API.

* 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.

* docs: Vetted AC docs; these examples should work if implemented in code. Explicitly show orbit-db function imports.

* docs: Fix incorrectly declared write objects.

* docs: Improved canAppend documentation. Better JS syntax highlighting.

* docs: wss and define filters for localhost separately.

* docs: Simplified webSockets implementation with filters.

* docs: Return manifest json only (no hash). JS highlighting.

* docs: Remove operations documentation.

* docs: Update heading levels.

* docs: Differentiate between db types which expose put/add function.

* docs: Correctly import IPFS and pass config.

* docs: A simple method for full db replication.

* docs: Link to existing examples of db implementation.

* docs: Update heading.

* docs: JS code formatting. import statements.

* docs: Expand on the concepts of identities and identity management.

* docs: Describe head sync-ing and full replication.

* docs: Comprehensive explanation of setting up a db and sync-ing/replicating data across peers. Examples can be run in node.js.

* docs: Syntax highlighting. Correct code implementation for custom/3rd party storage implementations.

* docs: Getting started cleanup.

* docs: Manifest as an IPLD data strcture.
2023-06-18 02:13:54 +08:00
Hayden Young
0c01bd22b7
Merge pull request #83 from orbitdb/docs/readme-cleanup
docs: Clean js examples.
2023-06-14 00:18:02 +08:00
Hayden Young
83bcab11e1 docs: Clean js examples. 2023-06-13 17:06:08 +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
Hayden Young
8a97a39047
Docs (#81)
* docs: Update README to match new version.

* docs: Update events example to use new API.

* docs: Correctly print out db query results.

* docs: Describe keyvalue-indexed db.

* docs: Notes about Helia migration.

* docs: Simplify update docs.

* docs: Using the iterator to display results.

* docs: Remove packages.

* chore: Shorten path.

* docs: Show db address for using with replicated peers or re-opening at a later time.

* docs: Import correct ipfs package.
2023-06-13 18:49:01 +08:00
Hayden Young
85d1348d81
Merge pull request #80 from orbitdb/orbitdb-entry-fix
Orbitdb entry fix
2023-06-08 06:35:40 +08:00
Hayden Young
7975ac42b9 Merge branch 'main' into HEAD 2023-06-07 22:48:55 +01:00
Hayden Young
89ca71b5c7
docs: Rename jsdoc to OrbitDB. (#79) 2023-06-08 05:34:29 +08:00
Hayden Young
bd6bb021c1
docs: Lamport clock docs. (#77)
* docs: Lamport clock docs.

* docs: Formatting.

* docs: Formatting.

* docs: Formatting.
2023-06-03 06:00:25 +08:00
Hayden Young
b9e573dc6d
feat: Expose identity provider managers. (#75)
* feat: Expose identity provider managers.

* refactor: Remove unnecessary provider tools.

* refactor: Match AC management to other management mechanisms (e.g. Identity Providers).
2023-06-02 02:53:40 +08:00
Zoltan Erdos
297293874b fix: fileName casing issue 2023-05-27 09:17:23 +01:00
Hayden Young
794136c762
refactor: Functionize identity provider. (#74)
* refactor: Functionize identity provider.

* docs: Building a custom identity provider.

* refactor: Functionize clock.
2023-05-25 00:48:01 +08:00
Hayden Young
60fbe47ee3
Jsdocs (#73)
* fix: Load correct main.

* docs: Enable markdown.

* docs: Add jsdoc blocks.

* docs: Separate orbitdb into module and namespace.

* docs: Database module and namespace.

* docs: Default values for storage.

* docs: Match param naming across modules.

* docs: Use @link where possible.

* docs: Use @example for code.

* docs: KeyStore module and namespace documentation.

* docs: API for Access controller management.

* docs: Document Database events.

* docs: Formatting.

* docs: Notes on Custom AC and including a canAppend function.

* docs: Standardize primitive data types.

* docs: Proposed submodule structure.

* docs: Composed storage. How to create custom storage.

* docs: annotations for all storage modules.

* docs: Documents.

* docs: KeyValueIndexed.

* docs: Provide example for specifying storage for keyvalue.

* docs: KeyValue.

* docs: Remove const documentation where not required.

* docs: KeyStore static functions.

* docs: Identities.

* docs: Identity.

* refactor: Remove unused param.

* docs: Address.

* docs: Address.

* docs: Manifest.

* docs: IPFSAccessController.

* docs: OrbitDBAccessController.

* docs: Utils.

* test: check for correct message.
2023-05-18 03:34:44 +08:00
Hayden Young
5ab0bcdbf5
Docs (#66)
* docs: Access controllers.

* test: Re-open an existing db using its address.

* docs: Simple db interaction.

* docs: Basic Identities.

* docs: Storage.

* docs: Implementing a custom database.

* docs: Example OrbitDB AC.

* docs: Use identity id when customizing access.

* docs: canAppend.

* docs: Graphically describe log joining.

* docs: Update db types.

* docs: Sync-ing.

* docs: Reverse flow arrows.

* docs: Logical clock.

* docs: DB address and manifest.

* docs: Move ops description to db.

* docs: CRDT.

* docs: Peer discovery, connecting ipfs nodes, orbitdb replication.

* docs: Change file name case to match other documentation solutions (e.g. IPFS/libp2p).

* docs: Links to CRDT papers.

* docs: A getting started to get up and running quickly.

* docs: Move replication to own readme.

* docs: Links to various js-libp2p connection config.

* docs: Examples for connecting two node servers.

* docs: Server to browser connection.

* docs: Replication how-to.

* docs: Remove SYNC.

* docs: Simplify oplog discussion.

* docs: Connecting to IPFS in the browser.

* docs: Topics moved to separate docs.
2023-05-05 00:33:36 +08:00
Haad
4adfafae30
Merge pull request #72 from orbitdb/dev/jsdocs
Add jsdocs
2023-04-13 09:16:25 +03:00
haad
c117ef63ba Add jsdocs 2023-04-13 09:15:27 +03:00
Haad
ec06a8e2d0
Merge pull request #71 from orbitdb/fix/cleanups
Cleanups
2023-04-13 08:32:44 +03:00
haad
b1d16fc7b4 Cleanups 2023-04-13 08:26:41 +03:00
haad
e687b51d96 Remove obsolete code from OrbitDB AC 2023-04-13 08:26:19 +03:00
haad
fca6439399 Add "bail" option to mocha config 2023-04-13 08:25:52 +03:00
haad
0bef6f65a6 Remove obsolete code 2023-04-13 08:25:37 +03:00
Haad
df7cd85a59
Merge pull request #70 from orbitdb/dev/cleanups
Cleanups
2023-04-13 08:05:47 +03:00
haad
f331b1b458 Refactor Manifest 2023-04-13 07:59:30 +03:00
haad
d979b98562 Add cache to IPFS AC storage 2023-04-13 07:59:19 +03:00
haad
0fed060711 Remove commented code 2023-04-12 09:34:43 +03:00
Haad
9fd01ff530
Merge pull request #64 from saul-jb/refactor/packages
refactor: Remove unused packages.
2023-04-07 07:38:28 +03:00
saul
99e1bd3f5f Remove redundant Promise.resolve. 2023-04-07 08:44:06 +12:00
Hayden Young
dadf4c34e7
refactor: Adhere to case naming convention for OrbitDB module. (#67) 2023-04-06 22:39:05 +08:00
Hayden Young
58518203c3
Merge pull request #69 from orbitdb/refactor/dbs
Refactor Databases
2023-04-06 22:32:26 +08:00