Adin Schmahmann
b88bdfeb9d
chore: update go-multiaddr and go-multiaddr-net
2020-08-25 15:24:48 -04:00
Petar Maymounkov
ece0cda10d
switch ipfs init default key
2020-08-19 08:31:44 -07:00
Adin Schmahmann
0f658484d1
move key rotation command to ipfs key rotate
2020-08-17 07:26:47 -04:00
Adin Schmahmann
692e9f59ff
refactor: get rid of cmdDetails awkwardness
2020-08-04 18:28:40 -04:00
Petar Maymounkov
2c255eab24
feat: implement ipfs rotate command for rotating the ID keys for the node
2020-07-15 19:04:34 -04:00
Petar Maymounkov
4674f770b7
Choosable key types at initialization
...
* add support for choosing a peer key type (e.g. RSA or Ed25519) when initializing the repo
* test all variants of ipfs init: RSA, Ed25519 and default
* update subdomain gateway sharness test to publish IPNS using RSA and
Ed25519 keys
* use default identity bit lengths defined in config repo instead of
having separate defaults in go-ipfs
* update config repo dependency
Co-authored-by: Will Scott <will@cypherpunk.email>
Co-authored-by: Petar Maymounkov <petarm@gmail.com>
2020-07-14 14:42:49 -04:00
Steven Allen
e164af1f2a
feat: add a transport config section
...
This way, users can disable transports (especially QUIC), and set muxer/security
transport priorities.
2020-06-16 15:15:47 -07:00
Dimitris Apostolou
1e437c7e97
Fix typos and cleanup
2020-04-20 22:00:01 +03:00
Roman Khafizianov
90b7b53a40
fix the typo in the serveHTTPApi
...
It looks like the incorrect address passed into the logger in case of error
2020-04-14 13:24:49 +03:00
Steven Allen
56e0e18294
feat: add a dhtserver option
2020-04-06 18:53:16 -07:00
Peter Rabbitson
5be6e26f7b
Forgotten go-fmt
...
Not sure why CI didn't catch this
2020-03-25 15:03:17 +01:00
Marcin Rataj
3ecccd6e1d
feat(gateway): subdomain and proxy gateway
...
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-18 08:50:38 -07:00
Steven Allen
11c229bb14
rename ProxyOption to P2PProxyOption
...
(we're implementing an _actual_ proxy)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2020-03-17 19:34:44 -07:00
Dominic Della Valle
3c9039a00b
cmd: ipfs handle GUI environment on Windows
2020-03-12 16:15:23 -07: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
a53d48059b
fix: migrate from deprecated warning function
2020-01-28 21:20:21 -08:00
Steven Allen
c2d1f3a6a3
chore(dep): update deps
...
Update all deps.
2020-01-28 21:20:17 -08:00
flowed
07cbba7c40
Fix Typos
2019-12-25 03:12:41 +00:00
Steven Allen
9f1249c65b
fix: use libp2p keysizes
2019-12-05 13:26:46 -05:00
Michael Muré
2a9e5005da
plugins: introduce PluginDaemonInternal to directly interact with IpfsNode
2019-11-22 13:18:44 +01:00
Steven Allen
460c2119e4
daemon: support unix domain sockets for the API/gateway
...
All the work was client-side. Unix domain socket multiaddrs already worked
server-side.
fixes #4218
2019-09-30 17:21:28 -07:00
Steven Allen
164dd287be
Merge pull request #6675 from ipfs/feat/systemd-activation
...
add systemd support
2019-09-30 15:22:44 -07:00
Oli Evans
bbe2f5077e
feat: add ipfs version info to prometheus metrics
...
Adds `ipfs_info` prometheus metric with version and commit info
```prometheus
ipfs_info{commit="9ea7c6a11-dirty",version="0.5.0-dev"} 1
```
This follows the same pattern as go and other systems, adding a gauge metric that is set to 1, with the version info addeds as labels.
This is a common pattern for prometheus. It lets operators merge version info into other prometheus metrics by multiplying it with the other stat, as described in https://www.robustperception.io/exposing-the-software-version-to-prometheus
For example, we already expose the go version info as
```prometheus
go_info{version="go1.12.9"} 1
```
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-09-30 15:41:29 +01:00
Steven Allen
0d0b4fc857
feat(systemd): extract socket activation logic
2019-09-27 16:09:17 -07:00
Steven Allen
37c19cc630
lint(systemd): remove dead code
2019-09-27 16:08:30 -07:00
Steven Allen
87f2e38017
systemd: add notify support
...
That way, we can reliably know when the daemon is ready.
2019-09-27 16:08:30 -07:00
Steven Allen
a4914a4478
systemd: merge API/gateway addresses
...
Instead of letting systemd override the configured addresses, merge them. This
is likely the "expected" behavior.
2019-09-27 16:08:30 -07:00
Steven Allen
1b05265862
cr: fix copy/paste error
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
6eb84227c6
cr: group related variables
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
429c4b537c
implement systemd socket activation
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
150b6dd1bd
plugins: add support for plugin configs
...
For now, configs specified in `daemon --init-config` and `init CONFIG` are not
available. We should fix this eventually but isn't necessary for now (and
supporting this will be annoying).
2019-08-29 17:17:23 -07:00
Steven Allen
d2a1ce3c5c
Merge pull request #6489 from djdv/feat/init-with-config-file
...
feat: add ability to use existing config during init
2019-08-28 16:19:36 -07:00
Steven Allen
f6f8d68574
version: don't print 'VERSION-' if no commit is specified
...
fixes #6022
2019-08-28 00:06:46 -07:00
Dominic Della Valle
995e674cfb
feat: add ability to use existing config during init
2019-08-25 21:15:17 -04:00
Steven Allen
a2a70d2cc0
use 2048 keys everywhere else
2019-08-23 14:36:42 -07:00
Steven Allen
39bb640c35
Merge pull request #6474 from ipfs/feat/builtin-plugin
...
feat: make it easier to load custom plugins
2019-07-11 18:55:13 -07:00
Steven Allen
2b61dbb612
main: clarify api-flag behavior
2019-07-03 14:10:56 -07:00
Steven Allen
074305690a
fix: ignore stale APIs
...
fixes #5784
2019-06-29 11:17:38 +02:00
Steven Allen
4badef2a14
feat: make it easier to load custom plugins
...
1. Allow loading from arbitrary and multiple directories.
2. Make it possible to directly load built-in plugins that _aren't_ in the
preload list.
2019-06-28 08:42:29 +02:00
Kirill Goncharov
2865ae79a1
install.sh: Fix wrong destination path for ipfs binary
...
License: MIT
Signed-off-by: Kirill Goncharov <kdgoncharov@gmail.com>
2019-06-08 19:21:59 +03:00
Raúl Kripalani
e8c2852179
migrate to go-libp2p-core.
...
closes #6391
License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai>
2019-05-31 23:23:52 -07:00
Steven Allen
ec19d4c54f
Merge pull request #6321 from ipfs/ci/golangci-lint
...
Add golangci-lint
2019-05-15 13:38:31 -07:00
Steven Allen
017564a863
fail start when loading a plugin fails
...
Otherwise, we simply panic later.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-15 12:09:19 -07:00
Steven Allen
4924b80e10
chore: fix linter nits
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-14 09:38:26 -07:00
Steven Allen
96e6dd294f
Merge pull request #6319 from ipfs/fix/ulimit-tests
...
fix setting ulimit
2019-05-14 09:36:42 -07:00
Steven Allen
bff8326b97
ulimit: fix setting ulimit
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-13 14:52:24 -07:00
Steven Allen
c318e3472e
fix ulimit tests
...
Not sure why CI wasn't failing.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-10 23:20:04 -07:00
Steven Allen
5f64b270f8
cmdkit -> cmds
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-10 23:00:20 -07:00
Steven Allen
4b7a24f0af
Merge pull request #6266 from ipfs/fix/fd-limit
...
raise default fd limit to 8192
2019-05-10 09:37:17 -07:00
Oli Evans
be5d5fdca6
fix: windows friendly daemon help
...
tweak the daemon --help output to use escaped double quotes instead
of single quotes so the same command can be used on windows.
fixes : #2034
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-04-30 09:26:09 +01:00