119 Commits

Author SHA1 Message Date
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
9581b4ef31 Replace async/await with Promises where possible 2016-04-08 08:56:56 +02:00
haad
4f78b28cae Remove obsolete dep 2016-04-08 08:56:19 +02:00
haad
dd06a0ae60 Replace async/await with Promises where possible 2016-04-05 21:38:01 -04:00
haad
c317b04d08 Add new POST: Poll 2016-04-05 21:08:57 -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
e72e4f3f8d Fix cache filepath 2016-03-22 18:43:49 +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
2f6df59d1f Add debug msg 2016-03-21 15:42:33 +01:00
haad
e2e3374228 Add 'load' and 'loaded' events for broadcasting load state 2016-03-21 14:25:05 +01:00
haad
98b2bd933b Merge remote-tracking branch 'origin/reafctor/ipfs-log' 2016-03-21 10:33:09 +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
73e18171e1 Cleanup 2016-03-21 09:59:57 +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
a54ef8c337 Cleanup and fix tests 2016-03-12 10:55:59 +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
491b578490 Fix hasChild of Node and OrbitNode 2016-03-11 14:11:17 +01:00
haad
f258a53bd7 Add printTree() to List 2016-03-11 14:10:56 +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
ddd294384c Rename OrbitClient to Client 2016-03-10 09:27:33 +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
13fe34b3a8 Remove socket limit 2016-03-09 16:09:07 +01:00
haad
2fcee4adb8 Send data as string instead of object 2016-03-09 16:09:02 +01:00
haad
d31e77215a Refactor async history fetching 2016-03-09 16:08:19 +01:00
haad
376a3ab289 Change channel.leave to channel.close 2016-03-08 18:33:43 +01:00
haad
edb0c3aafa Fix leaking socket on connection error 2016-03-08 17:04:30 +01:00
haad
fb054f023a Fix socket error 2016-03-08 10:46:15 +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
8d8240cb90 Remove double 'data' event on write 2016-03-07 10:24:11 +01:00
haad
f112e52745 Cleanup 2016-03-06 16:56:02 +01:00
haad
b199f41598 Quick fix 2016-03-06 12:29:19 +01:00
haad
a0c863ddc1 Fix update chain 2016-03-06 12:06:25 +01:00
haad
6c6c482c69 Really fix "Bus error: 10" (stack overflow). Improve _insert() performance in OrbitList. 2016-03-06 10:23:12 +01:00
haad
34ae809b0c Cleanup 2016-03-06 10:22:30 +01:00
haad
c588f23248 Fix "Bus error: 10" 2016-03-05 12:56:45 +01:00
haad
010da5d691 Remove log message 2016-03-05 12:12:05 +01:00
haad
8686317bf2 Await for creating a DB operation 2016-03-05 12:11:50 +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
9c1e811dfe Cleanup 2016-03-04 23:36:49 +01:00