75 Commits

Author SHA1 Message Date
haad
c3006b1153 Refactor events and createStore() 2016-08-09 12:49:06 +02:00
haad
7a243d0311 Refactor events 2016-08-08 22:05:11 +02:00
haad
500f771a3b Fix maxHistory in all data stores 2016-07-08 10:44:21 +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
52cfc3199e Remove log messages 2016-06-23 12:44:05 +03:00
haad
9f7e02fd40 Add log messages for syncing 2016-05-31 18:46:38 +02:00
haad
2ef28e2380 Decrease network info read timeout. Fix events. 2016-05-30 15:56:26 +02:00
haad
7b5c4225d8 Fallback to the public dev server if cats don't work 2016-05-25 11:21:58 +02:00
haad
881262f3e1 Remove event listeners on disconnect 2016-05-24 16:18:52 +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
6e4e12015d Improve pubsub logging messages 2016-05-22 15:25:25 +02:00
haad
fc0326217a Fix js-ipfs-api compatibility 2016-05-22 15:07:21 +02:00
haad
027ceb747f Check if we have pubsub instance before subscribing 2016-05-21 16:19:55 +02:00
haad
1f0fb823f4 ipfs.cat the network info 2016-05-21 16:12:15 +02:00
haad
d0aa248db0 Fix subscribe option in OrbitDB 2016-05-18 17:52:37 +02:00
haad
e99bfb6d34 Use localhost as default 2016-05-18 16:55:22 +02:00
haad
ea5d3e5d26 Change placeholder network info to devnet 2016-05-18 14:38:55 +02:00
dignifiedquire
cd66e6372e use js-ipfs 2016-05-16 23:51:20 +02:00
haad
74728054cf Add a catch to readNetworkInfo 2016-05-16 15:05:29 +02:00
haad
64ee0e20eb Fix network info loading 2016-05-12 17:55:35 +02:00
haad
8dd10a321c Switch back to ipfs.cat the network info 2016-05-12 16:07:36 +02:00
haad
175ec1ba0d Fix pubsub error handling 2016-05-12 15:00:48 +02:00
haad
8b786ae6b5 Rename events OrbitDB emits. 2016-05-11 12:27:05 +02:00
haad
6cc2afab80 Read network info from ipfs object (not from a file) 2016-05-10 15:08:26 +02:00
haad
588ebaa866 Add 'ready' event 2016-05-10 14:13:10 +02:00
haad
658b699651 Fix options 2016-05-09 23:17:17 +02:00
haad
c2d2a8a6cc Fix stores event hook up 2016-05-09 23:13:13 +02:00
haad
5ce23678b4 Refactor OrbitDB store creation 2016-05-08 18:12:04 +02:00
haad
c6131a2be0 Use orbit-db store modules, add FeedStore 2016-05-07 11:42:18 +02:00
haad
c4e245d3d1 Merge oplog to store 2016-05-06 13:22:41 +02:00
haad
3ccab7b17d Refactor stores to work with OperationsLog and ipfs-log 2016-05-06 12:20:11 +02:00
haad
7d44f6c421 Join a network based on ipfs hash, not host+port 2016-05-04 11:05:58 +02:00
haad
5706090f35 Move events to Store from Oplog 2016-05-03 15:12:55 +02:00
haad
6427e57b2a Fix events 2016-05-03 13:52:13 +02:00
haad
aece96b49c Refactor stores to be individual databases 2016-05-03 11:52:58 +02:00
haad
06ee3ebf31 Refactor indexing 2016-04-28 21:34:14 +02:00
haad
86a88019e6 Rename Client to OrbitDB 2016-04-27 12:45:43 +02:00
haad
3d12247bdb Rename Client to OrbitDB and set it as module's entry point. Move files to appropriate directories. 2016-04-27 12:45:42 +02:00
haad
2ddba23db0 Refactor everything 2016-04-27 12:45:41 +02:00
haad
f09ca5ec31 Use logplease, remove log4js 2016-04-14 17:35:35 +02:00
haad
383687763e Move 'sync' event to be emitted after caching the payloads 2016-04-13 13:03:48 +02:00
haad
393391a1fd Remove bluebird dependency, fix tests 2016-04-13 10:38:27 +02:00
haad
ee04c670ca Fix examples 2016-04-13 09:53:03 +02:00
haad
431e102808 Cleanup OrbitDB 2016-04-13 09:46:17 +02:00
haad
c68a304fc8 Fix joins 2016-04-12 20:48:50 +02:00
haad
940731a5ea Remove asyncawait dependency from OrbitDB completely 2016-04-12 19:49:04 +02:00
haad
5aa8d3e384 Test OrbitDB, refactor to use promises 2016-04-12 18:15:31 +02:00
haad
b3c2f5bbc3 Use promises where possible 2016-04-12 11:06:05 +02:00
haad
4c76c3c483 Add loggers 2016-04-11 14:13:53 +02:00
haad
6197b857f0 Use await version of use() 2016-04-08 10:07:06 +02:00