Steven Allen
aec498bbde
test(sharness): make sure we can actually enable autonat
...
This isn't a real autonat test, but it's a regression test to make sure we don't blatantly break this.
2020-03-25 12:48:25 -07:00
Steven Allen
5129758122
chore: update deps
...
Specifically, fix an autonat issue where the service wouldn't actually start.
2020-03-25 12:32:22 -07:00
Steven Allen
8950b77a0a
Merge pull request #7029 from ipfs/dependabot/go_modules/github.com/ipfs/go-log-1.0.3
...
chore(deps): bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
2020-03-25 10:04:22 -07:00
Steven Allen
4d71abbb71
Merge pull request #7030 from ipfs/chore/fix-ci-gofmt
...
Forgotten go-fmt
2020-03-25 10:03:59 -07:00
Peter Rabbitson
5be6e26f7b
Forgotten go-fmt
...
Not sure why CI didn't catch this
2020-03-25 15:03:17 +01:00
dependabot-preview[bot]
c88a2bfd59
chore(deps): bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
...
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ipfs/go-log/releases )
- [Commits](https://github.com/ipfs/go-log/compare/v1.0.2...v1.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 11:29:55 +00:00
Steven Allen
be505da395
Merge pull request #7028 from ipfs/feat/update-bitswap
...
feat: update go-libp2p & go-bitswap
2020-03-24 15:48:23 -07:00
Steven Allen
ad543f0724
feat: update go-libp2p & go-bitswap
...
Uses the new libp2p AutoNAT option.
2020-03-24 14:54:09 -07:00
Steven Allen
65fe1df37b
Merge pull request #7025 from ipfs/dependabot/go_modules/github.com/ipfs/go-blockservice-0.1.3
...
chore(deps): bump github.com/ipfs/go-blockservice from 0.1.2 to 0.1.3
2020-03-24 09:39:30 -07:00
Steven Allen
17ed420dbd
Merge pull request #7026 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-peerstore-0.2.1
...
chore(deps): bump github.com/libp2p/go-libp2p-peerstore from 0.2.0 to 0.2.1
2020-03-24 09:39:20 -07:00
dependabot-preview[bot]
a5ad19ae52
chore(deps): bump github.com/libp2p/go-libp2p-peerstore
...
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases )
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.0...v0.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 11:30:21 +00:00
dependabot-preview[bot]
c6b2c66b20
chore(deps): bump github.com/ipfs/go-blockservice from 0.1.2 to 0.1.3
...
Bumps [github.com/ipfs/go-blockservice](https://github.com/ipfs/go-blockservice ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/ipfs/go-blockservice/releases )
- [Commits](https://github.com/ipfs/go-blockservice/compare/v0.1.2...v0.1.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 11:29:55 +00:00
Steven Allen
efe6ef905a
Merge pull request #6955 from ipfs/feat/AuHau-encoding-key-names
...
Introducing EncodedFSKeystore with base32 encoding (#5947 )
2020-03-23 18:52:46 -07:00
Steven Allen
0d9d6e9495
ci: checkout working interop commit
2020-03-23 17:46:25 -07:00
Hector Sanjuan
059f396bac
keystore: finish addressing encodedFSKeystore
...
* Use Go's base32 library
* Set repo to version 9
* Resolve linting problems and docs.
* Merge EncodedFSKeystore into FSKeystore
* Remove name limitations and adjust tests
2020-03-23 17:05:16 -07:00
Adam Uhlir
d67a4e06cf
Introducing EncodedFSKeystore with base32 encoding ( #5947 )
...
Encoding the key's filename with base32 introduces coherent behaviour
across different platforms and their case-sensitive/case-insensitive
file-systems. Moreover it allows wider character set to be used for the
name of the keys as the original restriction for special FS's characters
(e.g. '/', '.') will not apply.
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2020-03-23 17:05:16 -07:00
Steven Allen
6bba527da0
Merge pull request #7024 from ipfs/feat/update-dists
...
chore: update hard-coded dist URL for repo migrations
2020-03-23 17:03:41 -07:00
Steven Allen
65e2ce74cc
Merge pull request #7023 from ipfs/fix/improve-key-lookup
...
feat: improve key lookup
2020-03-23 16:36:00 -07:00
Steven Allen
7fa1449e62
chore: update hard-coded dist URL for repo migrations
2020-03-23 16:14:26 -07:00
Steven Allen
b5ad3be060
feat: improve key lookup
...
* Support peer IDs encoded as CIDs.
* Support looking up the identity key by peer ID.
2020-03-23 15:40:48 -07:00
Steven Allen
7a4752ac9e
Merge pull request #7017 from ipfs/feat/cmd-add-ignore-2
...
feat(file-ignore): add ignore opts to add cmd
2020-03-20 09:42:24 -07:00
Cornelius Toole
62de9ba9d3
feat(file-ignore): add ignore opts to add cmd
...
- add the `gitignore` or `ignore options to the add command
2020-03-20 09:22:04 -07:00
Steven Allen
8436146a28
Merge pull request #7016 from ipfs/dependabot/go_modules/github.com/ipfs/go-bitswap-0.2.5
...
chore(deps): bump github.com/ipfs/go-bitswap from 0.2.4 to 0.2.5
2020-03-19 10:39:13 -07:00
dependabot-preview[bot]
26cd0d4a73
chore(deps): bump github.com/ipfs/go-bitswap from 0.2.4 to 0.2.5
...
Bumps [github.com/ipfs/go-bitswap](https://github.com/ipfs/go-bitswap ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/ipfs/go-bitswap/releases )
- [Commits](https://github.com/ipfs/go-bitswap/compare/v0.2.4...v0.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 17:27:11 +00:00
Steven Allen
99c0feba0b
Merge pull request #7014 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-0.6.1
...
chore(deps): bump github.com/libp2p/go-libp2p from 0.6.0 to 0.6.1
2020-03-19 10:15:19 -07:00
dependabot-preview[bot]
b8261d6417
chore(deps): bump github.com/libp2p/go-libp2p from 0.6.0 to 0.6.1
...
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/libp2p/go-libp2p/releases )
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/NEWS.md )
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.6.0...v0.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 11:30:39 +00:00
Steven Allen
6825097aea
Merge pull request #7012 from ipfs/chore/update-deps
...
chore: update dependencies
2020-03-18 09:33:33 -07:00
Steven Allen
5b308bb30c
chore: update dependencies
2020-03-18 09:17:21 -07:00
Steven Allen
0114869d7e
Merge pull request #6096 from ipfs/feat/gateway-subdomains
...
feat: gateway subdomains + http proxy mode
2020-03-18 09:05:21 -07:00
Steven Allen
05fe3086a5
fix(sharness): fix sharness tests to take removed bootstrap peers into account
2020-03-18 08:50:40 -07:00
Marcin Rataj
f9567a0a0f
fix(gateway): curl without redirect on localhost
...
When request is sent to http://localhost:8080/ipfs/$cid response has
HTTP 301 status code and "Location" header with redirect destination at
$cid.ipfs.localhost:8080
Redirect is followed by browsersi, but not by commandline tools.
Status 301 is ignored by curl in default mode: it will print response
and won't follow redirect, user needs to add -L for that.
To fix curl, we return correct payload in body of HTTP 301 response,
but set Clear-Site-Data header to ensure Origin sandbox can't be abused.
This requires a surgical workaround:
If Location header is present in ResponseWriter's Header map,
we ensure http.ServeContent() returns HTTP 301
Context: https://github.com/ipfs/go-ipfs/pull/6982
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-18 08:50:40 -07:00
Marcin Rataj
3ecccd6e1d
feat(gateway): subdomain and proxy gateway
...
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-18 08:50:38 -07:00
Marcin Rataj
848d4c7f18
feat: IPFS_NS_MAP
...
Allows static DNSLink mappings with IPFS_NS_MAP.
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-17 19:38:02 -07:00
Steven Allen
72490f7ed0
gateway: simplify/improve dnslink rewrite handling
...
Instead of adding a new fake header (that could be spoofed by the client...),
just read the original request URI from the request object.
This also removes support for suborigins. They have never been implemented in
browsers and it looks like efforts have stalled. We can add support back if we
need it but, well, maintaining support was going to be more trouble than it was
worth.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2020-03-17 19:34:44 -07:00
Steven Allen
11c229bb14
rename ProxyOption to P2PProxyOption
...
(we're implementing an _actual_ proxy)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2020-03-17 19:34:44 -07:00
Steven Allen
97401b9e27
Merge pull request #6997 from ipfs/chore/sharness_fixes_2019-03-16
...
Chore/sharness fixes 2019 03 16
2020-03-17 14:33:22 -07:00
Steven Allen
4acb15d52b
Merge pull request #6998 from ipfs/feat/fifo_support
...
Support pipes when named on the cli explicitly
2020-03-16 17:41:26 -07:00
Peter Rabbitson
705bee7d3f
Support pipes when named on the cli explicitly
...
Still throws an error when a pipe is encountered during directory recursion
2020-03-16 17:25:33 -07:00
Steven Allen
ce7a449136
Merge pull request #7006 from ipfs/chore/update-bitswap
...
chore(dep): update bitswap
2020-03-16 15:51:40 -07:00
Steven Allen
f791f693b7
chore(dep): update bitswap
...
* better logging
* `ipfs bitswap wantlist` now returns both want-haves and want-blocks.
2020-03-16 14:50:31 -07:00
Steven Allen
d4cc0b8aa3
Merge pull request #7002 from ipfs/dependabot/go_modules/github.com/prometheus/client_golang-1.5.1
...
chore(deps): bump github.com/prometheus/client_golang from 1.5.0 to 1.5.1
2020-03-16 09:35:40 -07:00
Steven Allen
ef41ce2b74
Merge pull request #7003 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-kad-dht-0.5.2
...
chore(deps): bump github.com/libp2p/go-libp2p-kad-dht from 0.5.1 to 0.5.2
2020-03-16 09:35:30 -07:00
Steven Allen
aa4e8c257a
Merge pull request #7005 from ipfs/fix/7004
...
chore(dep): update go-libp2p-yamux
2020-03-16 09:35:18 -07:00
Steven Allen
faaf96fa21
chore(dep): update go-libp2p-yamux
...
fixes a timer race
fixes #7004
2020-03-16 09:01:08 -07:00
dependabot-preview[bot]
f53d2a649d
chore(deps): bump github.com/libp2p/go-libp2p-kad-dht
...
Bumps [github.com/libp2p/go-libp2p-kad-dht](https://github.com/libp2p/go-libp2p-kad-dht ) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/libp2p/go-libp2p-kad-dht/releases )
- [Commits](https://github.com/libp2p/go-libp2p-kad-dht/compare/v0.5.1...v0.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 11:28:59 +00:00
dependabot-preview[bot]
5d2a318fb7
chore(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.5.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 11:28:31 +00:00
Steven Allen
5185e8e859
Merge pull request #7000 from CsterKuroi/patch-1
...
Fix a typo
2020-03-16 00:50:39 -07:00
Kuro1
b4baad6767
Fix a typo
...
respresent => represent
2020-03-16 15:32:36 +08:00
Peter Rabbitson
51d4383d56
Abort individual sharness tests if a previous instance is present
...
Before starting each individual test check if a daemon is present with a
trash* directory as its workdir. Exit with failure if this is the case.
2020-03-15 19:57:29 +00:00
Peter Rabbitson
5d3247f9b7
Exclude more concurrency-sensitive dirs from fmt test
2020-03-15 19:51:57 +00:00