Commit Graph

13485 Commits

Author SHA1 Message Date
Ian Davis
2ece5556f0
Change AccessControlHeaders funtion to modify an existing set of headers 2022-07-21 15:09:09 +01:00
Ian Davis
f4d87419ce
feat: make corehttp a reusable component 2022-07-21 15:09:06 +01:00
kpcyrd
2711028c0a Reproducible Builds: Update GOFLAGS for -trimpath 2022-07-21 03:54:25 +00:00
Jorropo
84059cc663
Merge v0.14.0 back into master 2022-07-21 03:20:22 +00:00
Jorropo
c6777956a8 chore: bump version to v0.15.0-dev 2022-07-21 05:03:33 +02:00
Jorropo
e0fabd6dbf
Merge pull request #9133 from ipfs/release-v0.14.0
Release v0.14.0
2022-07-21 03:01:03 +00:00
Jorropo
77747e337d chore: bump to v0.14.0 2022-07-21 04:52:18 +02:00
Jorropo
9412867f5e docs(changelog): finish v0.14.0 changelog
Co-Authored-By: Marcin Rataj <lidel@lidel.org>
2022-07-21 04:52:18 +02:00
Marcin Rataj
84c3f101fd fix(gw): cache-control of index.html websites
This fixes a regression introduced in 0.13.0, where websites hosted via
index.html placed in UnixFS directory were always returned with
Cache-Control: public, max-age=29030400, immutable
even when loaded from mutable /ipns/ contentPath.

(cherry picked from commit e832cc2c1d)
2022-07-21 04:05:27 +02:00
anders
269e08a5f5 chore(license): fix broken link to apache-2.0
Fixes #9130

