Commit Graph

5353 Commits

Author SHA1 Message Date
Jeromy Johnson
268ec7899c Merge pull request #2292 from ipfs/docs/optional-template
Changed wording to make optional stand out
2016-02-04 10:47:36 -08:00
Jeromy Johnson
db4add4edb Merge pull request #2294 from ipfs/feat/active-clear
command to clear inactive requests from request log
2016-02-04 10:47:10 -08:00
Jeromy Johnson
b11abe283b Merge pull request #2267 from rht/wire/ctx-http-request-2
Directly wire ctx into http request
2016-02-04 10:24:26 -08:00
Jeromy
1e1c89c2a8 command to clear inactive requests from request log
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-04 10:04:04 -08:00
Richard Littauer
2c0846c8e9 Changed wording to make optional stand out
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-04 09:48:16 -05:00
Jeromy Johnson
e8c753d2e5 Merge pull request #2282 from ipfs/docs/remove-extra-space
Removed extra space
2016-02-03 09:24:46 -08:00
Jeromy Johnson
8fadb11ae3 Merge pull request #2284 from Kubuxu/fix/#2035
Change sample API origin settings from wildcard to example.com
2016-02-02 22:35:27 -08:00
Jeromy Johnson
82cc61614e Merge pull request #2288 from tomgg/tmg/trivial
trivial: various superficial fixes
2016-02-02 22:27:43 -08:00
Thomas Gardner
aaa6569f2c trivial: various superficial fixes
misc/completion/ipfs-completion.bash: add `ipfs stats` to BASH completion

core/commands/mount_unix.go: ensure error is not nil before printing it

contribute.md: fix bibliography indexing in example

core/commands/swarm.go: change tabs to spaces in USAGE message

*: 80-column readability improvements

License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-02-03 15:46:28 +10:00
Jakub Sztandera
e26c1fe60a Change sample API origin settings from wildcard to example.com
Resolves #2035

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
2016-02-02 22:24:07 +01:00
Richard Littauer
dc5b45e377 Removed extra space
This was coming up as an extra space. For instance:

```curl -i http://localhost:5001/api/v0/config?arg=kitten
//"Message": "Failed to get config value:  key has no attributes",
```

Removing it here.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-02 15:26:01 -05:00
Jeromy Johnson
5274ad9e8f Merge pull request #2281 from ipfs/docs/add-quotes-to-config
Add quotes to ipfs config
2016-02-02 09:42:08 -08:00
Jeromy Johnson
585ef2b957 Merge pull request #2275 from ipfs/refactor-iptb-tests
Refactor iptb tests
2016-02-02 08:44:57 -08:00
Richard Littauer
548ad107a2 Add quotes to ipfs config
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-02 11:32:30 -05:00
Jeromy Johnson
f5e7a3b226 Merge pull request #2277 from ipfs/feat/active-cmds
commands diagnostics
2016-02-02 08:09:34 -08:00
Jeromy
4753e6c292 sort options and add id to verbose output
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-01 22:05:29 -08:00
Jeromy
df0f87a8eb verbose mode
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-01 17:21:31 -08:00
Jeromy
6e863830bf some comments
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-01 16:39:17 -08:00
Jeromy
c7c1e72eaf add sharness test
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-01 16:35:22 -08:00
Jeromy
366d7db3d3 add command to view active api requests
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-01 15:44:43 -08:00
Christian Couder
79b6297770 t0130: use startup_cluster() from iptb-lib.sh
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-01 23:23:53 +01:00
Christian Couder
e0a48ffcf6 iptb-lib: add startup_cluster()
While at it let's cleanup startup_cluster() too.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-01 23:22:35 +01:00
Christian Couder
8b875ebe77 t0121, t0130, t0240: use iptb-lib.sh
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-01 13:48:00 +01:00
Christian Couder
d1f15d445b iptb-lib: small cleanup
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-01 13:23:51 +01:00
Christian Couder
cacb1cc2d4 sharness: add lib/iptb-lib.sh
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-01 13:17:13 +01:00
Jeromy Johnson
62ba5eb913 Merge pull request #2270 from ipfs/feature/add-more-quotes
Added quotes to swarm and ping descriptions
2016-01-30 09:55:47 -08:00
Richard Littauer
ec0c3ac3b8 Added quotes to swarm and ping descriptions
Also fixes some grammar in pings.

