Mark Nadal
fe624166cc
fix #263 for @imomin and limit back off
2016-11-13 10:05:03 -08:00
Mark Nadal
30b4aaa6f7
Merge branch 'master' into develop
2016-11-13 10:02:42 -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
Mark Nadal
71afcc52f7
Update README.md
2016-11-10 09:49:28 -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
1a6e52dd76
Merge pull request #260 from PsychoLlama/hotfix-offline-sync
...
Fix reconnection replication
2016-11-02 17:19:57 -06:00
Jesse Gibson
4aed97ae44
Bump patch number
...
For offline queueing fix.
[ci skip]
2016-11-02 15:28:25 -06:00
Jesse Gibson
878dad4153
Fix reconnection replication
...
Fixes issue #259 , where edits made offline wouldn't be queued for when a
socket comes back online.
I didn't quite follow the logic of the previous queuing system, so I
refined it and the issue was fixed, so.... yay!
2016-11-02 15:08:05 -06: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
Mark Nadal
d868d0c03d
Merge pull request #256 from amark/develop
...
nam version bump for @alancnet !
2016-10-26 05:17:27 +02:00
Mark Nadal
04ee088ab9
nam version bump for @alancnet !
2016-10-25 20:14:06 -07:00
Mark Nadal
738bc7f3fa
Merge branch 'master' into develop
2016-10-25 20:12:36 -07: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
c006690ced
Merge pull request #252 from alancnet/off
...
.off for .on, .map, and .path
2016-10-23 23:39:49 +02:00
Mark Nadal
1242e4b971
Merge pull request #253 from alancnet/set-usability
...
Enable .set with node, or new soul.
2016-10-23 23:28:52 +02:00
Alan Colon
b00b27ceaf
Enable .set with node, or new soul.
2016-10-23 14:33:56 -06:00
Alan Colon
1ab36fa3e1
.off for .on, .map, and .path
2016-10-23 00:24:54 -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
e355816da4
Merge pull request #247 from amark/develop
...
Develop
2016-10-17 23:49:28 -06: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
Mark Nadal
c3b4bf7d66
Update package.json
2016-10-17 22:37:46 -07:00
Mark Nadal
5f0f96664f
Merge pull request #244 from BartNetJS/patch-1
...
check for window.localStorage
2016-10-17 23:36:18 -06:00
Cole Chamberlain
1c25b51e41
added yarn.lock to gitignore and fixed npm start
2016-10-17 15:11:17 -07:00
Mark Nadal
4efb634c76
Merge pull request #243 from amark/develop
...
Develop
2016-10-14 15:59:33 -06:00
Mark Nadal
4eafadc279
Merge pull request #242 from PsychoLlama/psychollama-update-travis-ci-config
...
Update Travis CI config
2016-10-14 15:04:29 -06:00
Mark Nadal
f73154c2e5
Merge pull request #241 from PsychoLlama/master
...
Add ability to stop broadcast
2016-10-14 15:04:17 -06:00
Jesse Gibson
0d41b5114c
Add node v6
...
Adds node version 6.8 to the list of tested versions on Travis CI.
2016-10-14 14:54:37 -06:00
Jesse Gibson
abce408c65
Bump patch version
2016-10-14 14:49:06 -06:00
Jesse Gibson
455cec4a10
Add ability to stop broadcast
...
Sometimes you just wanna send data to only one client, not the whole
bunch. Now, with new advances in gun technology, you can disable the
default broadcasting behavior.
Feature implemented under the direction and guidance of @amark.
2016-10-14 14:39:59 -06:00
BartVDACodeware
fc8aa597a7
check for window.localStorage
...
Hi, the window.localStorage gives an exception when you use it in Edge on localHost or from a file based html.
I've added a check for the localStorage.
The code is a snipped from here: https://mathiasbynens.be/notes/localstorage-pattern
2016-10-14 22:04:03 +02: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
f146f0a864
Merge pull request #232 from amark/develop
...
this to window
v0.3.995
2016-10-08 16:42:02 -06:00
Mark Nadal
cdfd411ec8
this to window
2016-10-08 15:31:57 -07:00