35 Commits

Author SHA1 Message Date
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
db74549326 warning: file.js/data.json is for local development testing only. 2016-12-26 21:12:21 -08:00
Jesse Gibson
f999e5f2ea Fix chain option search
If you're reading this commit history, please avert your eyes. 3
commits to fix this admittedly simple problem is more than my pride can handle.
The `gun.Back()` function was only searching for `opt`, not
`opt.file`. It would stop at the first mention of `opt` even if it
didn't have settings for `file`. Now it won't.
2016-11-15 16:20:18 -07:00
Jesse Gibson
e7162aa098 Reliably check file.js options
The FileJS module can be passed options in two ways, and this commit
ensures they're treated in the right way.
Previously, options passed as .put or .get parameters would be favored
over those used on the chain, even if `file` wasn't specified. Now, the
module will only use the method options if `file` is mentioned, falling
back to the chain options.
This was a mistake on my part with the first PR (#268), I failed to notice notice that edge case.
2016-11-15 13:10:00 -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
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
1fdd9cf89a 20% tests passing! Before testing server. 2016-05-25 13:11:06 -07: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
c8fe8ae00c SPAM 2016-02-03 12:07:41 -08:00
Mark Nadal
7f44bed3d9 quick express fixes 2016-01-28 13:00:38 -08:00
Mark Nadal
59f20c2cbd couple fixes 2015-12-30 14:51:15 -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
Thomas Kalka
61ded1b337 ws 2015-11-19 10:03:05 +01:00
Thomas Kalka
690eb4c81a do queueing right 2015-11-19 09:54:09 +01:00
Thomas Kalka
0489b3d634 fix concurrent writes and remember known nodes 2015-11-18 03:00:47 +01:00
Mark Nadal
b36d6f5247 move put's back.emit to the bottom for improved perf. 2015-11-09 19:07:08 -08:00
Mark Nadal
2abfc17c14 tests pass, drivers fixed! 2015-07-03 22:48:38 -07:00
Mark Nadal
566c5c1cd6 moved code around, union event, val listens 2015-07-03 11:55:16 -07:00
Mark Nadal
18cb3afba4 make get lazy 2015-06-25 13:16:20 -07:00
Mark Nadal
6a49f56a45 ignore using file driver if s3 2015-06-23 13:38:30 -07:00
Mark Nadal
b2af477752 fixed nasty union bug but need test, key opt but need test, no false trigger, val unique check, tab respects instances, http header sent safety. 2015-06-17 02:29:08 -07:00
Mark Nadal
04059b8feb local server spam stress test, map field 2015-06-15 19:24:43 -07:00
Mark Nadal
e89c19cdd8 ONE BIG MASSIVE UPDATE 2015-05-29 16:01:00 -07:00
Mark Nadal
92408aa1e1 fixed set sub partials 2015-02-13 19:56:19 -07:00
Mark Nadal
e970698054 support for old node 2015-01-22 05:11:12 -07:00
Mark Nadal
fa5096d075 fixed major bug, added tests. 2015-01-20 08:02:40 -07:00
Mark Nadal
13f6e287fa merged stash 2015-01-20 06:37:15 -07:00
Mark Nadal
22aea79838 insert, map, fixes, working on path 2015-01-20 06:17:12 -07:00
Forrest
576b055add Add file persistence module :) 2015-01-14 20:30:04 -07:00