Matt Bell
0195c03664
core/corehttp: Updated WebUI hash
2015-02-04 23:51:06 -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
b1ca07d6c5
core/corehttp: Added gateway path whitelisting
2015-02-04 18:46:54 -08:00
Matt Bell
262e78122a
core/corehttp: Added Suborigin header to gateway responses
2015-02-04 16:53:24 -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
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
Juan Batiz-Benet
e384aec2a9
cmds/root: ipfs root text arrangement
2015-02-03 12:17:59 -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
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
d13876ffe9
commands/id: version was flipped
2015-02-02 21:05:32 -08:00
Juan Batiz-Benet
b0a1cf0371
ipfs swarm addrs: print out known addresses
...
this will help us introspect what's going on.
2015-02-02 21:05:32 -08:00
Juan Batiz-Benet
e908effb4b
AddrManager: use addr manager with smarter TTLs
...
This addr manager should seriously help with the addrsplosion
problem.
2015-02-02 21:04:14 -08:00
Matt Bell
e5f3ac99c3
core/coreunix: Documented return values
2015-02-02 10:13:33 -08:00
Matt Bell
1ad5b345b8
core/commands: add: Added -w/--wrap-with-directory option
2015-02-02 10:07:35 -08:00
Matt Bell
62333521c6
core/coreunix: Created 'AddWrapped' function to add files with a wrapped directory (to preserve filename in path)
2015-02-02 10:07:35 -08:00
Jeromy
061a866306
ensure dagreaders are cleaned up after 'cat' command finishes
2015-02-02 08:33:54 +00:00
Brian Tiger Chow
88fa7388de
feat(core) add shutdown message
2015-02-01 21:54:20 -08:00
Brian Tiger Chow
d0f9be56e7
refac(core) privatize method
2015-02-01 21:54:20 -08:00
Brian Tiger Chow
1beef957da
refac(core): expose core.OnlineWithRouting constructor option
...
fix FIXUP maybeRouter in core
2015-02-01 21:54:19 -08:00
Brian Tiger Chow
c114b04ae1
feat(bitswap): synchronous close
2015-02-01 21:54:19 -08:00
Juan Batiz-Benet
c43f539f3d
cmds/cat: fix length to use reader.Size()
...
unixfs file size != merkledag cumulative size
2015-02-01 19:24:36 -08:00
Juan Batiz-Benet
aff1d8bdcf
ipfs swarm disconnect (opposite of connect)
2015-02-01 06:37:14 -08:00
Juan Batiz-Benet
3cd3424900
cmds/swarm: now speaks ipfsaddr (.../ipfs...)
2015-02-01 06:36:51 -08:00
Juan Batiz-Benet
bebc3ca0fd
cmd/bootstrap: bugfix on add (dedup)
2015-02-01 06:07:21 -08:00
Juan Batiz-Benet
188d336204
cmds/bootstrap: fix marshalling + listing errors
2015-02-01 05:36:07 -08:00
Juan Batiz-Benet
29bf59dded
bootstrap: use ipfsaddr for boostrap peers ⚠️
...
⚠️ this commit makes your current configs unusable, as the
default bootstrap peers. You may need to edit your config.
Go from:
```js
Bootstrap: [
{
"Address": "/ip4/104.131.131.82/tcp/4001",
"PeerID": "QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
}
]
```
To:
```js
Bootstrap: [
"/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
]
```
2015-02-01 05:16:52 -08:00
Juan Batiz-Benet
f1d34a2a85
test/sharness: fix errors
...
- core: daemon stdout print to cmd + daemon init checks
- core: fixed bug where the gateway was printed as "API"
- sharness/test-lib: daemon init checks
- sharness/test-lib: portable TCP port check
- sharness/init: fix test bits output
- sharness: use common hashes in one place.
- move t0100-http-gateway -> t0111-gateway-writable
- sharness: test-lib funcs for gateway config
- sharness/t0111-gateway-writable: use sh funcs
- sharness/t0111-gateway-writable: fixes
- escape all vars (always `cmd "$VAR"` never `cmd $VAR`)
- use $FILEPATH, not $path
- last test seems to fail
2015-01-31 22:54:34 -08:00
Juan Batiz-Benet
4016d35a81
Merge pull request #617 from mildred/http-rest
...
HTTP: add handlers to allow object creation and modification
2015-01-31 18:07:56 -08:00
Juan Batiz-Benet
f43cf2d917
Merge pull request #703 from jbenet/net-set-listener
...
online services started before network listens
2015-01-31 17:25:18 -08:00
Juan Batiz-Benet
7b85579d7a
core: move online service init block into own func
...
addresses CR comments
2015-01-31 17:20:34 -08:00
Jeromy
b57ba192e6
fix cast panic in ipfs name resolve when daemon is running
...
Addresses bug #689
2015-01-31 23:55:07 +00:00
Mildred Ki'Lya
c9ff778bd6
Added -bool option to ipfs config command
2015-01-31 23:36:46 +01:00
Mildred Ki'Lya
295cc443da
HTTP Gateway: add /ipns/ GET requests
2015-01-31 23:36:46 +01:00
Mildred Ki'Lya
7d09da3c8b
Make gateway read-only by default and add option to make it writable
2015-01-31 23:36:45 +01:00
Mildred Ki'Lya
d221d55d85
HTTP: add handlers to allow object creation and modification
2015-01-31 20:47:34 +01:00
Juan Batiz-Benet
1a3752b81f
core: setup peerhost + listen separate steps
...
We had a problem: we were starting all the services with the network
live, and so would miss early messages. We were noticing bitswap
messages not handled (not in muxer). Many of the subsystems expect
the network to _exist_ when they start up, so we split construction
and starting to listen into two separate steps.
2015-01-30 20:37:53 -08:00
Jeromy
9ddfafb40a
address concerns about user interface with new Path type
2015-01-30 19:55:38 +00:00
Jeromy
abb3c9c9c4
implement path type
2015-01-29 17:51:08 +00: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
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
c36e8dd04c
gateway: reordered headers to avoid error
...
cc @mappum
2015-01-28 16:55:00 -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
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