Commit Graph

55 Commits

Author SHA1 Message Date
Tommi Virtanen
3f419cc599 go-ipfs-config: Implement pluggable Datastore types, with nothing implemented yet
License: MIT
Signed-off-by: Tommi Virtanen <tv@eagain.net>
2016-01-12 08:22:55 -08:00
Tommi Virtanen
1f3ad37541 go-ipfs-config: Remove Config file section "Datastore", it's not used
This gives us a clean slate for the new code, avoiding leftovers.

License: MIT
Signed-off-by: Tommi Virtanen <tv@eagain.net>
2016-01-12 08:22:55 -08:00
Jeromy
8c25058225 go-ipfs-config: hard code things
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-30 14:43:37 -08:00
dignifiedquire
511fb7e96e go-ipfs-config: Add access-control-headers to gateway config
License: MIT
Signed-off-by: Friedel Ziegelmayer <dignifiedquire@gmail.com>
2015-11-25 20:11:20 +01:00
dignifiedquire
e7989f1214 go-ipfs-config: Add correct access control headers to the default api config
License: MIT
Signed-off-by: Friedel Ziegelmayer <dignifiedquire@gmail.com>
2015-11-25 20:11:20 +01:00
Juan Benet
7c4736abac go-ipfs-config: Merge pull request #1959 from ipfs/remove-log-config
repo: remove Log config
2015-11-16 11:32:54 -05:00
Lars Gierth
5ed0af6438 go-ipfs-config: repo: remove Log config
We stopped logging to files in a676b5a8ac
and this config section was missed.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-11-11 18:32:24 +01:00
rht
14cf564b3a go-ipfs-config: Add fixed period repo GC + test
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-11-10 14:03:29 +07:00
Jeromy
1e4bd88117 go-ipfs-config: vendor logging lib update
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-05 15:57:21 -08:00
Jeromy
d84895e0d9 go-ipfs-config: cache ipns entries to speed things up a little
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-02 12:53:08 -08:00
Jeromy
b6d1a3f6ee go-ipfs-config: update code to use new logging changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-27 11:04:56 -07:00
Lars Gierth
bf8e4ab52c go-ipfs-config: config: update pluto's peerID
We lost its private key a while ago...

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-10-19 21:04:42 +02:00
Lars Gierth
bdee8cb3ad go-ipfs-config: config: update bootstrap list hostname
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-10-19 21:04:42 +02:00
Jeromy
f6c74ee68b go-ipfs-config: replace imports with absolute path instead of using symlink
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-03 14:30:50 -07:00
Jeromy
a28d610d80 go-ipfs-config: make publish more configurable and add test for repub
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-30 11:03:44 -07:00
Jeromy
4f6eb40056 go-ipfs-config: Implement ipns republisher
This commit adds a very basic process that will periodically go through
a list of given ids and republish the values for their ipns entries.

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-29 09:47:47 -07:00
Jeromy
809269399e go-ipfs-config: extract logging
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-14 17:35:50 -07:00
Juan Benet
ba9bec857e go-ipfs-config: Merge pull request #1076 from zorun/fix-listen-ipv6
Default config: listen on IPv6 for the swarm address
2015-08-15 06:41:26 +02:00
Juan Batiz-Benet
b73f2d531d go-ipfs-config: Added API + Gateway support for arbitrary HTTP headers
This commit fixes + improves CORS support

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-28 23:08:09 -07:00
Juan Batiz-Benet
3861ff304e go-ipfs-config: config: DialBlocklist -> Swarm.AddrFilters
This commit changes the DialBlocklist key to be under the key
Swarm.AddrFilters instead.

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-02 16:11:46 -07:00
Jeromy
eb6a0a5d89 go-ipfs-config: add in basic address dial filtering
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-23 01:29:29 -07:00
rht
316b2d1de9 go-ipfs-config: Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
Jeromy
d5503594e3 go-ipfs-config: implement a config option for mdns 2015-04-22 00:55:31 -07:00
Christian Couder
c685f571ea go-ipfs-config: config: change default config dir name to .ipfs
This changes .go-ipfs to .ipfs everywhere.
And by the way this defines a DefaultPathName const
for this name.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-04-20 02:25:41 -07:00
Juan Batiz-Benet
6457cc5ab8 go-ipfs-config: remove debugerrors
We now consider debugerrors harmful: we've run into cases where
debugerror.Wrap() hid valuable error information (err == io.EOF?).
I've removed them from the main code, but left them in some tests.
Go errors are lacking, but unfortunately, this isn't the solution.

