Commit Graph

5300 Commits

Author SHA1 Message Date
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
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
Juan Benet
9e0bfa0628 Merge pull request #2236 from tomgg/trivial
trivial: fix `ipfs update` error message
2016-01-23 18:23:01 -08:00
Juan Benet
fd691c0a84 Merge pull request #2207 from ipfs/feature/squash-note
Added squash note to contribute.md
2016-01-23 18:22:12 -08:00
Richard Littauer
1b97a0fbc5 Added squash note to contribute.md
Because this requirement is not listed anywhere, but was mentioned in https://github.com/ipfs/go-ipfs/pull/2202#issuecomment-171876804.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-23 09:42:56 +01: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
f5b8c7c4ef Merge pull request #2180 from ipfs/feature/shutdown
Edited following @chriscool feedback
2016-01-23 12:10:59 +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
Marcin Rataj
15d717c165 CORS header tests for Gateway
- Implements
  https://github.com/ipfs/go-ipfs/pull/2232#issuecomment-173742385
- Separate test suite:
    - we don't want to pollute other gateway tests with CORS headers
    - (as of now) changing headers requires daemon restart anyway

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2016-01-22 23:41:33 +01:00
Juan Benet
a2b0287a5f Merge pull request #2141 from Kubuxu/patch-1
Add Server field in HTTP API response header
2016-01-21 23:31:25 -08:00
Juan Benet
ffe6c8576e Merge pull request #2021 from ipfs/fix/corsconfig
Fix SetAllowedOrigins
2016-01-21 23:03:23 -08: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
Juan Benet
9c1375f668 Merge pull request #2208 from ipfs/add-arguments-to-pin-ls
Add arguments to 'ipfs pin ls'
2016-01-21 12:39:27 -08: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
rht
f0801589b4 Add SetAllowedOrigins race test case
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-21 20:03:17 +07: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
rht
b9706815b3 Fix SetAllowedOrigins
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-21 10:55:38 +07: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
Jakub Sztandera
981b389a04 Add Server field in HTTP API
Resolves #625
Included in tests.

License: MIT
Signed-off-by: Jakub (Kubuxu) Sztandera <kubuxu@gmail.com>
2016-01-20 18:30:39 +01:00
Christian Couder
2dd4f40c10 test/bin: remove ipfs-pin-stat
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +01:00
Christian Couder
893ab6dc83 t0081: use 'ipfs pin ls <arg>' in test_pin_flagi()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +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
Christian Couder
b770c881a7 pin/pin: replace isPinned() with isPinnedWithType()
It is more generic to be able to pass a pin type argument.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +01:00
Juan Benet
89a6f01be0 Merge pull request #2213 from Luzifer/direct_build
Build ipfs cmd inside docker container
2016-01-17 15:42:16 -05:00
Knut Ahlers
fd5ddcb71b Build ipfs cmd inside docker container
License: MIT
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2016-01-17 21:27:17 +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
f89a915ca0 Merge pull request #2114 from ipfs/remove-jenkins
ci: remove dead jenkins code
2016-01-15 23:55:20 +01: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
Juan Benet
3d58888d66 Merge pull request #2197 from ipfs/feat/faster-resolve
do resolve operations concurrently
2016-01-15 12:52:48 -05:00
Juan Benet
2d9f6a8367 Merge pull request #2137 from Dignifiedquire/app
Fix  appveyor
2016-01-15 12:11:41 -05:00
Juan Benet
a8487eecf4 Merge pull request #2206 from ipfs/improve-test-str-contains
test-lib: improve on previous fix
2016-01-15 12:11:09 -05:00
Juan Benet
ab73ddbf3e Merge pull request #2195 from ipfs/feature/env-var-docs
Added env var info to init, dameon help
2016-01-15 11:48:50 -05:00
dignifiedquire
4f06a0d8bd Start fixing appveyor
License: MIT
Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
2016-01-15 17:27:21 +01:00
rht
b1e642a001 Add appveyor conf
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-15 17:27:21 +01:00
Christian Couder
14462092f8 test-lib: improve on previous fix
With GNU "grep" \b works but it's safer to use "egrep" which is also
POSIX rather than "grep" as not all the "grep"s out there might support \b.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-15 16:50:16 +01:00