Adin Schmahmann
a95a86ed54
feat: ipfs pin remote ls commands are comma delimited on the CLI only
2021-01-27 12:07:44 -05:00
Adin Schmahmann
7588a6a52a
Merge pull request #7829 from ipfs/fix/pin-remote-service-ls-json
...
fix: remote services ls always return a list
2021-01-14 17:37:40 -05:00
Adin Schmahmann
651e3ccafd
Merge pull request #7807 from ipfs/fix/broken-cidv0-ux
...
fix: improved error message on broken CIDv0
2021-01-14 15:31:39 -05:00
Adin Schmahmann
b5079b03cd
Merge pull request #7802 from dennis-tra/issue-7686
...
feat(gw): URI router for Web API navigator.registerProtocolHandler
2021-01-14 15:25:22 -05:00
Marcin Rataj
216b858f8a
test: JSON response on empty remote service ls
2021-01-14 21:07:23 +01:00
Marcin Rataj
a0f90d3a14
test: cover 2 remaining lines
2021-01-14 20:53:20 +01:00
Marcin Rataj
cdad39479c
test: sharness for ?uri= router
...
Additional tests to ensure there are no regressions, as this will be
used by browser vendors in the future.
2021-01-14 20:53:17 +01:00
Marcin Rataj
abb25a1cfc
refactor: remove redundant urlescape
...
URL.Query() will already decode the query parameters
2021-01-14 20:52:04 +01:00
Marcin Rataj
3de5b14e0c
fix: ?uri= url-decode and preserve query
...
This makes ?uri= param able to process URIs passed by web browsers
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
2021-01-14 20:52:04 +01:00
Dennis Trautwein
36368ee4dd
feat: support requests from registerProtocolHandler
...
This commit adds support for requests produced by navigator.registerProtocolHandler on gateways. Now one can register `dweb.link` as an URI handler for `ipfs://`:
```
navigator.registerProtocolHandler('ipfs', 'https://dweb.link/ipfs/?uri=%s ', 'ipfs resolver')
```
Then opening `ipfs://QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR` will produce an HTTP GET call to:
```
https://dweb.link/ipfs?uri=ipfs%3A%2F%2FQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
```
The query parameter `uri` will now be parsed and the given content identifier resolved via:
`https://dweb.link/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR `
2021-01-14 20:52:04 +01:00
Adin Schmahmann
4ccb526b94
Merge pull request #7847 from ipfs/fix/dnslink-in-subdomain-gw
...
feat(gw): DNSLink names on https:// subdomains
2021-01-14 14:50:04 -05:00
Marcin Rataj
f932510b88
fix: check if rootID has DNSLink before uninlining
...
This kinda enables to run their custom DNS resolver with custom
tlds/names that are independent from the public DNS network.
2021-01-14 20:14:35 +01:00
Adin Schmahmann
fb0a9acd2d
Merge pull request #7831 from ipfs/fix/escape-nonprintable-chars
...
Escape non-printable characters in user output
2021-01-14 13:00:51 -05:00
gammazero
20132a83ef
code review changes
2021-01-14 02:29:11 -08:00
Adin Schmahmann
0d63fbb605
Merge pull request #7811 from zaurbek/doc/blocks/remove.go
...
docs: fixed typos and commas in blocks/blockstoreutil's RemoveBlock comments
2021-01-13 16:46:43 -05:00
Adin Schmahmann
28a2986c92
Merge pull request #7820 from ipfs/hacdias-patch-1
...
docs: update IPFS Desktop maintainer
2021-01-13 16:37:25 -05:00
Adin Schmahmann
fbff466bb3
Merge pull request #7832 from marten-seemann/update-libp2p
...
update go-libp2p to v0.13.0
2021-01-13 15:19:56 -05:00
gammazero
267d6fc4fe
Modify escaping
2021-01-12 14:54:21 -08:00
Marcin Rataj
88dd257ace
test: false for isHTTPSRequest
...
As suggested in
https://github.com/ipfs/go-ipfs/pull/7847#discussion_r551933162
2021-01-08 00:31:46 +01:00
Marcin Rataj
f31d9b1e72
fix: improved error message on broken CIDv0
...
Closes #7792
2021-01-07 20:09:21 +01:00
Marcin Rataj
09178aa717
feat(gw): support inlined DNSLink names with TLS
...
Problem statement and rationale for doing this can be found under
"Option C" at: https://github.com/ipfs/in-web-browsers/issues/169
TLDR is:
`https://dweb.link/ipns/my.v-long.example.com ` can be loaded from a
subdomain gateway with a wildcard TLS cert if represented as a single
DNS label: `https://my-v--long-example-com.ipns.dweb.link `
2021-01-01 21:39:42 +01:00
Marten Seemann
fcdf77c9b0
update go-libp2p to v0.13.0
2020-12-19 16:16:00 +07:00
gammazero
306dfb34a1
additional escape
2020-12-18 17:23:30 -08:00
gammazero
e777adf04d
Test ls and add with escaped character
2020-12-17 19:32:03 -08:00
gammazero
7193f950d7
Escape non-printable characters in user output
...
Replaces control characters and non-printable characters with escape sequences, in any fields that are printed by the CLI, which could have been user input.
Output from `ipfs cat` is unchanged.
2020-12-17 18:16:34 -08:00
Marcin Rataj
4d52bbdde8
fix: remote services ls always return a list
...
Closes #7824
2020-12-15 00:42:18 +01:00
Henrique Dias
9a33b04db4
Update RELEASE_ISSUE_TEMPLATE.md
2020-12-10 09:14:08 +01:00
Adin Schmahmann
2ed9254426
Merge pull request #7817 from ipfs/chore/update-version
...
update version to 0.9.0-dev
2020-12-09 13:54:50 -05:00
Adin Schmahmann
6af6146156
update version to 0.9.0-dev
2020-12-09 13:17:28 -05:00
Adin Schmahmann
766f4de48c
Merge pull request #7816 from ipfs/dependabot/go_modules/go.opencensus.io-0.22.5
...
chore(deps): bump go.opencensus.io from 0.22.4 to 0.22.5
2020-12-09 10:16:09 -05:00
dependabot-preview[bot]
2ab79fa65b
chore(deps): bump go.opencensus.io from 0.22.4 to 0.22.5
...
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go ) from 0.22.4 to 0.22.5.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases )
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.4...v0.22.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 10:15:18 -05:00
Adin Schmahmann
4823547ea1
Merge pull request #7815 from ipfs/fix/decrease-oc-init-log
...
fix: decrease log level of opencensus initialization
2020-12-08 21:48:52 -05:00
Adin Schmahmann
fb3316ad05
fix: decrease log level of opencensus initialization
2020-12-08 21:46:49 -05:00
Adin Schmahmann
42d3f541d1
Merge pull request #7796 from ipfs/chore/update-interop-tests
...
chore: update interop tests and js-ipfs version
2020-12-08 21:27:38 -05:00
Adin Schmahmann
828007531f
Merge pull request #7813 from ipfs/chore/update-deps
...
chore: update dht
2020-12-08 21:26:56 -05:00
Adin Schmahmann
78c6dba9cc
Merge pull request #7593 from lanzafame/register-oc-metrics
...
Register oc metrics
2020-12-08 21:10:36 -05:00
Adin Schmahmann
246ec027b6
chore: update dht
2020-12-08 20:40:45 -05:00
Petar Maymounkov
a8c7980721
add remote pinning to ipfs command ( #7661 )
...
Added support for remote pinning services
A pinning service is a service that accepts CIDs from a user in order to host the data associated with them.
The spec for these services is defined at https://github.com/ipfs/pinning-services-api-spec
Support is available via the `ipfs pin remote` CLI and the corresponding HTTP API
Co-authored-by: Petar Maymounkov <petarm@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2020-12-08 20:32:33 -05:00
lanzafame
024bf80e6a
change the scraping url
2020-12-08 20:22:43 -05:00
lanzafame
3d9821260a
register quic opencensus metrics
2020-12-08 20:22:38 -05:00
Adin Schmahmann
edde2809e7
Merge pull request #7797 from ipfs/fix/p2p-proxy-checks
...
More p2p proxy checks
2020-12-08 17:15:30 -05:00
Adin Schmahmann
69783798f3
Merge pull request #7809 from ipfs/fix/gh-doc-template-url
...
Update GitHub documentation issue template
2020-12-08 17:14:23 -05:00
Adin Schmahmann
b7ddba7fe4
Merge pull request #7812 from ipfs/chore/update-deps
...
chore: update deps
2020-12-08 17:12:31 -05:00
Adin Schmahmann
79d96815a8
chore: update deps
2020-12-08 16:57:01 -05:00
Adin Schmahmann
bf1a449a26
Merge pull request #7750 from ipfs/feat/datastore-pinner
...
Use datastore based pinning
2020-12-08 16:02:50 -05:00
Adin Schmahmann
8a05c59d3d
chore: update dist path
2020-12-08 14:46:00 -05:00
Zaurbek Zhakupov
474f1cda9a
Fixed typos in remove.go comments
2020-12-08 01:26:33 -05:00
Adin Schmahmann
08e058427f
Update GitHub documentation issue template
...
Uses the correct URL for the documentation repo
2020-12-07 17:06:29 -05:00
Adin Schmahmann
9bc8f6d5b5
bump repo version to 11
2020-12-04 15:33:31 -05:00
Adin Schmahmann
0b1276db59
Use datastore based pinner
2020-12-04 15:33:31 -05:00