Commit Graph

579 Commits

Author SHA1 Message Date
Jeromy
a65e8600a3 catch ipns branch up to master and make all things compile 2014-10-01 00:37:53 -07:00
Jeromy
1a3886597d Address concerns from PR 2014-10-01 00:33:00 -07:00
Jeromy
d1f011244f address comments from the PR #45 2014-10-01 00:33:00 -07:00
Jeromy
2aa2b8c6c7 add routing resolver test 2014-10-01 00:26:59 -07:00
Jeromy
4c0f18cbbd implement ipns publisher code 2014-10-01 00:26:59 -07:00
Jeromy
8ddfb57c59 some bugfixes and added logging 2014-10-01 00:26:59 -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
b5fd9492d7 fixes to make interface more usable 2014-10-01 00:25:52 -07:00
Jeromy
235a767492 implement namesys resolvers (thanks to bren2010 for dns and proquint) 2014-10-01 00:16:05 -07:00
Juan Batiz-Benet
0d84af554e Merge pull request #24 from verokarhu/master
serve command (http api)
2014-09-30 13:27:50 -07:00
verokarhu
f40fbb2462 fix http test 2014-09-30 23:16:55 +03: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
0beff4bb4a return the read bytes when EOF is reached 2014-09-30 22:59:56 +03:00
verokarhu
8382c797fc use dagreader in servehttp 2014-09-30 22:59:56 +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
4510977a4d fix imports on mux 2014-09-30 22:59:55 +03:00
verokarhu
cf0100c97c vendor github.com/gorilla dependencies 2014-09-30 22:59:55 +03:00
verokarhu
f320023c7b test for posthandler 2014-09-30 22:59:54 +03:00
verokarhu
65f9087689 rewrote test to use separate test interface 2014-09-30 22:59:54 +03:00
verokarhu
436f14b45d test for serveHTTP 2014-09-30 22:59:54 +03:00
verokarhu
c4d55c7bb7 fix compile errors 2014-09-30 22:59:53 +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
866ea4286b add todo 2014-09-30 22:59:52 +03:00
verokarhu
a82f814b06 get rid of fmt dependency in http 2014-09-30 22:59:52 +03:00
verokarhu
356ee0383f add serve to readme.md 2014-09-30 22:59:51 +03:00
verokarhu
6338cac23e added comment to exported function 2014-09-30 22:59:51 +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
Juan Batiz-Benet
c7af4a6fa2 Bugfix: !online -> online
Caused panic.
2014-09-30 11:34:28 -07:00
Juan Batiz-Benet
42a918d39a Merge pull request #127 from jbenet/feat/snappy-cmd
Feat/snappy cmd
2014-09-30 03:47:02 -07:00
Juan Batiz-Benet
17f147eff8 vendor go-logging + camlistore/lock 2014-09-30 03:33:51 -07:00
Juan Batiz-Benet
c054619827 do init id offline, only dont parse keys
(test was failing)
2014-09-30 03:31:24 -07:00
Juan Batiz-Benet
7492a708a3 daemon_test: use proper temp dir 2014-09-30 03:24:57 -07:00
Juan Batiz-Benet
6aa15ddb94 fixed close sync issue 2014-09-30 03:24:57 -07:00
Juan Batiz-Benet
d0380b739d const for lock file, + fix unreachable Close 2014-09-30 03:24:57 -07:00
Brian Tiger Chow
508a5b7a94 amendment to core context + cancels 2014-09-30 03:22:30 -07:00
Juan Batiz-Benet
4b5e0291f8 core context + cancels
Erroring out in core setup should cancel the context
to ensure subsystems are shut down. This has to happen
all over the place we use contexts.

@perfmode @whyrusleeping
2014-09-30 03:22:30 -07:00
Juan Batiz-Benet
f2db4b77ac don't load identity in offline mode (temp)
**For now**, we don't need to load/parse the private key
(which causes a signficant delay in commands) when doing
things entirely offline. This may change, and in that case
the private key should be loaded on demand.
2014-09-30 03:22:29 -07: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
Juan Batiz-Benet
5594432236 this import snuck in
wish go-dep warned you about dependency problems.

cc @whyrusleeping
2014-09-29 13:33:57 -07:00
Juan Batiz-Benet
be9c114650 no need for ; here
cc @mildred
2014-09-29 13:32:44 -07:00