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
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
Allain Lalonde
81a48ff272
\r\n was incorrectly getting replaced with \r, which mangled things
2016-10-05 15:43:37 -04:00
d3x0r
a472f33e66
Check request for 'upgrade' being set
...
along with the path check, should check that the request is an upgrade before assuming to do anything with it really.
2016-09-30 16:54:06 -07:00
devel-pa
9098380a90
Put out of the way require polyfill.
2016-09-30 21:24:01 +02:00
devel-pa
b8025b207f
Unbuilding structure.
2016-09-30 21:19:18 +02:00
Mark Nadal
347ac0ff37
Update wsp.js
2016-09-26 22:50:35 -07:00
Mark Nadal
2ce6c80521
fix crashing bug found by @d3x0r
2016-09-25 18:09:28 -07:00
Mark Nadal
cdbf06e9c4
pretty print data.json for @d3x0r
2016-09-25 13:41:14 -07:00
Mark Nadal
fa3d3eeff4
0.5 BETA TESTING
2016-09-25 13:06:29 -07:00
Mark Nadal
97449e9f28
into the meat of put
2016-08-03 16:58:15 -07:00
Mark Nadal
afc1c18304
significant internal refactor
2016-07-14 19:37:19 -07:00
Mark Nadal
7fde5eb836
fix/mask @d3x0r 's #203
2016-07-11 16:08:54 -07:00
Mark Nadal
590b52d92b
fixed server-to-server for @d3x0r
2016-07-07 12:54:19 -07:00
Mark Nadal
b369d37731
bring opt updates in from master
2016-07-07 11:49:30 -07:00
Mark Nadal
ab60299fe0
fix server-to-server for @d3x0r
2016-07-07 09:56:31 -07:00
Mark Nadal
a713bb0ae7
minimum temporary auth for server, clients still independent from auth though
2016-06-22 15:05:58 -07:00
Mark Nadal
ac761bf674
re-organize, add panic
2016-06-01 08:35:55 -07:00
Mark Nadal
08418ee836
realtime sync with 40 tests passing
2016-05-26 11:40:09 -07:00
Mark Nadal
3ff91ec42c
add more tests
2016-05-25 14:26:29 -07:00
Mark Nadal
1fdd9cf89a
20% tests passing! Before testing server.
2016-05-25 13:11:06 -07:00
Mark Nadal
25e7579d13
Merge pull request #191 from PsychoLlama/develop
...
Make `data.json` human-readable
2016-05-21 18:23:14 -06:00
Jesse Gibson
c35ae5e669
Make data.json human-readable
...
Since the file.js module is only for development or getting started, we
shouldn't have to minify the data before persisting it. In fact, it may
hurt things, since it obfuscates our data structure and makes it harder
to understand what's going on under the hood.
In this commit, I swapped `Gun.text.ify` with JSON's `stringify` and
gave it a 2-space formatting option to make the data more readable.
2016-05-21 17:04:00 -06:00
Mark Nadal
0f01d06975
25M+ ops/sec !!!!!
2016-05-10 17:08:33 -07:00
Mark Nadal
2d3572fe82
oye
2016-02-29 23:18:22 -08:00
Mark Nadal
84020c492d
emit deferred from HAM
2016-02-26 12:34:37 -08:00
Mark Nadal
cae7db93f5
dem refactor
2016-02-26 12:15:24 -08:00
Mark Nadal
9d00f3886b
s3 typo fix
2016-02-15 13:58:30 -08:00
Mark Nadal
7883bad67d
oye
2016-02-15 13:56:23 -08:00
Mark Nadal
eb43c09388
s3 typo fix
2016-02-15 13:14:05 -08:00
Mark Nadal
0acdb4e137
mid-sentence
2016-02-11 19:46:16 -08:00
Mark Nadal
ad4da00b20
server push!
2016-02-11 08:49:10 -08:00
Mark Nadal
4631200115
refinements on structuring
2016-02-11 08:11:37 -08:00
Mark Nadal
cec7e10133
Streaming demo
...
Major changes for the streaming demo, pushing to GitHub
2016-02-09 16:30:47 -08:00
Mark Nadal
c8e531cf10
0.3.4 goodies
2016-02-07 20:32:45 -08:00
Mark Nadal
c8fe8ae00c
SPAM
2016-02-03 12:07:41 -08:00
Mark Nadal
f1a8801fa5
s3?
2016-02-01 14:34:17 -08:00
Mark Nadal
3eb01bc5b2
match update
2016-02-01 14:34:17 -08:00
Mark Nadal
a1bc9a27f2
switch to real work
2016-02-01 13:47:42 -08:00
Mark Nadal
c03b7d4e1e
match update
2016-01-30 15:14:33 -08:00
Mark Nadal
7f44bed3d9
quick express fixes
2016-01-28 13:00:38 -08:00
Mark Nadal
93bf37b94d
Merge branch 'master' into develop
...
# Conflicts:
# README.md
# gun.js
2016-01-26 12:59:10 -08:00
Mark Nadal
ce6ce34dce
readme update
2016-01-26 12:41:29 -08:00
Jesse Gibson
d2562c2c30
Merge branch 'develop' of https://github.com/PsychoLlama/gun into develop
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-01-18 19:50:53 -07:00
Mark Nadal
73aae8edf0
Update wsp.js
2016-01-11 16:13:17 -08:00
Mark Nadal
8f24dc9e2f
Update wsp.js
2016-01-04 16:26:55 -08:00
Mark Nadal
59f20c2cbd
couple fixes
2015-12-30 14:51:15 -08:00
Jesse Gibson
0c58245a2a
Remove unused "formidable" dependency in wsp.js
...
Formidable is only used in http.js, and although it is required by wsp.js, it's never used.
2015-12-30 13:32:00 -07: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