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
Juan Batiz-Benet
193aebc4c0
config: rename addresses
...
WARNING: change breaks old configs.
@whyrusleeping @perfmode
This commit changes the way addresses are stored in config files.
It lumps Identity.Address and RPCAddress into Addresses. This
commit also fixes several golint issues.
2014-09-24 05:28:35 -07:00
Jeromy
7bc4fbfa5d
turn logging on by default, also make Provide not fail when no peers connected
2014-09-22 19:22:04 -07:00
Juan Batiz-Benet
81b4b38140
RPC Address init + checks
2014-09-22 04:06:17 -07:00
Juan Batiz-Benet
1653304129
adjusted what Address means in config
...
There are (so far) two sorts of addresses that peers care about:
- peer network addresses, local to listen, saved to bootstrap.
`config.Identity.Address`
- peer RPC network address, local RPC tcp endpoint
`config.RPCAddress`
@whyrusleeping @perfmode
2014-09-22 04:06:17 -07:00
Juan Batiz-Benet
6807b6e98e
added mars.i.ipfs.io as a bootstrap node
...
In the future, let's have a (signed) list of bootstrap
nodes. Ideally just a list of ipfs multiaddrs (with node.ID)
2014-09-22 04:06:17 -07:00
Juan Batiz-Benet
b053896e5f
uncommenting global debug
...
let's keep this a turn-on for testing sort of thing.
(want the outputs of commands like `ipfs add` to be
usable as inputs to other programs/scripts).
maybe we should consider adding a --debug (not -d),
once we figure out adding flags that apply globally :)
@whyrusleeping
2014-09-22 04:06:17 -07:00
Juan Batiz-Benet
74a0aa54ad
fixed [%s] bug
2014-09-22 04:06:17 -07:00
Juan Batiz-Benet
d1c4ffba7c
init -f fix and output
2014-09-22 04:06:16 -07:00
Juan Batiz-Benet
d17fcc1780
fix security comment #92
2014-09-22 04:06:16 -07:00
Brian Tiger Chow
556da76b2c
fix(cmd:ipfs) import err identify -> spipe
2014-09-22 04:05:15 -07:00
Jeromy
2607bee4d6
Change config flag to accept config dir instead of file path
2014-09-17 06:03:58 +00:00
Jeromy
9e4b8586a9
Add config flag to cmd line interface
2014-09-17 02:49:36 +00:00
Jeromy
0ec9dce19c
Merge branch 'master' of github.com:jbenet/go-ipfs into daemon
...
Conflicts:
core/core.go
2014-09-14 04:22:05 +00:00
Jeromy
35a87e9d07
expand path names for add command, and pass errors up even more
2014-09-13 04:42:48 +00:00
Jeromy
b55a5078a8
refactor daemon code, moved commands to core/commands
2014-09-12 21:29:54 +00:00
Jeromy
ec40a29b3d
change ExecuteCommand to return an error
2014-09-12 19:11:54 +00:00
Juan Batiz-Benet
5a41a2ac07
Merge pull request #54 from jbenet/fix/config-test
...
fix(config) failing test
2014-09-12 10:59:43 -07:00
Siraj Ravel
256db0b52b
Merge pull request #1 from jbenet/master
...
give
2014-09-12 10:32:00 -07:00
Brian Tiger Chow
a5c0f67c8c
fix(config) failing test
...
also replace *Datastore with Datastore
2014-09-12 04:20:46 -07:00
Matt Bell
fbec97982f
cmd/init: Fixed init checking if config exists
2014-09-11 13:07:38 -07:00
Siraj Ravel
b88ee2870a
golint cleanup
2014-09-11 12:25:52 -07:00
Jeromy
8dfb119fa6
Merge branch 'master' of github.com:jbenet/go-ipfs
...
Conflicts:
cmd/ipfs/add.go
cmd/ipfs/cat.go
cmd/ipfs/ls.go
cmd/ipfs/mount_unix.go
2014-09-10 06:28:15 +00:00
Brian Tiger Chow
7968b45e58
vendor dependencies with godep
...
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json
update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00
Jeromy
b2a218816d
initial hack at turning ipfs into a daemon, just implemented simple rpc at this point
2014-09-09 05:11:56 +00:00