Commit Graph

1716 Commits

Author SHA1 Message Date
Jeromy
30aacd1b0a update go-libp2p with negotiate lazy fixes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-10 14:52:00 -08:00
Jeromy
7c0149d048 set the agent version based on version string
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-06 06:37:47 -08:00
Jeromy Johnson
87f8bfd31b Merge pull request #3539 from ipfs/feat/update-identify
update libp2p for identify configuration updates
2017-01-05 08:19:59 -08:00
Kevin Atkinson
6cc0903d25 Fix "ipfs ls" so it works correctly with raw leaves.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-01-03 21:20:04 -05:00
mateon1
e1e57c8480 Fix inconsistent ipfs stat bw formatting
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2017-01-01 18:56:34 +00:00
Jeromy
d8f257c264 update libp2p for identify configuration updates
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-27 02:13:59 -08:00
Jeromy Johnson
17699b2e5f Merge pull request #3519 from ipfs/fix/gateways/suborigins-off
gateway: disable Suborigins as it conflicts the spec
2016-12-21 11:20:20 -08:00
Jeromy Johnson
8b6646310f Merge pull request #3513 from ipfs/fix/coreunix-add-docs
coreunix: fix Add() docs regarding pinning
2016-12-20 14:09:56 -08:00
Jakub Sztandera
912a9720bd
gateway: remove Suborigins as it conflicts the spec
The Suborigins spec was changed and we have to adjust, the spec is still
unstable and it might change in future. Currently the only browser
supporting it (Chrome) errors out on it as it doesn't confront spec it
uses.

See https://github.com/ipfs/specs/issues/131

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-19 14:41:58 +01:00
Lars Gierth
71a03fe35d coreunix: fix Add() docs regarding pinning
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-12-18 01:09:23 +01:00
Jeromy
839adbf48d dag/get: accept paths and not just cids
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-17 12:38:51 -08:00
Jeromy Johnson
e2ba43c12d Merge pull request #3494 from ipfs/fix/gc-timeout
Remove GC timeout, fix GC tests
2016-12-15 20:15:49 -08:00
jbenet
bb85dd9815 dag get should be a read only command
added CmdDagGet to the read only command set.

tried to add a test, but dag get needs tests in general

License: MIT
Signed-off-by: Juan Batiz-Benet
2016-12-14 10:45:54 -08:00
Lars Gierth
2836c64642 gc: remove unneccessary full repo scan
GetStorageUsage() is super expensive as it involves a full repo scan,
and it's already bad enough that we have do it once.

The call that's being removed here is purely for cosmetical purposes:
printing the number of bytes freed by the GC run. Let's drop it.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-12-13 14:50:01 +01:00
Lars Gierth
a6ae8e72bf gc: remove wonky timeout
This timeout was:
- unneccessary
- based on a metric that doesn't make sense

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-12-13 14:50:01 +01:00
Jeromy Johnson
e893fb90b7 Merge pull request #3484 from ipfs/fix/pubsub-peers-cmd
cmd/pubsub: fix peers command topic filtering
2016-12-09 12:08:45 -08:00
Jeromy Johnson
477787c7e3 Merge pull request #3491 from ipfs/fix/swarm-peers-0-lat
swarm/peers: print 'n/a' instead of zero latency
2016-12-09 12:06:32 -08:00
Jeromy
4f78f40537 swarm/peers: print 'n/a' instead of zero latency
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-08 21:56:47 -08:00
Jeromy
f104b8ae57 cmd/pubsub: fix peers command topic filtering
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-08 21:26:09 -08:00
Jeromy Johnson
2aded6785d Merge pull request #3483 from ipfs/feat/block-put-hash
cmd/block: add selection of multihash parameters to block put command
2016-12-08 13:33:33 -08:00
Jeromy
cf6e3219b6 cmd/block: add selection of multihash parameters to block put command
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-07 16:36:00 -08:00
Jeromy
2e1467cfe0 update experimental go-multiplex to 0.2.6
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-06 15:39:22 -08:00
Jeromy
c307b5494a add convenience method for getting keys including self
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-06 13:25:12 -08:00
Jeromy
805b504043 basic keystore implementation
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-05 23:18:48 -08:00
Jeromy Johnson
0c413de87f Merge pull request #3432 from keks/feat/pubsub-sharness
add sharness test for pubsub
2016-12-04 21:29:45 -08:00
Jeromy Johnson
a1d2d47a9d Merge pull request #3447 from ipfs/feat/multiplex-experiment
add option to enable go-multiplex experiment
2016-12-04 17:02:49 -08:00
Jeromy
10ddd40f7b add option to enable go-multiplex experiment
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-04 16:29:03 -08:00
Kevin Atkinson
e92c4445f1 add cmd: clean up default logic of --progress option
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-12-04 00:11:32 -05:00
Kevin Atkinson
0b8e032785 add cmd: use .Default(true) for pin option.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-12-04 00:11:25 -05:00
Kevin Atkinson
aa97a09ba1 Revert "Merge pull request #2657 from ipfs/feature/add-defaults-to-add"
In addition to removing the .Default option in the "add" options this
also fixes the --progress option so --progress=false work again.

