Commit Graph

7584 Commits

Author SHA1 Message Date
Jeromy Johnson
9ea02e9fdd Merge pull request #4123 from sherodtaylor/feature/tour/remove-tour
remove tour command from ipfs
2017-08-15 17:06:36 -07:00
Jeromy Johnson
69bc94e7f9 Merge pull request #4140 from ipfs/gx/update-go-multiplex
update go-multiplex
2017-08-14 13:57:47 -07:00
Steven Allen
e7eca98c4a update go-multiplex
Fixes a panic when creating new streams after closing a connection.

Depends on: https://github.com/whyrusleeping/go-smux-multiplex/pull/3

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-08-12 16:33:48 -07:00
Jeromy Johnson
22c5a83e0b Merge pull request #4135 from ipfs/feat/gc/events
gc: add events for profiling GC
2017-08-12 16:05:40 -07:00
Jeromy Johnson
1d2fbbd850 Merge pull request #4129 from ipfs/gx/iptb-1.2.2
Update iptb to 1.2.2
2017-08-12 15:00:27 -07:00
Jeromy Johnson
50bb128bce Merge pull request #4095 from ipfs/feat/object-pin
object put --pin option
2017-08-12 14:32:18 -07:00
Jeromy Johnson
4e6954c9eb Merge pull request #4136 from ipfs/feat/misc/zcash-is-being-used
misc: add feat/zcash to go-ipfs-archived exemption
2017-08-12 14:21:37 -07:00
Jeromy Johnson
a1e923e252 Merge pull request #4134 from clownpriest/trivial
trivial comment update
2017-08-12 12:33:54 -07:00
Jakub Sztandera
345519e026
misc: fix few shellcheck issues in archive-branches.sh
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-08-10 19:21:55 +02:00
Jakub Sztandera
079dfa4190
misc: add feat/zcash to go-ipfs-archived exemption
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-08-10 19:18:25 +02:00
Jakub Sztandera
5e3fd5e708
gc: add events for profiling GC
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-08-09 23:18:50 +02:00
Arthur Elliott
1c73f2bc75 fix import order
License: MIT
Signed-off-by: Arthur Elliott <clownpriest@gmail.com>
2017-08-09 15:59:29 -04:00
Arthur Elliott
8c0f4bd5df trivial comment update
License: MIT
Signed-off-by: Arthur Elliott <clownpriest@gmail.com>
2017-08-09 15:42:31 -04:00
Sherod Taylor
bc75d3b88a Removed tour command and fix test
License: MIT
Signed-off-by: Sherod Taylor <sherodtaylor@gmail.com>
2017-08-09 10:14:57 -04:00
Łukasz Magiera
60caafff7d Update iptb to 1.2.2
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-07 19:07:39 +02:00
Jeromy Johnson
3b60666d25 Merge pull request #4073 from icidasset/master
Expose Content-Range header
2017-08-05 12:24:55 -07:00
Jeromy Johnson
542d63461e Merge pull request #4050 from jon-choi/master
README.md: Notes on where to start reading code
2017-08-01 00:07:00 -07:00
Jeromy Johnson
fbdb896105 Merge pull request #4114 from ipfs/fix/add-pipe-error-test
sharness: fix the 'useful error message when adding a named pipe' test
2017-08-01 00:05:13 -07:00
Steven Allen
39197ff8d3 sharness: fix the 'useful error message when adding a named pipe' test
We were removing the file before testing, ignoring the error from stat, and then
grepping for `Error: Unrecognized file type for named-pipe: ` (because nothing
was sent to stdout).

This fix:

1. Changes our stat command to output failed to stdout on failure to ensure that
bugs like this *can't* happen.
2. Checks to make sure stat actually succeeds.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 18:31:40 -07:00
Jeromy Johnson
1ea1e38d53 Merge pull request #4111 from ipfs/fix/4102
gx: update go-libp2p-swarm
2017-07-31 17:52:03 -07:00
Steven Allen
38a9be5a0a gx: update go-libp2p-swarm
fixes #4102 (fixed in go-libp2p-swarm)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 14:04:40 -07:00
Łukasz Magiera
778d6c635d object put: wrap CID in Object
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 22:06:00 +02:00
Jeromy Johnson
f686b4c88a Merge pull request #3948 from ipfs/feat/addresses-announce
core: make announced swarm addresses configurable
2017-07-31 11:32:59 -07:00
Łukasz Magiera
c9446a7720 object: make objectPut return CID
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 19:38:05 +02:00
Łukasz Magiera
e1bc025e38 object put --pin option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 19:38:05 +02:00
Lars Gierth
952f658ada
core: make announced swarm addresses configurable
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-07-31 13:03:09 +02:00
Jeromy Johnson
8ad3b11b91 Merge pull request #4103 from ipfs/fix/4098
sharness: use test profile
2017-07-30 22:52:37 -07:00
Steven Allen
0ada88637b sharness: use test profile
This:

