Commit Graph

4232 Commits

Author SHA1 Message Date
Juan Batiz-Benet
4e71ce3cc7 Merge pull request #1272 from Luzifer/fix/dnslink
Fix: dnslink domain resolving was broken; Add: no caching for those
2015-05-24 18:47:54 +02:00
Juan Batiz-Benet
dacdeb1081 Merge pull request #1285 from ipfs/t0040-stdin-add-tests
t0040: test ipfs add with stdin
2015-05-24 18:24:47 +02:00
Christian Couder
ee3092f882 t0040: test ipfs add with stdin
Let's test 'ipfs add' with stdin input too.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-23 21:02:24 +02:00
Juan Batiz-Benet
0d1072a80b Merge pull request #1281 from ipfs/fix/bs-race
fix minor data race in bitswap
2015-05-22 23:30:35 +02:00
Juan Batiz-Benet
c8cb8d9c39 Merge pull request #1278 from ipfs/fix/bs-cmd-offline
make bitswap commands error out properly offline
2015-05-22 22:54:51 +02:00
Jeromy
a3356b0417 fix minor data race in bitswap 2015-05-22 13:39:03 -07:00
Juan Batiz-Benet
10c362823e Merge pull request #1282 from travisperson/bug/panic-on-empty-path
Bug/panic on empty path
2015-05-22 22:29:14 +02:00
Travis Person
2c71c54823 Named error for no components
Update the previous `invalid path` error to match the error returned
from `SplitAbsPath`.
2015-05-22 09:18:49 -07:00
Travis Person
d96246c622 Fixed tests to actually test for the error we are seeking
Cleaned the tests, and actually test for the error.
2015-05-22 08:56:33 -07:00
Travis Person
dcc4da0b37 Replaced old logic to check for valid path
Added the original logic to check for a invalid path and a simple test.
2015-05-22 08:56:33 -07:00
Travis Person
42289d4f21 Daemon panics if no path is given
If no path after `/ipfs/` or `/ipns/` is given, then the daemon will
panic with a slice bounds out of range error. This checks to see if we
have anything after `ipfs` or `ipns`.
2015-05-22 08:56:33 -07:00
Juan Batiz-Benet
988b158dc7 Merge pull request #1276 from ipfs/debug/perm-fail
trying to debug permissions failure
2015-05-22 12:02:07 +02:00
Jeromy
648526d8f0 make bitswap commands error out properly offline 2015-05-21 22:41:44 -07:00
Jeromy
eff73ccce7 error -> notice, bitswap 2015-05-21 21:24:42 -07:00
Jeromy
cc905539ae trying to debug permissions failure 2015-05-21 17:24:38 -07:00
Jeromy Johnson
8b94abd199 Merge pull request #1275 from ipfs/fix/resolution
fix offline full path resolution bug
2015-05-21 15:19:05 -07:00
Jeromy
60ac59139c fix offline full path resolution bug 2015-05-21 14:45:30 -07:00
Juan Batiz-Benet
5853eac344 Merge pull request #1218 from ipfs/refactor/bitswap
large refactor of bitswap, implement wantmanager to manage wantlist
2015-05-21 15:47:14 -04:00
Jeromy
ce0d2f46d6 defer tock.Stop() 2015-05-21 03:08:32 -04:00
Jeromy
2f934e8c58 warning -> notice 2015-05-21 03:08:32 -04:00
Jeromy
b71a0aced0 clarify synhronization constructs 2015-05-21 03:08:32 -04:00
Jeromy
c273a3bd4f better bitswap logging 2015-05-21 03:08:32 -04:00
Jeromy
2882c793e2 add a distribution test with the rebroadcast delay disabled 2015-05-21 03:08:32 -04:00
Juan Batiz-Benet
2eac921e1d fixup the bitswap readme 2015-05-21 03:08:32 -04:00
Jeromy
829b88420e explicitly set bitswap message fullness 2015-05-21 03:08:31 -04:00
Jeromy
594c7786c3 turn rebroadcast back on 2015-05-21 03:08:31 -04:00
Jeromy
6ab4bfea95 turn tests down a bit and better context passing 2015-05-21 03:08:31 -04:00
Jeromy
65f815a27b move taskdone inside lock boundaries 2015-05-21 03:08:31 -04:00
Jeromy
32da687774 fix race bugs 2015-05-21 03:08:31 -04:00
Jeromy
6bf33ad62f WIP: super awesome bitswap cleanup fixtime 2015-05-21 03:08:31 -04:00
Jeromy
ef967ceeef contextify peermanager 2015-05-21 03:08:31 -04:00
Jeromy
8443b99c1d update comments and reintroduce test 2015-05-21 03:08:31 -04:00
Jeromy
a159e6825c implement peermanager to control outgoing messages
Also more refactoring of bitswap in general, including some perf
improvements and eventlog removal.

clean up, and buffer channels

move some things around

correctly buffer work messages

more cleanup, and improve test perf

remove unneccessary test

revert changes to bitswap message, they werent necessary
2015-05-21 03:08:30 -04:00
Juan Batiz-Benet
f0276dc39d Merge pull request #1271 from ipfs/fix/shutdown-err
silence error log on shutdown
2015-05-21 02:53:32 -04:00
Knut Ahlers
8df8737f6a removed requirement of path package 2015-05-21 08:51:18 +02:00
Knut Ahlers
373260d373 Fix: dnslink domain resolving was broken; Add: no caching for those
fixes #1234
fixes #1267
2015-05-21 08:44:17 +02:00
Jeromy
bd30866c1b silence error log on shutdown 2015-05-20 23:29:19 -07:00
Juan Batiz-Benet
ba82328dd9 Merge pull request #1270 from ipfs/fix/daemon-shutdown
do http server properly so daemon can shut down
2015-05-21 02:16:10 -04:00
Jeromy
f6fadc4c91 do http server properly so daemon can shut down 2015-05-20 22:42:54 -07:00
Juan Batiz-Benet
1f8230c98f Merge pull request #1263 from ipfs/stdin-parsing-optional-arg
Stdin parsing optional arg
2015-05-21 01:30:54 -04:00
Juan Batiz-Benet
5c94a68abb travis: dont run 1.3 for now
travis is very slow atm, so we're not running 1.3 builds for
a while.
2015-05-21 00:00:23 -04:00
Juan Batiz-Benet
12d38569a8 Merge pull request #1262 from ipfs/remove-inflect
remove inflect package
2015-05-20 23:59:30 -04:00
Juan Batiz-Benet
9b4b2c6879 Merge pull request #1235 from Luzifer/fix/dnslink-issues
Fix: Using the `dnslink` feature led to infinite redirects
2015-05-20 23:59:01 -04:00
Juan Batiz-Benet
d51f28e895 Merge pull request #1254 from ipfs/fix/refs-fail
fix silent refs failure
2015-05-20 23:25:02 -04:00
Juan Batiz-Benet
1c35377f9c Merge pull request #1256 from ipfs/fix/init
clean up and fix init permissions handling
2015-05-20 21:31:00 -04:00
Christian Couder
23681727e0 parse: fix parsing optional arg with stdin
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-21 00:30:08 +02:00
Jeromy
225b58e31a remove inflect package 2015-05-20 15:09:20 -07:00
Christian Couder
be3b7e13e3 parse_test: test command with optional arg
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-20 22:47:14 +02:00
Christian Couder
8d6bfec890 parse: improve stdin fix
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-20 21:28:41 +02:00
Knut Ahlers
1b3797474f Fix: Using the dnslink feature led to infinite redirects
fixes #1233
2015-05-20 19:42:28 +02:00