Juan Batiz-Benet
e92a33f442
routing/kbucket: cleaner "public" interface for bucket
2015-02-05 06:22:44 -08:00
Juan Batiz-Benet
be2be853c7
kbucket: fix data race
2015-02-05 04:53:23 -08:00
Juan Batiz-Benet
0de13b071d
Merge pull request #743 from jbenet/misc-2-2
...
Gateway Changes
2015-02-05 00:05:43 -08:00
Matt Bell
0195c03664
core/corehttp: Updated WebUI hash
2015-02-04 23:51:06 -08:00
Juan Batiz-Benet
739abea36b
Merge pull request #647 from chriscool/ipfs_test_lib
...
Add ipfs-test-lib.sh
2015-02-04 19:31:23 -08:00
Matt Bell
2d173c3a25
core/corehttp: Return 403 for blocked requests instead of 404
2015-02-04 18:46:59 -08:00
Matt Bell
09e4224aa7
test/sharness: Fixed gateway tests
2015-02-04 18:46:59 -08:00
Matt Bell
e8bbf1dcdf
commands/http: Made command HTTP API only accept requests from referers on the same server
2015-02-04 18:46:59 -08:00
Matt Bell
b1ca07d6c5
core/corehttp: Added gateway path whitelisting
2015-02-04 18:46:54 -08:00
Brian Tiger Chow
6599756168
Merge pull request #741 from jbenet/feat/blocklist
...
add blocklist to gateway executable
2015-02-04 18:44:03 -08:00
Matt Bell
a16e0bba2f
repo/config: Added default gateway address to initial config
2015-02-04 16:53:24 -08:00
Matt Bell
262e78122a
core/corehttp: Added Suborigin header to gateway responses
2015-02-04 16:53:24 -08:00
Matt Bell
a7de81b818
commands: URL escape filenames in multipart files, resolves #654
2015-02-04 16:53:24 -08:00
Brian Tiger Chow
9c489c37a4
feat(gateway-fs) use blocklist in gateway binary
...
log
fix main
2015-02-04 16:17:40 -08:00
Brian Tiger Chow
d50a7ff003
feat(corehttp) add a Gateway blocklist
...
use pointer
use func
comment on decider to clarify whether it allows or denies
fix set conf
gstw
2015-02-04 16:17:39 -08:00
Brian Tiger Chow
4c920d0281
Revert "run make vendor (removes go-humanize)"
...
This reverts commit bbcc86b78e .
humanize is required for sharness. doh!
2015-02-04 15:38:38 -08:00
Brian Tiger Chow
bbcc86b78e
run make vendor (removes go-humanize)
2015-02-04 15:32:16 -08:00
Brian Tiger Chow
bbcdeb74d2
fix: vendor
2015-02-04 15:32:49 -08:00
Jeromy Johnson
4e4070b444
Merge pull request #729 from jbenet/feat/metadata
...
implement metadata node for unixfs and other
2015-02-04 15:13:17 -08:00
Jeromy
2501a7c7b7
update UI from PR comments
2015-02-04 23:07:13 +00:00
Jeromy
4770c5e142
only expose IpfsNode as param
2015-02-04 23:07:13 +00:00
Jeromy
b79fffc965
implement metadata node for unixfs and other
2015-02-04 23:07:12 +00:00
Jeromy Johnson
adb7ad9fcd
Merge pull request #713 from jbenet/feat/trickledag
...
implement trickledag for faster unixfs operations
2015-02-04 15:04:57 -08:00
Jeromy
1e93ee00c0
clean up benchmarks, implement WriterTo on DAGReader, and optimize DagReader
2015-02-04 21:59:51 +00:00
Jeromy
414bdc78c0
fix benchmarks
2015-02-04 21:59:51 +00:00
Jeromy
bc79ae17a1
refactor importer package with trickle and balanced dag generation
2015-02-04 21:59:51 +00:00
Jeromy
b3e74fabb5
implement trickledag for faster unixfs operations
2015-02-04 21:59:50 +00:00
Christian Couder
bbb6196d12
Delete test/bin/fsh
...
It has been replaced with test_fsh().
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-04 22:01:03 +01:00
Christian Couder
fa13afa5ca
Replace fsh with test_fsh in sharness tests
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-04 21:53:19 +01:00
Christian Couder
65cbbdff84
Add ipfs-test-lib.sh and source it in sharness test-lib.sh
...
The new ipfs-test-lib.sh file contains generic test
functions.
We also start replacing fsh with a shell function named
test_fsh() in ipfs-test-lib.sh.
And we move our custom test_cmp in ipfs-test-lib.sh.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-04 21:50:07 +01:00
Juan Batiz-Benet
1afb281dfd
Merge pull request #739 from jbenet/gc-query-queues
...
gc query queues
2015-02-04 04:24:28 -08:00
Brian Tiger Chow
75ffca6b72
Merge pull request #742 from jbenet/fix/repo-config-validation
...
when setting config keys, validate against struct before writing to disk
2015-02-03 18:15:02 -08:00
Brian Tiger Chow
faded48945
fix(config) use max backups to limit number of backups
2015-02-03 17:16:26 -08:00
Brian Tiger Chow
bbcbf46ce7
fix(repo/config) detect strings that represent ints
2015-02-03 17:19:19 -08:00
Brian Tiger Chow
bbc9715d4b
fix(config, eventlog) use int. it plays nicely with everyone else
2015-02-03 17:19:15 -08:00
Brian Tiger Chow
d1da1d40c2
fix(repo/config) validate against struct before writing to disk
...
When setting config keys, the program doesn't know whether the
key-to-be-modified exists on the Config struct. (Perhaps, with
reflection, it is possible to find the field). To allow callers to write
non-existent keys, the program would...
Before:
1) converts the in-memory *Config to a map
2) sets the key on the map, and
3) writes this map to disk.
4) Then, it converts this map back into an in-memory struct.
This commit swaps 3 and 4 so the map can be validated against the struct
before being written to disk. This prevents the bug identified in #740 .
2015-02-03 16:55:10 -08:00
Juan Batiz-Benet
d8a5bd0549
dht/query: make sure to cancel all contexts.
...
We are leaking peer queues:
http://gateway.ipfs.io/ipfs/QmQxVA48CzVwwNYExUiFe56VrUBn8u368ZfchnCLoc7fSC/moriarty
2015-02-03 12:19:17 -08:00
Juan Batiz-Benet
e384aec2a9
cmds/root: ipfs root text arrangement
2015-02-03 12:17:59 -08:00
Juan Batiz-Benet
6c3173d12b
Merge pull request #734 from jbenet/cmd-fixes
...
cmd fixes -- fix id + swarm bugs
2015-02-03 08:36:06 -08:00
Juan Batiz-Benet
cc6a78419b
test/mocknet: this test fails on CI sometimes
2015-02-03 08:02:25 -08:00
Juan Batiz-Benet
9273cd7243
.travis.yml: use 1.4, not release
...
from irc:
<jbenet> Any idea why this job isn't finding Go?
https://travis-ci.org/jbenet/go-ipfs/jobs/49296465 --
we havent had problems for a while and now lots of
builds fail like this.
<•meatballhat> jbenet: still around?
<•meatballhat> jbenet: the `release` name was something specific to
gvm. As there is no `release` tag in the go repo, it's no longer a
valid target. What you probably want is `1.4.1` or `master`.
<jbenet> meatballhat: ah thank you
<•meatballhat> jbenet: np, sorry about the switchup! gvm had been
woefully undermaintained since August, so we were long overdue in
replacing it.
2015-02-03 06:50:16 -08:00
Juan Batiz-Benet
10cd499a8b
cmds/swarm connect had broken
2015-02-03 05:51:31 -08:00
Juan Batiz-Benet
581c4e558e
cmds/id: show self addrs
2015-02-03 05:51:31 -08:00
Juan Batiz-Benet
d4257f9525
fsrepo: fix output to writer
2015-02-03 02:27:24 -08:00
Juan Batiz-Benet
e24f169283
Merge pull request #733 from jbenet/cleaner-output
...
logs: removed all log.Errors unhelpful to users
2015-02-03 02:02:40 -08:00
Juan Batiz-Benet
bdced928a2
travis.yml removed TRAVES. typo + not needed.
2015-02-03 01:30:16 -08:00
Juan Batiz-Benet
58f39687cf
logs: removed all log.Errors unhelpful to users
...
Let's save log.Error for things the user can take action on.
Moved all our diagnostics to log.Debug. We can ideally reduce them
even further.
2015-02-03 01:06:07 -08:00
Juan Batiz-Benet
61c97f80a3
Merge pull request #728 from jbenet/addrsplosion
...
AddrSplosion III - Revenge of the granular TTL
2015-02-02 21:42:36 -08:00
Juan Batiz-Benet
9ba450b425
p2p/crypto/secio: dont bother user with mac errs.
2015-02-02 21:05:33 -08:00
Juan Batiz-Benet
37007b9c2b
p2p/protocol/id: log version mismatch disconnects
2015-02-02 21:05:33 -08:00