Commit Graph

869 Commits

Author SHA1 Message Date
Jeromy
8a33801607 add test to be run to detect future regressions in pinsets
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-12 09:29:09 -07:00
Jeromy
f4d7369c4a bitswap: protocol extension to handle cids
This change adds the /ipfs/bitswap/1.1.0 protocol. The new protocol
adds a 'payload' field to the protobuf message and deprecates the
existing 'blocks' field. The 'payload' field is an array of pairs of cid
prefixes and block data. The cid prefixes are used to ensure the correct
codecs and hash functions are used to handle the block on the receiving
end.

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-10 08:19:31 -07:00
Jeromy
282bdc4816 cid: integrate cid into bitswap and blockstores
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-08 12:14:58 -07:00
Jeromy
1f9ec4e3ed update to libp2p 4.0.1 and propogate other changes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
Jeromy Johnson
5c212d39a2 Merge pull request #3073 from ipfs/feat/test-config-replace
Add test for 'ipfs config replace'
2016-10-03 17:29:52 -07:00
Jeromy
2871decd48 clean up test, run checks on all nodes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:10:20 -07:00
Jeromy
56a8c43aaf add experimental dht client mode flag
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:10:20 -07:00
Jakub Sztandera
80a776286c
more fixes for standard sed
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-28 16:22:32 +02:00
Jakub Sztandera
5b4a6eac10
more bsd sed fixes
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-28 14:55:09 +02:00
Jakub Sztandera
daf212a65e
try to fix travis on BSDs again
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-28 13:57:25 +02:00
Jeromy
0832a640fa remove utp tests for now
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-26 00:52:19 -07:00
Jeromy
e43c770530 update libp2p and dht packages
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-25 23:42:14 -07:00
Jeromy Johnson
300187ac52 Merge pull request #3242 from ipfs/test/repro-random-fail
trying to debug random test failures
2016-09-20 23:48:55 -07:00
Jeromy
5457a85cef
Merge branch 'version/0.4.3-rc4'
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-20 19:10:10 -07:00
Jeromy
fb05a5fbb8 trying to debug random test failures
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-19 19:37:03 -07:00
Jeromy Johnson
0aa136a98e Merge pull request #3206 from ipfs/feat/writable-flag
gateway: fix --writable flag :|
2016-09-14 13:50:32 -04:00
Jeromy
1de17e2233 Update libp2p to 3.5.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 14:26:55 -07:00
Jeromy
1bb6a842c5 Update libp2p to have fixed spdystream dep
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 07:47:04 -07:00
Jakub Sztandera
92d1d65fc2
test: fix sed usage on OSX
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:30:32 +02:00
Lars Gierth
fc8e6de6a9 gateway: fix --writable flag :|
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-09-11 21:09:09 +02:00
George Antoniadis
89d8ca5798 Extract peerset, update peer, peerset, secio, libp2p
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:22:17 +01:00
George Antoniadis
6859b8ccd8 Extract key and datastore
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-09 15:52:25 +01:00
Jakub Sztandera
25a035f92c
test: attempt to fix sed on travis
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-08 13:18:29 +02:00
Jakub Sztandera
a680b1bd7b
test: split 'ipfs config replace' test into parts
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-08 11:13:28 +02:00
Jakub Sztandera
2a2e3eb185
sharness: remove mixed indentation
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-08 11:07:54 +02:00
Jakub Sztandera
077948ab38
sharness: add test for 'ipfs config replace'
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-08 11:07:54 +02:00
Jeromy
c8fe495934 integrate CIDv0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-07 13:32:32 -07:00
Jeromy Johnson
8803a7628f Merge pull request #3141 from ipfs/feat/cmd/config-priv
cmd: harden the security of privkey field in config show
2016-09-04 08:27:01 -07:00
Jeromy Johnson
d6092eb536 Merge pull request #3182 from ipfs/fix/bitswap/want-cancel
Remove entries from wantlists when their related requests are cancelled
2016-09-04 07:05:28 -07:00
Jakub Sztandera
671425ea33 cmd: harden config show with key
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-04 06:50:10 -07:00
Jeromy
1548c8aabb bitswap: clear wantlists when GetBlocks calls are cancelled
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-04 06:44:21 -07:00
Jeromy Johnson
1f387af2b0 Merge pull request #3149 from ipfs/test/fdlimit-raising
fdlimit: improve fdlimit autoraising tests
2016-09-03 09:27:52 -07:00
Jeromy Johnson
309535c057 Merge pull request #3151 from ipfs/kevina/more3138tests
Enhance tests for files API root best-effort pin.
2016-09-03 09:27:34 -07:00
Jeromy
af914c5193 add better test to be more sure that file descriptor limits were actually raised
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-02 07:15:08 -07:00
Jeromy
6c340563d4 fdlimit: improve fdlimit autoraising tests
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-02 07:14:48 -07:00
Jeromy
aafe084b92 sharness: fix typo in hash in t0050
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-01 15:42:05 -07:00
Jakub Sztandera
f59751d1a2
test: remove time-out script, use go-timeout instead
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-01 15:59:12 +02:00
Jakub Sztandera
f012b5aed5
test: add go-timeotu to test build system
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-01 15:59:11 +02:00
Jakub Sztandera
7639a2f0a7
test: introduce go-timeout
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-01 15:59:11 +02:00
Jeromy Johnson
ade598eead Merge pull request #3135 from ipfs/kevina/2839directfix
Directly Fix #2839
2016-08-31 19:34:21 -07:00
Kevin Atkinson
6e4f3acb4a Enhance tests for files API root best-effort pin.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-31 18:16:36 -04:00
Jeromy Johnson
40159e50a0 Merge pull request #3158 from ipfs/feat/migrations-help
fsrepo: improve migrations copy
2016-08-30 22:34:33 -07:00
Jeromy Johnson
4286cd3695 Merge pull request #3144 from ipfs/test/add/revert
test: revert few stdin tests that were removed
2016-08-30 22:03:54 -07:00
Jeromy Johnson
ea343fbfa1 Merge pull request #3142 from ipfs/test/CORS/defaults
test: do explicit check of CORS headers
2016-08-30 21:46:59 -07:00
Jeromy
b4718a246c fix tests for changed migrations text
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-30 21:37:45 -07:00
Jeromy
7baac76a3b repo/verify: add better testing on repo verify command
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-29 22:55:06 -07:00
Jakub Sztandera
384fb1095c
test: revert few stdin tests that were removed
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-29 22:11:11 +02:00
Kevin Atkinson
802d3f9570 Add back still useful test from fe7b01f1 (Resolve symlink if ...)
Add back still useful test from reverted commit:
  fe7b01f14e
  Resolve symlink if it is directly referenced in cli (#2897)

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-29 16:10:46 -04:00
Jakub Sztandera
3754803a67
test: do explicit check of CORS headers
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-29 21:43:58 +02:00
Kevin Atkinson
10a692f9a2 Fix "ipfs add -r ." to always add the contents of the current directory.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-27 16:48:03 -04:00