Commit Graph

3473 Commits

Author SHA1 Message Date
Adin Schmahmann
c78cdfd51e ipfs dht query emits lookupevents 2020-12-07 11:24:43 -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
Rafael Ramalho
43b8a314f1 chore: bump webui version 2020-09-28 18:10:23 +01:00
Marcin Rataj
cd1feb3af4
fix(gateway): correct breadcrumbs on dnslink site 2020-09-25 23:11:53 +02:00
Fazlul Shahriar
cac753bb18
fix build on Plan 9
Fixes #7575
Fixes #7671
2020-09-23 22:27:01 -04:00
Rafael Ramalho
1b4f5e72ad chore: bump webui version 2020-09-17 15:29:07 -04:00
Adin Schmahmann
16b3fd4d87 fix: remove the (empty) alias for --peerid-base 2020-09-17 13:52:18 -04:00
Marcin Rataj
19ec5f4a51
feat(gateway): Content-Disposition for legacy clients
This adds ASCII-only filename for clients that do not implement RFC 5987

Closes #7648
2020-09-16 22:39:04 +02:00
Marcin Rataj
fd01acdfc0
feat(gateway): ?filename with download=true
This implements 'attachment' mode triggered then
?filename parameter is accompanied with &download=true

When Content-Disposition: attachment is detected by a modern browser
it will skip rendering and immediately open the "save as" dialog,
making this useful feature for using IPFS gateway as target of
"Download" links on various websites.

Parameter name was suggested in:
https://github.com/ipfs/go-ipfs/pull/4177#issuecomment-414870327
2020-09-16 22:15:18 +02:00
Adin Schmahmann
904ad1626a fix: remove the (empty) alias for --ipns-base 2020-09-09 11:30:45 -04:00
Adin Schmahmann
6cbda0f62f refactor: put all --ipns-base options in one place 2020-09-09 11:30:45 -04:00
Adin Schmahmann
ba1d225212 fix: ipfs dht put/get commands now work on keys encoded as peerIDs and fail early for namespaces other than /pk or /ipns 2020-08-30 02:16:15 -04:00
Hector Sanjuan
7d95359c3e Fix #7624: Do not fetch dag nodes when checking if a pin exists 2020-08-26 09:13:15 +02:00
Adin Schmahmann
45e574b6bd
Merge pull request #7610 from ipfs/chore/update-deps
chore: update dependencies
2020-08-25 23:14:52 -04:00
Adin Schmahmann
2ecde1a18c chore: update dht and kbucket 2020-08-25 21:13:18 -04:00
Adin Schmahmann
b88bdfeb9d chore: update go-multiaddr and go-multiaddr-net 2020-08-25 15:24:48 -04:00
Adin Schmahmann
bd08c0a4a6
Merge pull request #7550 from trashhalo/dry-up-close
use t.Cleanup() to reduce the need to clean up servers in tests
2020-08-25 12:06:26 -04:00
Adin Schmahmann
6871e6d056 fix: ipfs pin ls - return an error when encountering a pin retrieval error 2020-08-25 10:54:56 -04:00
Jacob Heun
0ed43e903e
fix(key): dont allow backup key to be named 'self'
docs: update the key rotate help docs to be clearer about the backup
2020-08-21 19:42:42 +02:00
Kevin Neaton
2feff33235 test: update gateway tests for dir-index-html v1.1.0 2020-08-19 20:31:23 -04:00
Kevin Neaton
044790a838 feat: Directory page UI improvements
These changes are needed to prepare for the Directory page UI improvements
implemented in https://github.com/ipfs/dir-index-html/issues/37.

- update dir-index-html type structs
- emit gateway URL for root links
- emit CID of each directoryItem
- emit size of directory
- emit breadcrumbs
2020-08-19 20:09:35 -04:00
Adin Schmahmann
2d0cca800c
Merge pull request #7579 from ipfs/petar/ed25519-default
use ed25519 keys by default
2020-08-19 19:19:39 -04:00
Petar Maymounkov
56f5a123d9 update ipfs key default type 2020-08-19 15:22:59 -07:00
Adin Schmahmann
0c57e9dcf8
Merge pull request #7319 from MichaelMure/wildcard-gateways
feat: wildcard support for public gateways
2020-08-19 11:02:28 -04:00
Marcin Rataj
6b6569f3e5
refactor: cleanup/comment
https://github.com/ipfs/go-ipfs/pull/7319#discussion_r472734905

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-08-19 15:59:47 +02:00