Commit Graph

12021 Commits

Author SHA1 Message Date
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
48b2f1273a fix: use override GOFLAGS changes from 480defab68 but keep trimpath usage as is 2020-09-09 18:17:03 -04:00
Adin Schmahmann
2535f4de82 Revert "fix: override GOFLAGS"
This reverts commit 480defab68.
2020-09-09 18:17:03 -04:00
Adin Schmahmann
491b88a6eb chore: bump go-ipfs-cmds 2020-09-09 18:15:27 -04:00
Adin Schmahmann
5d6e1295a5
Merge pull request #7659 from ipfs/fix/ipns-base-alias
Fix --ipns-base alias
2020-09-09 13:31:37 -04: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
b7c1b61c25
Merge pull request #7660 from ipfs/chore/ci-deps
chore: bump interop and version of js-ipfs used by interop in CI
2020-09-09 11:28:51 -04:00
Jacob Heun
0a39421138
chore: bump ipfs-interop ci version 2020-09-09 13:03:30 +02:00
Adin Schmahmann
78586509c6 chore: bump js-ipfs in interop CI to 0.50.1 2020-09-08 13:43:13 -04:00
Adin Schmahmann
2ae5c52f4f
Merge pull request #7630 from ipfs/docs/update-secio-config
docs: update config to indicate SECIO deprecation
2020-09-02 12:49:53 -04:00
Adin Schmahmann
b7d00a0e4e
Merge pull request #7633 from ipfs/fix/dht-cmd-cid-ipns
fix: ipfs dht put/get commands with peerIDs encoded as CIDs
2020-09-02 12:49:26 -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
Adin Schmahmann
0ad6a92716 docs: update config to indicate SECIO deprecation 2020-08-26 20:51:53 -04:00
Adin Schmahmann
c5825c29a6
Merge pull request #7629 from ipfs/chore/update-version
update version to 0.8.0-dev
2020-08-26 16:11:45 -04:00
Adin Schmahmann
38e9ff4416 update version to 0.8.0-dev 2020-08-26 16:10:21 -04:00
Adin Schmahmann
94fe48a96b
Merge pull request #7628 from ipfs/chore/cleanup
chore: cleanup
2020-08-26 15:49:40 -04:00
Adin Schmahmann
56de5bbe11 chore: cleanup 2020-08-26 15:33:32 -04:00
Adin Schmahmann
cbf4b2dfd9
Merge pull request #7627 from ipfs/fix/ipns-eol
namesys: fixed IPNS republisher to not overwrite IPNS record lifetimes
2020-08-26 15:05:41 -04:00
Adin Schmahmann
38da1cc991
Merge pull request #7625 from ipfs/fix/7624-do-not-fetch-on-pin-ls
Fix #7624: Do not fetch dag nodes when checking if a pin exists
2020-08-26 14:50:18 -04:00
Adin Schmahmann
732101a6df namesys: fixed IPNS republisher to not overwrite IPNS record lifetimes 2020-08-26 14:36:32 -04:00
Adin Schmahmann
077e3e0648 chore: bump go-path 2020-08-26 14:35:52 -04:00
Adin Schmahmann
2913146357
Merge pull request #7626 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-pubsub-0.3.5
chore(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.3.4 to 0.3.5
2020-08-26 10:15:44 -04:00
dependabot-preview[bot]
b542da46f5
chore(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.3.4 to 0.3.5
Bumps [github.com/libp2p/go-libp2p-pubsub](https://github.com/libp2p/go-libp2p-pubsub) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/libp2p/go-libp2p-pubsub/releases)
- [Commits](https://github.com/libp2p/go-libp2p-pubsub/compare/v0.3.4...v0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 11:27:48 +00: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
af90822262 chore: update quic 2020-08-25 20:07:54 -04:00
Adin Schmahmann
18013a3bfc chore: update deps 2020-08-25 20:07:51 -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
5f4cb4f406
Merge pull request #7612 from ipfs/fix/pin-ls-errors
fix: ipfs pin ls - ignore pins that have errors
2020-08-25 11:15:36 -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
Adin Schmahmann
dcae18d32f
Merge pull request #7623 from ipfs/docs/fix-peering-header
docs(config): fix Peering header
2020-08-25 10:53:14 -04:00
Marcin Rataj
135b90e087 docs(config): fix Peering header
Peering is top level namespace
2020-08-25 10:39:32 -04:00
Adin Schmahmann
b15bcf0d9c
Merge pull request #7620 from ipfs/test/flaky-dnsaddr
sharness: use dnsaddr example in ipfs p2p command tests
2020-08-25 09:53:24 -04:00
Adin Schmahmann
aedd6f0431 sharness: switch p2p dnsaddr that was supposed to have only a single address in it to use a specific example 2020-08-24 19:11:01 -04:00
Adin Schmahmann
92fbcc3d1c
Merge pull request #7615 from ipfs/fix/keystore-rotate
fix(key): dont allow backup key to be named 'self'
2020-08-24 10:55:52 -04:00
Jacob Heun
edfd3c9743
test: add rotate self test 2020-08-21 20:08:24 +02: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
Adin Schmahmann
e80601b249
Merge pull request #7536 from neatonk/master
[BOUNTY] Directory page UI improvements
2020-08-20 16:07:02 -04:00
Marcin Rataj
887de89cac test(gateway): breadcrumb links in dir listing
This adds subdomain tests for breadcrumbs added in:
https://github.com/ipfs/go-ipfs/pull/7536

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-08-19 20:31:23 -04:00
Marcin Rataj
8ffb7ec6df chore: dir-index-html v1.2.0
https://github.com/ipfs/dir-index-html/releases/tag/v1.2.0
also: https://github.com/ipfs/dir-index-html/releases/tag/v1.1.0

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-08-19 20:31:23 -04: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
9e95a82a05 chore: update dir-index-html to 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
2e7343ca0b
Merge pull request #7609 from ipfs/fix/deterministic-assets
fix: make assets deterministic
2020-08-19 20:08:21 -04:00
Steven Allen
4aa210c66a fix: make assets deterministic
Set the "modtime" to the start of the IPFS project, and the mode to 0644.
2020-08-19 16:57:29 -07: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