Commit Graph

1332 Commits

Author SHA1 Message Date
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
Juan Batiz-Benet
265106143c Merge pull request #286 from jbenet/docs
Add more documentation to ipfs
2014-11-08 22:49:55 -08:00
Jeromy
be5d01b6a6 more doc comments 2014-11-08 22:44:37 -08:00
Jeromy
d98808fad9 comments on vars in dht 2014-11-08 21:57:11 -08:00
Brian Tiger Chow
34561b0da8 docs(exchange) 2014-11-08 21:42:37 -08:00
Jeromy
a565587fdc work on readme 2014-11-08 21:42:37 -08:00
Jeromy
c62acb2763 copy handshake readme into a doc.go for pretty godoc results 2014-11-08 21:42:37 -08:00
Jeromy
b0f4b7c89d some net docs 2014-11-08 21:42:36 -08:00
Jeromy
e93257eb71 update the readme 2014-11-08 21:42:36 -08:00
Jeromy
8c20921a95 some more docs 2014-11-08 21:42:36 -08:00
Jeromy
4f083d54d6 write a few package doc strings to improve look of godoc 2014-11-08 21:42:36 -08:00
Juan Batiz-Benet
7ba3cadb6d Merge pull request #289 from jbenet/update-random-sharness-tests
Update random for test/
2014-11-08 20:21:54 -08:00
Juan Batiz-Benet
1e434ef3c4 vendor: updated random + fixed test import
There is a dummy test import: test/lib/random-dep.go
Because godep doen't yet vendor binaries nicely.
2014-11-08 20:12:02 -08:00
Juan Batiz-Benet
4bf3e967d8 test/t0040-add-and-cat updated hashes (new random) 2014-11-08 20:12:02 -08:00
Juan Batiz-Benet
842de46ccf test: moved installed things into own dirs
I moved installed things into own dirs bin and lib.

@chriscool sorry to move things around again, the top level
test dir was getting a bit clutterd.
2014-11-08 20:12:02 -08:00
Juan Batiz-Benet
5680c112ef test: install random from vendored code 2014-11-08 18:49:28 -08:00