Commit Graph

2199 Commits

Author SHA1 Message Date
Hector Sanjuan
081526d0ea
Merge pull request #1035 from ipfs/dependabot/go_modules/github.com/prometheus/client_golang-1.5.1
build(deps): bump github.com/prometheus/client_golang from 1.4.0 to 1.5.1
2020-04-03 10:54:27 +02:00
Hector Sanjuan
123b51f131
Merge pull request #1034 from ipfs/dependabot/go_modules/github.com/urfave/cli/v2-2.2.0
build(deps): bump github.com/urfave/cli/v2 from 2.0.0 to 2.2.0
2020-04-03 10:54:05 +02:00
Hector Sanjuan
4aa045c216
Merge pull request #1033 from ipfs/dependabot/go_modules/contrib.go.opencensus.io/exporter/jaeger-0.2.0
build(deps): bump contrib.go.opencensus.io/exporter/jaeger from 0.1.0 to 0.2.0
2020-04-03 10:53:41 +02:00
dependabot-preview[bot]
71a967113c
build(deps): bump github.com/ipfs/go-fs-lock from 0.0.1 to 0.0.4
Bumps [github.com/ipfs/go-fs-lock](https://github.com/ipfs/go-fs-lock) from 0.0.1 to 0.0.4.
- [Release notes](https://github.com/ipfs/go-fs-lock/releases)
- [Commits](https://github.com/ipfs/go-fs-lock/compare/v0.0.1...v0.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:11:50 +00:00
dependabot-preview[bot]
a98a47403a
build(deps): bump github.com/hashicorp/go-hclog from 0.12.1 to 0.12.2
Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](https://github.com/hashicorp/go-hclog/compare/v0.12.1...v0.12.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:11:24 +00:00
dependabot-preview[bot]
065e0ec325
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.4.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:56 +00:00
dependabot-preview[bot]
9973632492
build(deps): bump github.com/urfave/cli/v2 from 2.0.0 to 2.2.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.0.0 to 2.2.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.0.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:35 +00:00
dependabot-preview[bot]
afb17314d3
build(deps): bump contrib.go.opencensus.io/exporter/jaeger
Bumps [contrib.go.opencensus.io/exporter/jaeger](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger/releases)
- [Commits](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:09 +00:00
Hector Sanjuan
f2e5296191
Merge pull request #1020 from ipfs/feat/libp2p-0.6.0
Major dependency upgrade (go-libp2p, go-ds-crdt...)
2020-04-02 18:19:17 +02:00
Hector Sanjuan
f3ed4533f2 Revert "Revert to Go1.13"
This reverts commit 5bd6057bf9.
2020-04-02 18:03:58 +02:00
Hector Sanjuan
5bd6057bf9 Revert to Go1.13 2020-04-02 16:48:52 +02:00
Hector Sanjuan
65ad4bd632 cluster/daemons: Close the datastore AFTER the DHT.
Avoids panics.

This also removes the abnormality of cluster closing a datastore
that it did not create.
2020-04-02 16:29:41 +02:00
Hector Sanjuan
bebd1e168c cluster: re-add quic to defaults, but keep transport disabled
This still works.
2020-04-02 16:12:45 +02:00
Hector Sanjuan
ab74987bc8 clusterhost: place dht records in persistened DHT
With this cluster peers will start remembering provider records accross
re-starts.
2020-04-01 20:15:48 +02:00
Hector Sanjuan
b95745e0eb clusterhost: use EnableNATService() libp2p option.
The autonat-svc repository is deprecated.
2020-04-01 19:38:37 +02:00
Hector Sanjuan
9fc49b013c
Merge pull request #1027 from ipfs/feat/better-badger-defaults
badger: reduce memory footprint with better default options
2020-04-01 17:56:00 +02:00
Hector Sanjuan
69cd226922 clusterhost: Remove relay OptDiscovery
It was made a no-op.
2020-04-01 17:19:52 +02:00
Hector Sanjuan
c072682306 badger: reduce memory footprint with better default options
They are the same that go-ipfs has started using, our users can
always overwrite them though (unlike go-ipfs).
2020-04-01 13:18:41 +02:00
Hector Sanjuan
dad63ac700 Chore: update deps libp2p 0.7.2 2020-04-01 11:15:29 +02:00
deepakgarg
bcbea62efe Fixes #998 Added object expiry time to pin ls cmd. 2020-03-27 18:05:26 -07:00
deepakgarg
788ecff327 Fixes #996 pin expiry is updated if set in options 2020-03-26 20:07:23 -07:00
Hector Sanjuan
636c4ca331 Chore: upgrade go-ipfs-chunker 2020-03-27 00:18:08 +01:00
Hector Sanjuan
c9298a222c Chore: more dependency upgrades 2020-03-26 12:40:14 +01:00
Hector Sanjuan
b3853caf36 Dependency ugprade: changes needed
* Libp2p protectors no longer needed, use PSK directly
* Generate cluster 32-byte secret here (helper gone from pnet)
* Switch to go-log/v2 in all places
* DHT bootstrapping not needed. Adjust DHT options for tests.
* Do not rely on dissappeared CidToDsKey and DsKeyToCid functions fro dshelp.
* Disable QUIC (does not support private networks)
* Fix tests: autodiscovery started working properly
2020-03-22 14:50:25 +01:00
Hector Sanjuan
8ced9b16de chore: general dependency upgrade (build fixes come later) 2020-03-22 14:50:25 +01:00
Hector Sanjuan
e3e14bd15f
Merge pull request #1022 from ipfs/fix/codecov
Codevoc: adjust thresholds
2020-03-22 14:50:10 +01:00
Hector Sanjuan
d1ff4b69b3 Codevoc: adjust thresholds 2020-03-22 14:48:31 +01:00
Hector Sanjuan
19aff486c4
Merge pull request #1016 from ipfs/fix/1006-blake
Adder: fix #1006: Specify block format, hash and length when adding
2020-03-13 22:12:46 +01:00
Hector Sanjuan
6a88e8243c
Merge pull request #1019 from ipfs/fix/request-with-context
API/client: add context to http requests
2020-03-13 21:57:56 +01:00
Hector Sanjuan
ede1b89252 Adder: fix #1006: Specify block format, hash and length when adding
Currently we were only specifying the block format. When adding with
a custom hash function, even though we produced the right cids, IPFS
did not know the hash function and ended up storing them using SHA256.

Additionally, since NodeWithMeta serializes the CID, we do not need
to carry a Format parameter (which specifies the Codec): it is already
embedded.

Tests have been added and BlockPut in ipfshttp now checks that the
response's CID matches the data sent. This will catch errors like
what was happening, but also any data corruption between cluster and
IPFS during the block upload.
2020-03-13 14:43:58 +01:00
Hector Sanjuan
45ca4305d2 API/client: add context to http requests 2020-03-13 14:26:39 +01:00
Hector Sanjuan
9ad268162b
Merge pull request #1015 from ipfs/fix/1012-Makefile-trim
Fix #1012: Trim paths on Makefile builds
2020-03-13 14:23:48 +01:00
Hector Sanjuan
c80a207e41 Fix #1012: Trim paths on Makefile builds
This results in more reproduceable builds.

Additionally, sources command to list all go-files and not just those
one directory below.
2020-03-06 14:49:19 +01:00
Hector Sanjuan
5d44275d0e
Chore: Add license file with URLS (#1014)
* Chore: Add license file with URLS

Source: 59df5e58a2

* Chore: license copyright updates
2020-03-06 13:52:19 +01:00
Hector Sanjuan
531379b1d9
Feature: Support multiple listeners in configuration
* add ipv6 listening addresses to the default config

* ipfsproxy: support multiple listeners. Add default ipv6.

* mm

* restapi: support multiple listen addresses. enable ipv6

* cluster_config: format default listen addresses

* commands: update for multiple listeners. Fix randomports for udp and ipv6.

* ipfs-cluster-service: fix randomports test

* multiple listeners: fix remaining tests

* golint

* Disable ipv6 in defaults

It is not supported by docker by default. It is not supported in travis-CI
build environments. User can enable it now manually.

* proxy: disable ipv6 in test

* ipfshttp: fix test

Co-authored-by: @RubenKelevra <cyrond@gmail.com>
2020-02-28 11:16:16 -05:00
Yang Hau
7986d94242
fix: Fix typos (#1001)
Fix typos in files
2020-02-03 10:30:04 +01:00
@RubenKelevra
392a139676
fix typo (#999)
In issue template
2020-02-03 10:25:37 +01:00
Hector Sanjuan
2cb90ba55f
Merge pull request #993 from ipfs/fix/follow-hotfixes
Fix/follow hotfixes
2019-12-24 01:51:03 +01:00
Hector Sanjuan
3cdcb44af2
Release 0.12.1 2019-12-24 01:13:23 +01:00
Hector Sanjuan
55f6458a2e Changelog for 0.12.1 2019-12-23 23:55:36 +01:00
Hector Sanjuan
1accd0e415 follow: close the RepoGCLocal RPC endpoint
Trusted peers should not be able to GC a follower.
2019-12-23 23:45:26 +01:00
Hector Sanjuan
db2ef9231a Fix #991: fix panic on "info" when IPFS not running 2019-12-23 23:45:14 +01:00
Hector Sanjuan
f20a524bbc Fix #992: Ensure the gateway variable is set on the run --init command 2019-12-23 23:32:06 +01:00
Hector Sanjuan
09e4007c31
Release 0.12.0 2019-12-20 14:45:59 +01:00
Hector Sanjuan
60ce5b3228 Update copyrights to 2020x 2019-12-20 14:40:34 +01:00
Hector Sanjuan
cdfa485be5
Merge pull request #990 from ipfs/fix/licenses
Distribute the correct dual license with ctl and service
2019-12-20 14:38:39 +01:00
Hector Sanjuan
1e887fe593
Merge pull request #982 from ipfs/0.12.0/changelog
CHANGELOG for v0.12.0
2019-12-20 14:38:25 +01:00
Hector Sanjuan
b285f71348 Reword changelog 2019-12-20 14:37:56 +01:00
Hector Sanjuan
5965d4738e Update README: fix links, add ipfs-cluste-follow info
Remove standard-readme badge and mention as we don't make use
of this project much anymore.
2019-12-20 14:12:17 +01:00
Hector Sanjuan
0fa01d5435 Distribute the correct dual license with ctl and service 2019-12-20 14:04:48 +01:00