Commit Graph

11110 Commits

Author SHA1 Message Date
Steven Allen
15085fd1a3 fix(plugin): check log error 2020-02-10 13:09:00 -08:00
Steven Allen
58e52f351d feat: make it possible to enable plugins with a build env variable 2020-02-10 13:05:32 -08:00
Steven Allen
0ab1fa18da fix: disable preloading the logger plugin by default 2020-02-10 12:54:55 -08:00
Oli Evans
edfe9c5efd
feat: add peerlog plugin
adds a plugin to log just peerIDs for nodes we connect to, to allow us to see how many unique peers a node connects to over time.

It's set up a preloaded plugin, so it would be enabled by default. We may want to extract it to a seperate repo so we can make it an optional add on.

**Usage**

```console
$ GOLOG_FILE=~/peer.log IPFS_LOGGING_FMT=json ipfs daemon
```

**output**

```json
{"level":"info","ts":"2020-02-10T13:54:26.639Z","logger":"plugin/peerlog","caller":"peerlog/peerlog.go:51","msg":"connected","peer":"QmS2H72gdrekXJggGdE9SunXPntBqdkJdkXQJjuxcH8Cbt"}
{"level":"info","ts":"2020-02-10T13:54:59.095Z","logger":"plugin/peerlog","caller":"peerlog/peerlog.go:56","msg":"disconnected","peer":"QmS2H72gdrekXJggGdE9SunXPntBqdkJdkXQJjuxcH8Cbt"}
```

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-02-10 14:05:16 +00:00
Oli Evans
d83e07ea90
wip: minimal plugin works
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-02-10 11:29:51 +00:00
Steven Allen
45efea8aef
Merge pull request #6884 from ipfs/chore/update-deps
chore(dep): update
2020-02-07 14:53:50 -08:00
Steven Allen
1b72325539 chore(dep): update
fixes #6841
fixes #6860
2020-02-07 14:31:14 -08:00
Hector Sanjuan
8e9725fd00
Merge pull request #6882 from ipfs/fix/6878-mfs-docs
Fix #6878: Improve MFS Cli documentation
2020-02-07 16:32:45 +01:00
Steven Allen
962448cc9f
Merge pull request #6881 from ipfs/dependabot/go_modules/github.com/prometheus/client_golang-1.4.1
chore(deps): bump github.com/prometheus/client_golang from 1.4.0 to 1.4.1
2020-02-07 07:28:19 -08:00
Steven Allen
effbc0a542
docs(commands): fix mfs wording 2020-02-07 07:27:27 -08:00
Hector Sanjuan
38ca2fbde2 core/commands/files: MFS docs, minor improvements after user feedback 2020-02-07 15:35:33 +01:00
Hector Sanjuan
e05ddfab23
/mfs/path -> /some/path
Co-Authored-By: Moritz <13287984+mohe2015@users.noreply.github.com>
2020-02-07 15:19:37 +01:00
Hector Sanjuan
10194de133 core/commands/files: log.Error -> flog.Error
This seems like a tiny leftover.
2020-02-07 14:55:16 +01:00
Hector Sanjuan
da584b8679 Fix #6878: Improve MFS Cli documentation 2020-02-07 14:55:01 +01:00
dependabot-preview[bot]
c24e247c8a
chore(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.4.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.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 11:23:05 +00:00
Steven Allen
28608f0e8a
Merge pull request #6879 from ipfs/fix/dist-license
Update the license distributed with dist builds to the dual one
2020-02-06 13:45:10 -08:00
Hector Sanjuan
7c6e212b2d Update the license distributed with dist builds to the dual one
This was an old leftover
2020-02-06 22:27:15 +01:00
Steven Allen
035c90e718
Merge pull request #6875 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-pubsub-router-0.2.1
chore(deps): bump github.com/libp2p/go-libp2p-pubsub-router from 0.2.0 to 0.2.1
2020-02-06 07:35:05 -08:00
Steven Allen
2f177499bd
Merge pull request #6876 from ipfs/dependabot/go_modules/github.com/multiformats/go-multiaddr-net-0.1.2
chore(deps): bump github.com/multiformats/go-multiaddr-net from 0.1.1 to 0.1.2
2020-02-06 07:29:46 -08:00
dependabot-preview[bot]
9bc46bcc16
chore(deps): bump github.com/multiformats/go-multiaddr-net
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.1...v0.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 11:25:01 +00:00
dependabot-preview[bot]
0aaef3141d
chore(deps): bump github.com/libp2p/go-libp2p-pubsub-router
Bumps [github.com/libp2p/go-libp2p-pubsub-router](https://github.com/libp2p/go-libp2p-pubsub-router) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/libp2p/go-libp2p-pubsub-router/releases)
- [Commits](https://github.com/libp2p/go-libp2p-pubsub-router/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 11:24:23 +00:00
Steven Allen
cb5df94853
Merge pull request #6874 from ipfs/doc/license-urls
doc: add license URLs so go's doc service can detect our license
2020-02-05 10:41:00 -08:00
Steven Allen
eb5ef796a9 doc: add license URLs so go's doc service can detect our license 2020-02-05 10:38:45 -08:00
Steven Allen
4154930dd1
Merge pull request #6873 from ipfs/fix/rename-copyright
doc: rename COPYRIGHT to LICENSE
2020-02-05 10:21:07 -08:00
Steven Allen
18d45d4a42 doc: rename COPYRIGHT to LICENSE
This file is usually called LICENSE or COPYING, not COPYRIGHT. I'm _trying_ to
fix pkg.go.dev's license detection (not hopeful given that we're dual licensed).
2020-02-05 10:18:23 -08:00
Steven Allen
8920ecee82
Merge pull request #6872 from ipfs/fix/id-addr-format
fix: fix id addr format
2020-02-05 09:30:54 -08:00
Steven Allen
26c5e38571 fix: use the correct protocol name for ipfs swarm addrs local --id 2020-02-05 07:46:37 -08:00
Steven Allen
3b5a6bda59 fix: fix id addr format
Instead of manually creating multiaddr strings, use the multiaddr logic to
format them. We were still using `/ipfs` multiaddrs instead of `/p2p` multiaddrs.
2020-02-05 07:39:08 -08:00
Steven Allen
f27d04fefa
Merge pull request #6865 from ipfs/dependabot/go_modules/github.com/multiformats/go-multihash-0.0.13
chore(deps): bump github.com/multiformats/go-multihash from 0.0.10 to 0.0.13
2020-02-05 07:03:30 -08:00
Steven Allen
7301edb92a
Merge pull request #6871 from ipfs/dependabot/go_modules/github.com/ipfs/go-cid-0.0.5
chore(deps): bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5
2020-02-05 07:03:09 -08:00
dependabot-preview[bot]
50d83d3e14
chore(deps): bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](https://github.com/ipfs/go-cid/compare/v0.0.4...v0.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 11:23:59 +00:00
dependabot-preview[bot]
a077292b6c
chore(deps): bump github.com/multiformats/go-multihash
Bumps [github.com/multiformats/go-multihash](https://github.com/multiformats/go-multihash) from 0.0.10 to 0.0.13.
- [Release notes](https://github.com/multiformats/go-multihash/releases)
- [Commits](https://github.com/multiformats/go-multihash/compare/v0.0.10...v0.0.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 19:41:49 +00:00
Steven Allen
272cf63d04
Merge pull request #6869 from ipfs/chore/update-multistream
chore(dep): update go-multistream to fix a potential panic
2020-02-04 11:36:58 -08:00
Steven Allen
db36e7f863 chore(ci): bump cache version
Something broke in circle. This is the only way to clear the cache.
2020-02-04 11:25:15 -08:00
Steven Allen
e2e00e7ab3 chore(dep): update go-multistream to fix a potential panic
likely fixes #6802
2020-02-04 10:12:03 -08:00
Steven Allen
85dbb80c3d
Merge pull request #6867 from RubenKelevra/patch-1
Help text update for 'ipfs key gen'
2020-02-04 09:52:31 -08:00
@RubenKelevra
4bdd03d2f3
Help text update for 'ipfs key gen'
Add info about the default key type
2020-02-04 13:58:05 +01:00
Steven Allen
0f6d6c47be
Merge pull request #6864 from ipfs/fix/6861
fix: make rsa the default key type
2020-02-03 19:09:46 -08:00
Steven Allen
33861b0d40 fix: make rsa the default key type
It's already the default when initializing the node, we might as well make it
the default when creating new keys.

fixes #6861
2020-02-03 18:10:21 -08:00
Steven Allen
4a0323260e
Merge pull request #6855 from ipfs/doc/config
doc(config): cleanup
2020-02-03 15:37:39 -08:00
Steven Allen
6e6cb2e535
Merge pull request #6858 from ipfs/dependabot/go_modules/github.com/ipfs/go-ipld-cbor-0.0.4
chore(deps): bump github.com/ipfs/go-ipld-cbor from 0.0.3 to 0.0.4
2020-01-31 07:50:03 -08:00
dependabot-preview[bot]
f1c1cd6836
chore(deps): bump github.com/ipfs/go-ipld-cbor from 0.0.3 to 0.0.4
Bumps [github.com/ipfs/go-ipld-cbor](https://github.com/ipfs/go-ipld-cbor) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/ipfs/go-ipld-cbor/releases)
- [Commits](https://github.com/ipfs/go-ipld-cbor/compare/v0.0.3...v0.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 11:23:52 +00:00
Steven Allen
bd8917facf doc(config): cleanup
Trying to make this a bit more consistent and structured.

* Fix wrapping.
* Use headings for all config values.
2020-01-30 22:14:21 -08:00
Steven Allen
7969dbfc06
Merge pull request #6854 from cap10morgan/feature/multi-arch-docker-images
Allow building non-amd64 Docker images
2020-01-30 14:21:55 -08:00
Steven Allen
6750ee973e
Merge pull request #6852 from ipfs/feat/0.4.23-release-notes
doc(changelog): release notes for 0.4.23
2020-01-29 22:43:41 -08:00
Steven Allen
dc41585c0b doc(changelog): release notes for 0.4.23 2020-01-29 22:39:41 -08:00
Steven Allen
316bd6fc0c
Merge pull request #6849 from ipfs/chore/update-quic-go
chore(dep): update quic-go
2020-01-29 12:58:40 -08:00
Steven Allen
ca51c10479
Merge pull request #6850 from ipfs/doc/ce-early-tester
doc(release): add Charity Engine to the early testers programme
2020-01-29 12:16:36 -08:00
Steven Allen
e18e4f98d8 doc(release): add Charity Engine to the early testers programme 2020-01-29 12:15:20 -08:00
Wes Morgan
78977c56e0
Allow building non-amd64 Docker images 2020-01-29 11:39:19 -07:00