Commit Graph

133 Commits

Author SHA1 Message Date
Henrique Dias
a87e305793 docs: make it clear Web RTC Direct is experimental 2023-11-03 14:57:17 +01:00
Henrique Dias
10eb459f84 feat: add WebRTC Direct support 2023-11-03 14:57:17 +01:00
Hector Sanjuan
a0f34b16dd
feat: built-in content blocking based on IPIP-383 (#10161)
Fixes #8492

This introduces "nopfs" as a preloaded plugin into Kubo
with support for denylists from https://github.com/ipfs/specs/pull/383

It automatically makes Kubo watch *.deny files found in:

- /etc/ipfs/denylists
- $XDG_CONFIG_HOME/ipfs/denylists
- $IPFS_PATH/denylists

* test: Gateway.NoFetch and GatewayOverLibp2p

adds missing tests for "no fetch" gateways one can expose,
in both cases the offline mode is done by passing custom
blockservice/exchange into path resolver, which means
global path resolver that has nopfs intercept is not used,
and the content blocking does not happen on these gateways.

* fix: use offline path resolvers where appropriate

this fixes the problem described in
https://github.com/ipfs/kubo/pull/10161#issuecomment-1782175955
by adding explicit offline path resolvers that are backed
by offline exchange, and using them in NoFetch gateways
instead of the default online ones

---------

Co-authored-by: Henrique Dias <hacdias@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-10-28 05:34:14 +02:00
Henrique Dias
4695fd9fed
refactor: namesys cleanup, gateway /ipns/ ttl (#10115) 2023-10-18 10:23:50 +02:00
Jorropo
12303012c0
Merge pull request #10166 from ipfs/merge-release-v0.23.0
Merge Release: v0.23.0
2023-10-05 20:47:31 +02:00
Jorropo
c9d1c3bfea chore: update changelog for v0.23 2023-10-05 15:40:42 +00:00
Henrique Dias
bd36a9d06b docs: capitalize headers for consistency
(cherry picked from commit c80a5a867b)
2023-10-05 17:20:17 +02:00
Henrique Dias
c80a5a867b docs: capitalize headers for consistency 2023-10-04 11:55:33 +02:00
Henrique Dias
97527472fe
feat(gateway): update gateway api, no multi-range support 2023-10-02 16:43:52 +02:00
Jorropo
7cca58ea27 changelog: generalize fuse 9044's entry 2023-09-26 11:23:51 +02:00
Jorropo
0f1ec5949e changelog: update fuse 9044's entry 2023-09-25 15:39:55 +02:00
Bernhard M. Wiedemann
7173178799 Update go-unixfsnode to 1.8.0 to fix FUSE
Fixes #9044 regression in 0.13.0 FUSE access to some files
2023-09-25 15:39:55 +02:00
Jorropo
c079a099c0 changelog: mention probelab RFM17.1 dht improvement 2023-09-21 20:14:21 +02:00
Henrique Dias
0bac56c3aa
feat: add Gateway.DisableHTMLErrors option (#10137) 2023-09-21 15:03:17 +00:00
Henrique Dias
4e3008fdf3
docs: add changelog info for QUIC Draft 29 (#10132)
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2023-09-20 13:27:52 +02:00
Jorropo
3f33e61d3a chore: update to go1.21 for gateway over libp2p 2023-09-20 10:47:03 +02:00
Marcin Rataj
dbf6a05f42 docs(changelog): link to relevant IPIP 2023-09-16 22:24:30 +02:00
Marcin Rataj
8d28507814
docs: gateway-http-over-libp2p 2023-09-06 02:57:14 +02:00
Adin Schmahmann
d86192a9bf changelog(gateway-over-libp2p): add gateway-over-libp2p changelog 2023-09-01 16:52:12 -04:00
Henrique Dias
4606586207
feat(gateway): expose /routing/v1 server (opt-in) (#9877) 2023-08-25 17:30:04 +02:00
Henrique Dias
1e5ce93659 fix: use %-encoded headers in most compatible way 2023-08-22 15:43:01 +02:00
Marcin Rataj
733b01a37b
fix(gw): useful IPIP-402 CARs on not found errors (#10084)
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-08-18 06:54:08 +00:00
Jorropo
f805b9fcda feat: allow users to optin again into mplex
This is a partial revert of 7220409394.

Closes #9958
2023-08-15 14:53:44 +02:00
Jorropo
7220409394 feat: remove Mplex
Mplex does not implement backpressure, our implementation will randomly reset streams if buffers overflow instead of risking deadlocks.

In the past we had a bug where kubo nodes would prefer mplex over yamux. Turning off mplex make our connections to thoses nodes negociate yamux.

Closes #9958
2023-08-15 11:35:45 +02:00
Jorropo
fe94dade32 docs: add v0.23.md 2023-08-14 15:04:36 +02:00
Jorropo
ea4bf382af docs: get ready for v0.23 2023-08-14 15:01:41 +02:00
Marcin Rataj
54ac8124c3
chore: fix link in v0.22 changelog 2023-08-09 20:58:54 +02:00
Jorropo
efa179fce4 changelog: add mkreleaselog for v0.22 2023-08-08 16:42:12 +02:00
Jorropo
f1ec5298a9 Merge branch 'release-v0.21' back into master 2023-08-08 14:18:32 +02:00
Jorropo
61e0779f66 changelog: make v0.21.1 2023-08-08 14:01:19 +02:00
Jorropo
89b0432387 chore: merge release back into master
Needs to include 9db33d3191
2023-07-31 17:13:48 +02:00
Marcin Rataj
afa891b0ed
docs: changelog v0.21 fixes (#10037)
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
2023-07-27 20:14:30 +02:00
Jorropo
149190c5a6 chore: update changelog for v0.22 2023-07-27 11:55:23 +00:00
Jorropo
6be6630e4e libp2p: stop reporting ProtocolVersion 2023-07-26 14:48:19 +02:00
Jorropo
9c02eecad7
fix: mark all routers DoNotWaitForSearchValue (#10020)
* fix: mark ipns pubsub router DoNotWaitForSearchValue

That means if the DHT has finished searching and no one responded over pubsub *yet*, we will not spend 1 minute searching for no reason.

This also include other error handling bug fixes inside `go-libp2p-routing-helpers`.

Fixes: #9927

* routing: bring back the old IPNS behaviour

Stop making this configurable let everything race like it used to do.
2023-07-25 19:39:21 +02:00
Henrique Dias
a8c63537f2
feat(gateway): support for ipip-412 parameters 2023-07-24 11:09:09 +02:00
Henrique Dias
0c890de400
Merge branch 'master' into merge-release-v0.21.0 2023-07-03 13:24:34 +02:00
Henrique Dias
4d5f2b89e9 chore: update changelog for v0.21 2023-06-29 15:13:51 +00:00
Henrique Dias
5156f21162
feat(ipns): records with V2-only signatures (#9932) 2023-06-20 14:24:31 +02:00
Jorropo
02fb0a4ad4
cmds/dag/import: pin roots by default (#9966)
This is a partial revert of b685355ca8.
Closes #9765 with compromise agreed in https://github.com/ipfs/kubo/issues/9765#issuecomment-1593117410
2023-06-20 08:20:26 +02:00
Henrique Dias
91835546c7
docs: fix 0.21 changelog 2023-06-20 08:20:25 +02:00
Rod Vagg
308274f886
feat!: dag import - don't pin roots by default (#9926)
* feat!: dag import - don't pin roots by default

Fixes: https://github.com/ipfs/kubo/issues/9765

* test(ipip-402): dag import

this adds basic regression test that guards behavior
around partial cars with or without pinning

* docs(ipip-402): ipip and dag import changelog

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-06-20 08:20:24 +02:00
Jorropo
82fd9ec329
cmds/dag/import: pin roots by default (#9966)
This is a partial revert of b685355ca8.
Closes #9765 with compromise agreed in https://github.com/ipfs/kubo/issues/9765#issuecomment-1593117410
2023-06-15 16:41:59 +02:00
Henrique Dias
2cbee81b9b docs: fix 0.21 changelog 2023-06-15 14:58:02 +02:00
Marcin Rataj
df5c0620ec
chore(docs): typo http→https 2023-06-15 13:20:19 +02:00
Rod Vagg
b685355ca8
feat!: dag import - don't pin roots by default (#9926)
* feat!: dag import - don't pin roots by default

Fixes: https://github.com/ipfs/kubo/issues/9765

* test(ipip-402): dag import

this adds basic regression test that guards behavior
around partial cars with or without pinning

* docs(ipip-402): ipip and dag import changelog

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-06-14 20:45:34 +00:00
Marcin Rataj
f0397719ad
chore(docs): typo http→https 2023-06-14 00:37:03 +02:00
Henrique Dias
2716cd987f
feat(gateway): support for IPIP-402 CAR params (#9914) 2023-06-08 17:32:18 +02:00
Jorropo
e7294cbdff feat: warn users who are falling behind reprovides
Fixes: #9704
Fixes: #9702
Fixes: #9703
Fixes: #9419
2023-06-08 10:05:30 +02:00
Jorropo
50daf64be4 changelog/v0.21: add dag stat additions 2023-06-06 16:22:08 +02:00