Commit Graph

4835 Commits

Author SHA1 Message Date
Jeromy
20c40c3f10 fix commands interface 2015-01-24 08:06:57 +00:00
Juan Batiz-Benet
4334f6fda3 Merge pull request #613 from jbenet/progress-bars
Progress Bars
2015-01-23 22:20:34 -08:00
Juan Batiz-Benet
b279da2918 Merge pull request #626 from jbenet/query-cmd
dht query command
2015-01-23 22:01:48 -08:00
Jeromy
d68efad06c respect verbose option a bit, and show query events for other commands 2015-01-24 05:32:50 +00:00
Jeromy
4607f54254 add findpeer command 2015-01-24 03:56:46 +00:00
Jeromy
56a5e72760 implement dht findprovs and add error output to dht query 2015-01-24 03:56:46 +00:00
Juan Batiz-Benet
e65afaf198 dont rate limit query during dials 2015-01-24 03:56:46 +00:00
Jeromy
528eb5a55a use a notification type strategy for the query events 2015-01-24 03:56:45 +00:00
Jeromy
ec5276c29c really ugly impl of 'ipfs dht query' command 2015-01-24 03:56:45 +00:00
Juan Batiz-Benet
9a05522966 Merge pull request #614 from jbenet/misc-1-16
Miscellaneous Changes
2015-01-23 19:42:56 -08:00
Matt Bell
ccaabbc06d core/commands: Rearranged command list sections 2015-01-23 19:17:09 -08:00
Brian Tiger Chow
13b2003ea9 Merge pull request #638 from jbenet/feat/ipfswatch
ipfswatch
2015-01-23 19:16:28 -08:00
Matt Bell
4ee3d39253 cmd/ipfs: Added key size to 'ipfs init' output 2015-01-23 19:14:59 -08:00
Matt Bell
5589021a1d commands/http: Fixed panics when unmarshaling command output without a set Command.Type 2015-01-23 19:11:56 -08:00
Matt Bell
452f54a48e core/commands: Enabled stdin arguments for 'bootstrap {add, rm} 2015-01-23 19:11:56 -08:00
Matt Bell
71301d2c63 core/commands: Updated root command helptext 2015-01-23 19:11:56 -08:00
Brian Tiger Chow
d05bbb83c4 add async 2015-01-23 19:06:30 -08:00
Brian Tiger Chow
9239a1d11d shut down cleanly 2015-01-23 19:06:30 -08:00
Brian Tiger Chow
a6eb39614c use --http flag to run expose IPFS HTTP API 2015-01-23 19:06:30 -08:00
Brian Tiger Chow
038ec6a5b3 feat: IPFSWatch 2015-01-23 19:06:30 -08:00
Brian Tiger Chow
05afd9622b add False method 2015-01-23 19:06:29 -08:00
Matt Bell
5706471897 commands: Made PostRun signature match Run 2015-01-23 18:29:31 -08:00
Matt Bell
79741438d9 core/commands: config: Simplified some syntax 2015-01-23 18:29:31 -08:00
Matt Bell
3fc9bedb0b commands: Made Std{in|out|err} accessible in Request/Response 2015-01-23 18:29:31 -08:00
Matt Bell
b77d1c21b6 core/commands: add: Don't show progress bar when using --quiet option 2015-01-23 18:29:31 -08:00
Matt Bell
121dfb10b4 core/commands: Fixed progress bar line clear race condition in 'add' 2015-01-23 18:29:31 -08:00
Matt Bell
2363cb63e6 core/commands: Fixed 'add' progress bar sometimes not clearing progress bar output line 2015-01-23 18:29:31 -08:00
Matt Bell
c3ea164f64 core/commands: Added progress bars for 'add'
squash! core/commands: Added progress bars for 'add'

Use vendored progress bar lib in 'add'
2015-01-23 18:29:30 -08:00
Matt Bell
c73c4ae55d commands/files: Added SizeFile interface 2015-01-23 18:29:30 -08:00
Matt Bell
4a6aec645e commands: request: Added Values map 2015-01-23 18:29:30 -08:00
Matt Bell
8ca8d6ef71 commands/files: Added PeekFile and StatFile interfaces
squash! commands/files: Added PeekFile and StatFile interfaces

commands/http: Updated test
2015-01-23 18:29:30 -08:00
Matt Bell
487ef33e67 core/commands: Added progress bar to 'cat'
squash! core/commands: Added progress bar to 'cat'

Vendored progress bar lib
2015-01-23 18:29:30 -08:00
Matt Bell
6adebfad11 commands: Added Length field to Response
squash! commands: Added Length field to Response

commands/http: client: Fixed error on unset length
2015-01-23 18:29:29 -08:00
Matt Bell
7b4de230eb commands: Refactored Command#Run function signature to (req Request, res Response) 2015-01-23 18:29:29 -08:00
Matt Bell
856d2896a7 commands: Added PreRun function to command 2015-01-23 18:19:40 -08:00
Matt Bell
1281b25105 commands: Added PostRun function, called on the client 2015-01-23 18:19:40 -08:00
Matt Bell
7294f6334a commands: Removed old TODOs 2015-01-23 18:19:39 -08:00
Juan Batiz-Benet
c4f9a92e55 Merge pull request #628 from jbenet/feat/more-bootstraps
Add Bootstrap Peers: Mercury, Earth, Venus, Jupiter
2015-01-23 17:08:56 -08:00
Juan Batiz-Benet
bb2d81ace2 Merge pull request #622 from jbenet/webui-commands
Webui Commands
2015-01-23 16:51:11 -08:00
Juan Batiz-Benet
f7e0603526 Merge pull request #629 from jbenet/fd-leak-fix
fixing fd leaks
2015-01-23 16:49:47 -08:00
Brian Tiger Chow
bbc282bfab more bootstrap nodes 2015-01-23 16:19:50 -08:00
Juan Batiz-Benet
bf1690f42e fixed fd leaks in go-reuseport 2015-01-23 16:17:49 -08:00
Matt Bell
68b2a3f15c core/commands: Renamed 'log read' to 'log tail' 2015-01-23 15:08:20 -08:00
Christian Couder
31d07f0f7b Add "test/dependencies" dir and "godep restore" test
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-23 21:27:45 +01:00
Juan Batiz-Benet
343940dafa Merge pull request #583 from jbenet/bootstrap-fix
add periodic bootstrapping
2015-01-23 05:43:44 -08:00
Juan Batiz-Benet
5c33b75b59 p2p/net/conn: timeouts are real failures. 2015-01-23 05:25:32 -08:00
Juan Batiz-Benet
4a5f5e2e2b reprovide: wait a minute before reproviding
Many times, a node will start up only to shut down immediately.
In these cases, reproviding is costly to both the node, and the
rest of the network. Also note: the probability of a node being
up another minute increases with uptime.

TODO: maybe this should be 5 * time.Minute
2015-01-23 05:25:32 -08:00
Juan Batiz-Benet
95d58b2a4a core: cleaned up bootstrap process 2015-01-23 05:25:31 -08:00
Juan Batiz-Benet
dd9c1b6243 core/bootstrap: CR comments 2015-01-23 02:08:30 -08:00
Juan Batiz-Benet
d6ce837d72 core/bootstrap: cleaned up bootstrapping
Moved it to its own package to isolate scope.
2015-01-23 02:08:29 -08:00