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
Marcin Rataj
a0f90d3a14
test: cover 2 remaining lines
2021-01-14 20:53:20 +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
gammazero
20132a83ef
code review changes
2021-01-14 02:29:11 -08: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
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
gammazero
306dfb34a1
additional escape
2020-12-18 17:23:30 -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
Adin Schmahmann
fb3316ad05
fix: decrease log level of opencensus initialization
2020-12-08 21:46:49 -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
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
0b1276db59
Use datastore based pinner
2020-12-04 15:33:31 -05:00
Adin Schmahmann
76f3395ee6
p2p-proxy: earlier peerID validation check
2020-12-01 12:24:18 -05:00
Adin Schmahmann
a329e4fc66
p2p-proxy: better request length checking
2020-12-01 11:01:40 -05:00
Steven Allen
7a50636f9a
fix: return an error when an unknown object type is passed
...
fixes #7785
2020-11-30 17:59:37 -08:00
Adin Schmahmann
373f5f9f0d
Merge pull request #7755 from ChaituVR/patch-1
...
* Clarify why ipfs file ls is being deprecated.
* Explain that ipfs files ls works on both IPFS paths and MFS paths.
2020-11-24 13:40:49 -05:00
Adin Schmahmann
6e82b53f03
Merge pull request #7753 from ipfs/fix/dag-import-export-coreapi
...
fix: ipfs dag export uses the CoreAPI and respects the offline flag
2020-11-24 13:14:53 -05:00
Chaitanya
f46891e0b5
Update ls.go
2020-11-24 14:02:10 +05:30
Chaitanya
8487fad43c
Update ls.go
2020-11-24 14:00:42 +05:30
Chaitanya
ec64dc5c39
Update ls.go
2020-11-24 13:51:29 +05:30
Chaitanya
1cfd8c7568
Update core/commands/unixfs/ls.go
...
Co-authored-by: Steven Allen <steven@stebalien.com>
2020-11-24 13:42:48 +05:30
Chaitanya
fa81f2a7b3
Update core/commands/files.go
...
Co-authored-by: Steven Allen <steven@stebalien.com>
2020-11-24 13:42:36 +05:30
Chaitanya
475e0ea399
Update ls.go
2020-11-16 18:01:22 +05:30
Chaitanya
0c4ad11cfb
Update files.go
2020-11-16 17:52:30 +05:30
Steven Allen
5cd013ed38
update libp2p for stream closure refactor
2020-11-13 13:59:03 -08:00
Andrew Nesbitt
37a637e8c1
Fix typo in ipfs dag stat command
2020-11-11 13:04:52 +00:00
Adin Schmahmann
499e011df9
Merge pull request #7699 from ipfs/fix/dnslink-dir-listing
...
fix(dnslink-gw): breadcrumbs and CID column when dir listing
2020-11-10 15:03:36 -05:00
Adin Schmahmann
0700c74bad
Merge pull request #7727 from ipfs/fix/preserver-query-on-website-redirect
...
fix(gw): preserve query on website redirect
2020-11-10 14:36:11 -05:00
Adin Schmahmann
675ef92a2a
Merge pull request #7716 from ipfs/feat/webui-v2.11.3
...
feat: ipfs-webui v2.11.4
2020-11-10 14:21:55 -05:00
Chaitanya Raju
c6fe39a4a5
Explain that ipfs ls works on IPFS paths, and ipfs files ls works on both IPFS paths and MFS paths.
2020-11-07 12:51:01 +05:30
Chaitanya
d4cd378092
Clarify why ipfs file ls is being deprecated.
2020-11-07 12:24:18 +05:30
Adin Schmahmann
9c5304a21d
fix: ipfs dag export uses the CoreAPI and respects the offline flag
2020-11-04 21:14:00 -05:00
Marcin Rataj
d1c20bdff7
fix: localhost API access via ipv6
...
This adds localhost ipv6 addresses to the allowlist for use in browser
context and fixes WebUI on ipv6-only deployments: http://[::1]:5001/webui
We were missing CORS/Origin tests for API port so I've added basic ones
and included localhost/127.0.0.1/::1 variants.
2020-10-20 00:46:40 +02:00
Marcin Rataj
6ffd0aa22e
fix(gw): preserve query on website redirect
2020-10-14 00:46:57 +02:00
Marcin Rataj
f62656630b
feat: ipfs-webui v2.11.4
2020-10-07 15:01:32 +02:00
Marcin Rataj
00147106f4
feat: ipfs-webui v2.11.3
...
https://github.com/ipfs-shipyard/ipfs-webui/releases/tag/v2.11.3
2020-10-06 19:57:18 +02:00
Adin Schmahmann
9c60ad89de
Merge pull request #7703 from rafaelramalho19/chore/bump-go-ipfs
...
chore: webui v2.11.2
2020-10-02 11:53:09 -04:00
Adin Schmahmann
9b1171d427
Merge pull request #7677 from ipfs/feat/content-disposition-attachment
...
feat(gateway): Content-Disposition improvements
2020-10-02 11:20:11 -04:00
Marcin Rataj
3ed46d995f
test(gw): add t0115-gateway-dir-listing.sh to sharness
...
This adds proper end-to-end tests for directory listing on Gateway port
that protects us against regressions oni each gw type:
- path gateway
- subdomain gateway
- dnslink website gateway
Tests cover:
- etag/unicode support
- breadcrumbs
- file name column
- hash column
2020-09-29 02:27:28 +02:00
Marcin Rataj
c94bd768d2
fix(gw): links in CID column on dir listing
...
This switches go-ipfs to dir-index-html after
https://github.com/ipfs/dir-index-html/pull/43
got merged to master
2020-09-28 23:12:47 +02:00