35 Commits

Author SHA1 Message Date
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
haad
dd06a0ae60 Replace async/await with Promises where possible 2016-04-05 21:38:01 -04:00
haad
b748753b2f Add tracking of last write 2016-03-23 13:47:46 +01:00
haad
5baf2600b9 Refactor state broadcast events 2016-03-23 10:32:54 +01:00
haad
42454fa598 Add options, cache filename 2016-03-22 18:26:48 +01:00
haad
0509b6ee5d Move load status to init 2016-03-22 17:59:55 +01:00
haad
76a0ad5d52 Cleanup 2016-03-22 16:37:08 +01:00
haad
070f289940 Add naive local cache 2016-03-22 08:28:52 +01:00
haad
e2e3374228 Add 'load' and 'loaded' events for broadcasting load state 2016-03-21 14:25:05 +01:00
haad
bb4f4ce42e Make OrbitDB use ipfs-log 2016-03-21 10:26:53 +01:00
haad
4b754fc956 Improve async functions 2016-03-21 10:00:21 +01:00
haad
55eac964d7 Remove seq and ver, use only IPFS hash for ordering. Remove dependency on POST for db operations. 2016-03-14 12:55:19 +01:00
haad
a4dc49b83b Refactor POSTs 2016-03-12 10:55:49 +01:00
haad
6c9f35181c Fix return values 2016-03-11 14:12:28 +01:00
haad
7e6d137fe6 Refactor POSTs, add DirectoryPost. 2016-03-10 13:08:04 +01:00
haad
72bbb2d82b Move OpTypes to Operation. Rename Operation to DBOperation in OrbitDB. 2016-03-10 09:32:06 +01:00
haad
003efb61ba Major perfomance improvements. Post v2. 2016-03-09 20:22:18 +01:00
haad
ed74645d12 First version of POST 2016-03-09 17:14:31 +01:00
haad
514f914b0f Refactor subscriptions. Fix join. 2016-03-07 16:48:49 +01:00
haad
cf2fefd553 Fix gt in query 2016-03-07 10:24:36 +01:00
haad
a0c863ddc1 Fix update chain 2016-03-06 12:06:25 +01:00
haad
34ae809b0c Cleanup 2016-03-06 10:22:30 +01:00
haad
010da5d691 Remove log message 2016-03-05 12:12:05 +01:00
haad
47c6e1f4cb Refactor db operations. Rename methods to _read() and _write(). Add Post.publish(). 2016-03-05 11:54:57 +01:00
haad
db7e799a87 Move LWW query away from OrbitList to OrbitDB. OrbitList is now just a transport layer. 2016-03-05 10:10:46 +01:00
haad
7712c1943f Split OrbitClient to OrbitClient and OrbitDB 2016-03-04 23:18:08 +01:00