Jeromy Johnson
94b832df86
Merge pull request #4133 from ipfs/feat/improve-dag-api
...
Improve dag API
2017-08-16 15:22:23 -07:00
Łukasz Magiera
30f482ede6
dag: fix codeclimate
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-16 22:29:27 +02:00
vyzo
b6150b2f06
make filterRelayAddrs a named function, not a closure
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:43:11 +03:00
vyzo
322bb9802f
don't leak host in case of error adding relay
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
31e3b8f805
simplify code for ipfs protocol scheme in multiaddr display
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
a130659800
don't hardcode ipfs protocol name in multiaddr display
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
1141705e9a
gx: update go-libp2p-circuit
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
d7922e7f64
more descriptive help message for ipfs swarm addrs local
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
6f54181f66
ipfs swarm addrs listen command, fix t0060-daemon
...
Necessary for meaningful semantics in the presence of address filtering.
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
4f39962643
fix competing address factories in host options
...
integrate #3948
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
9d15e63e00
core: address factory composition for constructPeerHost
...
- Adds AddrsFactory to ConstructPeerHostOpts
- Composes the AddrsFactory option with the relay filter
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
6c63cec719
swarm: more robust logic in remote address printing
...
Handles p2p-circuit addresses and any other address that uses a similar
routing scheme.
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
4900935bd8
account for p2p-circuit address intricacies
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
ba5940e617
integrate circuit-relay transport
...
- enabled by default, so that we can dial/receive dials
- /p2p-circuit/QmId address is not announced; filtered at host with AddrsFactory
- use case is manual swarm connect with relay address
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
Jeromy Johnson
dea24aedc3
Merge pull request #4113 from ipfs/feat/reprovider-starts
...
Reprovider strategies
2017-08-15 17:13:23 -07:00
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
Łukasz Magiera
4a5b93a1df
reprovider: apply review suggestions
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-16 00:39:12 +02:00
Łukasz Magiera
5da8368a42
dag: dag resolve subcommand
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 20:58:29 +02: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
Łukasz Magiera
17ae331be2
reprovider: Implement 'bitswap reprovide' command
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
f20683eb53
Reprovider strategies
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02: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
Łukasz Magiera
0953295ce4
dag: add dag-pb support to put
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-12 21:49:07 +02:00
Łukasz Magiera
6bf019aeed
dag: cbor input-enc
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-12 21:49:07 +02:00
Łukasz Magiera
0f234d76ae
dag: add option to specify hash
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-12 21:49:07 +02: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
Jeromy Johnson
3b60666d25
Merge pull request #4073 from icidasset/master
...
Expose Content-Range header
2017-08-05 12:24:55 -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
Ł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
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
Steven Allen
28be1d4c58
gx: update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-27 18:48:16 -07:00
Jeromy Johnson
181dd0061c
Merge pull request #4053 from Quantomicus/bugfix
...
Fixes #4003
2017-07-23 12:22:58 -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
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
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
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
Jeromy
fe3a4c1772
remove some dead code
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-16 02:27:46 -07:00
Quantomic
049bca6d09
bandaid it instead
...
License: MIT
Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
2017-07-14 20:09:55 +02:00
Jakub Sztandera
b0679728f0
make codeclimate more happy
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 08:49:11 +02:00
Jakub Sztandera
d6657edf59
make codeclimate a bit more happy
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 23:08:41 +02:00
Jeromy
7203c43b60
plugin: create plugin API and loader, add ipld-git plugin
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-12 21:53:59 +02:00
Jeromy
cccc6a94a3
update go-multihash and bubble up changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-11 19:27:43 -07:00
ivan386
0eafa5e25f
Merge branch 'master' of https://github.com/ipfs/go-ipfs into patch-3
2017-07-06 19:16:41 +03:00
Jeromy
579fd46488
track broadcasted wantlist entries
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:51:51 -07:00
Jeromy
e43d1317bb
rework how refcounted wantlists work
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:47:23 -07:00
Jeromy
bda8c3a687
implement bitswap sessions
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:47:22 -07:00
Herman Junge
f512a33998
ipfs block put: Add CID Codecs to "ipfs block put"
...
Adding codecs found in
Use the codec map implemented in https://github.com/ipfs/go-cid/pull/26
License: MIT
Signed-off-by: Herman Junge <chpdg42@gmail.com>
2017-07-05 00:34:07 -04:00
Łukasz Magiera
8ab93aaeb2
Update go-datastore to 1.2.2, go-cid to 0.7.16
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 20:18:57 +02:00
Łukasz Magiera
4b8a9a3f9f
Update go-datastore to 1.2.1
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-03 20:17:03 +02:00
Jeromy Johnson
7ad494887c
Merge pull request #4004 from ipfs/feat/dagpin
...
Add pin option for ipfs dag put
2017-07-03 10:54:39 -07:00
Łukasz Magiera
0419e3d14a
blocks: update go-ipld-cbor
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-01 02:56:22 +02:00
Steven Allen
520938a9ec
gx import/update libp2p/go-libp2p-routing
...
For some reason, this was referenced but wasn't listed in packages.json.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-29 22:12:14 +02:00
Steven Allen
13636bef50
blocks: gx import go-block-format
...
And updated related dependencies.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-29 22:12:14 +02:00
Steven Allen
bccd4d4e8f
blocks: move block format to it's own repo
...
We need to reference it from outside of this repo.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-29 22:12:14 +02:00
Łukasz Magiera
79e21bd96b
Add pin option for ipfs dag put
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-28 12:05:23 +02:00
Jeromy Johnson
628245fffb
Merge pull request #4005 from ipfs/fix/404msg
...
Show escaped url in gateway 404 message
2017-06-27 19:44:48 -07:00
Łukasz Magiera
5ebf897f6f
Show escaped url in gateway 404 message
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-26 19:04:18 +02:00
Ivan
8b88b7ffd2
check strong and weak ETag validator
...
CDN may change strong ETag validator to weak ETag validator.
License: MIT
Signed-off-by: Ivan <ivan386@users.noreply.github.com>
2017-06-22 19:06:48 +03:00
Łukasz Magiera
bb172789f7
Fix typo: ppp -> p2p
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-21 16:32:15 +02:00
Łukasz Magiera
bec54c2540
Rename PTP to P2P
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-19 21:30:58 +02:00
Steven Allen
e2cd36e88f
pinning + pathresolver: fix pinning/unpinning of sharded directories
...
* Change ResolveToCid to take a Resolver and a NameSystem instead of an ipfs
Node.
* Make the pin/unpin methods use a Unixfs path resolver.
Closes : #3974
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-12 18:12:29 -07:00
Jeromy Johnson
77c5f56178
Merge pull request #3966 from torresashjian/fix/cmds/dht-findprovs-num
...
Add 'ipfs dht findprovs --num-providers' to allow choosing number of providers to find
2017-06-10 10:24:24 -07:00
Jeromy Johnson
10f9e771f7
Merge pull request #3951 from ipfs/kevina/repub
...
Make sure non-self keys also get republished
2017-06-10 10:17:10 -07:00
Miguel Torres
bfc9eecb17
Use long name for option lookup
...
License: MIT
Signed-off-by: Miguel Torres <migueltorreslopez@gmail.com>
2017-06-09 21:56:25 -07:00
Jeromy Johnson
18d2a2d8f4
Merge pull request #3943 from magik6k/feat/corenet2
...
Implemented experimental ptp(corenet) interface
2017-06-09 19:56:02 -07:00
Miguel Torres
9e11a41758
Add option to choose a specific number of providers to search for
...
License: MIT
Signed-off-by: Miguel Torres <migueltorreslopez@gmail.com>
Apply fmt
License: MIT
Signed-off-by: Miguel Torres <migueltorreslopez@gmail.com>
Add format
License: MIT
Signed-off-by: Miguel Torres <migueltorreslopez@gmail.com>
2017-06-09 17:54:53 -07:00
Jeromy Johnson
67828a4b4f
Merge pull request #3963 from ipfs/feat/gateway-go-get
...
gateway: don't redirect to trailing slash if it's go get
2017-06-08 21:00:22 -07:00
Lars Gierth
4fe5b3eab7
gateway: don't redirect to trailing slash if it's go get
...
This enables `go get` to parse go-import meta tags from index.html
files stored in IPFS. One tiny step toward whyrusleeping/gx-go#2 .
For an import like `ipfs.io/ipfs/QmFoo/mypkg`, the gateway would
previously redirect to `/ipfs/QmFoo/mypkg/` (note the trailing slash),
which the `go get` tool can't deal with.
Thankfully, `go get` sets a URL query parameter (`?go-get=1`) which
we can use to switch off the redirect in this case.
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-06-08 03:23:48 +02:00
Kevin Atkinson
d674dd7e1f
repub: iterate through all keys in keystore
...
Iterate through all keys in the keystore so keys added with
"ipfs key gen" behave the same as the <self> key. Don't maintain a
separate repub list as it does not really serve a purpose at this
point in time. See #3808 .
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-06-07 14:35:44 -04:00
Łukasz Magiera
043aa5f308
PTP API: Address review comments
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-07 19:51:44 +02:00
Łukasz Magiera
104268f1b6
PTP API: Make code more object oriented, use less node
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-04 03:08:39 +02:00
Łukasz Magiera
ad9ae350bf
PTP API: Rename Corenet to PTP
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-03 21:46:16 +02:00
zramsay
6c064d1fc3
bugfix: copy the correct variable
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-02 23:59:54 -04:00
Łukasz Magiera
eac71847bd
Corenet API: Move more logic away from commands
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-02 21:44:38 +02:00
Łukasz Magiera
e66e8bbe96
Corenet API: Review fixes
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-01 20:11:46 +02:00
zramsay
096b3232d5
address PR comments; remove commented/dead code
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 12:13:04 -04:00
zramsay
c5df8f0796
apply the megacheck tool to improve code quality
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
Łukasz Magiera
e0bd4a1188
Corenet API: Fix codeclimate issues
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 15:18:39 +02:00
Łukasz Magiera
a3889a7164
Corenet API: Update deps
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 12:35:31 +02:00
Łukasz Magiera
71bda3d988
Corenet API: Drop 'exp' namespace
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
8948519590
Corenet API: Store state in node
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
fc08d5331b
Corenet API: Apply suggestions, cleanups
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
9414e73c34
Corenet API: Split list subcmd into ls/streams
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
a55255fbca
Corenet API: Fixed tests
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Tom Swindell
2f17a67c5a
Experimental corenet application support.
...
License: MIT
Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>
2017-05-31 11:33:17 +02:00
Lars Gierth
64ced367ac
gx: update go-libp2p-peerstore, go-libp2p, go-libp2p-kbucket
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-05-30 02:26:05 +02:00
Kevin Atkinson
b4a008720d
"pin verify": fix API
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-25 13:52:04 -04:00
Kevin Atkinson
7a4031ddb7
"pin verify": add --verbose and --quiet options
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-25 13:40:06 -04:00
Kevin Atkinson
6e898ea678
"pin verify": don't use a pointer to a slice.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-25 13:40:06 -04:00
Kevin Atkinson
325e1c0839
"pin verify": basic implementation
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-25 13:40:06 -04:00
Jeromy Johnson
4cf046c4fb
Merge pull request #3928 from ipfs/feat/provide-ann-opt
...
update to dht code with provide announce option
2017-05-25 10:11:09 -07:00
Jeromy Johnson
1c9a419e22
Merge pull request #3882 from keremgocen/fix-cmd-key-peerid
...
WIP: add PeerID lookup
2017-05-25 10:10:47 -07:00
Jeromy Johnson
9a9df1f176
Merge pull request #3941 from jdanford/typo-neccessary
...
Change 'neccessary' to 'necessary'
2017-05-24 17:48:43 -07:00
Jeromy Johnson
a6bb83b8ad
Merge pull request #3940 from ipfs/fix/http-proc-panic
...
make odds of 'process added after close' panic less likely
2017-05-24 17:45:41 -07:00
Jordan Danford
c9e20dd907
Change 'neccessary' to 'necessary'
...
License: MIT
Signed-off-by: Jordan Danford <jordandanford@gmail.com>
2017-05-24 09:40:53 -07:00
Jeromy
53f1a9a50a
make odds of 'process added after close' panic less likely
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-24 09:12:27 -07:00
Kevin Atkinson
332a7967f9
filestore: add "--file-order" option to "filestore ls" and "verify"
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-23 17:40:20 -04:00
Jeromy
0418930ca8
update to dht code with provide announce option
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-23 13:59:36 -07:00
Jeromy Johnson
8e2aed3023
Merge pull request #3846 from ipfs/feat/pin-update
...
implement ipfs pin update
2017-05-17 22:44:31 -07:00
Jeromy Johnson
630f9ae29e
Merge pull request #3884 from ipfs/feat/shutdown-cmd
...
Implement ipfs shutdown command
2017-05-17 22:44:06 -07:00
Jeromy
315849639d
implement ipfs pin update
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-17 21:31:47 -07:00
Jeromy Johnson
0780a4fdb4
Merge pull request #3892 from MichaelMure/keystore_key_rm
...
Implement ipfs key {rm, rename}
2017-05-17 21:28:36 -07:00
Jeromy
adb555c3eb
Implement ipfs shutdown command
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-17 21:27:47 -07:00
Jeromy Johnson
5ef2f42d44
Merge pull request #3914 from jes/master
...
Add Suborigin header to gateway responses
2017-05-17 21:21:26 -07:00
Jeromy Johnson
d6983801de
Merge pull request #3909 from TUSF/doc/pubsub-end
...
Adding documentation that PubSub Sub can be encoded.
2017-05-15 13:07:21 -07:00
Jeromy Johnson
219b41bff8
Merge pull request #3915 from ipfs/kevina/repo-stat-storagemax
...
Add MaxStorage field to output of "repo stat".
2017-05-15 12:27:42 -07:00
Jeromy Johnson
a4ffefd2ad
Merge pull request #3919 from ipfs/kevina/add-hash-fun
...
adder: add support for specifying the hash function
2017-05-14 15:27:42 -07:00
Kevin Atkinson
4bbd00185c
adder: add support for specifying the hash function
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-14 17:38:32 -04:00
Michael Muré
2593495311
Document exported symbols
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-14 21:02:01 +09:00
James Stanley
cb2a38d89b
Add Suborigin header to gateway responses ( #3209 )
...
This existed before but was disabled in 912a972 because the Suborigin spec
changed and it became incompatible.
This commit updates the generated Suborigin header to be conformant with the
latest spec.
License: MIT
Signed-off-by: James Stanley <james@incoherency.co.uk>
2017-05-13 10:47:36 +01:00
Jeromy Johnson
864bf47a5a
Merge pull request #3895 from torresashjian/fix/cmds/add-msg-typo
...
Fix typo in message when file is not determined
2017-05-12 17:57:49 -07:00
Kevin Atkinson
cd8c4ee8e0
Use tabwritter for better formatted output.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-11 22:05:52 -04:00
Jeromy
1cddf67a35
remove 'ipfs diag net' from codebase
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-11 09:15:37 -07:00
Kevin Atkinson
0f46a34f59
Add MaxStorage field to output of "repo stat".
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-10 23:41:35 -04:00
TUSF
43b0b17d9a
Turns out, the Message will Marshal properly.
...
License: MIT
Signed-off-by: Jeremia Dominguez <ragef33@gmail.com>
2017-05-09 17:55:58 -05:00
Michael Muré
7e91da2067
Future-proof keystore.Has by returning an error as well
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-08 17:00:00 +09:00
Jeromy
5bb480b4da
improved gateway directory listing for sharded nodes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-05 13:31:34 -07:00
Michael Muré
3aa6d78ee1
Implement ipfs key rename
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-04 17:30:10 +09:00
Miguel Torres
6a25b67e4d
Fix typo in message when file is not determined
...
License: MIT
Signed-off-by: Miguel Torres <migueltorreslopez@gmail.com>
2017-05-01 20:59:08 -07:00
Michael Muré
a813830657
Enable stdin for ipfs key rm's name argument
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-02 12:27:15 +09:00
Michael Muré
bd96f71d2c
Make ipfs key rm variadic
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-02 01:47:13 +09:00
Michael Muré
730ab6115c
fix fmt and exported var that shouldn't be
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-02 01:46:56 +09:00
Michael Muré
4d4d7b8e08
Implement ipfs key rm
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-01 15:23:17 +09:00
Jeromy Johnson
76cd541040
Merge pull request #3888 from ipfs/fix/add-mem-growth-hack
...
Flush cached directories every so often during an add
2017-04-30 21:56:49 -07:00
Jeromy
a22cae1bce
fix coreapi unixfs resolving
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-30 21:20:48 -07:00
Jeromy
0597a04924
Fix sharding memory growth, and fix resolver for unixfs paths
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-30 13:48:28 -07:00
Jeromy
e2b2d0996f
Flush cached directories every so often during an add
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-29 12:27:09 -07:00
Kerem
76e227d499
code review improvements
...
change core.IpfsNode as first arg
check keylookup err to propagate validation errors from lower levels
License: MIT
Signed-off-by: Kerem Gocen <keremgocen@gmail.com>
2017-04-27 21:00:48 +03:00
Kerem
39ece86484
add PeerID lookup
...
enhance key lookup logic and enable PeerID lookup in addition to the
key name
License: MIT
Signed-off-by: Kerem Gocen <keremgocen@gmail.com>
2017-04-27 19:45:18 +03:00
Jeromy Johnson
e5529cd57b
Merge pull request #3743 from ipfs/kevina/cidv1-add
...
Add support for using CidV1 in 'ipfs add'
2017-04-26 18:54:45 -07:00
Kevin Atkinson
076d0bd9b1
merkeldag: change SetPrefix param to a pointer and reset the prefix on nil
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:36:39 -04:00
Kevin Atkinson
518adec022
adder: add support for using CidV1
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:36:39 -04:00
Lars Gierth
126d249de5
deps: bubble up cbor update
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-04-26 05:21:01 +02:00
Kevin Atkinson
cf562403d2
adder: make chan size a constant
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:01:05 -04:00
Kevin Atkinson
b7eae36f90
adder: fix bug where errors from calls to NewAdder caused daemon to hang
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:01:05 -04:00
Jakub Sztandera
fe969d18be
mics: cleanup imports in touched files
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-04-24 15:01:55 +02:00
Jakub Sztandera
d1e3fc5c87
deps: Update go-is-domain to contain new gTLD
...
It should resolve issues with newer gTLDs being not selected
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-04-24 15:01:55 +02:00
Jeromy
b15470d548
bubble up updates from go-multihash changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
Jakub Sztandera
584ab144f9
Merge branch 'master' into fix/gateway/3868-etag
2017-04-20 19:59:59 +02:00
Remco Bloemen
a90f4967e3
gateway: re-use resolved path
...
Instead of resolving a node, we resolve a path. This resolved path
is then re-used for Cat and Ls. This way, a resolve operation is
only done once.
The error messages for a failed resolve is changed from `ipfs cat …`
to `ipfs resolve …` to better reflect the API calls. The test is
updated accordingly.
License: MIT
Signed-off-by: Remco Bloemen <remco@2π.com>
2017-04-20 08:17:45 +01:00
Lars Gierth
2c4e6434ad
gateway: fix erroneous Cache-Control: immutable on dir listings
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-04-19 05:10:41 +02:00
Remco Bloemen
8db6f86de6
gateway: use CID as an ETag strong validator
...
* Always use the fully resolved CID from api.ResolveNode
as the ETag (also for IPNS).
* Format the result as a valid "Strong Validator"
(double quotes around the encoded CID).
Fixes #3868
License: MIT
Signed-off-by: Remco Bloemen <remco@2π.com>
2017-04-18 16:24:37 +01:00
Jakub Sztandera
43949eff29
test: skip the require all helptext test
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 18:21:40 +01:00
Jakub Sztandera
a11b806d93
Add ProcessHelp call to Helptext test.
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 18:18:28 +01:00
Jeromy
e7e22597ce
add test to enforce helptext on commands
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-24 18:18:28 +01:00