Commit Graph

11097 Commits

Author SHA1 Message Date
Brian Tiger Chow
b3a96d2bb3 move temporarily 2014-11-14 03:16:04 -08:00
Matt Bell
afd8fadba8 core/commands: Added 'cat' command 2014-11-14 03:16:04 -08:00
Matt Bell
aea52132cb cmd/ipfs: Initialize IpfsNode when running locally or starting daemon 2014-11-14 03:16:04 -08:00
Matt Bell
7b2f4488b7 core/commands: Added Type to 'beep' command 2014-11-14 03:16:04 -08:00
Matt Bell
54587897c1 cmd/ipfs: Default to plaintext encoding if avilable, otherwise JSON 2014-11-14 03:16:04 -08:00
Matt Bell
edb632a644 core/commands: Added a Format function for the 'beep' command 2014-11-14 03:16:04 -08:00
Matt Bell
b3ff407d38 commands: Gave Requests a reference to the command they are being called on 2014-11-14 03:16:04 -08:00
Matt Bell
be3cb39ed5 core/commands: Added 'echo' command that writes input stream to output stream 2014-11-14 03:16:04 -08:00
Matt Bell
e297e2da41 core/commands: Added a 'args' command to test argument parsing 2014-11-14 03:16:03 -08:00
Matt Bell
4bbd579068 cmd/ipfs: Added 'local' flag to call command locally instead of executing on daemon 2014-11-14 03:16:03 -08:00
Matt Bell
436462c86a server/http: Fixed build error 2014-11-14 03:16:03 -08:00
Matt Bell
063cb536df cmd/ipfs: Display help text when help flag is set 2014-11-14 03:16:03 -08:00
Matt Bell
8edfee2a58 cmd/ipfs: Removed new commands (to be refactored later) 2014-11-14 03:16:03 -08:00
Matt Bell
c679783084 cmd/ipfs: Log to show API server is listening 2014-11-14 03:16:03 -08:00
Matt Bell
0b73a48b84 commands/http: Made Handler set request contexts 2014-11-14 03:16:03 -08:00
Matt Bell
3f4da97c58 cmd/ipfs: Use daemon lock functions 2014-11-14 03:16:03 -08:00
Matt Bell
d67e1e5068 daemon: Replaced daemon package with lock functions 2014-11-14 03:16:03 -08:00
Matt Bell
7efa174f2d cmd/ipfs: Made daemon command use request context instead of loading config 2014-11-14 03:16:03 -08:00
Matt Bell
2419ffdb2d cmd/ipfs: Load config and put in request context 2014-11-14 03:16:02 -08:00
Matt Bell
7d53e736cf cmd/ipfs: Added getConfig function 2014-11-14 03:16:02 -08:00
Matt Bell
cf60fdd3d9 cmd/ipfs: Load API address from config 2014-11-14 03:16:02 -08:00
Matt Bell
e2ed10b85b cmd/ipfs: Use lock to check if daemon is running, if not then run command locally 2014-11-14 03:16:02 -08:00
Matt Bell
e011d950bb cmd/ipfs: Obtain lock when starting daemon 2014-11-14 03:16:02 -08:00
Matt Bell
d87aad1e3a cmd/ipfs: Do command option conversion in CLI entry point 2014-11-14 03:16:02 -08:00
Matt Bell
b4fc0dba96 cmd/ipfs: Added basic daemon command 2014-11-14 03:16:02 -08:00
Matt Bell
b499c90db3 commands/http: Moved HTTP RPC handler into commands/http 2014-11-14 03:16:02 -08:00
Matt Bell
e82532c7d1 cmd/ipfs: Added ipfs.exe to .gitignore 2014-11-14 03:16:02 -08:00
Matt Bell
36bdc456d2 commands/http: Moved HTTP RPC into commands/http package 2014-11-14 03:16:01 -08:00
Matt Bell
201ad30a7b cmd/ipfs: Run CLI-specific subcommands locally in CLI entry point 2014-11-14 03:16:01 -08:00
Matt Bell
ccfb10dde0 cmd/ipfs: Added root command for CLI-specific subcommands (init, daemon, etc.) 2014-11-14 03:16:01 -08:00
Matt Bell
c89826c1ef cmd/ipfs: Added HTTP RPC client to entry point 2014-11-14 03:16:01 -08:00
Matt Bell
26495b799d cmd/ipfs: Deleted existing CLI commands (to be refactored for the commands API) 2014-11-14 03:16:01 -08:00
Matt Bell
3e062f6e1e cmd/ipfs: Rewrote entry point to invoke commands via new command API 2014-11-14 03:16:01 -08:00
Matt Bell
0d830e5a24 server/http: Set Content-Type header based on command output 2014-11-14 03:16:01 -08:00
Matt Bell
12b0ebff7d server/http: Use Response as Reader instead of manually getting output data 2014-11-14 03:16:01 -08:00
Matt Bell
7564742305 server/http: Fixed error when using long encoding option name 2014-11-14 03:16:01 -08:00
Matt Bell
3d0ca14b96 core/commands: Added more advanced test subcommand 2014-11-14 03:16:00 -08:00
Matt Bell
3ae6117c5b server/http: Don't cast res.Error() to an Error (fixes panix on response errors) 2014-11-14 03:16:00 -08:00
Matt Bell
73353824e9 server/http: Added HTTP API handler 2014-11-14 03:16:00 -08:00
Matt Bell
e64ffb9ab3 core/commands: Added root command (with test subcommands) 2014-11-14 03:16:00 -08:00
Brian Tiger Chow
eff47794aa add a copy of daemon to be edited when creating new commands 2014-11-14 03:16:00 -08:00
Brian Tiger Chow
a5a7490b77 move daemon temporarily 2014-11-14 03:16:00 -08:00
Brian Tiger Chow
d1fa4bd9b5 copy to old location 2014-11-14 03:16:00 -08:00
Brian Tiger Chow
bc6800035b move ipfs commands 2014-11-14 03:16:00 -08:00
Jeromy
d4c819e97d log -> logf 2014-11-12 10:39:11 -08:00
Juan Batiz-Benet
1bde67ddf1 bugfix: swarm resolveUnspecAddr idiocy 2014-11-09 19:45:28 -08:00
Juan Batiz-Benet
3c66970078 Merge pull request #291 from chriscool/patch-2
Update test/README.md about sharness directory
2014-11-09 10:20:35 -08:00
Christian Couder
5dd17014fa Update test/README.md about sharness directory
Now sharness is in "lib/sharness"
2014-11-09 19:16:02 +01:00
Juan Batiz-Benet
52d6c40294 Merge pull request #290 from chriscool/test_ipfs_block
Add test script for block command
2014-11-09 09:21:49 -08:00
Christian Couder
fc1a35e35a Add test script for block command
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-09 18:00:25 +01:00