Marten Seemann
7fe155c287
go-ipfs-config: feat: add a flag to enable the hole punching service ( #155 )
...
* add a flag to enable the hole punching service
* chore: omitempty EnableHolePunching
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-11-16 11:55:46 +01:00
Adin Schmahmann
1b4502c77f
go-ipfs-config: Merge pull request #154 from ipfs/static-relays
...
improve AutoRelay configuration, add config option for static relays
2021-11-15 16:23:46 -05:00
Marcin Rataj
aefce5a6cd
go-ipfs-config: refactor: AutoRelay → RelayClient
...
https://github.com/ipfs/go-ipfs-config/pull/154#discussion_r749324695
2021-11-15 15:45:55 +01:00
Marten Seemann
bf3a2ca8de
go-ipfs-config: set Swarm.EnableAutoRelay to omitempty
...
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-11-15 17:34:58 +04:00
Marten Seemann
dcf17eb24a
go-ipfs-config: improve AutoRelay configuration, add config option for static relays
2021-11-14 16:58:03 +04:00
Marten Seemann
d2268793dc
go-ipfs-config: feat: Swarm.RelayService (circuit v2) ( #146 )
...
* remove the EnableRelayHop option in the SwarmConfig
* add an option to disable the limited relay
* make the relay service resources configurable
* refactor: use custom types
This enables us to swap defaults in go-ipfs without touching the config
file generated during `ipfs init`
https://github.com/ipfs/go-ipfs-config/pull/146#discussion_r734728162
https://github.com/ipfs/go-ipfs-config/pull/146#discussion_r734728019
* use OptionalDuration in RelayService configuration
* fix: *OptionalInteger with omitempty
This removes null values from the config
* fix: Flag does not need to be a pointer
* refactor: flatten RelayService limits
this simplifies consumer code and removes nil footgun
* docs: clarify different relay types
* feat: flag for ForceReachability mode in libp2p (#150 )
adds Internal.Libp2pForceReachability
needed for sharness tests in ipfs/go-ipfs#8522
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-11-13 03:07:14 -08:00
Marten Seemann
ba9d9f609c
go-ipfs-config: fix: String method on the OptionalString ( #153 )
...
* fix: String method on the OptionalString
* test(OptionalString): empty string is preserved
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-10-29 17:21:53 +02:00
Adin Schmahmann
cdaa222b22
go-ipfs-config: feat: OptionalString type and UnixFSShardingSizeThreshold ( #149 )
...
* feat: add OptionalString type
* test: fix OptionalInteger test
* add Internal.UnixFSShardingSizeThreshold as optional string
* test: OptionalString null unmarshal with default
* fix: omitempty UnixFSShardingSizeThreshold
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-10-28 22:55:08 +02:00
jwh
9eaf572b28
go-ipfs-config: feat: pubsub and ipns pubsub flags ( #145 )
...
* enable pubsub and namesys pubsub to be enable via config
* rename Ipns key, switch type to Flag
* omit the fields if empty
2021-10-27 21:50:10 +02:00
Marten Seemann
2cf170d5fa
go-ipfs-config: feat: add an OptionalDuration type ( #148 )
...
* feat: make it possible to define optional durations
* test: empty/default optional durations
does not crash if user restores default value and sets it to empty string ""
* refactor: use null in JSON
* refactor(duration): use JSON null as the default
Rationale:
https://github.com/ipfs/go-ipfs-config/pull/148#discussion_r736975879
* refactor: Duration → OptionalDuration
This makes it possible to use OptionalDuration with `json:",omitempty"`
so the null is not serialized to JSON, and get working WithDefault as well.
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-10-27 18:23:35 +02:00
Petar Maymounkov
44291176e6
go-ipfs-config: feat: add Internal and Internal.Bitswap config options
2021-08-18 08:14:25 -04:00
Adin Schmahmann
ac81804c8c
go-ipfs-config: feat: add an OptionalInteger type
2021-08-18 08:14:25 -04:00
Adin Schmahmann
7c1029c515
go-ipfs-config: fix: make sure the Priority type properly implements the JSON marshal/unmarshal interfaces
2021-08-18 08:14:25 -04:00
Steven Allen
d00f8a19fb
go-ipfs-config: Merge pull request #138 from ipfs/fix/deprecation
...
fix: remove deprecated calls
2021-07-22 15:55:19 -07:00
Steven Allen
c692e73f3f
go-ipfs-config: fix: remove deprecated calls
...
And rename imports.
2021-07-22 15:54:33 -07:00
Marten Seemann
ea17b502cf
go-ipfs-config: Merge pull request #132 from ipfs/web3-bot/sync
...
sync: update CI config files
2021-05-17 10:19:45 -07:00
web3-bot
8f09fa547f
go-ipfs-config: run gofmt -s
2021-05-17 17:00:43 +00:00
Marten Seemann
b14afc2222
go-ipfs-config: Merge pull request #131 from ipfs/fix-staticcheck
...
remove period, fix staticcheck
2021-05-14 16:16:58 -07:00
Michael Burns
e7bb833760
go-ipfs-config: [LINT] error strings should not end with punctuation or a newline (ST1005)
2021-05-14 14:31:24 -07:00
Adin Schmahmann
fc761b10ea
go-ipfs-config: Merge pull request #125 from ipfs/feat/experimental-dht-client
...
Added Experiments.AcceleratedDHTClient option
2021-05-13 23:01:46 -07:00
Adin Schmahmann
22d2b6b8b8
go-ipfs-config: add option for Accelerated DHT Client experiment
2021-05-12 15:13:47 -04:00
Steven Allen
f7b64b3d95
go-ipfs-config: Merge pull request #128 from ipfs/feat/migration-config
...
Add config for downloading repo migrations
2021-05-03 10:50:38 -07:00
gammazero
4b778ce326
go-ipfs-config: Removed Peers from migration config
2021-05-03 09:08:16 -07:00
gammazero
dbb5fa78a5
go-ipfs-config: Fix comment
2021-04-20 00:29:38 -07:00
gammazero
ec1659d79a
go-ipfs-config: Init migration config with empty values
2021-04-19 23:41:54 -07:00
Adin Schmahmann
98052e9025
go-ipfs-config: Merge pull request #121 from RubenKelevra/patch-1
...
remove duplicate entries in defaultServerFilters
2021-04-19 08:53:04 -07:00
gammazero
5e6df6f54a
go-ipfs-config: unit test for migration config
2021-04-17 18:19:05 -07:00
gammazero
67456e2e64
go-ipfs-config: Add config for downloading repo migrations
2021-04-16 17:35:34 -07:00
vyzo
4b1ae41ebf
go-ipfs-config: Merge pull request #126 from ipfs/feat/custom-resolver
...
add custom DNS Resolver configuration
2021-04-15 12:16:56 +03: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
f264de4139
go-ipfs-config: update comments
...
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-04-13 17:53:47 +03:00
vyzo
28553d793a
go-ipfs-config: simplify DNS config
2021-04-13 17:32:15 +03:00
vyzo
8a8b161da4
go-ipfs-config: add custom DNS Resolver configuration
2021-04-12 13:53:19 +03:00
@RubenKelevra
f5fb70ee0f
go-ipfs-config: remove duplicate entries in defaultServerFilters
2021-03-24 12:44:46 +01:00
Adin Schmahmann
2690c10bca
go-ipfs-config: add support for pinning mfs ( #116 )
...
* add support for pinning mfs
* add pin conceal selector
* add RemoteServicesPath
Co-authored-by: Petar Maymounkov <petarm@gmail.com>
2021-01-28 18:05:47 -05:00
Adin Schmahmann
ba6b029b96
go-ipfs-config: Merge pull request #113 from ipfs/petar/remotepin
...
add remote pinning services config
2020-12-08 14:40:48 -05:00
Adin Schmahmann
d643a2bce4
go-ipfs-config: go fmt
2020-12-05 17:21:55 -05:00
Adin Schmahmann
06fe967955
go-ipfs-config: add remote pinning services config
2020-12-05 17:21:55 -05:00
Adin Schmahmann
d445c0caeb
go-ipfs-config: Merge pull request #115 from ipfs/chore/rm-badger2
...
Remove badger2 profile
2020-11-23 20:53:06 -05:00
gammazero
74dcf427fc
go-ipfs-config: Remove badger2 profile
...
This is needed for the upcoming release since there is not yet an official badger2 release with the items needed for use by IPFS.
2020-11-23 17:09:21 -08:00
gammazero
1ec9262cda
go-ipfs-config: Add badger2 profile and config spec
2020-10-09 16:11:07 -07:00
Petar Maymounkov
da979299da
go-ipfs-config: error if bit size specified with ed25519 keys ( #105 )
2020-07-14 09:50:10 -07:00
Steven Allen
9e480f6b41
go-ipfs-config: Merge pull request #102 from ipfs/feat/transports
...
feat: add a transports section for enabling/disabling transports
2020-06-16 15:13:49 -07:00
Steven Allen
44e005e577
go-ipfs-config: fix: panic on invalid priority/flag values
2020-06-16 10:24:24 -07:00
Steven Allen
38ad98d84d
go-ipfs-config: fix: remove undefined support from unmarshal
...
It's not a part of the JSON spec.
2020-06-16 00:45:58 -07:00
Steven Allen
5c1b4cd0e6
go-ipfs-config: doc: document Flag.WithDefault
2020-06-15 20:01:33 -07:00
Steven Allen
e26444e4c7
go-ipfs-config: fix typo
...
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2020-06-15 20:00:51 -07:00
Steven Allen
f55b515255
go-ipfs-config: doc(swarm): extend autorelay docs
2020-06-15 19:57:41 -07:00
Steven Allen
f74d15eacf
go-ipfs-config: fix: fix type name typo
2020-06-15 19:56:38 -07:00
Steven Allen
0f17ef601f
go-ipfs-config: doc(swarm): fix autorelay description
...
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2020-06-15 19:55:50 -07:00