Commit Graph

1149 Commits

Author SHA1 Message Date
Juan Benet
a5c4c5d17c Merge pull request #2232 from lidel/cors-preflight-fix
Gateway: add support for HTTP OPTIONS request type
2016-01-23 19:56:24 -08:00
Thomas Gardner
dfeaaebf87 trivial: fix ipfs update error message
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-01-23 17:17:31 +10:00
rht
6cfc00e18b Merge pull request #2231 from rht/docs/punc-caps
Fix punc-caps issues of cli Tagline
2016-01-23 12:52:08 +07:00
rht
fce3840a4e Merge pull request #2228 from ipfs/docs/bitswap
Fixed up docs for bitswap
2016-01-23 11:22:20 +07:00
rht
bc94293b5f Merge pull request #2223 from ipfs/feature/doc-add
Generic doc fixes to `ipfs add`
2016-01-23 11:16:37 +07:00
rht
07c7a4cd76 Capitalize the remaining tagline with /Tagline:.\*"[[:lower:]]/
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-22 11:11:37 +07:00
Marcin Rataj
8651143344 Gateway: add support for HTTP OPTIONS request type
OPTIONS is a noop request that is used by the browsers
to check if server will accept cross-site XMLHttpRequest
(indicated by the presence of CORS headers)

Before this fix user could enable CORS headers in the Gateway config,
but XHR failed due to the lack of support for OPTIONS request type
(as described in https://git.io/vzgGe)

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2016-01-21 23:22:54 +01:00
rht
21e39240ab Fix punc-caps issues of cli Tagline
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-22 02:36:17 +07:00
Richard Littauer
a998dbf285 Fixed up docs for bitswap
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-21 17:53:14 +01:00
Richard Littauer
7a7a21bbd4 Add final periods, capitalize Chunker
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-21 12:57:16 +01:00
Richard Littauer
719c3693e2 Remove unnecessary sentence
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-21 12:46:59 +01:00
Richard Littauer
2df514c4f2 Change object to file
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-21 12:45:47 +01:00
Christian Couder
29830da6a5 core/commands/pin: change the default for --type to 'all'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-20 21:33:09 +01:00
Christian Couder
f5f923a7a8 core/commands/pin: update 'ipfs pin ls' documentation
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +01:00
Christian Couder
d87ece14ce core/commands/pin: refactor listing all pins
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +01:00
Christian Couder
4244f71dcd core/commands/pin: make 'ipfs pin ls' accept path args
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +01:00
Christian Couder
c89e3c22eb core/commands/pin: refactor 'pin ls'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +01:00
Jeromy Johnson
aeaae90128 Merge pull request #2210 from ipfs/fix/bootstrapping
fix bootstrapping bug and add real test for bootstrapping
2016-01-17 05:47:29 +01:00
Jeromy
39d0b33507 address CR feedback
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-16 17:51:08 -08:00
Juan Benet
75a63b74d8 Merge pull request #2209 from ipfs/feat/stat-type
make files stat print out node type
2016-01-16 19:38:50 -05:00
Jeromy
52da1e3293 fix bootstrapping bug and add real test for bootstrapping
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-16 16:05:46 -08:00
Jeromy
f485fa4b1e add type to stat printed output
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-16 10:07:05 -08:00
Jeromy
1957094fe4 add type to stat cmd json output
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-16 08:04:17 -08:00
Jeromy Johnson
b182e539f0 Merge pull request #2202 from noffle/hidden_files-2145
Lets 'ipfs add' include top-level hidden files
2016-01-15 20:40:52 +01:00
Stephen Whitmore
0828d1eb64 Lets 'ipfs add' add hidden files when explicit.
Fixes ipfs/go-ipfs/#2145. The --hidden switch (still) only affects
recursive adding.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-15 11:19:40 -08:00
Jeromy
1649b44ae0 combine multiple bootstrap addrs into single peer info
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-14 07:18:14 -08:00
Jeromy
3c6a40a3a7 remove failed merge tag from pin ls help
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 12:32:21 -08:00
Jeromy
faec2a3280 cleanup dht cmd output and fix unrecognized events
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
a99ad8a411 add tests for and fix {set/append}-data
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
4dca1f240f better doc strings
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
d4ffc9454f refactor object patch command to work more betterer
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
871cc6f1b1 call flush after files rm
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
f548a404ae just flush dir in mkdir flush, not whole tree
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
e3769dfb5a add flush option to mkdir
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
3ff880b023 skip searching for child on -r flag
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
4d5af93f43 vendor in new go-datastore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Etienne Laurin
a83c3a334f use ServeContent for index.html
One advantage is that it sets the Content-Type header correctly.

License: MIT
Signed-off-by: Etienne Laurin <etienne@atnnn.com>
2016-01-12 08:22:55 -08:00
Jeromy
b5ef584f40 replace go-psutil with go-sysinfo
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
f3f776067a remove old update code
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
b559c3e88a PutNode creates intermediary nodes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
d892661f3e Flatten multipart file transfers
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
cc4a69df20 log failure to check file size
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
f08c88c8bb feedback from CR
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
06c013bf67 cleanup and more testing
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
5dd32d6491 Add test for running gc during an add
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
c49dcffce2 Allow for gc during adds
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
be09205310 fixify tests
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
b2b415b57d fix some tests
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
d64f1494a3 enfastify mfs
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
1efbc79223 use mfs for adds
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00