Brian Tiger Chow
eb8db2ec79
log(gcr/s,c) add addtional eventlogs
2015-02-14 14:13:55 -08:00
Brian Tiger Chow
098edb306f
add s3 datastore
2015-02-14 14:13:55 -08:00
Brian Tiger Chow
bcfa539272
vendor aws, s3
...
vendor: goamz/aws and goamz/s3
2015-02-14 14:13:55 -08:00
Brian Tiger Chow
b34fee4ede
test(gc) with 10 node integration test
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
4a9ae80791
fix(gcr/c) print a loud error when clients receive routing messages, but don't panic
...
This is an unhandled case. Right now, we close the stream without
reading. Should clients be able to satisfy routing requests?
@jbenet @whyrusleeping
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
d5331e7dc7
feat(gcr/s) add eventlogs
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
f17ede8334
refactor(integrationtest) use RoutingOptions in mocknet repo
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
9e5b3b7773
refactor(gcr/c) pass host.Host into GCR client
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
ea9ea79459
feat(gcr/c) randomize order of remotes
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
46bbd11e6b
fix(gcr/s,c) register stream handlers
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
d80e9aba7a
feat(gcr/c) add support for multiple servers
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
73b544c932
feat(corerouting) add package for custom routing options
...
fix(corerouting): connect to routing servers when setting up GCR client
doc(corerouting) add TODO to move stuff to routing bootstrap
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
f8f4dc8e8d
misc(gcr/c) rm TODO
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
0721a58934
fix(gcr/s) proto marshaling bugs
2015-02-14 14:13:54 -08:00
Brian Tiger Chow
a88621aeb1
refac(gcr/s,c) remove network/dialer
...
remove dialer from GCR client
2015-02-14 14:13:53 -08:00
Brian Tiger Chow
c989646791
refac(gcr/s,c) use PeerRoutingInfo
2015-02-14 14:13:53 -08:00
Brian Tiger Chow
0db1a94862
misc: suppress logs to Debug (from Info)
2015-02-14 14:13:53 -08:00
Brian Tiger Chow
a549cf57d6
add space
2015-02-14 14:13:53 -08:00
Juan Batiz-Benet
8fb94daa65
Merge pull request #779 from jbenet/fix/dht
...
this might solve all our problems
2015-02-13 00:51:43 -08:00
Juan Batiz-Benet
dee43a39ec
Merge pull request #778 from jbenet/fix/757
...
fix for #757
2015-02-13 00:47:45 -08:00
Jeromy
066ebda687
a few more cleanup changes to handlers
2015-02-13 08:29:10 +00:00
Jeromy
241e34267c
this might solve all our problems
2015-02-13 08:08:30 +00:00
Jeromy
32fc3845f0
fix for #757
2015-02-13 07:47:51 +00:00
Jeromy Johnson
d4d3e29106
Merge pull request #775 from jbenet/fix/repo-tilde
...
have repo tilde expand paths
2015-02-12 19:19:55 -08:00
Juan Batiz-Benet
247649969e
Merge pull request #726 from kevinwallace/gateway_hostname
...
gateway: attempt to resolve hostname to ipfs path
2015-02-12 18:52:16 -08:00
Juan Batiz-Benet
0198b3155c
Merge pull request #776 from jbenet/fix/mdag-panic
...
fix a panic caused by context cancelling closing a promise channel
2015-02-12 18:34:58 -08:00
Jeromy
de057f60dd
fix a panic caused by context cancelling closing a promise channel
2015-02-12 23:47:11 +00:00
Jeromy
c28944ce6c
have repo tilde expand paths
2015-02-12 05:09:12 +00:00
Jeromy Johnson
6eb5d8ea77
Merge pull request #774 from jbenet/block-put-fix
...
Fixed 'ipfs block put' panic
2015-02-11 20:21:11 -08:00
Jeromy Johnson
188c37e2ba
Merge pull request #773 from jbenet/feat/builder-master
...
implement nodebuilder
2015-02-11 15:25:24 -08:00
Matt Bell
bbca9a1c37
Fixed 'ipfs block put' panic
2015-02-11 14:56:36 -08:00
Juan Batiz-Benet
e397e52195
Merge pull request #772 from jbenet/dial-respect-ctx
...
p2p/net/conn: respect context on dialing
2015-02-11 14:16:36 -08:00
Jeromy
7a2545a14b
implement nodebuilder
2015-02-11 21:47:07 +00:00
Juan Batiz-Benet
5171d3df6b
p2p/net/conn: respect context on dialing
...
We were half-way with this. there's no way for net.Dialers
to respect contexts, so we have to let the dial finish in
the background.
2015-02-11 09:12:15 -08:00
Juan Batiz-Benet
6f166529dd
added AUTHORS file
2015-02-11 07:42:21 -08:00
Juan Batiz-Benet
8be756313a
Merge pull request #770 from jbenet/pkg-docs
...
document some packages
2015-02-10 16:06:22 -08:00
Jeromy
140c70d772
document some packages
2015-02-10 22:59:10 +00:00
Juan Batiz-Benet
f6a336cc04
Merge pull request #766 from jbenet/ctx-done-fixes
...
ctx.Done fixes
2015-02-09 23:52:32 -08:00
Juan Batiz-Benet
1811f1efac
ctx.Done fixes
...
thanks @whyrusleeping for finding these.
2015-02-09 23:18:23 -08:00
Juan Batiz-Benet
931cff2c70
Merge pull request #764 from jbenet/use_multihash_not_shasum
...
Use multihash not shasum
2015-02-08 16:15:48 -08:00
Kevin Wallace
e5abf0764c
corehttp: add test for gateway with mocked namesys
...
License: MIT
Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
2015-02-08 12:54:43 -08:00
Kevin Wallace
794b7b7b3e
corehttp: tear off makeHandler, for tests
...
License: MIT
Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
2015-02-08 12:50:47 -08:00
Kevin Wallace
084cdc3ed8
gateway: attempt to resolve hostname to ipfs path
...
This allows someone to host a static site by pointing a TXT record at their
content in IPFS, and a CNAME record at an IPFS gateway.
Note that such a setup technically violates RFC1912 (section 2.4; "A CNAME
record is not allowed to coexist with any other data."), but tends to work in
practice.
We may want to consider changing the DNS->IPFS resolution scheme to allow this
scenario to be RFC-compliant (e.g. store the mapping on a well-known subdomain
to allow CNAME records on the domain itself).
License: MIT
Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
2015-02-08 11:27:06 -08:00
Kevin Wallace
fbd76ebb5b
corehttp: ServeOption supports chaining muxes
...
Each option now additionally returns the mux to be used by future options. If
every options returns the mux it was passed, the current behavior is unchanged.
However, if the option returns an a new mux, it can mediate requests to handlers
provided by future options:
return func(n *core.IpfsNode, mux *http.ServeMux) (*http.ServeMux, error) {
childMux := http.NewServeMux()
mux.Handle("/", handlerThatDelegatesToChildMux)
return childMux, nil
}
License: MIT
Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
2015-02-08 11:27:06 -08:00
Christian Couder
391b5a3c89
t0040: use multihash instead of shasum in tests
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-08 13:36:37 +01:00
Christian Couder
fe1ba2bf18
test: use multihash instead of shasum in tests
...
As shasum is not installed on all machines and
we use multihash anyway in the code base, it
removes one dependency to use shasum instead of
shasum in the tests.
Now that there are sharness tests in multihash
it is also safe to use it.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-08 13:35:45 +01:00
Juan Batiz-Benet
3e635e57af
Merge pull request #763 from jbenet/update-multihash
...
go-multihash update
2015-02-07 12:59:41 -08:00
Juan Batiz-Benet
a4c522bcd4
go-multihash update
2015-02-07 12:53:10 -08:00
Juan Batiz-Benet
757a71f2bf
Merge pull request #762 from jbenet/ipns-gateway-fix
...
gateway: dont cache ipns paths
2015-02-07 12:11:07 -08:00
Juan Batiz-Benet
872c64dd79
gateway: dont cache ipns paths
...
ipns paths are mutable and should not be cached. this error is
a byproduct of the currently messy gateway route. We should split
the /ipfs and /ipns routes up.
2015-02-07 10:10:05 -08:00