Jeromy
7e7fcb35ea
changes from CR feedback
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-04-16 12:23:34 -07:00
Jeromy
73a2f80c76
Add some help text
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-14 13:13:54 -07:00
Jeromy
bf7da8522c
basic implementation of object diff
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-14 13:06:51 -07:00
Jeromy Johnson
b0a613fd71
Merge pull request #1892 from MichaelMure/blockstore_log
...
Add log events when blocks are added/removed to/from the blockstore
2016-04-12 18:59:20 -07:00
Jeromy Johnson
185a3a6be9
Merge pull request #2523 from ipfs/clean-all-bins
...
sharness/Makefile: clean all BINS when cleaning
2016-04-12 18:57:06 -07:00
Jeromy Johnson
c11118fb07
Merge pull request #2481 from ipfs/feature/add-wrap-long-desc
...
Added a long description to add
2016-04-12 18:10:43 -07:00
Jeromy Johnson
e99066a1a2
Merge pull request #2475 from ipfs/feature/object-patch-set-data-docs
...
Edited object patch set-data doc
2016-04-12 18:09:48 -07:00
Jeromy Johnson
70af4ddb55
Merge pull request #2555 from noffle/1925test
...
Adds tests to make sure 'object patch' writes.
2016-04-12 17:57:59 -07:00
Richard Littauer
a94f9dab6d
Added a long description to add
...
This explains mostly what the wrap option does, because it was not entirely clear
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-12 17:25:08 -07:00
Stephen Whitmore
6d25aca9ed
Adds tests to make sure 'object patch' writes.
...
Tests to ensure that object patching writes to the block store.
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-12 17:22:06 -07:00
Richard Littauer
568e5087e1
Edited object patch set-data doc
...
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-12 16:12:38 -07:00
Jeromy Johnson
ca50f0d8bf
Merge pull request #2497 from noffle/init_check
...
Makes repo existance check more sensitive.
2016-04-12 13:00:27 -07:00
Jeromy Johnson
6c8bebbedd
Merge pull request #2257 from ipfs/feat/promise-fail
...
allow promises to fail
2016-04-12 11:52:13 -07:00
Jeromy
5a0b6e593a
small sharness test for promise failure checking
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-04-12 11:21:34 -07:00
Jeromy
cf7f5da426
don't fail promises that already succeeded
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-12 10:43:23 -07:00
Jeromy Johnson
8d7117f55a
Merge pull request #2549 from ipfs/datastore-config
...
repo: properly init Datastore config, and leave it be
2016-04-12 10:41:20 -07:00
Jeromy Johnson
53c94ef7b4
Merge pull request #2356 from ipfs/prometheus2
...
metrics: rework prometheus integration
2016-04-12 10:31:43 -07:00
Lars Gierth
0e906466e7
godeps: remove prometheus and deps
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-04-11 19:37:06 -07:00
Lars Gierth
caec086c28
metrics: add prometheus back
...
With a proper IpfsCollector object and tests, this time.
The collector object makes it easy to add further metrics,
like e.g. bitswap wants/provs.
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-04-11 19:33:16 -07:00
Lars Gierth
a79907b7c1
repo: properly init Datastore config, and leave it be
...
We didn't previously initialize the Datastore config section.
The respective function exists, but was dead code up until now.
This lead to weird decisions like the GC code deciding on defaults,
and writing these to the config file. Don't want GC to touch the config.
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-04-11 16:21:14 -07:00
Juan Benet
daaa69e276
Merge pull request #2548 from ipfs/fix/libp2p-listen-hang
...
update libp2p dep to fix hanging listeners problem
2016-04-11 16:21:43 -04:00
Jeromy
bdc5456d52
update libp2p dep to fix hanging listeners problem
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-11 12:52:54 -07:00
Jeromy Johnson
a957b4b9c1
Merge pull request #2541 from ipfs/feat/roadmap
...
add roadmap.md
2016-04-08 16:06:32 -07:00
Jeromy
831a695930
add roadmap.md
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 16:05:32 -07:00
Jeromy Johnson
ab8879c433
Merge pull request #2538 from ipfs/feat/config-cleanup
...
clean up dead code and config fields
2016-04-08 15:09:45 -07:00
Jeromy
38b21e4296
remove test for removed dead config version fields
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 13:54:12 -07:00
Jeromy
74fad48e4b
clean up dead code and config fields
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 13:11:30 -07:00
Jeromy Johnson
8784e606b2
Merge pull request #2537 from noffle/files-api-help
...
Adds Files API cmd to helptext
2016-04-08 12:35:08 -07:00
Stephen Whitmore
c89723d316
Adds files api cmd to helptext
...
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-08 12:33:00 -07:00
Jeromy Johnson
016f18c89c
Merge pull request #2340 from ipfs/fix/key-escape
...
fix dht command key escaping
2016-04-08 12:20:06 -07:00
Jeromy Johnson
e7dfd778af
Merge pull request #2536 from ipfs/dev-version-bump-0.4.1
...
bump ipfs dev version to 0.4.1
2016-04-08 11:46:51 -07:00
Jeromy
1b90fab38f
bump ipfs dev version to 0.4.1
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 11:31:45 -07:00
Jeromy
d84dfafe69
allow promises to fail
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 11:26:21 -07:00
Jeromy
00e4472dff
Remove debug log
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 11:23:21 -07:00
Jeromy
c5b2e09708
test for the dht key escaping
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 11:23:21 -07:00
Jeromy
65c66fd09b
fix dht command key escaping
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 11:23:21 -07:00
Jeromy
600c95eb53
version bump to 0.4.0
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-07 16:22:41 -07:00
Jeromy
a164fc958f
Ipfs v0.4.0 changelog
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-07 16:22:21 -07:00
Jeromy Johnson
8a0bd6ce67
Merge pull request #2532 from ipfs/deps/libp2p/msscrypto
...
switch to new libp2p with mss crypto
2016-04-07 15:55:33 -07:00
Jeromy
e9edd2d884
use nc -w instead of -q because osx is slow
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-07 15:55:41 -07:00
Jeromy
42455d27b3
multistream tests use data from file
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-07 15:55:41 -07:00
Jeromy
3148f4c34f
fix tests that check swarm port knocking
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-07 15:55:41 -07:00
Jeromy
8f3a51ac42
switch to new libp2p with mss crypto
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-07 15:55:41 -07:00
Jeromy Johnson
5db8b1666f
Merge pull request #2466 from ipfs/feat/fd-limit-check
...
try to raise ulimit if its too low
2016-04-07 12:46:03 -07:00
Jeromy
e661832575
hide fd adjusting code behind daemon feature flag
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-07 07:41:09 -07:00
Jeromy
0cb01acd71
don't use Max for setting Current
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-06 18:09:50 -07:00
Jeromy
48ee44c46a
try to raise ulimit if its too low
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-06 18:09:50 -07:00
Jeromy Johnson
ae3fed721f
Merge pull request #2520 from slothbag/sloth_b64_fix
...
Add option to decode 'Data' field as base64
2016-04-04 20:00:25 -07:00
Jeromy Johnson
c6e6bb056a
Merge pull request #1988 from ipfs/ipfs-prefix-hardening
...
gateway: harden path prefix
2016-04-04 16:08:26 -07:00
Lars Gierth
09937f84b6
gateway: enforce allowlist for path prefixes
...
The gateway accepts an X-Ipfs-Path-Prefix header,
and assumes that it is mounted in a reverse proxy
like nginx, at this path. Links in directory listings,
as well as trailing-slash redirects need to be rewritten
with that prefix in mind.
We don't want a potential attacker to be able to
pass in arbitrary path prefixes, which would end up
in redirects and directory listings, which is why
every prefix has to be explicitly allowed in the config.
Previously, we'd accept *any* X-Ipfs-Path-Prefix header.
Example:
We mount blog.ipfs.io (a dnslink page) at ipfs.io/blog.
nginx_ipfs.conf:
location /blog/ {
rewrite "^/blog(/.*)$" $1 break;
proxy_set_header Host blog.ipfs.io;
proxy_set_header X-Ipfs-Gateway-Prefix /blog;
proxy_pass http://127.0.0.1:8080 ;
}
.ipfs/config:
"Gateway": {
"PathPrefixes": ["/blog"],
// ...
},
dnslink:
> dig TXT _dnslink.blog.ipfs.io
dnslink=/ipfs/QmWcBjXPAEdhXDATV4ghUpkAonNBbiyFx1VmmHcQe9HEGd
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-04-04 16:31:57 -04:00