Commit Graph

11238 Commits

Author SHA1 Message Date
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
Steven Allen
67741060c4
Merge pull request #6993 from ipfs/fix/user-agent
fix: revert changes to the user agent
2020-03-13 14:20:34 -07:00
Steven Allen
e681a3aebe fix: revert changes to the user agent
Go-ipfs user agents usually look like go-ipfs/VERSION/COMMIT_or_EMPTY. However,
we changed this to /go-ipfs/VERSION(/COMMIT)? on master for a while. This change
reverts this to make parsing the user agent simpler.

Co-Authored-By: Oli Evans <oli@tableflip.io>
2020-03-13 13:50:11 -07:00
Steven Allen
edc445d56a
Merge pull request #6994 from ipfs/fix/go-semver
fix: downgrade to a working semver version
2020-03-13 13:30:24 -07:00
Steven Allen
0505995816 fix: downgrade to a working semver version 2020-03-13 13:29:31 -07:00
Steven Allen
e0edbe90eb
Merge pull request #6972 from ipfs/feat/log-identify
feat(peerlog): log protocols/versions
2020-03-13 12:39:33 -07:00
Steven Allen
ba285801b8
Merge pull request #6949 from olizilla/docker-tag-from-ci
feat: docker build and tag from ci
2020-03-13 12:08:22 -07:00
Steven Allen
4292a92f8c
Merge pull request #6992 from ipfs/chore/update-yamux
chore(dep): update deps
2020-03-13 11:32:11 -07:00
Steven Allen
3f0cf057ec chore(dep): update deps 2020-03-13 11:20:46 -07:00
Oli Evans
ec220ddd85
wip: set IMAGE_NAME: ipfs/go-ipfs
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-03-13 16:48:15 +00:00
Oli Evans
427557e903
wip: remove release tag. use more recent docker.
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-03-13 14:31:45 +00:00
Steven Allen
457b6e79ff
Merge pull request #6646 from djdv/feat/GUI-launcher
cmd: ipfs handle GUI environment on Windows
2020-03-12 17:10:58 -07:00
Steven Allen
36afd0b652
Merge pull request #6976 from ipfs/feat/update-bitswap
chore(dep): update bitswap
2020-03-12 17:08:18 -07:00
Steven Allen
9308f2f101 chore(dep): update bitswap
This also updates graphsync to use the new peertaskqueue.

fixes #6782
2020-03-12 16:35:32 -07:00
Steven Allen
2ef5befac6
Merge pull request #6989 from ipfs/dependabot/go_modules/github.com/fsnotify/fsnotify-1.4.9
chore(deps): bump github.com/fsnotify/fsnotify from 1.4.8 to 1.4.9
2020-03-12 16:29:00 -07:00
Dominic Della Valle
3c9039a00b cmd: ipfs handle GUI environment on Windows 2020-03-12 16:15:23 -07:00
Oli Evans
9f6349b07b
wip: remove dry run
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-03-12 19:04:37 +00:00
Oli Evans
358b7fe597
fix: pass date to push-docker-tags.sh
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-03-12 17:25:18 +00:00
Oli Evans
2ed366226e
wip: use date instead of circleci build num
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-03-12 17:07:09 +00:00
Oli Evans
ed9a7e49ae
Merge remote-tracking branch 'origin/master' into docker-tag-from-ci 2020-03-12 14:37:17 +00:00
dependabot-preview[bot]
3e4fe58a04
chore(deps): bump github.com/fsnotify/fsnotify from 1.4.8 to 1.4.9
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.4.8 to 1.4.9.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.4.8...v1.4.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-12 11:28:19 +00:00
Steven Allen
fe83c19cfd
Merge pull request #6988 from ipfs/chore/macos_sharness_fixes
Chore/macos sharness fixes
2020-03-11 21:58:39 -07:00
Peter Rabbitson
7b65c0703f Simplify grep in test to pass on MacOS 2020-03-12 04:42:53 +01:00
Peter Rabbitson
81cb535c52 Prevent go fmt check from failing under make -j10 test
Under high paralellism we would be regenerating the plugin source
while doing the initial `go fmt` read.

Instead simply exclude the generated file.
2020-03-12 04:41:09 +01:00
Peter Rabbitson
0819fe6f4a Require go 1.14
A dependency of ours now requires 1.14, let's be more explicit ourselves

../../go/pkg/mod/github.com/lucas-clemente/quic-go@v0.15.2/interface.go:54:2: duplicate method StreamID
../../go/pkg/mod/github.com/lucas-clemente/quic-go@v0.15.2/stream.go:44:2: duplicate method StreamID
note: module requires Go 1.14
2020-03-12 04:25:13 +01:00
Steven Allen
755d35992f
Merge pull request #6987 from ipfs/fix/provide-errors
chore(dep): update go-ipfs-provider
2020-03-11 19:42:41 -07:00
Steven Allen
a1b50c8ed8 chore(dep): update go-ipfs-provider 2020-03-11 19:29:31 -07:00
Steven Allen
bd088239c3
Merge pull request #6979 from ipfs/dependabot/go_modules/github.com/fsnotify/fsnotify-1.4.8
chore(deps): bump github.com/fsnotify/fsnotify from 1.4.7 to 1.4.8
2020-03-11 09:25:42 -07:00
Steven Allen
7003cd9831
Merge pull request #6980 from ipfs/dependabot/go_modules/github.com/multiformats/go-multiaddr-net-0.1.3
chore(deps): bump github.com/multiformats/go-multiaddr-net from 0.1.2 to 0.1.3
2020-03-11 09:25:08 -07:00
dependabot-preview[bot]
855a0ea8a3
chore(deps): bump github.com/multiformats/go-multiaddr-net
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.2...v0.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-11 11:28:19 +00:00
dependabot-preview[bot]
62ab7fc5c5
chore(deps): bump github.com/fsnotify/fsnotify from 1.4.7 to 1.4.8
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.4.7 to 1.4.8.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.4.7...v1.4.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-11 11:27:54 +00:00
Steven Allen
255fefb2aa feat(peerlog): log protocols/versions 2020-03-10 09:33:11 -07:00