Sergey Gorbunov
032ceaf5d1
fix: Issue #9364 JSON config validation ( #10679 )
...
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
* Fix JSON config validation
* updated ReflectToMap
---------
Co-authored-by: galargh <piotr.galar@gmail.com>
Co-authored-by: Guillaume Michel <guillaumemichel@users.noreply.github.com>
Co-authored-by: guillaumemichel <guillaume@michel.id>
2025-02-04 17:26:36 +01:00
Andrew Gillis
4009ad3e5a
chore: stop using go-homedir ( #10568 )
...
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
* chore: stop using go-homedir
The `github.com/mitchellh/go-homedir` repo is archived, no longer needed, and no longer maintained.
- `homedir.Dir` is replaced by the stdlib `os.UserHomeDir`
- `homedir.Expand` is replaced by fsutil.ExpandHome` in the `github.com/ipfs/kubo/misc/fsutil` package.
Additional functionality, such as `DirWritable` and `FileExists` was moved into or included in the `github.com/ipfs/kubo/misc/fsutil` package.
2024-11-05 07:45:11 -08:00
Adin Schmahmann
3134fd246e
feat(AutoTLS): opt-in WSS certs from p2p-forge at libp2p.direct ( #10521 )
...
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-10-29 22:37:33 +01:00
Patryk
225dbe6c03
feat: periodic version check and json config ( #10438 )
...
Co-authored-by: Lucas Molas <schomatis@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-07-24 23:42:19 +02:00
Henrique Dias
8022e13a6b
config: introduce Import section ( #10421 )
...
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-05-14 14:17:04 +00:00
Kay
2b7c20fc66
refactor: using error is instead of == ( #10093 )
2023-08-22 14:53:29 +00:00
Kay
f12b372af9
style: gofumpt and godot [skip changelog] ( #10081 )
2023-08-17 14:02:08 +02:00
Jorropo
f2a6c4f764
fix: correctly handle migration of configs
...
readPluginsConfig was copied from ReadMigrationConfig and switched
erroring fields to a bool so it can be omitemptied.
2023-06-27 16:32:06 +02:00
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