Commit Graph

91 Commits

Author SHA1 Message Date
Juan Batiz-Benet
ffe2bdceef init SetupLoggers
this is useful so that loggers are all setup during tests
2014-10-08 02:50:42 -07:00
Jeromy
5ba2efc2b8 make tests pass 2014-10-08 04:25:51 +00:00
Juan Batiz-Benet
0c8ae7674e loggers: set level 2014-10-04 03:53:21 -07:00
Juan Batiz-Benet
7e1cd59259 initialize loggers at ERROR 2014-10-04 03:36:30 -07:00
Jeromy
d872e0cce5 move publish and resolve under the 'name' subcommand 2014-10-02 22:30:50 +00:00
Juan Batiz-Benet
a76f6af1df remove old cat 2014-10-02 03:33:20 -07:00
Juan Batiz-Benet
bc0769e370 ipfs + ipns mounts with flags + config 2014-10-02 03:05:49 -07:00
Juan Batiz-Benet
068c0375f9 bugfix: get to root cmd for config flag 2014-10-02 03:05:05 -07:00
Juan Batiz-Benet
7bf7afb7a9 logging on gen 2014-10-02 03:04:48 -07:00
Juan Batiz-Benet
e91b2b8aec use makeCommand for publish + resolve 2014-10-02 02:50:55 -07:00
Juan Batiz-Benet
330ee8c79f added command struct for makeCommand 2014-10-02 02:50:33 -07:00
Juan Batiz-Benet
2bd843123e added command context initialization 2014-10-02 02:49:36 -07:00
Juan Batiz-Benet
381824477e Bugfix: daemon wg sync 2014-10-02 00:12:36 -07:00
Juan Batiz-Benet
ee1ba164d0 fix arg bug 2014-10-02 00:09:32 -07:00
Jeromy
b6a59c90cf add flag for ipfs mountpoint 2014-10-02 06:14:38 +00:00
Juan Batiz-Benet
aa79f38580 cleanup logging setup.
- should not be on init, because need debug flag
2014-10-01 02:02:48 -07:00
Juan Batiz-Benet
14a384d826 pin: add depth arg. 2014-10-01 01:26:48 -07:00
Juan Batiz-Benet
728f17d3c9 cmd/ipfs/pin.go now uses MakeCommand
+ added recursive pinning func
2014-10-01 01:17:27 -07:00
Juan Batiz-Benet
11a8826d4f RPCAddress -> ddresses.API 2014-10-01 00:46:39 -07:00
Jeromy
9b0c578fc0 better cleanup of ipfs on program exit 2014-10-01 00:41:30 -07:00
Jeromy
6080944af9 writing files inside ipns works now! also implemented resolve cli command 2014-10-01 00:41:29 -07:00
Jeromy
e61c59758b implement initial ipns filesystem interface as well as plumbing command for publishing 2014-10-01 00:39:57 -07:00
Jeromy
375a38c5f7 add basic publish command, needs polish 2014-10-01 00:39:57 -07:00
Jeromy
16aa636273 allow ipns to be mounted by mount command 2014-10-01 00:38:32 -07:00
Jeromy
a65e8600a3 catch ipns branch up to master and make all things compile 2014-10-01 00:37:53 -07:00
Jeromy
c41a9717fe make disconnects and reconnects work a little better 2014-10-01 00:26:59 -07:00
Jeromy
da1890e5ef add run command 2014-10-01 00:26:59 -07:00
Jeromy
235a767492 implement namesys resolvers (thanks to bren2010 for dns and proquint) 2014-10-01 00:16:05 -07:00
verokarhu
c6c758d93f fix compile error after rebase 2014-09-30 23:02:22 +03:00
verokarhu
0b0bee6fd5 switch to multiaddr and use /ipfs/ path in http api 2014-09-30 22:59:57 +03:00
verokarhu
7b22bdc68b fix compile error after sync 2014-09-30 22:59:56 +03:00
verokarhu
600829b4e7 fix localNode call 2014-09-30 22:59:55 +03:00
verokarhu
d894d6382f daemon listener to http serve code 2014-09-30 22:59:53 +03:00
verokarhu
8eb95faf50 moved http to server/http and implemented serve http subcommand 2014-09-30 22:59:53 +03:00
verokarhu
0a25b64f0a implemented suggestions by whyrusleeping 2014-09-30 22:59:52 +03:00
verokarhu
e4941069ef hostname flag to serve command 2014-09-30 22:59:51 +03:00
verokarhu
8831427c82 rudimentary HTTP POST support 2014-09-30 22:59:50 +03:00
verokarhu
bb924cab5b add port flag to serve 2014-09-30 22:59:50 +03:00
verokarhu
0427d1efa1 beginnings of an http gateway/api 2014-09-30 22:59:50 +03:00
Jeromy
e311ccbf43 respect the lock file, also cpu profile 2014-09-30 03:22:29 -07:00
Jeromy
9c221719f9 switch over to using a lock file for daemon connections 2014-09-30 03:20:15 -07:00
Juan Batiz-Benet
ac1430456c changed gitignore to accomodate atom
See https://github.com/atom/atom/issues/3660
2014-09-30 03:19:13 -07:00
Shanti Bouchez-Mongardé
832d84ef3c When initializing datastore, create directory with correct permissions. 2014-09-29 21:54:35 +02:00
Shanti Bouchez-Mongardé
2a3ab23f1d Check the datastore is writeable when initializing 2014-09-29 21:54:35 +02:00
Shanti Bouchez-Mongardé
e200c089fa Correct style. 2014-09-29 21:54:35 +02:00
Shanti Bouchez-Mongardé
7705dfb939 Refactor config file location, add IPFS_CONFIG_DIR
Removed config.Filename and replace it with config.GetConfigFilePath that
takes a configuration directory as argument instead. Makes code simpler.
ipfs.getConfigDir now also return the default configuration dir instead of
an empty string in some cases.
2014-09-29 21:54:35 +02:00
Shanti Bouchez-Mongardé
73077d1f72 Implement ipfs init -d (change datastore location) 2014-09-29 21:54:08 +02:00
Jeromy
68f1a1a260 update readme and a couple comments 2014-09-27 18:50:38 -07:00
Jeromy
727b6bf9a3 udpated commands and RPC dialing to work with new configuration changes 2014-09-27 16:02:50 -07:00
Juan Batiz-Benet
303ebd894d config: changed language from Peers to Bootstrap 2014-09-24 05:31:25 -07:00