Brian Tiger Chow
|
46f1afbe08
|
refactor(init) re-order
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
a1e738e297
|
docs(init) rename filename var
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
8d7ebcb582
|
refactor(init) rename extracted method
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
3b7983e028
|
refactor(init) extract response
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
1b5e4032ff
|
refactor(init) extract context
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
f3048ab712
|
refactor(init) extract bits flag
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
630b88d227
|
refactor(init) extract force flag
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
b987c99eea
|
refactor(init) extract dspath
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
3c8657503c
|
refactor(init) check file after
|
2014-11-14 03:17:25 -08:00 |
|
Brian Tiger Chow
|
d894924152
|
refactor(init) return an error
|
2014-11-14 03:17:24 -08:00 |
|
Brian Tiger Chow
|
faf6454df6
|
refactor(init) extract method
|
2014-11-14 03:17:24 -08:00 |
|
Brian Tiger Chow
|
fee3b0dd31
|
+2 characters for readability
|
2014-11-14 03:17:24 -08:00 |
|
Brian Tiger Chow
|
c67e377162
|
docs(ipfs2/daemon) add some copy
can replace if desired, but at least it's not an end-user TODO
|
2014-11-14 03:17:24 -08:00 |
|
Matt Bell
|
283c175fc4
|
commands/http: Refactored API to a Client object that takes a string address
|
2014-11-14 03:17:24 -08:00 |
|
Matt Bell
|
f95476c19a
|
commands: Allow overriding marshaller for any encoding type
|
2014-11-14 03:17:24 -08:00 |
|
Matt Bell
|
3dd7a9a5c8
|
cmd/ipfs2: Broke up main into subfunctions
|
2014-11-14 03:17:23 -08:00 |
|
Matt Bell
|
7c1e45786a
|
cmd/ipfs2: Stricter option type coercion in main
|
2014-11-14 03:17:23 -08:00 |
|
Matt Bell
|
7d4d55a84d
|
commands/http: Unexported Handler fields and created constructor
|
2014-11-14 03:17:23 -08:00 |
|
Matt Bell
|
39a60e7f1d
|
commands: Return a reader in a Response#Reader method, instead of making Response implementing io.Reader
|
2014-11-14 03:17:23 -08:00 |
|
Matt Bell
|
6bab1f47fb
|
commands: Removed inpout stream from Request
|
2014-11-14 03:17:22 -08:00 |
|
Matt Bell
|
d8afd9a9bb
|
cmd/ipfs: Show usage text if input fails to parse
|
2014-11-14 03:17:21 -08:00 |
|
Matt Bell
|
cac8844b8d
|
cmd/ipfs: Reverted back to secondary CLI root command
|
2014-11-14 03:17:21 -08:00 |
|
Matt Bell
|
9356e1a0a1
|
cmd/ipfs: Moved private commands to core/commands2
|
2014-11-14 03:17:21 -08:00 |
|
Matt Bell
|
fb12530822
|
cmd/ipfs2: Got rid of second root command in favor of Command#Private
|
2014-11-14 03:17:21 -08:00 |
|
Matt Bell
|
e01f1ba8a1
|
cmd/ipfs2: daemon command: Handle lock before initializing node
|
2014-11-14 03:17:20 -08:00 |
|
Matt Bell
|
decda21889
|
cmd/ipfs2: Changed command variable naming convention
|
2014-11-14 03:17:20 -08:00 |
|
Matt Bell
|
9fb20dabb3
|
cmd/ipfs2: Added init command
|
2014-11-14 03:17:20 -08:00 |
|
Brian Tiger Chow
|
db7a42e73c
|
refactor(cmd/ipfs2) rename to match cmd/ipfs1
|
2014-11-14 03:17:20 -08:00 |
|
Brian Tiger Chow
|
b3e7cbb9a5
|
refactor(commands) swap argument order to match Http(w, r) idiom
|
2014-11-14 03:17:20 -08:00 |
|
Brian Tiger Chow
|
026c30fa71
|
fix(cmd/ipfs2/daemon) imports
|
2014-11-14 03:16:06 -08:00 |
|
Brian Tiger Chow
|
93e959a459
|
fix(cmd/ipfs2, commands) imports
|
2014-11-14 03:16:05 -08:00 |
|
Brian Tiger Chow
|
510a4a9093
|
move new commands to new place
|
2014-11-14 03:16:05 -08:00 |
|
Brian Tiger Chow
|
3d9331512d
|
move originals back to ipfs
|
2014-11-14 03:16:05 -08:00 |
|
Brian Tiger Chow
|
b3a96d2bb3
|
move temporarily
|
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
|
54587897c1
|
cmd/ipfs: Default to plaintext encoding if avilable, otherwise JSON
|
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
|
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
|
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
|
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 |
|