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
Juan Batiz-Benet
f223aef486
Merge pull request #126 from mildred/master
...
Rework config file location
2014-09-29 13:27:58 -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é
dc1aafbafd
Fix error handling
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
8b68776fff
Merge pull request #128 from jbenet/feat/peerstorefix
...
Peerstore Fix
2014-09-27 01:39:05 -07:00
Juan Batiz-Benet
484d6004f7
crypto: abstracted Key and added Equals.
2014-09-27 00:18:54 -07:00
Juan Batiz-Benet
c7bd8b78dd
handshake catch
2014-09-26 23:58:44 -07:00
Juan Batiz-Benet
198b6e2bae
remove stale TODO
2014-09-26 23:55:28 -07:00
Juan Batiz-Benet
ee3be129fc
set util.ErrNotFound = ds.ErrNotFound
2014-09-26 23:37:36 -07:00
Juan Batiz-Benet
c1219303a0
fixed muxer errors
2014-09-26 03:57:34 -07:00
Juan Batiz-Benet
2507680d77
ok fixed queue test
2014-09-26 03:26:48 -07:00
Juan Batiz-Benet
943c3df416
increment time for queue test
...
it's failing when machine slow (travis)
2014-09-26 02:52:41 -07:00
Juan Batiz-Benet
e6b96b9c75
ammend tests with changes
2014-09-26 02:41:46 -07:00
Juan Batiz-Benet
53f0b117f5
update net with peerstore
2014-09-26 02:41:46 -07:00
Juan Batiz-Benet
0817ffa366
spipe + handshake with peerstore
2014-09-26 02:41:46 -07:00
Juan Batiz-Benet
a93a31f20b
peerstore: re-export ErrNotFound
...
This is to avoid having to import ds elsewhere.
2014-09-26 02:41:46 -07:00
Juan Batiz-Benet
80a927f279
Merge pull request #121 from jbenet/feat/addrs-in-config
...
config: rename addresses
2014-09-26 02:36:29 -07:00
Brian Tiger Chow
671b09569a
Merge branch 'feat/network-error-propagation-1'
2014-09-24 23:36:52 -04:00