53 Commits

Author SHA1 Message Date
Hayden Young
71c2505f20 fix: Load browser crypto lib if available. 2024-07-08 12:52:24 +02:00
Hayden Young
cce6a524e2 fix: Browser tests. 2024-05-17 15:44:37 +01:00
Hayden Young
734f50ed7e chore: Iterate version. Upgrade Helia. 2024-02-17 14:45:11 +00:00
Hayden Young
a7ec7b7b41 docs: Migrate js-ipfs examples to Helia. 2024-01-19 16:19:18 +00:00
Hayden Young
82591bf456 Merge remote-tracking branch 'origin' into helia 2023-12-02 21:48:09 +00:00
Hayden Young
465f1e01da docs: Generate API docs based on major.minor version only. 2023-11-20 20:12:13 +00:00
Hayden Young
f28aa476f7 test: Relay for web browser testing. 2023-09-26 03:22:06 +01:00
Hayden Young
31597d7084 refactor: Support Helia. 2023-09-23 16:25:29 +01:00
Hayden Young
e7b6efeeb4 docs: Version API. 2023-09-18 14:39:55 +01:00
Hayden Young
170d9a9b7c chore: Update npm packages. 2023-09-18 14:12:43 +01:00
haad
e877c594b2 Update package.json 2023-09-18 14:48:14 +03:00
Hayden Young
942f94d52d refactor: Export all public modules under the OrbitDB webpack package. 2023-08-15 00:45:19 +01:00
Hayden Young
d7cfdf96ed docs: Using distributed OrbitDB script. 2023-07-08 12:47:24 +01:00
Hayden Young
745af170c4 docs: Display static provider functions as Identities module functions. 2023-06-30 16:43:26 +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
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
Zoltan Erdos
297293874b fix: fileName casing issue 2023-05-27 09:17:23 +01: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
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
Haad
bc816c7e2e
Browser tests (#41)
* Get browsers tests running

* Clean up replication test

* Setup fixtures for browser tests

* Fix import paths for webpack

* Fix webpack

* Add mocha-headless-chrome to run browser tests

* Add webrtc swarm endpoints for browser test IPFS node configs

* Remove adding pubkey to storage in KeyStore

* Runs browser tests in CI

* Fix import paths again

* Fix failing browser tests

* Fixes
2023-03-11 18:56:23 +08: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
haad
97529e99d4 Fix linter 2023-02-16 13:34:47 +02:00
haad
96a6d4fba8 Revert webpack.config.js to original orbitdb one 2023-02-16 13:16:48 +02:00
haad
40494246e1 WIP 2 2023-02-16 10:17:23 +02:00
haad
42a5c2d723 WIP 2023-02-16 10:16:15 +02:00
haad
c1c7f838bc Rename debug build output file 2023-01-19 08:34:50 +02:00
haad
04935a0014 Fix debug build 2023-01-12 15:05:07 +02:00
haad
5f1af23539 Remove obsolete code, clean ups 2023-01-12 14:42:31 +02:00
haad
13f79e6a65 Fix browser tests 2023-01-12 13:20:17 +02:00
Hayden Young
d06d800943 refactor: Webpack imports. 2022-12-20 01:12:56 +00:00
tabcat
edf2438b92 browser tests compile in developer mode 2021-09-05 20:08:30 -05:00
Mark Henderson
39a00060d6 parent 32cc9a9b009d0d8543f81a6bab96ad9bcccd3088
author Mark Henderson <mark@mrh.io> 1598051057 -0400
committer Mark Henderson <mark@mrh.io> 1598229380 -0400

parent 32cc9a9b009d0d8543f81a6bab96ad9bcccd3088
author Mark Henderson <mark@mrh.io> 1598051057 -0400
committer Mark Henderson <mark@mrh.io> 1598229291 -0400

package updates and ipfs repo migration

validate-maintainers and orbit-db-test-utils

moving from 3 tabs to 2

wait workaround

wait 1000

standard --fix

redoing the replication test changes for some reason

validate-maintainers and orbit-db-test-utils

moving from 3 tabs to 2

wait workaround

wait 1000

standard --fix

fix create-open tests

fixing eventlog tests

fixing feed tests

fixing kvstore tests

fixing set identity tests

skipping replication tests for now

repo path based on API variable

js-ipfs.zip

go-ipfs.zip

skipping replicate tests as well

repo path based on API variable

js-ipfs.zip

go-ipfs.zip

package-lock

finalizing rebase
2020-08-23 21:52:10 -04:00
Mark Henderson
47a18b05f5 dev:updating keystore in package.json to git branch
pointing to fix/store-performance branch

fix:typo

fix: indentation

test: Changing test to reflect new orbit-store default

Update package.json

test: updating tests

update localstorage-level-migration dep

experiment:Moving keystore up ALL way

orbitdb storage adapter mark 1

fix: more passing tests

more fixes

chore:package-lock.json

reverting mkdir.c for now

package-lock.json for node 10.13

fix: circleci

fix: webpack fs updates

disabling loadCache

Moving storage adapter to its own thing

tests: fixing up

chore: long needed fixing

More linting

tests: fix up look sharp

test: v0 failure only

Reversting lint fixes

fix v0-load test

set cache heads

fix: passing in storage no longer needed

fix: removing artifact from previous merge

fix: honor default keystore and pesky call-by-reference bug

fix: removing directory arg from _addManifestToCache

chore: package-lock

fix: pending drop test

removing directory option for individual dbs

docs: removing directory options

fix: removing line instead of commenting

fix: moving storage setup to createInstance

feat: Upgrading ipfs to 0.36

chore: package-log

fix: restoring onlyHash

workaround: removing memstore from replication tests

fix: this.keystore.close and this.cache.close

chore: removing eslint annotation

chore: package-lock.json

fix: passing preCreate in as option

chore: package files

Fixing package.json

fixing replicate tests

Fixing some tests

Updating orbit-db-store dependency

CircleCI updates - To be obviated via other PR

Restoring ability to pass a custom directory to orbitdb.create

More test fixes

set identity tests fixed

Fixing replication tests

Temporarily disabling concurrency tests

Closing keystore in identities test

Restoring test:all

package.json

More replicate test fixes

successful make rebuild

Linting fixes
2019-08-30 14:18:28 -04:00
shamb0t
8e4f22e0f3 Update conf 2019-02-20 13:18:11 +00:00
Haad
5b7fe0b979
Merge pull request #299 from orbitdb/fix/source-map
add source maps for debug build
2017-12-31 17:09:14 +02:00
FrauBienenstich
e1f43a2ab8 add source maps for debug built 2017-12-31 15:53:25 +01:00
haad
81284c1b16 Fix browser compatibility 2017-12-31 13:46:25 +02:00
haad
3c6626f633 Fix browser examples
Use p2p-websocket-star addresses
Fix minified example: don't compress
Use non-minified ipfs build for browser examples
Add non-minified build files to browser examples
Update build
2017-12-10 14:10:24 +01:00
haad
6df41f4fad Use LevelDB as the local persistence cache 2017-12-09 17:42:06 +01:00
haad
42885b20a4 Write permissions for databases
Use latest store modules from npm
Update README
Update docs
Update examples
Update benchmarks
Update dependencies
Add Getting Started guide
Add new a screenshot
Add a new live demo
Add persistency tests for snapshot saving/loading and events
Add network stress tests (but skip them by default as they're very heavy and lengthy)
Add browser benchmarks
Add log() alias for eventlog() database
Add possibility to create database if it doesn't exist yet
Add support for orbitdb addresses
Add a test for starting replication when peers connect
Add debug build
Use IPFS nodeID as default user id
Use ipfs-pubsub-room
Handle closing of databases properly
Handle cache errors
Clean up tests, re-organize code files
Clean up code style
Support for CLI
Remove obsolete scripts
2017-11-28 09:10:51 +01:00
haad
8f990e0ccc Immutable ipfs-log
Use immutable ipfs-log.
Simplify internals.
Remove obsolete dependencies.
Update dependencies.
Use @dignifiedquire's mapSeries for Promises.
Split tests to individual stores.
Improve tests.
Fix build process.
Build size down to 121kb.
Fix benchmarks and examples.
Move Cache to Stores (and to its own module).
2017-03-21 18:13:58 +01:00
haad
3f85eedb04 Reduce webpack output 2016-11-25 17:28:42 +01:00
haad
6e316502c6 Fix browser examples 2016-11-25 16:56:17 +01:00
haad
799473eb86 Fix tests, build and examples. Update dist build. 2016-11-25 12:43:04 +01:00
haad
91379eb5ee Fix webpack build files for webpack2.1.0-beta.27 2016-11-21 11:43:09 +01:00