Juan Batiz-Benet
33eb14709e
Merge pull request #694 from jbenet/fuse-seek
...
fuse/ipfs: seeking
2015-01-29 16:22:41 -08:00
Juan Batiz-Benet
a8bfa947d8
fuse/ipns: use Read() not ReadAll()
2015-01-29 16:12:45 -08:00
Juan Batiz-Benet
c05b4f06f0
fuse/ipfs: remove ReadAll
2015-01-29 16:12:45 -08:00
Juan Batiz-Benet
fcf7f0e7c1
fuse/ipfs: seeking
...
This commit changed the "ReadAll" to do proper read requests.
Seeking in fuse mounted fs now works. Note: this is why opening a
mounted video didnt work... we just didnt look at this code in
months.
2015-01-29 16:12:45 -08:00
Jeromy
97e99ca167
fix nil pointer panic on version strings in ID message
2015-01-29 23:07:32 +00:00
Jeromy Johnson
3c34ab8e0c
Merge pull request #685 from jbenet/feat/path
...
implement path type
2015-01-29 11:20:07 -08:00
Jeromy
abb3c9c9c4
implement path type
2015-01-29 17:51:08 +00:00
Brian Tiger Chow
bbc8091085
provide flag to determine whether to perform GC
2015-01-29 02:29:02 -08:00
Juan Batiz-Benet
32a68c6f97
Merge pull request #686 from jbenet/exchange-with-connected
...
return connected peers as providers
2015-01-29 01:51:21 -08:00
Juan Batiz-Benet
1ce3ecf846
swarm: TestSimultOpenMany has problems in CI.
...
dialing 4000 connections somehow keeps choking both travis and
jenkins. dialing this down to 500
2015-01-29 01:25:54 -08:00
Juan Batiz-Benet
feb6d34134
bitswap/net: race fix in peers iteration
2015-01-29 01:16:45 -08:00
Juan Batiz-Benet
64191c1b31
bitswap: removed dubious error check test.
2015-01-29 01:10:01 -08:00
Juan Batiz-Benet
14eceee35e
epictest: fix three-legged-cat
...
http://gateway.ipfs.io/ipfs/QmfUFkQuqjfQzLNhMLwiibiAxnAaZEJAbYkey9orXJ4aQe/3lcat.jpg
2015-01-29 01:10:01 -08:00
Juan Batiz-Benet
958cc61647
epictest: added test for bitswap wo routing
2015-01-28 23:55:30 -08:00
Brian Tiger Chow
afd3333cab
optimization(bitswap) return connected peers as providers
2015-01-28 22:57:33 -08:00
Juan Batiz-Benet
17e542a559
Merge pull request #675 from jbenet/diag-helptext
...
add more help text for ipfs diag net
2015-01-28 17:14:35 -08:00
Juan Batiz-Benet
2a29413c5e
Merge pull request #674 from jbenet/gateway
...
Gateway Changes
2015-01-28 17:12:19 -08:00
Juan Batiz-Benet
8ed1b14034
sharness: rename conflicting test
2015-01-28 17:02:04 -08:00
Juan Batiz-Benet
c36e8dd04c
gateway: reordered headers to avoid error
...
cc @mappum
2015-01-28 16:55:00 -08:00
Matt Bell
21575ba535
test/sharness: Fixed gateway test formatting
2015-01-28 16:52:46 -08:00
Matt Bell
cea68afa2e
core/corehttp: Handle Etag for caching
2015-01-28 16:50:16 -08:00
Matt Bell
fb986fd822
core/corehttp: Added cache headers to gatewayy requests
2015-01-28 16:48:07 -08:00
Matt Bell
2028d37076
test/sharness: Added basic gateway tests
2015-01-28 16:46:00 -08:00
Matt Bell
e4eb964f69
core/corehttp: Use consts for path prefixes
2015-01-28 16:43:45 -08:00
Matt Bell
2759d1c126
core/corehttp: Added handling of /ipns/<hash>/x paths
2015-01-28 16:38:36 -08:00
Matt Bell
950e492fc4
core/corehttp: Close DAGReaders when done
2015-01-28 16:01:42 -08:00
Matt Bell
58d401c3b0
core/corehttp: gateway_handler: Redirect to path with trailing slash when showing a directory's index.html
2015-01-28 16:01:42 -08:00
Matt Bell
df97b968a1
cmd/ipfs: Add empty gateway object when initting config
2015-01-28 16:01:42 -08:00
Matt Bell
7c5b276179
cmd/ipfs: daemon: Added root redirect handler to corehttp options (for both gateway and API)
2015-01-28 16:01:42 -08:00
Matt Bell
47774c5311
repo/config: Added Gateway options to config
2015-01-28 16:01:42 -08:00
Matt Bell
e2be5c2039
core/corehttp: Added RedirectOption
2015-01-28 16:01:41 -08:00
Matt Bell
b8fcece0e5
core/corehttp: Handle IPNS paths in gateway
2015-01-28 16:01:41 -08:00
Matt Bell
d338a81eca
core/corehttp: Support Range requests in gateway handler
2015-01-28 15:49:55 -08:00
Juan Batiz-Benet
81bb548d23
p2p/net/swarm: fix TestDialBackoff
...
- attempts set to 1 now.
- timeouts must account for that.
2015-01-28 15:49:54 -08:00
Juan Batiz-Benet
9959775ff7
Merge pull request #684 from jbenet/fuse-emancipation
...
fuse: no longer require fuse to compile ipfs
2015-01-28 13:25:23 -08:00
Jeromy
72a5902e12
address concerns from PR
2015-01-28 19:36:30 +00:00
Jeromy
f1267d0624
change ipns resolve/publish to store raw keys, not b58 encoded
2015-01-28 19:36:30 +00:00
Juan Batiz-Benet
7ae3706b6d
fuse: no longer require fuse to compile ipfs
...
This commit removes the dependency on go-fuse-version, and thus the
fuse headers. It also introduces an elaborate troubleshooting process
that diagnoses whether fuse installed -- and which version -- with as
little requirements as possible (attept to use sysctl, fall-back on
the go-fuse-version binary, etc). It then nicely instructs the user
what to do next.
2015-01-28 05:18:41 -08:00
Juan Batiz-Benet
56b14d8e9e
Merge pull request #676 from jbenet/dial-events
...
p2p/net: dial log -> events
2015-01-28 02:25:56 -08:00
Juan Batiz-Benet
eb79770683
p2p/net: cleaned up dial events
...
+ fixed race
2015-01-28 02:15:32 -08:00
Juan Batiz-Benet
03e5a3ebb0
Merge pull request #683 from jbenet/fix-sharness-daemon-fuse
...
Allow sharness to run daemon without FUSE
2015-01-28 01:46:58 -08:00
Juan Batiz-Benet
cbe07776e3
test/sharness: make sure to output vars in quotes
...
cc @whyrusleeping: you werent doing so
cc @mappum: you were trying to escape them, but
were un-escaping them in cases with longer quotes.
2015-01-28 01:04:06 -08:00
Juan Batiz-Benet
ed16840414
test/sharness: "echo -n" bug
...
In OSX, the `echo -n` was _somehow_ printing "-n" out... not
really sure why, as the bsd `echo` program supports -n. I changed
this to printf -- which is safer.
2015-01-28 00:53:41 -08:00
Juan Batiz-Benet
72f703642a
test/sharness: style fix
...
Let's use `>file`, not `> file`, as it makes it easier to parse.
2015-01-28 00:49:50 -08:00
Juan Batiz-Benet
c283c0a690
test/sharness: allow testing of daemon without FUSE
...
This commit allows sharness tests to run daemon tests when the FUSE
option is off. Unsure why this was previously included.
2015-01-28 00:36:30 -08:00
Juan Batiz-Benet
80089dade4
Merge pull request #680 from chriscool/fix_daemon_output
...
Fix daemon initialization output change
2015-01-28 00:35:51 -08:00
Juan Batiz-Benet
b4af146fc8
p2p/net: better dial log.Event
2015-01-28 00:13:42 -08:00
Brian Tiger Chow
bbce860bd0
remove debug log output
2015-01-27 17:15:56 -08:00
Brian Tiger Chow
bbcc259eaf
fix(sharness): Initializing daemon... output
2015-01-27 17:04:38 -08:00
Brian Tiger Chow
9ff4dae264
gateway server
...
initialize if not already initialized
remove gateway fs
add gateway server
2015-01-27 16:24:36 -08:00