Commit Graph

701 Commits

Author SHA1 Message Date
Jeromy Johnson
1eb94e64e3 Merge pull request #2990 from csasarak/janky_version
Alias 'ipfs --version' to 'ipfs version'
2016-08-04 06:58:15 -07:00
Jakub Sztandera
a42302443b cli: reword message about mount and offline
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-03 08:04:07 -07:00
Jakub Sztandera
2cae0bc616 daemon: ipfs daemon --offline --mount should fail with nice message
ipfs daemon --offline;
ipfs mount;
fails. This uniforms this behaviour.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-03 05:24:20 -07:00
Chris Sasarak
b59e271047 Alias 'ipfs --version' to 'ipfs version'
License: MIT
Signed-off-by: Chris Sasarak <chris.sasarak@gmail.com>
2016-07-26 19:41:02 -04:00
Lars Gierth
ec68ef01f1 cleanup: remove mentions of gobuilder
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-23 13:09:32 +01:00
Jeromy
fcc4f0001d move prompt code into daemon.go
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-20 13:29:33 -07:00
Jeromy
37673c85c7 add a test for auto migrations cli interface
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-19 06:50:00 -07:00
Jeromy
cc73137f74 add migrate flag to daemon subcommand
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-19 06:50:00 -07:00
Jeromy Johnson
4e67003f5a Merge pull request #2953 from ipfs/feature/blocks-bloom-no-rebuild
core: do not run bloom in case of ephemeral node
2016-07-10 13:34:44 -07:00
Jakub Sztandera
d9bafb688d cmd/ipfs: add note about the plan for refactor
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-10 15:19:28 +02:00
Lars Gierth
421add3d18 daemon: reintroduce --unrestricted-api
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-09 00:07:36 +02:00
Jakub Sztandera
e85a39c610 core: do not run bloom filter if in a temoporary node mode
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-08 21:17:32 +02:00
Lars Gierth
39bef0d5b0 gateway: on api, restrict to webui
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-07 01:44:52 +02:00
Jeromy
979edf3a96 update go-libp2p
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-04 12:27:26 -07:00
Jakub Sztandera
ce8c8a7a71 Update go-log in whole dependency tree (#2898)
* Update golog in go-ipfs

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-secio for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-crypto for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-peer for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Import peersore, it wasn't imported

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update peerstore

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update peer

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update secio

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 09:38:07 -07:00
Jeromy
deecc5dd7f raise file descriptor limit to 1024 by default
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-21 11:31:14 -07:00
Jeromy Johnson
c6443fd933 Merge pull request #2874 from ipfs/extract-gateway
gateway: clean up its surface, and remove BlockList
2016-06-20 12:34:29 -07:00
Lars Gierth
1afebc21f3 gateway: clean up its surface, and remove BlockList
This patch is in preparation for the gateway's extraction.

It's interesting to trace technical debt back to its
origin, understanding the circumstances in which it
was introduced and built up, and then cutting it back
at exactly the right places.

- Clean up the gateway's surface
  The option builder GatewayOption() now takes only
  arguments which are relevant for HTTP handler muxing,
  i.e. the paths where the gateway should be mounted.
  All other configuration happens through the
  GatewayConfig object.

- Remove BlockList
  I know why this was introduced in the first place,
  but it never ended up fulfilling that purpose.
  Somehow it was only ever used by the API server,
  not the gateway, which really doesn't make sense.
  It was also never wired up with CLI nor fs-repo.
  Eventually @krl started punching holes into it
  to make the Web UI accessible.

- Remove --unrestricted-api
  This was holes being punched into BlockList too,
  for accessing /ipfs and /ipn on the API server.
  With BlockList removed and /ipfs and /ipns freely
  accessible, putting this option out of action
  is safe. With the next major release,
  the option can be removed for good.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-19 00:52:35 +02:00
Jeromy Johnson
0f3ae0736a Merge pull request #2853 from ipfs/feature/decapitalize-Debug
Decapitalized log.Debug messages
2016-06-17 10:26:20 -07:00
Jeromy
de56a47bc0 update go-libp2p to 3.3.4
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-15 13:04:49 -07:00
Jeromy Johnson
e5e2f2c19c Merge pull request #2822 from ipfs/feature/stdin-stable
Change logic of stdin input to be last and only if required
2016-06-15 11:32:42 -07:00
Richard Littauer
b6a3435bb5 Decapitalized log.Debug messages
According to golang standards, these should not be capitalized nor having a trailing period, AFAIK.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-06-15 08:56:34 +01:00
Jakub Sztandera
a2cd3ebca0 Remove errors pointed out by govet
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-14 13:40:16 +02:00
Jakub Sztandera
6822c0c670 Revert "Revert "Implements repository initialization with default config""
This reverts commit 77ef3913d9.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
Jakub Sztandera
6bd66cc8c3 Move metrics to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:56 +02:00
Jeromy
4c1201badb update iptb and multinode tests
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 15:54:28 -07:00
Jeromy
7c8e641436 pull in libp2p updates with utp fixes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 10:33:44 -07:00
Jakub Sztandera
eaccd07505 Update go-log
https://github.com/ipfs/go-log/pull/3

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 23:37:09 +02:00
Jakub Sztandera
fb0aa63587 Move fsnotify to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 11:32:02 +02:00
Jeromy
afbc6be0a6 update libp2p to version 3.2.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-07 00:20:06 -07:00
Jeromy
7274c6be35 update libp2p to v3.3.1
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-01 16:45:46 -07:00
Richard Littauer
7f61030eb5 All commands: Align to under 78-ruler width
This is just for the description, for now.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-06-01 16:44:29 +01:00
Jeromy Johnson
6a894d6e76 Merge pull request #2696 from ipfs/feature/Offline-2393
Offline daemon mode
2016-05-31 09:12:13 -07:00
Jeromy
aae6a2c379 update libp2p to v3.2.3
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-30 22:14:21 -07:00
Jakub Sztandera
d1b5a4bce1 Require diag command to run on daemon
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-25 14:04:43 +02:00
Jakub Sztandera
3a89cbbedb Improve wording once more
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Jakub Sztandera
a5a9a9d906 Change wording a bit
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Jakub Sztandera
74b7fd28ba Add offline daemon mode
Resolves #2393

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Lars Gierth
77ef3913d9 Revert "Implements repository initialization with default config"
See #2748

This reverts commit 6989686b8b.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-20 01:49:35 +02:00
Jeromy Johnson
c6edf22fa0 Merge pull request #2719 from ipfs/deps/libp2p/nil-maddr
update go-libp2p 3.2.2, nil maddr fixes
2016-05-17 10:52:55 -07:00
Jeromy
e22345ae65 update go-libp2p 3.2.2, nil maddr fixes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-17 10:23:10 -07:00
Jakub Sztandera
86425ef8f8 Make ipfs config edit run on client
Fixes #2649

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-17 16:02:48 +02:00
Jeromy
23c8ed93fd update libp2p to v3.2.1
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-16 11:22:36 -07:00
Richard Littauer
fa1c555e29 Added Defaults to ipfs daemon
Split from https://github.com/ipfs/go-ipfs/pull/2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-15 13:31:07 -04:00
Jeromy
a657ccf6c0 update deps to introduce yamux hang fix
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-13 13:42:46 -07:00
Jeromy Johnson
a2bcec40ba Merge pull request #2653 from ipfs/feature/add-defaults-to-init
Added Default logic to `ipfs init`
2016-05-11 08:56:59 -07:00
Jeromy
6359dc9d5e update libp2p with go-multiaddr and go-stream-muxer updates
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-10 16:06:28 -07:00
Richard Littauer
d3cbf0eeb9 Added Default logic to ipfs init
Related to #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-10 16:42:11 -04:00
Jeromy Johnson
fbf745fbcd Merge pull request #2632 from hsanjuan/issue_2434
"ipfs log ls" command
2016-05-05 12:17:37 -07:00
Siva Chandran
6989686b8b Implements repository initialization with default config
Modified init command to receive default configuration from stdin. The changes enable us to use existing key-pair, datastore configuration while initializing new ipfs node.

License: MIT
Signed-off-by: Sivachandran <sivachandran.p@gmail.com>
2016-05-05 14:44:15 +05:30