Commit Graph

60 Commits

Author SHA1 Message Date
Jorropo
82fbb84384 fmt: applies go1.19 fmt 2022-09-08 18:34:06 +02:00
Lucas Molas
6817fd4744 feat(cmds): allow to set the configuration file path 2022-04-22 13:03:28 -03:00
Petar Maymounkov
44291176e6 go-ipfs-config: feat: add Internal and Internal.Bitswap config options 2021-08-18 08:14:25 -04:00
gammazero
67456e2e64 go-ipfs-config: Add config for downloading repo migrations 2021-04-16 17:35:34 -07:00
vyzo
c932e6b700 go-ipfs-config: add default empty config for DNS, rename struct from DNSConfig to DNS 2021-04-14 18:46:35 +03:00
vyzo
8a8b161da4 go-ipfs-config: add custom DNS Resolver configuration 2021-04-12 13:53:19 +03:00
Adin Schmahmann
06fe967955 go-ipfs-config: add remote pinning services config 2020-12-05 17:21:55 -05:00
Steven Allen
13bcc4da44 go-ipfs-config: feat: add peering service config section 2020-05-25 14:05:24 -07:00
Steven Allen
4554fc9246 go-ipfs-config: feat: add an autonat config section
And remove the current EnableAutoNATService option from the swarm config. While
a breaking change, this shouldn't cause _too_ much trouble given that we're
going to enable AutoNAT everywhere by default anyways.
2020-04-14 19:05:01 -07:00
Steven Allen
a04a858922 go-ipfs-config: add plugins config section
* Allow users to store plugin specific config options.
* Allow users to disable specific plugins.

Eventually, we can use this to allow loading plugins from non-standard locations.
2019-08-29 10:15:31 -07:00
Michael Avila
86abf1fc57 go-ipfs-config: Fix bad go fmt 2019-06-27 12:52:23 -07:00
Michael Avila
f61d052ce1 go-ipfs-config: Add very basic (possibly temporary) Provider configs 2019-06-27 12:20:44 -07:00
Steven Allen
b627585f28 go-ipfs-config: add a Clone function
The user must call this before modifying the config. Given that the config
contains slices/maps modifications can modified *shared* state, even after
dereferencing.
2018-12-13 16:03:26 -08:00
vyzo
212b72f236 go-ipfs-config: add pubsub configuration 2018-08-12 14:16:38 +03:00
Łukasz Magiera
757f25d4b1 go-ipfs-config: gx-go uw 2018-07-23 16:13:00 +02:00
Łukasz Magiera
d67080f478 go-ipfs-config: Setup gx 2018-07-23 16:12:26 +02:00
Łukasz Magiera
af1fc17657 go-ipfs-config: fix error style
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:43:27 +02:00
Łukasz Magiera
88d7dfec2f go-ipfs-config: config: apply review to lowpower profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-24 16:11:42 +01:00
Steven Allen
842d0d3248 go-ipfs-config: remove the rest of the supernode code
missed in the initial cleanup

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-14 16:43:30 -07:00
Sherod Taylor
2f2b1fbcd7 go-ipfs-config: Removed tour command and fix test
License: MIT
Signed-off-by: Sherod Taylor <sherodtaylor@gmail.com>
2017-08-09 10:14:57 -04:00
zramsay
9e050b1526 go-ipfs-config: apply the megacheck tool to improve code quality
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
Jeromy
f1cb6feeb5 go-ipfs-config: Implement basic filestore 'no-copy' functionality
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-06 00:37:24 -08:00
Richard Littauer
ed67b7bf9a go-ipfs-config: Changed so only explicit ipfs cli commands are lowercased
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:55:13 -07:00
Jeromy
16dd9472bd go-ipfs-config: update deps for libp2p 3.4.0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-25 19:02:55 -07:00
Jeromy
f5e4f1861c go-ipfs-config: reprovider: add config option to set reprovide interval
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-19 16:52:03 -07:00
Jakub Sztandera
c36294a933 go-ipfs-config: Update go-log in whole dependency tree (#2898)
* Update golog in go-ipfs

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-secio for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-crypto for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-peer for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Import peersore, it wasn't imported

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update peerstore

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update peer

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update secio

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 09:38:07 -07:00
Jakub Sztandera
c82b581650 go-ipfs-config: Update go-log
https://github.com/ipfs/go-log/pull/3

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 23:37:09 +02:00
Hector Sanjuan
641003089b go-ipfs-config: Update go-log to 1.1.0 and fix calls to go-log.Uuid
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2016-05-04 23:17:21 +02:00
Jeromy
46e32373f0 go-ipfs-config: clean up dead code and config fields
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-08 13:11:30 -07:00
Jeromy
a7c4694354 go-ipfs-config: Use gx vendored go-ipfs-utils where possible
For the rest of the packages in util, move them to thirdparty
and update the references. util is gone!

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-12 17:21:40 -08:00
Jeromy
389545c750 go-ipfs-config: correct go-log dep
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-30 09:34:10 -08:00
Jeromy
ac586580ba go-ipfs-config: initial vendoring of libp2p outside of the repo with gx
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-30 09:34:06 -08:00
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
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
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
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
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
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 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
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
fd2fcf0879 go-ipfs-config: fix(corerouting) pass transport addr 2015-02-15 04:41:18 -08:00
Brian Tiger Chow
df1e24d846 go-ipfs-config: feat(config) add GCR config section 2015-02-15 04:41:17 -08:00