160 Commits

Author SHA1 Message Date
Mark Nadal
3323c9d23c add the open API method and shims! 2017-08-04 18:40:39 -07:00
Mark Nadal
9ce98ffcc0 eliminate memory leaks! Must use .off() though 2017-07-12 15:49:07 -07:00
Mark Nadal
c03a03c2c1 some quick fixes 2017-07-12 15:49:07 -07:00
Mark Nadal
4db1ae9872 v0.8 baby! Last Breaking Changes! 2017-07-06 18:10:41 -07:00
Mark Nadal
35df3c0b4a cleanup 2017-07-06 00:02:42 -07:00
Mark Nadal
b004cc0635 radix prototype 2017-07-05 00:20:21 -07:00
Mark Nadal
12d568ccf3 ... 2017-06-30 13:21:08 -07:00
Mark Nadal
d687170b90 IMPORTANT updates, please upgrade. 2017-06-11 03:56:31 -07:00
sjones6
d2fc0440bd Fix logic error *facepalm* 2017-05-30 18:44:21 -04:00
Mark Nadal
b92b9d981e include SEA alpha, promote SEA & NTS to top level 2017-05-25 12:45:49 -07:00
sjones6
62c29f5182 Verification options to limit WS connection 2017-05-02 20:39:28 -04:00
Mark Nadal
9b752c3937 clarify root more for SEA, lots more to go 2017-04-21 15:42:42 -07:00
Mark Nadal
fc74a80cf5 uggh ws & uws 2017-04-10 13:10:36 -07:00
Mark Nadal
6950f7d90c have file adapter support lexical all souls cursor 2017-04-04 18:56:53 -07:00
Mark Nadal
181b6bd767 0.7 with .val(cb) also hearing .not 2017-04-03 13:02:20 -07:00
Mark Nadal
c804df9b77 updated examples! 2017-03-27 23:36:08 -07:00
Zane Hitchcox
d46db34d45 add default path for gun 2017-03-24 12:56:11 -04:00
Mark Nadal
0e234d5c43 Update server.js 2017-03-15 14:16:37 -07:00
Mark Nadal
2d455d30b5 fix express 2017-03-13 19:46:12 -07:00
Mark Nadal
fff3a99bb2 load testing!!! 1.7K inserts/sec! Only will get more better! 2017-03-11 07:36:48 -08:00
Mark Nadal
9c640d2000 load testing!!! 1.7K inserts/sec! Only will get more better! 2017-03-11 07:33:51 -08:00
Mark Nadal
bfdfa9b8a9 load testing!!! 1.7K inserts/sec! Only will get more better! 2017-03-11 07:23:46 -08:00
Mark Nadal
ec3288e583 load testing! 2017-03-11 07:03:55 -08:00
Mark Nadal
8aa649ef4a s3 fix & begin adding load tests 2017-02-20 15:27:02 -08:00
Mark Nadal
3f0c2c6267 fix S3 2017-02-16 23:38:34 -08:00
Mark Nadal
6dd1b1b536 v0.6.0 baby! 2017-02-14 16:46:24 -08:00
Zane Hitchcox
3e77509084 ensure replaced 'http' is at beginning of url or not replaced 2017-02-14 16:14:21 -05:00
d3x0r
d4a8ec655f Fixed _field mangle. 2017-02-09 10:56:55 -08:00
d3x0r
8d5f6deee6 Move file state object to gun root opt
add _file to  gun.opt.
use at.gun.back('opt._file')  to get this object; allows per-gun-graph file options.
2017-02-09 10:21:52 -08:00
Mark Nadal
b03f6e0de8 put as merge 2017-01-27 22:12:50 -08:00
Mark Nadal
40c991426b launching 0.5! 2017-01-27 07:40:24 -08:00
Mark Nadal
d0bbcef285 0.5! 2017-01-27 06:27:04 -08:00
Mark Nadal
4a2a845458 launching! 2017-01-27 05:23:49 -08:00
Mark Nadal
77d71a0c94 pushing! 2017-01-27 04:58:16 -08:00
Mark Nadal
baf99d7e72 Update client.js 2017-01-11 10:47:50 -08:00
Mark Nadal
d5cf9938c1 Update file.js 2016-12-26 22:48:59 -08:00
Mark Nadal
2e826ca9d8 fix reads 2016-12-26 22:46:27 -08:00
Mark Nadal
096e224af5 Merge pull request #298 from d3x0r/patch-6
#297 passing options to websocket
2016-12-26 22:50:28 -07:00
Mark Nadal
db74549326 warning: file.js/data.json is for local development testing only. 2016-12-26 21:12:21 -08:00
d3x0r
a4425bda24 remove redundant option fetch
since options have to be fetched higher anyway... 
Or rather - this options is outside of knowing gun options
2016-12-23 00:43:05 -08:00
d3x0r
266b18109c Missed a change to get the options....
Somehow my other options test didn't work... had to add something like this.

Now I feel this is such a huge hack
2016-12-23 00:35:11 -08:00
d3x0r
8dac820902 fix default assignment 2016-12-21 12:18:39 -08:00
d3x0r
8e6d827216 fix indentation 2016-12-21 12:17:56 -08:00
d3x0r
9c41182004 Fix quotes 2016-12-21 12:17:31 -08:00
d3x0r
320183fa54 Set default options more robustly 2016-12-21 12:17:01 -08:00
d3x0r
f28b62fd4c Setup default option
if wsc doesn't previosuly exist, create a empty option block.
add option 'protocols' for wsc that can specify the optional protocols before the options.
Options will also only apply to node client websockets; (package 'ws'), browser websockets only take 1 with 1 optional parameter (being the list of protocols to connect with; so I added that optional param for compatibility.
2016-12-21 12:09:10 -08:00
d3x0r
f548db293b pull opions from 'wsc' in gun options
'ws' options are used by server
'wsc' options to be used by websock client... ?
2016-12-21 11:59:28 -08:00
d3x0r
e8f840c548 pass gun's options to websocket
I recently had to set options given to the websocket client especially 

rejectUnauthorized {Boolean} Verify or not the server certificate.

for connecting to wss which are using self signed certs...
could also pass things like 'protocol' to differentiate a Gun websocket connection from some other websocket connection....

I don't know if maybe websock options should be a object in options instead ?  To avoid namespace collision?
2016-12-21 11:21:13 -08:00
Mark Nadal
9abe3fb75f fix for d3x0r and Stefdv 2016-11-28 17:57:20 -08:00
Jesse Gibson
4848493530 Add envelope-system server sync
Using gun's new envelope system (where routing and de-duplication happen
inside gun core), server-to-server synchronization has been
implemented.
However, it comes with this warning: the chain isn't yet ready and
you'll have difficulty reading or writing data via the chain.
2016-11-25 14:42:44 -07:00