* Disables mdns and fixes #4098 (iptb nodes already have mdns disabled by
  default).
* Only listens on localhost (although iptb nodes still listen on all).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-30 20:22:41 -07:00
Jeromy Johnson
ef365d0a07 Merge pull request #4106 from ipfs/gx/update-mplex
gx: update deps
2017-07-30 20:21:36 -07:00
Steven Allen
5f3c01a7c1 gx: update deps
This should hopefully fix a lot of our CI problems.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-29 22:14:05 -07:00
Jeromy Johnson
02dc2604b3 Merge pull request #4082 from te0d/feat/commands/add-size
ipfs add: added size to response of `ipfs add` command
2017-07-29 14:49:20 -07:00
Jeromy Johnson
9825e33917 Merge pull request #4089 from ipfs/fix/plugins/go-test
plugin: generate dummy main function in plugin-main shims
2017-07-28 20:04:46 -07:00
Jeromy Johnson
a8c5c04a18 Merge pull request #4094 from ipfs/gx/update-libp2p-stuff
gx: update deps
2017-07-28 18:28:39 -07:00
Steven Allen
0aca2a37e6 sharness: fix #4003 test case
1. Use printf to reliably expand escape sequences by default.
2. grep needs to exit after the first match as we're using HTTP/1.1 (the remote
side will not close the connection after sending the response).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-28 17:21:04 -07:00
Steven Allen
4ef73ee25d bitswap: serialize connect/disconnect notifications over one channel.
Otherwise, we could end up receiving a disconnect notification before a connect
notification (and think we have a connection that we don't have).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-27 18:48:19 -07:00
Steven Allen
28be1d4c58 gx: update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-27 18:48:16 -07:00
Tom O'Donnell (te0d)
f96f6af98f ipfs add: added test case to verify presence of size
Added test case which greps the `ipfs add` api call,
checking that it outputs the added item's size.

License: MIT
Signed-off-by: Tom O'Donnell <todonnell91@gmail.com>
2017-07-27 08:58:41 -04:00
Jakub Sztandera
c59fdccd9f
plugins: generate dummy main function for plugins to fix go#20312
https://github.com/golang/go/issues/20312

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-26 17:09:27 +02:00
Jakub Sztandera
1cc387976b
make: add generated plugin-main shims to CLEAN
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-26 17:07:54 +02:00
Jeromy Johnson
181dd0061c Merge pull request #4053 from Quantomicus/bugfix
Fixes #4003
2017-07-23 12:22:58 -07:00
Jeromy Johnson
2f260ca553 Merge pull request #4081 from ipfs/fix/2478/316432988
remove `-f` flags from calls to init
2017-07-22 23:04:54 -07:00
Tom O'Donnell (te0d)
0a01ffb87f ipfs add: added size to response of ipfs add command
The `ipfs add` command was modified to include the added
node's size as a string. The size is included in the
dagnode info sent over the output channel.

License: MIT
Signed-off-by: Tom O'Donnell <todonnel91@gmail.com>
2017-07-20 13:19:31 -04:00
Jeromy Johnson
c854d2a8ce Merge pull request #4067 from ipfs/gx/update-cbor
gx: update ipldcbor
2017-07-19 13:39:33 -07:00
Steven Allen
87f02e53a7 remove -f flags from calls to init
It doesn't mean anything anymore.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-19 11:46:55 -07:00
Steven Vandevelde
20ad44af1c core/http/gateway: Expose Content-Range header
The `Content-Range` header is necessary for extracting (only)
the metadata of audio files.

License: MIT
Signed-off-by: Steven Vandevelde <icid.asset@gmail.com>
2017-07-19 13:28:33 +02:00
Steven Allen
e8f6486a9c gx: update ipldcbor
I previously optimized the IPLD cbor decoder to *not* encode and then re-decode
objects when constructing them with `WrapObject`. Unfortunately, we rely on this
to canonicalize the object before computing the tree/links.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-17 13:09:08 -07:00
Quantomic
48dcd67dfe Add sharness test
License: MIT
Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
2017-07-17 20:48:16 +02:00
Jeromy Johnson
4c3487017c Merge pull request #4072 from ipfs/fix/dag-put-order
fix determination of 'root' node in dag put
2017-07-16 13:40:38 -07:00
Jeromy Johnson
19e1e0916f Merge pull request #4071 from ipfs/feat/deadc0de
remove some dead code
2017-07-16 03:19:04 -07:00
Jeromy
7f89e09d1e fix determination of 'root' node in dag put
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-16 03:14:33 -07:00