148 Commits

Author SHA1 Message Date
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
Mark Nadal
c006690ced Merge pull request #252 from alancnet/off
.off for .on, .map, and .path
2016-10-23 23:39:49 +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
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
cdfd411ec8 this to window 2016-10-08 15:31:57 -07:00
Mark Nadal
17ab1d291c fix React Native breaking Webpack live reload scope 2016-10-07 14:10:20 -07:00
Stefdv
1760900d73 ws error on send
node might throw an error on sending through a websocket that is not open. Adding an empty calback seems o fix this
2016-09-17 23:13:30 +02:00
Stefdv
562e1dba96 ws error on send
node might throw an error when sending through a not open websocket. Adding an empty callback fixes this
2016-09-17 23:08:30 +02:00
Stefdv
aff0720e69 ws error on send
When sending through a ws socket you might get an error saying that the socket is not open.
by adding an empty callback to `ws.send`  this seems to fixe it
2016-09-17 22:56:31 +02:00
Mark Nadal
8cea0bc5f8 add node filter for map 2016-08-03 17:11:49 -07:00
Mark Nadal
5e30de8acd fix ? env ? 2016-07-26 22:49:54 -07:00
Mark Nadal
590b52d92b fixed server-to-server for @d3x0r 2016-07-07 12:54:19 -07:00
Mark Nadal
ab60299fe0 fix server-to-server for @d3x0r 2016-07-07 09:56:31 -07:00
Mark Nadal
146f821e56 Merge peer options 2016-07-05 10:30:48 -07:00
Mark Nadal
f442c9a929 Jesse warned me about time and I should have listened! 2016-06-25 14:31:10 -07:00
Mark Nadal
a83ff0c114 fix driver to actually connect to other servers 2016-06-22 16:56:34 -07:00
Mark Nadal
656019e674 use hidden back, turn off null listeners 2016-05-25 14:10:29 -07:00
Mark Nadal
56048097e5 fix @stefdv 's deep path put bug 2016-05-23 14:05:39 -07:00
Mark Nadal
882e4b740a fix for @stefdv 2016-05-13 18:42:17 -07:00
Mark Nadal
9be1a61f54 unwebpack 2016-05-13 18:37:36 -07:00
Mark Nadal
dfbfa2eaca maybe use web pack? 2016-05-03 18:01:10 -07:00
Mark Nadal
d4ee329126 mid-sentence 2016-03-07 23:15:23 -08:00
Mark Nadal
84020c492d emit deferred from HAM 2016-02-26 12:34:37 -08:00
Mark Nadal
ad20e44ca4 Merge branch 'master' into develop 2016-02-24 22:58:09 -08:00
Mark Nadal
fd103d276b catch localStorage 2016-02-24 22:57:59 -08:00
Jesse Gibson
7acb65afa3 Fix thrown error in .set
When passed a primitive value but not a callback, `.set` will try to
invoke the callback with the error data, except since it's undefined, it
throws. I've added a line that prevents that error, allowing execution
to continue with the developer warning.
2016-02-20 23:37:43 -07:00
Mark Nadal
c8e531cf10 0.3.4 goodies 2016-02-07 20:32:45 -08:00
Mark Nadal
a05cf84315 set / table / list / collections ! 2016-02-04 13:59:51 -08:00
Mark Nadal
b7a335dd3b link nodes like a boss! 2016-02-04 11:11:53 -08:00
Mark Nadal
d1828e9871 ignore 1006 2016-02-03 23:47:43 -08:00
Mark Nadal
3eb01bc5b2 match update 2016-02-01 14:34:17 -08:00
Mark Nadal
155f096254 comments and semantics 2016-01-28 13:00:38 -08:00
Mark Nadal
ee919e7076 revise chat example 2016-01-26 08:11:53 -08:00
Mark Nadal
a85a7a6999 fix key checker 2016-01-25 20:22:32 -08:00
Mark Nadal
3edfbebd39 fixed chat app, fixed end events 2016-01-25 15:04:05 -08:00
Mark Nadal
2e34884384 not shouldn't emit for no reason! 2016-01-24 12:22:48 -08:00
Mark Nadal
b95b25fd94 don't be invalid! 2016-01-24 08:13:21 -08:00
Mark Nadal
85ee6fd07c all core tests passing. 2016-01-23 20:49:37 -08:00
Mark Nadal
6908df0405 chasing performance 2016-01-23 20:49:37 -08:00
Mark Nadal
59f20c2cbd couple fixes 2015-12-30 14:51:15 -08:00
Mark Nadal
22f98065db make sure localStorage returns nodes not graphs 2015-12-28 15:02:56 -08:00
Mark Nadal
2e876b92fc make sure localStorage isn't disabled 2015-12-28 14:49:24 -08:00
Mark Nadal
8c0dae0176 server updated 2015-12-26 21:14:14 -08:00
Mark Nadal
ab138b5350 BREAKING 0.3 ONLY CORE MEMORY WORKS!
# Conflicts:
#	lib/file.js
2015-12-23 18:12:01 -08:00
Mark Nadal
6d15aa1e61 API 0.3 BREAKING CHANGES, TESTS PASSING 2015-12-22 01:56:41 -08:00
Jesse Gibson
7564d95321 Fix duplication of code, only test for node environment once 2015-11-23 15:59:46 -07:00
Jesse Gibson
f6f7310a50 Add basic compatibility with browserify and webpack
On the compile step, both window and module are defined. Gun prevents module exports by detecting the environment and tacking Gun onto the window object. This addition will check to see if it's a dual environment (like browserify or electron) and export to both window and module, preventing errors in your build step.
2015-11-23 15:32:48 -07:00
Mark Nadal
48f971555a Merge pull request #119 from PsychoLlama/master
Allow .val to accept string arguments for logging
2015-11-17 11:18:52 -07:00
Mark Nadal
d2ee2e94b5 Update gun.js 2015-11-17 10:16:30 -08:00