Brian Tiger Chow
1dd1e7339b
feat(eventlog) add SetError to EventInProgress
2015-02-01 21:54:20 -08:00
Brian Tiger Chow
8f16a4efff
feat(eventlog) add support for e := log.Begin... e.Append(Loggable)
2015-02-01 21:54:20 -08:00
Brian Tiger Chow
88fa7388de
feat(core) add shutdown message
2015-02-01 21:54:20 -08:00
Brian Tiger Chow
a9573058f5
refac(integrationtest) remove core.ConfigOption cast in tests
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
aefdda9c43
fix(fsrepo) don't enforce absolute path in datastore component
...
we only actually care that it isn't tidle'd ~
2015-02-01 21:54:20 -08:00
Brian Tiger Chow
908e4498a8
refactor(gatewayserver)
2015-02-01 21:54:19 -08:00
Brian Tiger Chow
35a5fa6f6f
feat(dht/message) add PeerRoutingInfo
2015-02-01 21:54:19 -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
41d6d040b8
misc(integrationtest) bump 3-legged cat to 100 MB
2015-02-01 21:54:19 -08:00
Brian Tiger Chow
c114b04ae1
feat(bitswap): synchronous close
2015-02-01 21:54:19 -08:00
Brian Tiger Chow
951ff4f747
repo is owned by node, so close the node
2015-02-01 21:54:17 -08:00
Brian Tiger Chow
c7f922b5fc
set the root context at the earlist possible moment
2015-02-01 21:54:02 -08:00
Brian Tiger Chow
cbed858993
use plain-old core.IPFSNode constructor in daemon command
...
fix(cmd/daemon) set node on req context since it expects daemon to be
present when handling commands over the API
@jbenet revenge of the request context redux
2015-02-01 21:53:45 -08:00
Brian Tiger Chow
e45e153a93
rename to repo path
...
fix FIXUP repo -> config
2015-02-01 21:49:39 -08:00
Brian Tiger Chow
eeec8ab3d7
add TODO
2015-02-01 21:49:39 -08:00
Brian Tiger Chow
3c2b6d1205
add iter package
2015-02-01 21:49:39 -08:00
Brian Tiger Chow
ecddbd3a56
fix(mux) hold lock when reading default handler field
2015-02-01 21:49:39 -08:00
Juan Batiz-Benet
d0e5538b6f
Merge pull request #721 from jbenet/fix-daemon-startup-check
...
sharness/lib: fix daemon startup check
2015-02-01 21:44:29 -08:00
Juan Batiz-Benet
b2da275475
sharness/lib: fix daemon startup check
...
Go back to test_run_repeat_10_sec to make sure the API
is there. I think this is also clearer on the reader.
2015-02-01 21:23:31 -08:00
Juan Batiz-Benet
16c1390efd
Merge pull request #718 from jbenet/improve_t0111
...
test/sharness: improve t0111 using test_cmp
2015-02-01 20:56:16 -08:00
Christian Couder
ce10f20ca7
test/sharness: improve t0111 using test_cmp
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-01 20:46:28 -08:00
Juan Batiz-Benet
1d9d13e286
Merge pull request #720 from jbenet/fix-sharness-gateway-addr-check
...
sharness/lib: fixing gateway addr check
2015-02-01 20:45:58 -08:00
Juan Batiz-Benet
6208b1f5b5
Merge pull request #717 from jbenet/improve_t0090
...
test/sharness: improve t0090 by using printf
2015-02-01 20:43:51 -08:00
Juan Batiz-Benet
7ce3c79519
sharness/lib: fixing gateway addr check
...
seems that the previous way isnt liked by all platforms
2015-02-01 20:41:34 -08:00
Christian Couder
5aeadd44ad
test/sharness: improve t0090 by using printf
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-01 20:25:24 -08:00
Juan Batiz-Benet
f5f5700ddf
Merge pull request #712 from jbenet/cat-length-fix
...
cat length output now uses unixfs size
2015-02-01 20:23:29 -08:00
Juan Batiz-Benet
5b0a544b92
sharness/t0090-get.sh disable the failing tar test
2015-02-01 20:16:56 -08:00
Juan Batiz-Benet
33144f4e39
sharness/t0021-config.sh test config setting
2015-02-01 20:15:51 -08:00
Juan Batiz-Benet
24f0d020e0
sharness: better config setting
2015-02-01 20:15:50 -08:00
Juan Batiz-Benet
56b6a2069a
sharness: gateway fixes
...
there's an odd error setting the config.
2015-02-01 19:24:36 -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
fcd8ebcca5
NewDagReader: return DagReader for more functions
...
Since the DagReader has lots of useful information (like sizes etc)
it's good to be able to use it.
2015-02-01 19:24:36 -08:00
Juan Batiz-Benet
4539b977c4
Merge pull request #716 from jbenet/improve_t0080
...
test/sharness: improve t0080
2015-02-01 18:33:49 -08:00
Christian Couder
83e88a8e2b
test/sharness: improve t0080
...
The following changes are made to make t0080
cleaner, safer and more canonical:
- remove useless stuff,
- don't use a pipe after ipfs commands,
- use test_must_fail before ipfs commands instead of !
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-02 01:24:33 +01:00
Juan Batiz-Benet
fbf1a50a54
Merge pull request #608 from jbenet/ipfs-multiaddr
...
multiaddrs with .../ipfs/...
2015-02-01 06:45:14 -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
fc78f20093
p2p/conn: expose io.Closer interface
2015-02-01 06:35:48 -08:00
Juan Batiz-Benet
5a8aa1afcf
ipfsaddr: Transport part.
2015-02-01 06:34:13 -08:00
Juan Batiz-Benet
d0dd22b7d4
sharness/t0120-bootstrap: test the bootstrap cmd
...
and do it both online + offline
2015-02-01 06:07:28 -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
de464b7e40
test/3nodetest: list bootstrap nodes to debug
2015-02-01 05:16:53 -08:00
Juan Batiz-Benet
af5b835dc7
util/ipfsaddr: recover from panics parsing
2015-02-01 05:16:53 -08:00
Juan Batiz-Benet
c99dd848dc
changelog: added to account for breaking changes
2015-02-01 05:16:53 -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
2e6be0b199
util/ipfsaddr: Multiaddr() + ID()
2015-02-01 05:16:52 -08:00
Juan Batiz-Benet
6f9c297f08
update multiaddr for ipfs addrs
2015-02-01 05:16:52 -08:00
Juan Batiz-Benet
d0f60432d8
Merge pull request #711 from jbenet/fix-hanging-notifs
...
misc fixes: hanging connects + test output
2015-02-01 05:15:27 -08:00