This reverts commit da4a4ac0bc, reversing
changes made to 518f7e06a1.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-12-04 00:10:50 -05:00
Jan Winkelmann
1b3158f860 add sharness test for pubsub
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-12-04 03:22:49 +01:00
Jeromy Johnson
e855047ec8 Merge pull request #3418 from ipfs/kevina/rmblock-noblock
"block rm": make channel large enough to avoid blocking
2016-11-30 10:52:32 -08:00
Jeromy
53d47669da bubble up go-datastore deps
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 22:29:38 -08:00
Jeromy
f0f88adea0 completely remove go-key dep
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 21:42:32 -08:00
Jeromy Johnson
0980bf6d8b Merge pull request #3416 from keks/feat/instaflush
Send empty struct to pubsub cmd output to flush
2016-11-24 22:53:46 -08:00
Jeromy Johnson
af518f83a8 Merge pull request #3422 from slothbag/cmd_help
Add dag and stat to command help info
2016-11-24 22:50:36 -08:00
slothbag
decad63123 Add dag and stat
License: MIT
Signed-off-by: slothbag <slothbag>
2016-11-25 13:33:51 +11:00
Hector Sanjuan
5d20ddc957 Lowercase error messages
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-11-24 19:36:26 +01:00
Hector Sanjuan
ac054f3d8f Issue #3419: Do not recursively resolve DAG just to obtain a CID
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2016-11-24 17:10:52 +01:00
Kevin Atkinson
ba383eda00 "block rm": make channel large enough to avoid blocking
Make the channel for the output of RmBlocks large enough to hold any
result to avoid blocking while holding the GCLock.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-11-23 18:04:12 -05:00
Jan Winkelmann
7ad2f527a5 Send empty struct to pubsub cmd output to flush
So the HTTP headers get sent

License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-11-23 19:32:23 +01:00
Jan Winkelmann
05265f176b use floodsub version 0.8.1
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-11-23 12:43:59 +01:00
Jeromy Johnson
0fcb92f3a1 Merge pull request #3403 from ipfs/feat/dg-reader-cleanup
Fix panic in dagreader with raw nodes
2016-11-22 11:30:08 -08:00
Jakub Sztandera
1e170e8d6d
Update go-libp2p across codebase
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-22 01:22:50 +01:00
Jeromy Johnson
116aab77b6 Merge pull request #3393 from ipfs/feat/fix-typo
Fix typo
2016-11-21 10:08:28 -08:00
Jakub Sztandera
724515104e
Make unixio.DagReader an interface
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 18:10:21 +01:00
Jakub Sztandera
801b572960
Resport imports in core/core.go
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-18 00:12:21 +01:00
Richard Littauer
c28c2224c4 Fix typo
Brought up bt tmg on irc

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-11-17 04:55:47 -05:00
Jeromy Johnson
4cfd841859 Merge pull request #2971 from ipfs/feature/gateway-resolve-error
gateway: degrade error in gateway to log to reduce noise
2016-11-16 01:00:55 -08:00
Jeromy Johnson
afa1f1542f Merge pull request #3381 from ipfs/feat/disable-bw-stats
add config option to disable bandwidth metrics
2016-11-16 00:58:48 -08:00