Commit Graph

186 Commits

Author SHA1 Message Date
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
Matt Bell
b4fc0dba96 cmd/ipfs: Added basic daemon command 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
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
Brian Tiger Chow
67bc9cc89d feat(init) display peer id in init command
use case:

Just configured and installed a node.

benefits:

1) reduces friction when setting up a new node

2) reveals useful details about the workings of the system. It's the
user's first encounter with her node's identity. The tour can build on
the user's knowledge.

```
ipfs (maybebtc-november) λ. ipfs init -f
initializing ipfs node at /Users/btc/.go-ipfs
generating key pair
peer identity: QmcRbn41Vc2CvbpLYfN36mAWusErKWvAAHbq92LPra2gFT
```
2014-11-05 10:15:17 -08:00
Juan Batiz-Benet
c6b74207bc config/init: init Version with CheckPeriod #265 2014-11-04 19:15:25 -08:00
Juan Batiz-Benet
866c2c8915 updates + config: moved location of current version number 2014-11-04 18:58:15 -08:00
Juan Batiz-Benet
3eb43d1cb4 mount: darwin osx fuse check fix
committed my test case accidentally :(
2014-11-01 22:38:13 -07:00
Juan Batiz-Benet
7972f3a7ee fixed osx fuse checks 2014-11-01 22:38:12 -07:00
Jeromy
c7ef55a450 move OSX specific calls to build tagged files 2014-10-31 19:46:42 +00:00
Juan Batiz-Benet
ca1bf26744 check osxfuse version. Fixes #202. 2014-10-31 10:10:12 -07:00
Brian Tiger Chow
7510ef2081 feat(cmd/ipfs1) add mem profiling in debug mode
TODO add memory profiling to ipfs2
2014-10-29 18:24:32 -07:00
Brian Tiger Chow
1e847059bc style(cmd/ipfs/pprof) move defer close to initialization 2014-10-29 18:24:32 -07:00
Juan Batiz-Benet
0ee4b3ec77 tour list: left justify 2014-10-26 10:03:38 -07:00
Juan Batiz-Benet
6f7bab389e tour: command 2014-10-26 08:32:08 -07:00
Juan Batiz-Benet
d8eb8b1191 ipfs cmd help now shows update
+ reorder of plumbing
2014-10-22 15:22:01 -07:00
Henry
4f42a26836 fixed --force flag for shutdown after update 2014-10-22 12:42:13 +02:00
Henry
0a0c38fb91 using @jbenet's industrial lipstick to clean this up 2014-10-22 11:25:30 +02:00
Henry
0115d1e0de respect cfg.Version.Check 2014-10-22 11:25:30 +02:00
Henry
cb73ea7ba4 removed duplicate logic 2014-10-22 11:25:30 +02:00
Henry
81f84d6cea updated error messages and explicit import names 2014-10-22 11:25:30 +02:00
Henry
8d41021b89 check AutoUpdate settings and apply 2014-10-22 11:25:30 +02:00
Henry
7ddf3836d0 implemented manual check and update (with signature verification) 2014-10-22 11:25:30 +02:00
Henry
5fa3053e19 added command stubs 2014-10-22 11:24:34 +02:00
Henry
2806260f5c use inconshreveable's go-update to check for updates 2014-10-22 11:24:34 +02:00
Jeromy
65385b37ea fix rm flags 2014-10-22 00:28:41 -07:00