Commit Graph

1907 Commits

Author SHA1 Message Date
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
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
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
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
Ł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