1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 01:52:26 +08:00

4234 Commits

Author SHA1 Message Date
b3e73c62fe Merge pull request #1292 from diasdavid/patch-1
Change one of the "ipfs" to "ipns"
2015-05-26 08:03:06 -07:00
b2e45da0cc Change one of the "ipfs" to "ipns" 2015-05-26 13:07:54 +01:00
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
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
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
0d1072a80b Merge pull request #1281 from ipfs/fix/bs-race
fix minor data race in bitswap
2015-05-22 23:30:35 +02:00
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
a3356b0417 fix minor data race in bitswap 2015-05-22 13:39:03 -07:00
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
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
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
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
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
988b158dc7 Merge pull request #1276 from ipfs/debug/perm-fail
trying to debug permissions failure
2015-05-22 12:02:07 +02:00
648526d8f0 make bitswap commands error out properly offline 2015-05-21 22:41:44 -07:00
eff73ccce7 error -> notice, bitswap 2015-05-21 21:24:42 -07:00
cc905539ae trying to debug permissions failure 2015-05-21 17:24:38 -07:00
8b94abd199 Merge pull request #1275 from ipfs/fix/resolution
fix offline full path resolution bug
2015-05-21 15:19:05 -07:00
60ac59139c fix offline full path resolution bug 2015-05-21 14:45:30 -07:00
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
ce0d2f46d6 defer tock.Stop() 2015-05-21 03:08:32 -04:00
2f934e8c58 warning -> notice 2015-05-21 03:08:32 -04:00
b71a0aced0 clarify synhronization constructs 2015-05-21 03:08:32 -04:00
c273a3bd4f better bitswap logging 2015-05-21 03:08:32 -04:00
2882c793e2 add a distribution test with the rebroadcast delay disabled 2015-05-21 03:08:32 -04:00
2eac921e1d fixup the bitswap readme 2015-05-21 03:08:32 -04:00
829b88420e explicitly set bitswap message fullness 2015-05-21 03:08:31 -04:00
594c7786c3 turn rebroadcast back on 2015-05-21 03:08:31 -04:00
6ab4bfea95 turn tests down a bit and better context passing 2015-05-21 03:08:31 -04:00
65f815a27b move taskdone inside lock boundaries 2015-05-21 03:08:31 -04:00
32da687774 fix race bugs 2015-05-21 03:08:31 -04:00
6bf33ad62f WIP: super awesome bitswap cleanup fixtime 2015-05-21 03:08:31 -04:00
ef967ceeef contextify peermanager 2015-05-21 03:08:31 -04:00
8443b99c1d update comments and reintroduce test 2015-05-21 03:08:31 -04:00
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
f0276dc39d Merge pull request #1271 from ipfs/fix/shutdown-err
silence error log on shutdown
2015-05-21 02:53:32 -04:00
8df8737f6a removed requirement of path package 2015-05-21 08:51:18 +02:00
373260d373 Fix: dnslink domain resolving was broken; Add: no caching for those
fixes #1234
fixes #1267
2015-05-21 08:44:17 +02:00
bd30866c1b silence error log on shutdown 2015-05-20 23:29:19 -07:00
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
f6fadc4c91 do http server properly so daemon can shut down 2015-05-20 22:42:54 -07:00
1f8230c98f Merge pull request #1263 from ipfs/stdin-parsing-optional-arg
Stdin parsing optional arg
2015-05-21 01:30:54 -04:00
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
12d38569a8 Merge pull request #1262 from ipfs/remove-inflect
remove inflect package
2015-05-20 23:59:30 -04:00
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
d51f28e895 Merge pull request #1254 from ipfs/fix/refs-fail
fix silent refs failure
2015-05-20 23:25:02 -04:00
1c35377f9c Merge pull request #1256 from ipfs/fix/init
clean up and fix init permissions handling
2015-05-20 21:31:00 -04:00
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
225b58e31a remove inflect package 2015-05-20 15:09:20 -07:00
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