b5fd9492d7
fixes to make interface more usable
2014-10-01 00:25:52 -07:00
235a767492
implement namesys resolvers (thanks to bren2010 for dns and proquint)
2014-10-01 00:16:05 -07:00
0d84af554e
Merge pull request #24 from verokarhu/master
...
serve command (http api)
2014-09-30 13:27:50 -07:00
f40fbb2462
fix http test
2014-09-30 23:16:55 +03:00
c6c758d93f
fix compile error after rebase
2014-09-30 23:02:22 +03:00
0b0bee6fd5
switch to multiaddr and use /ipfs/ path in http api
2014-09-30 22:59:57 +03:00
0beff4bb4a
return the read bytes when EOF is reached
2014-09-30 22:59:56 +03:00
8382c797fc
use dagreader in servehttp
2014-09-30 22:59:56 +03:00
7b22bdc68b
fix compile error after sync
2014-09-30 22:59:56 +03:00
600829b4e7
fix localNode call
2014-09-30 22:59:55 +03:00
4510977a4d
fix imports on mux
2014-09-30 22:59:55 +03:00
cf0100c97c
vendor github.com/gorilla dependencies
2014-09-30 22:59:55 +03:00
f320023c7b
test for posthandler
2014-09-30 22:59:54 +03:00
65f9087689
rewrote test to use separate test interface
2014-09-30 22:59:54 +03:00
436f14b45d
test for serveHTTP
2014-09-30 22:59:54 +03:00
c4d55c7bb7
fix compile errors
2014-09-30 22:59:53 +03:00
d894d6382f
daemon listener to http serve code
2014-09-30 22:59:53 +03:00
8eb95faf50
moved http to server/http and implemented serve http subcommand
2014-09-30 22:59:53 +03:00
0a25b64f0a
implemented suggestions by whyrusleeping
2014-09-30 22:59:52 +03:00
866ea4286b
add todo
2014-09-30 22:59:52 +03:00
a82f814b06
get rid of fmt dependency in http
2014-09-30 22:59:52 +03:00
356ee0383f
add serve to readme.md
2014-09-30 22:59:51 +03:00
6338cac23e
added comment to exported function
2014-09-30 22:59:51 +03:00
e4941069ef
hostname flag to serve command
2014-09-30 22:59:51 +03:00
8831427c82
rudimentary HTTP POST support
2014-09-30 22:59:50 +03:00
bb924cab5b
add port flag to serve
2014-09-30 22:59:50 +03:00
0427d1efa1
beginnings of an http gateway/api
2014-09-30 22:59:50 +03:00
c7af4a6fa2
Bugfix: !online -> online
...
Caused panic.
2014-09-30 11:34:28 -07:00
42a918d39a
Merge pull request #127 from jbenet/feat/snappy-cmd
...
Feat/snappy cmd
2014-09-30 03:47:02 -07:00
17f147eff8
vendor go-logging + camlistore/lock
2014-09-30 03:33:51 -07:00
c054619827
do init id offline, only dont parse keys
...
(test was failing)
2014-09-30 03:31:24 -07:00
7492a708a3
daemon_test: use proper temp dir
2014-09-30 03:24:57 -07:00
6aa15ddb94
fixed close sync issue
2014-09-30 03:24:57 -07:00
d0380b739d
const for lock file, + fix unreachable Close
2014-09-30 03:24:57 -07:00
508a5b7a94
amendment to core context + cancels
2014-09-30 03:22:30 -07:00
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
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
e311ccbf43
respect the lock file, also cpu profile
2014-09-30 03:22:29 -07:00
9c221719f9
switch over to using a lock file for daemon connections
2014-09-30 03:20:15 -07:00
ac1430456c
changed gitignore to accomodate atom
...
See https://github.com/atom/atom/issues/3660
2014-09-30 03:19:13 -07:00
5594432236
this import snuck in
...
wish go-dep warned you about dependency problems.
cc @whyrusleeping
2014-09-29 13:33:57 -07:00
be9c114650
no need for ; here
...
cc @mildred
2014-09-29 13:32:44 -07:00
f223aef486
Merge pull request #126 from mildred/master
...
Rework config file location
2014-09-29 13:27:58 -07:00
832d84ef3c
When initializing datastore, create directory with correct permissions.
2014-09-29 21:54:35 +02:00
2a3ab23f1d
Check the datastore is writeable when initializing
2014-09-29 21:54:35 +02:00
dc1aafbafd
Fix error handling
2014-09-29 21:54:35 +02:00
e200c089fa
Correct style.
2014-09-29 21:54:35 +02:00
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
73077d1f72
Implement ipfs init -d (change datastore location)
2014-09-29 21:54:08 +02:00
68f1a1a260
update readme and a couple comments
2014-09-27 18:50:38 -07:00