Mark Nadal
914cce726b
merge again
2016-11-15 14:40:27 -08:00
Mark Nadal
6b054146c8
attempted merge with @alancnet 's awesomeness!
2016-11-14 16:53:33 -08:00
Mark Nadal
1966a09ac2
mid conflict merge
2016-11-14 16:44:00 -08:00
Mark Nadal
8bb003e311
getting back from Italy...
2016-11-14 16:34:28 -08:00
Jesse Gibson
a4b64feef0
Merge pull request #269 from PsychoLlama/0.5
...
Allow greeting messages to be opt-out
2016-11-14 17:01:49 -07:00
Jesse Gibson
ddf272bbb0
Allow greeting messages to be opt-out
...
If you use gun a bunch, you've probably noticed the messages like "Hello
wonderful person :)" and "WARNING: This file.js module...".
This PR allows you to silence them.
Use `Gun.log.off = true` to bring peace back to your workflow.
> **Note:** great when used with file watchers like nodemon."
2016-11-14 17:00:06 -07:00
Jesse Gibson
406276739a
Merge pull request #268 from PsychoLlama/allow-file-json-opt-out
...
Allow opting out of file.json
2016-11-14 16:39:24 -07:00
Jesse Gibson
3e66aff985
Allow opting out of file.json
...
If the most recent gun options disable the file module, then it
won't try to read/write from the json. Previously it would. Also, now
you can override the behavior by passing `{ file: false }` as the
options in `gun.put`.
2016-11-14 16:31:45 -07:00
Mark Nadal
14482abf0c
Merge pull request #267 from PsychoLlama/s2s-sync
...
Add server-to-server sync
2016-11-14 15:45:13 -07:00
Jesse Gibson
ba43dcac17
Add server push
...
Pushes graph updates to connected clients, listening for
acknowledgements.
2016-11-14 13:40:55 -07:00
Mark Nadal
e39eda74f4
Merge pull request #262 from hillct/feature/onboarding
...
Examples Cleanup & Quick deployments with Heroku, Docker etc.
2016-11-13 10:58:51 -08:00
hillct
d1e5f93239
Added documentation for Now.sh deployment
2016-11-12 19:03:16 -05:00
hillct
d47f47baec
Add Deployment documentation for Heroku & Docker
2016-11-12 17:59:15 -05:00
hillct
ded9a468c4
* Sanitized /examples dependency management
...
* Added Docker deployment support files
2016-11-12 16:43:47 -05:00
Jesse Gibson
e8194887e0
Add basic server get handling
...
Servers now dispatch requests to clients and listen for responses,
plugging them into gun.
2016-11-11 17:48:56 -07:00
Mark Nadal
24a6c858a2
Merge pull request #254 from alancnet/off-0.5
...
.off for .on, and .map. (0.5)
2016-11-10 16:39:45 -08:00
Mark Nadal
6e8f1e0028
Merge pull request #255 from alancnet/set-usability-0.5
...
Enable .set with node, or new soul. (0.5)
2016-11-10 16:30:24 -08:00
Jesse Gibson
4cd2d434d1
Add websocket backoff/retry logic
...
New library handles websocket reconnection logic and queues messages
that were sent while offline.
2016-11-10 10:11:01 -07:00
Jesse Gibson
e36e78f532
Isolate websocket logic
...
WebSocket logic has it's own folder now, `wsp`.
2016-11-10 10:09:18 -07:00
Jesse Gibson
adbea08120
Add basic websocket logic
...
Servers will now try to initiate a connection using websockets if the
`peers` option is set. Currently, it'll either start throwing errors,
or generate a broadcasting storm. Still work to be done...
This marks a milestone of getting the servers to connect to each
other. Now to have those messages make sense. Committing so I
have an easy rollback point.
2016-10-26 14:52:28 -06:00
Alan Colon
281a56292e
.off for .on, and .map. (0.5)
2016-10-23 20:02:28 -06:00
Alan Colon
74b0242682
Enable .set with node, or new soul. (0.5)
2016-10-23 16:45:39 -06:00
Mark Nadal
e509912fa2
Merge pull request #248 from PsychoLlama/0.5
...
Fix /gun.js route
2016-10-18 14:32:56 -06:00
Jesse Gibson
6f8c99ccf1
Fix /gun.js route
...
The `wsp.server` logic was never making it to the /gun.js route. If the
browser is just sending a GET request for a the js file, it won't set
the upgrade property, and the server logic wouldn't let the request pass
if it didn't have that header.
I've simply moved the check below the file serving logic.
2016-10-18 13:54:59 -06:00
Mark Nadal
0aef927eec
Update gun.js
2016-10-18 12:11:02 -07:00
Mark Nadal
23f126f219
Update gun.js
2016-10-18 12:05:14 -07:00
Mark Nadal
de216349be
Merge pull request #245 from noderaider/0.5
...
added yarn.lock to gitignore and fixed npm start
2016-10-17 23:46:32 -06:00
Cole Chamberlain
1c25b51e41
added yarn.lock to gitignore and fixed npm start
2016-10-17 15:11:17 -07:00
Mark Nadal
53e171310d
experimental approach works!
2016-10-13 00:48:36 -07:00
Mark Nadal
58753e0f9e
Update gun.js
2016-10-12 01:35:20 -07:00
Mark Nadal
9355a36a54
Update gun.js
2016-10-12 01:00:42 -07:00
Mark Nadal
d1c4df7688
Merge pull request #238 from d3x0r/patch-4
...
Update gun.js
2016-10-10 21:15:00 -06:00
d3x0r
c5c2d190e5
Update gun.js
...
Fix localStorage to pull and cache options from parent.
2016-10-10 20:11:56 -07:00
Mark Nadal
2a6858388e
Merge pull request #233 from d3x0r/patch-3
...
Update package.json
2016-10-10 12:54:04 -06:00
Mark Nadal
df4d87eb3e
Update gun.js
2016-10-10 02:03:25 -07:00
d3x0r
98f5b7ecd1
Update package.json
2016-10-09 13:13:20 -07:00
Mark Nadal
da3e644c70
try to simplify?
2016-10-08 02:33:22 -07:00
Mark Nadal
4facd22aec
75 tests passing even complex plural!
2016-10-07 15:09:29 -07:00
Mark Nadal
80e2fa9e6f
tests passign without duplication but need to fix on pause/resume
2016-10-07 14:03:44 -07:00
Mark Nadal
448ee86ffa
70 tests passing including plurals!
2016-10-06 03:43:02 -07:00
Mark Nadal
bf4097beeb
temp fix for @d3x0r
2016-10-06 00:28:26 -07:00
Mark Nadal
68499355af
Merge pull request #225 from allain/patch-1
...
require('gun') doesn't work but requrie('..') does
2016-10-05 16:09:13 -06:00
Mark Nadal
8939bd1ed6
Merge pull request #224 from allain/0.5
...
\r\n incorrectly getting replaced with \r in unbuild.js
2016-10-05 16:07:51 -06:00
Allain Lalonde
a694da81f9
require('gun') doesn't work but requrie('..') does
2016-10-05 16:14:52 -04:00
Allain Lalonde
81a48ff272
\r\n was incorrectly getting replaced with \r, which mangled things
2016-10-05 15:43:37 -04:00
Mark Nadal
18dc2f2db6
Merge pull request #223 from d3x0r/patch-2
...
hoise function implicit()
2016-10-04 23:02:45 -06:00
d3x0r
5774fa37c6
hoise function implicit()
2016-10-04 21:59:20 -07:00
Mark Nadal
0fa4d369fd
Merge branch '0.5' of https://github.com/amark/gun into 0.5
2016-10-04 19:13:11 -07:00
Mark Nadal
f122fe2dfb
pull latest
2016-10-04 19:13:04 -07:00
Mark Nadal
f0a06de464
fix var node for @d3x0r
2016-10-04 19:10:01 -07:00