139 Commits

Author SHA1 Message Date
thiagodelgado111
8abd37aecd Add tests for custom keystores 2018-02-08 16:39:16 -02:00
Diana Thayer
b0d755f9bf feat(core): add 'addDatabaseType' method for adding custom types 2018-01-16 08:04:12 -08:00
haad
1b5d6db239 Create a mapping for database types 2018-01-07 09:17:40 +01:00
haad
e0bff3dcce Fix segmentation fault
Add a test for closing the db while loading
Catch replication test asserts properly
Use latest orbit-db-cache containing the fix for segmentation fault
2018-01-07 08:54:11 +01:00
haad
7818b5ca79 Add a test for dropping a database 2017-12-31 17:11:04 +02:00
haad
81284c1b16 Fix browser compatibility 2017-12-31 13:46:25 +02:00
haad
6061b8cb53 Fix replication
Add tests to make sure a database can be saved and loaded multiple times in a row
Add a test to make sure the correct replication progress is emitted
Add mem-store for faster development testing
Improve tests
Improve logging
Fix replication benchmark
Update packages and build
2017-12-19 15:52:50 +01:00
haad
d6cb5c0c0a Improve write-permissioned db sync test 2017-12-13 15:15:20 +01:00
haad
9b1f704abe Fix a bug where creator of the database was not added to the list of writers 2017-12-10 13:30:39 +01:00
haad
6df41f4fad Use LevelDB as the local persistence cache 2017-12-09 17:42:06 +01:00
haad
ff8b5a425a Remove obsolete test-utils 2017-12-06 08:30:44 +01:00
haad
157f1c6d15 Remove stopIpfs() function and use ipfs.stop() 2017-12-06 08:23:18 +01:00
haad
d39b69a82f Refactor creating and saving DB manifest
Add test for loading an empty snapshot
2017-12-05 23:23:24 +01:00
haad
63a1edb633 Speed up peering and timeout to run tests faster 2017-12-05 22:44:33 +01:00
haad
2bd64b1407 Add a test for partially loading a database 2017-12-05 22:35:01 +01:00
haad
c30c0b6cf9 Use ipfs@0.27.0 and ipfs-pubsub-room@1.0.1 2017-12-05 13:18:29 +01:00
haad
fff059e6e7 Remove obsolete code from tests, speed peering for replication tests 2017-12-02 13:47:16 +01:00
haad
bdc8260610 Fix replication starting from wrong heads
Use ipfs-pubsub-room branch with a fix for the wrong heads
Add a test tocheck that the automatic replication receives the right heads
Add more logging
2017-12-02 13:40:22 +01:00
haad
c776b4de8b Add tests for using multiple databases at the same time 2017-11-30 17:13:24 +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
49c30b3ec0 Run one replication test only (for @diasdavid) 2017-02-15 17:54:12 +01:00
haad
c2912be189 Run tests only with Node.js daemon until js-ipfs-api has pubsub 2017-02-14 16:32:00 +01:00
haad
72c7f717a8 Add test for sync() returning a hash 2017-01-29 19:21:23 +02:00
haad
c79a1a125f 0.16.0-beta.6
Add replication test
Use latest ipfs-daemon
Cleanups
2017-01-16 23:23:11 +01:00
haad
026740faa9 Make tests use ipfs-daemon instead of test-apis 2016-12-30 12:16:29 +01:00
haad
d889b539a3 0.16.beta-2
Fix dependencies.
Fix tests.
2016-12-01 15:45:15 +01:00
haad
799473eb86 Fix tests, build and examples. Update dist build. 2016-11-25 12:43:04 +01:00
haad
6606ced53d Use /tmp dir for ipfs daemon in tests 2016-11-01 15:11:36 +01:00
shamb0t
b997bef39e Add orbit-db-docstore tests 2016-10-10 15:53:46 +02:00
haad
c54e81358b Update to latest mocha 2016-10-05 17:26:57 +02:00
haad
ca08397570 Update documentation, the build 2016-10-04 19:07:33 +02:00
haad
61af69678f WIP 2016-10-04 19:07:31 +02:00
haad
cba3ab6c60 Fix tests partially 2016-10-04 19:07:31 +02:00
haad
3211fb86bb IPFS Pubsub (WIP) 2016-10-04 19:07:30 +02:00
haad
fcd0acaecd Add Cache to OrbitDB 2016-08-09 15:15:20 +02:00
haad
c3006b1153 Refactor events and createStore() 2016-08-09 12:49:06 +02:00
haad
bdea5c9275 Remove obsolete files 2016-08-09 12:48:13 +02:00
haad
29509d2823 Reduce counter tests timeout 2016-07-08 10:55:14 +02:00
haad
61d113a018 Add a test for checking the order of entries with .iterator() 2016-07-08 09:21:49 +02:00
haad
1432cc4f17 Change .connect() to connect to a <host:port> instead of IPFS hash. 2016-07-07 16:27:53 +02:00
haad
52e7dca6e3 Fix tests 2016-05-30 15:56:52 +02:00
haad
8a766ab66f Add ipfs api names to counter tests 2016-05-24 16:18:52 +02:00
haad
a3d7cd0e79 Increase counter sync test timeout 2016-05-24 16:18:28 +02:00
haad
acf131830e Remove logging messages 2016-05-23 13:58:04 +02:00
haad
bb2d026c71 Increase test timeout 2016-05-23 12:42:49 +02:00
haad
b75b46821b Fix tests 2016-05-23 12:33:58 +02:00
haad
e6a497fe44 Add repo path to the js-ipfs tesy 2016-05-23 12:15:29 +02:00
haad
15342ff732 Make pubsub connect work with js-ipfs and js-ipfs-api, test with both 2016-05-23 12:08:30 +02:00
haad
3848705414 Test only with js-ipfs-api 2016-05-22 15:14:21 +02:00