(cherry picked from commit 318171582b)
2022-07-21 04:05:27 +02:00
Marcin Rataj
7ea5687860 fix: kubo in daemon and cli stdout
(cherry picked from commit d30e71fa5a)
2022-07-21 04:05:27 +02:00
Jorropo
af4211a2fa backport: merge commit '839b0848a' into release-v0.14.0 2022-07-21 04:04:46 +02:00
Marcin Rataj
e832cc2c1d fix(gw): cache-control of index.html websites
This fixes a regression introduced in 0.13.0, where websites hosted via
index.html placed in UnixFS directory were always returned with
Cache-Control: public, max-age=29030400, immutable
even when loaded from mutable /ipns/ contentPath.
2022-07-21 02:02:21 +00:00
anders
318171582b
chore(license): fix broken link to apache-2.0
Fixes #9130
2022-07-20 12:31:34 -07:00
Marcin Rataj
d30e71fa5a fix: kubo in daemon and cli stdout 2022-07-20 16:26:49 +02:00
Steve Loeppky
639155c732
docs(readme): move content to docs website (#9102)
- point towards other implementations.
- add a link to a future ipfs-implementations doc
- link to IPFS in GO docs

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-07-20 15:53:41 +02:00
Marcin Rataj
a6687744c7 fix(gw): no backlink when listing root dir
Closes #9071
2022-07-18 23:35:44 +00:00
Marcin Rataj
839b0848ae fix(ci): ipfs-webui test
- ipfs-webui requires node =16.12.0
  https://app.circleci.com/pipelines/github/ipfs/kubo/7228/workflows/528ee100-ccc9-4e9c-8bb4-46cdbbe4e306/jobs/78516
- use package-lock.json for deterministic build
2022-07-08 23:18:17 +02:00
Marcin Rataj
fbb496b623 docs(changelog): v0.14 rename and breaking changes 2022-07-08 22:11:10 +02:00
Antonio Navarro Perez
93847da2e7
fix: Add routing command to subcommands help list. 2022-07-08 17:51:03 +02:00
Marcin Rataj
506ecdf862 fix: kubo-source.tar.gz on dist.ipfs.io
Closes https://github.com/ipfs/distributions/issues/737
2022-07-08 15:23:07 +02:00
Jorropo
10c3cc1aaf chore: Release v0.14-rc1 2022-07-07 23:47:41 +02:00
Jorropo
44ec4cd444 docs: fix v0.14's changelog format 2022-07-07 23:47:41 +02:00
dependabot[bot]
5e9f2df0dd build(deps): bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.4
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.1 to 1.5.4.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.1...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 23:36:42 +02:00
Jorropo
cbb9aeec49 chore: update go-multibase 🚀
This add supports for base256emoji.
2022-07-07 23:29:47 +02:00
Antonio Navarro Perez
92c4dc61a8
feat(routing): Delegated Routing (#8997)
* Delegated Routing.

Implementation of Reframe specs (https://github.com/ipfs/specs/blob/master/REFRAME.md) using go-delegated-routing library.

* Requested changes.

* Init using op string

* Separate possible ContentRouters for TopicDiscovery.

If we don't do this, we have a ciclic dependency creating TieredRouter.
Now we can create first all possible content routers, and after that,
create Routers.

* Set dht default routing type

* Add tests and remove uneeded code

* Add documentation.

* docs: Routing.Routers

* Requested changes.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>

* Add some documentation on new fx functions.

* Add changelog entry and integration tests

* test: sharness for 'dht' in 'routing' commands

Since 'routing' is currently the same as 'dht' (minus query command)
we need to test both, that way we won't have unnoticed divergence
in the default behavior.

* test(sharness): delegated routing via reframe URL

* Add more tests for delegated routing.

* If any put operation fails, the tiered router will fail.

* refactor: Routing.Routers: Parameters.Endpoint

As agreed  in https://github.com/ipfs/kubo/pull/8997#issuecomment-1175684716

* Try to improve CHANGELOG entry.

* chore: update reframe spec link

* Update go-delegated-routing dependency

* Fix config error test

* use new changelog format

* Remove port conflict

* go mod tidy

* ProviderManyWrapper to ProviderMany

* Update docs/changelogs/v0.14.md

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-07-07 17:10:25 -04:00
Jorropo
24b8dd5ab0 chore: changelogs split
Closes #8976
2022-07-07 19:44:01 +02:00
Marcin Rataj
58aaee00f8 feat(gw): Cache-Control: only-if-cached
This implements the only-if-cached behavior documented in specs:
https://github.com/ipfs/specs/blob/main/http-gateways/PATH_GATEWAY.md#cache-control-request-header
https://github.com/ipfs/specs/blob/main/http-gateways/PATH_GATEWAY.md#only-if-cached-head-behavior
2022-07-07 08:49:26 +02:00
Russell Dempsey
fbd65e0c8d chore(deps): webui v2.15.1
https://github.com/ipfs/ipfs-webui/releases/tag/v2.15.1
2022-07-07 01:45:19 +02:00
Marcin Rataj
9ce802f28c
Merge pull request #9098 from ipfs/fix/post-rename-papercuts
Follow-ups after repository rename
Context: https://github.com/ipfs/kubo/issues/8959
2022-07-06 23:59:41 +02:00
Marcin Rataj
8565bbb75c
refactor: kubo in ./docs 2022-07-06 23:45:25 +02:00
Marcin Rataj
91e6451419 refactor: kubo in snap docs 2022-07-06 23:44:38 +02:00
Marcin Rataj
7aced61a6e refactor: kubo in .github/workflows 2022-07-06 23:08:31 +02:00
Marcin Rataj
b3808a278c refactor: kubo in .github/ISSUE_TEMPLATE 2022-07-06 23:08:31 +02:00
Marcin Rataj
4c965fc603 fix: kubo in AgentVersion 2022-07-06 23:08:31 +02:00
Marcin Rataj
c9b8fbdbef chore: kubo in .circleci/main.yml 2022-07-06 23:08:31 +02:00
Marcin Rataj
9dbc9dfeb2 fix(cmds): use kubo in CheckVersionOption
Using both names to avoid dev problems during the transition from go-ipfs 0.13 to kubo 0.14
2022-07-06 23:08:31 +02:00
Daniel N
e5f63393ff docs: refine wording 2022-07-06 22:47:07 +02:00
Daniel N
d323189598 docs: refine the wording of provider strategies 2022-07-06 22:47:07 +02:00
Marcin Rataj
ab25bce1e7 fix(ci): run sharness on bigger box 2022-07-06 19:26:27 +02:00
Marcin Rataj
d82dec3248
Merge pull request #8958 from ipfs/chore/rename-to-kubo
refactor: rename to kubo

see: https://github.com/ipfs/kubo/issues/8959
2022-07-06 19:00:11 +02:00
Marcin Rataj
3417ed466f docs: kubo description from dist.ipfs.io
:-)
2022-07-06 18:40:39 +02:00
Marcin Rataj
b9240fe432 refactor(docker): publish images under both names
This ensures we keep publishing the same image under both names:

    $ ./bin/get-docker-tags.sh $(date -u +%F) 88d88158c master                                                                                                                                 ...chore/rename-to-banana
    ipfs/kubo:master-2022-06-21-88d8815
    ipfs/go-ipfs:master-2022-06-21-88d8815
    ipfs/kubo:master-latest
    ipfs/go-ipfs:master-latest
2022-07-06 18:40:39 +02:00
Marcin Rataj
5cb572660d docs(readme): rename to kubo
some things like third party package names, docker image etc need to
stay as go-ipfs for now
2022-07-06 18:40:39 +02:00
Marcin Rataj
82467bc936 refactor: rename to kubo 2022-07-06 18:40:37 +02:00
Marcin Rataj
289e465f05 fix: correct cache-control in car responses
Context: https://github.com/ipfs/specs/pull/295
2022-07-06 18:34:12 +02:00
Jorropo
90b48db172
Merge pull request #9094 from ipfs/Jorropo/temp-1
chore: merge v0.13.1 back into master (correctly this time)

#9093 but not squashed
2022-07-06 17:42:47 +02:00
Jorropo
df34bad3c7
docs: v0.13.1 (#9093)
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-07-06 17:32:59 +02:00
Jorropo
db88daf584 chore: resolve go.mod conflicts with master 2022-07-06 17:20:25 +02:00
Jorropo
57d54624ea chore: reset version number back to v0.14.0-dev 2022-07-06 17:18:13 +02:00