It is possible that debugerros.New or debugerrors.Errorf should
remain still (i.e. only remove debugerrors.Wrap) but we don't use
these errors often enough to keep.
2015-04-20 00:35:35 -07:00
Baptiste Jonglez
ffacc10342 go-ipfs-config: Default config: listen on IPv6 for the swarm address 2015-04-14 14:26:51 +02:00
Ho-Sheng Hsiao
154216d34d go-ipfs-config: Added fuse allow_other option
ipfs config Mounts.FuseAllowOther --bool true
    ipfs daemon --mount
2015-04-02 15:11:27 -07:00
Ho-Sheng Hsiao
25c4d28de9 go-ipfs-config: Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
Brian Tiger Chow
44ef2bab38 go-ipfs-config: fix(config) rename variable GCR -> SNR 2015-02-15 06:29:15 -08:00
Brian Tiger Chow
0ca9469bf3 go-ipfs-config: add three more supernode routers 2015-02-15 04:41:19 -08:00
Brian Tiger Chow
46a4b1a408 go-ipfs-config: feat(config/supernode) add 5 supernodes 2015-02-15 04:41:18 -08:00
Brian Tiger Chow
fd2fcf0879 go-ipfs-config: fix(corerouting) pass transport addr 2015-02-15 04:41:18 -08:00
Brian Tiger Chow
4b98e19165 go-ipfs-config: fix(repo/config) Update gcr_servers.go TODO rename 2015-02-15 04:41:17 -08:00
Brian Tiger Chow
b4bc6482c8 go-ipfs-config: fix(routingd) update port and servers 2015-02-15 04:41:17 -08:00
Brian Tiger Chow
67f8655f18 go-ipfs-config: fix(config/gcr) include protocol 2015-02-15 04:41:17 -08:00
Brian Tiger Chow
df1e24d846 go-ipfs-config: feat(config) add GCR config section 2015-02-15 04:41:17 -08:00
Matt Bell
57814a36bf go-ipfs-config: repo/config: Added default gateway address to initial config 2015-02-04 16:53:24 -08:00
Brian Tiger Chow
58445c2824 go-ipfs-config: fix(config) use max backups to limit number of backups 2015-02-03 17:16:26 -08:00
Brian Tiger Chow
8c84f214f6 go-ipfs-config: fix(config, eventlog) use int. it plays nicely with everyone else 2015-02-03 17:19:15 -08:00
Juan Batiz-Benet
b8d8594801 go-ipfs-config: fsrepo: fix output to writer 2015-02-03 02:27:24 -08:00
Brian Tiger Chow
4309541e87 go-ipfs-config: feat(config) default Log.MaxSizeMB = 500 2015-02-02 18:26:47 -08:00
Brian Tiger Chow
2cca094aa8 go-ipfs-config: feat(fsrepo) add eventlog config to repo/config struct 2015-02-02 17:49:19 -08:00
Juan Batiz-Benet
9adf5bc2bf go-ipfs-config: bootstrap: use ipfsaddr for boostrap peers ⚠️
⚠️ this commit makes your current configs unusable, as the
default bootstrap peers. You may need to edit your config.

Go from:

```js
Bootstrap: [
  {
    "Address": "/ip4/104.131.131.82/tcp/4001",
    "PeerID": "QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
  }
]
```

To:
```js
Bootstrap: [
  "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
]
```
2015-02-01 05:16:52 -08:00
Mildred Ki'Lya
cf854f9a20 go-ipfs-config: Make gateway read-only by default and add option to make it writable 2015-01-31 23:36:45 +01:00
Juan Batiz-Benet
075ae67fdd go-ipfs-config: init docs: go generated welcome dir + files
updated sharness hashes
2015-01-31 07:51:30 -08:00
Matt Bell
6579236d39 go-ipfs-config: cmd/ipfs: Add empty gateway object when initting config 2015-01-28 16:01:42 -08:00
Matt Bell
2217c97632 go-ipfs-config: repo/config: Added Gateway options to config 2015-01-28 16:01:42 -08:00
Brian Tiger Chow
69d7848d2e go-ipfs-config: move config.Init into config package 2015-01-27 16:23:58 -08:00
Brian Tiger Chow
843cc85ede go-ipfs-config: refactor(eventlog) integrate into fsrepo
now, eventlogger works wherever the fsrepo is used
2015-01-24 01:37:03 -08:00
Brian Tiger Chow
13ffe4fbb8 go-ipfs-config: refactor: rename IPFS_DIR -> IPFS_PATH
closes #394 https://github.com/jbenet/go-ipfs/issues/394
2015-01-21 17:09:39 -08:00