207 Commits

Author SHA1 Message Date
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
haad
7712c1943f Split OrbitClient to OrbitClient and OrbitDB 2016-03-04 23:18:08 +01:00
haad
0f592c65db Refaactor history fetching 2016-03-04 23:13:56 +01:00
haad
989bbba7a2 Remove _commit 2016-03-04 22:41:03 +01:00
haad
d9101c188a Remove obsolete hasChild from OrbitNode 2016-03-04 22:26:36 +01:00
haad
f9413aa89e Fix keyvalue example
Refactor List
2016-03-04 22:26:20 +01:00
haad
1a0b93d133 Refactor Pubsub 2016-03-04 22:22:44 +01:00
haad
99bab1cba8 Remove Keystore dep for now 2016-03-03 15:29:11 +01:00
haad
eb71603ec7 Fix test. Revert test line. 2016-03-03 15:08:06 +01:00
haad
104db41421 Test 2016-03-03 15:04:46 +01:00
haad
c6c21023d3 Allow "offline mode" without Pubsub (for testing) 2016-03-03 14:58:03 +01:00
haad
64bb3fa7ef Cleanup 2016-03-03 14:39:20 +01:00
haad
b902c0b274 Improve _findHeads() perf. Make hasChild non static method. 2016-03-03 14:38:33 +01:00