Commit Graph

202 Commits

Author SHA1 Message Date
Steven Allen
7dfdeeb04e go-ipfs-config: feat: add graphsync option
related to https://github.com/ipfs/go-ipfs/issues/6830
2020-02-11 19:16:27 -08:00
Adin Schmahmann
95a14f43ac go-ipfs-config: profile: badger profile now defaults to asynchronous writes 2019-12-16 13:28:05 -05:00
Steven Allen
d0d55a8548 go-ipfs-config: migrate multiaddrs from /ipfs -> /p2p
See: https://github.com/libp2p/libp2p/issues/79
2019-12-14 18:51:30 +01:00
Steven Allen
66886eb1ff go-ipfs-config: fix(init): use key size constraints defined in libp2p 2019-12-04 13:38:00 -05:00
Steven Allen
f0b5fe9733 go-ipfs-config: plugins: don't omit empty config values
Turns out the go-ipfs config logic really doesn't play well with this. Let's
just keep them and avoid encoding empty values another way.
2019-08-29 13:56:13 -07:00
Steven Allen
40bc2372f9 go-ipfs-config: make it easier to detect an uninitialized repo 2019-08-29 11:48:53 -07:00
Steven Allen
25e3e1974b go-ipfs-config: nit: omit empty plugin values
Let's try to slim down default configs a bit.
2019-08-29 10:25:35 -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
Steven Allen
a7ff340af6 go-ipfs-config: chore: bump minimum key size to 2048 2019-08-29 10:15:25 -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
e9c30cf356 go-ipfs-config: fix string formatting of bootstrap peers 2019-06-01 09:03:11 -07:00
Steven Allen
e76a8cf714 go-ipfs-config: migrate to the consolidated libp2p
BREAKING: this also removes the dependency on go-ipfs-addr so we can deprecate
that package. This only appears to affect go-ipfs itself.
2019-05-31 12:54:12 -07:00
Michael Avila
b2029f15c7 go-ipfs-config: Add provider system experiment 2019-05-02 09:43:16 -07:00
Teran McKinney
c920b46f46 go-ipfs-config: Closes: #6284 Add appropriate IPv6 ranges to defaultServerFilters 2019-05-01 17:33:45 +00:00
Marten Seemann
3475f8350a go-ipfs-config: add an experiment to prefer TLS over secio 2019-04-18 09:11:09 +09:00
Łukasz Magiera
bc31fd957c go-ipfs-config: Add Gateway.NoFetch 2019-01-03 23:09:15 +01:00
Łukasz Magiera
e4282bdb7a go-ipfs-config: Add one more test for config.Clone 2018-12-13 16:03:29 -08:00
Steven Allen
3cd45d889a go-ipfs-config: add tests for the "Strings" type
(missed in my previous PR)
2018-12-13 16:03:29 -08: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
Steven Allen
16f3d2269a go-ipfs-config: Merge pull request #17 from tarekbadrshalaan/feat/profile/randomports
randomports: give user ability to init ipfs using random port for swarm.
2018-12-11 12:29:53 -08:00
Steven Allen
7735514a6b go-ipfs-config: Merge pull request #15 from ivan386/patch-1
Allow the use of the User-Agent header
2018-11-26 18:20:03 -08:00
vyzo
bf2923e47b go-ipfs-config: autorelay options 2018-11-26 17:37:50 -08:00
tarekbadr
b83ea099ff go-ipfs-config: change randomports Description 2018-11-03 15:41:49 +02:00
Lucas Molas
77a3e94a63 go-ipfs-config: profile: add badger truncate option 2018-10-29 11:03:54 -03:00
Steven Allen
7cecbb9dce go-ipfs-config: add pubsub message signing options to config 2018-10-25 10:38:23 -07:00
Ivan
1ca5f8e640 go-ipfs-config: Allow the use of the User-Agent header
License: MIT
Signed-off-by: Ivan <ivan386@users.noreply.github.com>
2018-10-14 21:32:55 +02:00
Dr Ian Preston
43a6230e14 go-ipfs-config: add experiment for p2p http proxy
License: MIT
Signed-off-by: Ian Preston <ianopolous@protonmail.com>
2018-10-04 23:42:48 +01:00
Lars Gierth
6a3a087039 go-ipfs-config: Fix handling of null strings 2018-10-03 08:04:43 +02:00
Steven Allen
5d245d879f go-ipfs-config: Merge pull request #11 from ipfs/feat/multi-addr
allow multiple API/Gateway addresses
2018-10-02 11:56:32 -07:00
Lars Gierth
d7c1f55724 go-ipfs-config: Add Gateway.APICommands for /api allowlists 2018-09-24 16:44:56 +02:00
Steven Allen
6a618df199 go-ipfs-config: allow multiple API/Gateway addresses
Alternative to #6 that doesn't require a migration.
2018-09-21 09:39:47 -07:00
Marten Seemann
32cf2a65d7 go-ipfs-config: add QUIC experiment 2018-08-26 10:42:03 +07:00
vyzo
212b72f236 go-ipfs-config: add pubsub configuration 2018-08-12 14:16:38 +03:00
Łukasz Magiera
512b4d3b15 go-ipfs-config: remove version.go 2018-07-23 19:04:48 +02: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
54e8e770fb go-ipfs-config: move serialize package to config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-22 21:31:49 +02:00
Kevin Atkinson
ee071dbd6a go-ipfs-config: Add config option to enable urlstore.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-13 09:07:51 -04:00
Steven Allen
7fded300ef go-ipfs-config: gx update
Updates:

* go-kad-dht: Query performance improvements, DHT client fixes, validates
  records on *local* put.
* go-libp2p-swarm/go-libp2p-transport: Timeout improvements.
* go-multiaddr-net: Exposes useful Conn methods (CloseWrite, CloseRead, etc.)
* go-log: fixes possible panic when enabling/disabling events.
* go-multiaddr: fixes possible panic when stringifying malformed multiaddrs,
  adds support for consuming /p2p/ multiaddrs.

fixes #5113
unblocks #4895

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-26 17:11:33 -07:00
Steven Allen
4b1900435f go-ipfs-config: explicitly import go-multiaddr-dns in config/bootstrap_peers
We need it to parse the dnsaddr addresses. While we import it elsewhere, we
should really be importing it every where we need it so that other users can
import our packages directly.

fixes #5143

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-21 14:35:43 -07:00
Steven Allen
019e7b27d9 go-ipfs-config: make ipfs swarm connect /ipfs/QmId work
fixes #5102

Also, allow specifying multiple addresses for a single peer.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-12 14:37:29 -07:00
Steven Allen
4a56636348 go-ipfs-config: gx update go-log, sys, go-crypto
* go-log
* sys
* go-crypto

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
Steven Allen
e66b6dd872 go-ipfs-config: update gx imports
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-05 23:55:08 -07:00
Steven Allen
5455b50a3d go-ipfs-config: update multiplexers
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-04 10:05:20 -07:00
Steven Allen
c78cad7700 go-ipfs-config: update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
Łukasz Magiera
a55c0fb51d go-ipfs-config: profile: fix test profile tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-08 13:59:12 +02:00
Łukasz Magiera
97590c70cc go-ipfs-config: fix default-net profile not reverting bootstrap config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-08 13:59:12 +02:00
Whyrusleeping
18dec727d0 go-ipfs-config: Merge pull request #4846 from ipfs/feat/profile-help
Fix missing profile docs
2018-04-08 09:42:08 +09: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