Commit Graph

220 Commits

Author SHA1 Message Date
Steven Allen
ed0f306c2c go-ipfs-config: feat: remove strict signing pubsub option.
It's still possible to disable signing. However, it's no longer possible to
enable signing _and_ disable strict signature verification.
2020-05-19 19:05:59 -07:00
Will
eaf1cc8d18 go-ipfs-config: Merge pull request #78 from ipfs/feat/ed25519init
Add Init Alternative allowing specification of ED25519 key
2020-04-28 10:33:50 -07:00
Will Scott
a70d82e4ba go-ipfs-config: add test validating that createIdentity follows algorithm preference 2020-04-28 09:50:01 -07:00
Steven Allen
515d6905e3 go-ipfs-config: fix: correct the default-datastore config profile
And use an actual profile instead of just aliasing.
2020-04-27 14:39:17 -07:00
Will Scott
c6336c3303 go-ipfs-config: interface 2020-04-21 08:08:21 -07:00
Will Scott
d02cdb3963 go-ipfs-config: Add Init Alternative allowing specification of ED25519 key 2020-04-20 17:37:46 -07:00
Steven Allen
cf3fa1bdb6 go-ipfs-config: feat: disable autonat service when in lowpower mode 2020-04-14 20:29:05 -07:00
Steven Allen
25a96cfb1b go-ipfs-config: feat: add and use a duration helper type 2020-04-14 20:04:40 -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
ab3a78d78e go-ipfs-config: feat: remove Routing.PrivateType
This can't be set independently at this point. We can add something back when we
know the form this option should take.
2020-04-09 13:24:03 -07:00
Steven Allen
7b9225113f go-ipfs-config: doc: add a bit of documentation. 2020-04-06 17:32:07 -07:00
Steven Allen
043f20c1f8 go-ipfs-config: feat: add private routing config field
That way, users can enable/disable/configure routing on their local network.
2020-04-06 15:42:36 -07:00
Steven Allen
0f2ebaa9e5 go-ipfs-config: Merge pull request #70 from ipfs/feat/badger-stable
feat: mark badger as stable
2020-04-01 09:11:25 -07:00
Steven Allen
542ca9296b go-ipfs-config: feat: remove PreferTLS experiment
This will now be enabled by default.
2020-03-29 18:50:34 -07:00
Steven Allen
cc723f94b8 go-ipfs-config: feat: mark badger as stable
We're still not ready to enable it by default but at least mark it as stable.
2020-03-27 18:40:26 -07:00
Steven Allen
f83f2b1487 go-ipfs-config: chore: remove unnecessary dependency
We _used_ to need this dependency to parse the dns addresses. However, dnsaddr
protocols are now all defined directly in go-multiaddr.
2020-03-17 19:09:54 -07:00
Steven Allen
f455264a4b go-ipfs-config: feat: remove old bootstrap peers 2020-03-17 19:07:14 -07:00
Marcin Rataj
265f8cf95d go-ipfs-config: add config options for proxy/subdomain
Co-authored-by: Steven <steven@stebalien.com>
2020-03-17 18:57:29 -07:00
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