See https://github.com/ipfs/go-ipfs/pull/2265#issuecomment-177062200

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-30 11:33:29 -05:00
rht
6f76129b87 Simplify context canceled err message
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-30 10:26:35 +07:00
rht
72e98deb93 Cleanup http client Send
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-30 10:22:46 +07:00
rht
45999946be Directly wire ctx into http request
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-30 10:19:27 +07:00
Jeromy Johnson
eb9d072928 Merge pull request #2265 from ipfs/docs/block-put-quotes
Added quotes around block put command
2016-01-29 15:37:20 -08:00
Richard Littauer
7758ad3d3e Added quotes around block put command
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-29 16:51:10 -05:00
Jeromy Johnson
ba148b2355 Merge pull request #2191 from Kubuxu/feature/dnslink
Make dns resolve paths under _dnslink.example.com
2016-01-29 12:47:19 -08:00
Kubuxu
0e18246294 Make dns resolve paths under _dnslink.
Thus allowing to CNAME main site entry to gateway and stil specify
dnslink.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
2016-01-29 20:46:04 +01:00
Jeromy Johnson
f631db7e69 Merge pull request #2248 from ipfs/fix/0.3.11-changelog
finally add changelog for v0.3.11
2016-01-28 08:09:44 -08:00
Jeromy Johnson
06cb9b5813 Merge pull request #2253 from rht/typo-n
s/retreiving/retrieving/g
2016-01-27 21:49:28 -08:00
Jeromy
88a2ebfe44 add note about webui update
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-27 08:56:49 -08:00
Richard Littauer
b50bcb2b39 Fixed spelling, capitalized
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-27 12:04:36 +00:00
rht
d8b77eb7c7 s/retreiving/retrieving/g
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-27 14:47:21 +07:00
Jeromy Johnson
8207fa7d07 Merge pull request #2244 from ipfs/feature/capitalize-and-periods
Capitalized beginning of line messages, added periods
2016-01-26 22:31:02 -08:00
Jeromy Johnson
8ef5a1084f Merge pull request #2243 from ipfs/feature/daemon-shutdown
Added small note about shutdown
2016-01-26 22:28:28 -08:00
Jeromy Johnson
04f8d3ad56 Merge pull request #2249 from tomgg/tmg/build
Makefile: add PHONY targets and a help message
2016-01-26 22:24:47 -08:00
Thomas Gardner
de4e34d242 Makefile: add PHONY targets and a help message
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-01-27 11:11:01 +10:00
Jeromy
2b0680a537 finally add changelog for v0.3.11
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-26 15:05:47 -08:00
Jeromy Johnson
081c6d9228 Merge pull request #2242 from tomgg/issue1083
fix #1083: Append a newline to `ipfs id` output.
2016-01-25 22:00:35 -08:00
Stephen Whitmore
81b9607c49 Merge pull request #2201 from noffle/unpin-2155
Resolve paths in 'pin rm' /wo network lookup
2016-01-25 17:17:47 -08:00
Thomas Gardner
7b716986f6 Append newlines to ipfs id and ipfs dns output.
This fixes #1083, #2000.

N.B. The JSON package developers see no trailing newline as a feature;
it allows marshalled JSON to be embedded inside more JSON.[0]

--
[0] https://golang.org/pkg/encoding/json/

License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-01-26 02:14:30 +10:00
Stephen Whitmore
9745704f5f Slightly optimizes core.ResolveToKey().
This is done by skipping the step of resolving the final segment in the
path to a DAG node; instead preferring to look at the second-to-last
segmenet's links.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-24 23:31:05 -08:00
Stephen Whitmore
cf0a85b7a4 Implements Path.PopLastSegment().
This allows a path (/ipfs/foo/bar) to be separated between its head
(/ipfs/foo) and its tail (bar).

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-24 23:29:41 -08:00
Richard Littauer
38647fad92 Added small note about shutdown
See https://github.com/ipfs/go-ipfs/pull/2180#issuecomment-171889567

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-24 22:41:52 +00:00