Commit Graph

7954 Commits

Author SHA1 Message Date
Jeromy
a4f2d1d2f7 buffer error chan to prevent dead goro buildup
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-01 12:18:59 -07:00
Jakub Sztandera
c0393383fd test: CORS is enabled by default
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-01 19:05:43 +02:00
Jeromy Johnson
fd1eae87f7 Merge pull request #2782 from ipfs/feature/78-ruler
All commands: Align to under 78-ruler width
2016-06-01 09:45:55 -07:00
Jeromy Johnson
cd4bc54d90 Merge pull request #2780 from ipfs/feature/files-ruler
files: Adjust to fit ruler 78
2016-06-01 09:18:59 -07:00
Jeromy Johnson
711ed38d3f Merge pull request #2779 from ipfs/feature/stats-ruler
stats: Aligned text to 78 ruler, fixed grammar error
2016-06-01 09:18:22 -07:00
Jeromy Johnson
5f6961028c Merge pull request #2757 from ipfs/feature/Godeps-to-gx-2
Second wave of gx migrations
2016-06-01 09:17:26 -07:00
Jeromy Johnson
ed2d94b007 Merge pull request #2775 from ipfs/feature/head-no-body
Add check for HEAD response to be empty
2016-06-01 09:11:40 -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
Richard Littauer
575547042c Fixed apostrope in files stat options
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-06-01 15:42:23 +01:00
Richard Littauer
f2328af541 files: Adjust to fit ruler 78
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-06-01 15:38:00 +01:00
Richard Littauer
5593d776be stats: Aligned text to 78 ruler, fixed grammar error
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-06-01 15:32:41 +01:00
Jakub Sztandera
b21044fe42 Add CORS headers to Read Only Gateway Default config
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-01 12:21:51 +02:00
Jeromy Johnson
c814478fb9 Merge pull request #2773 from ipfs/feature/commands-flags
Fix commands --flags not showing flags via HTTP API
2016-05-31 16:32:20 -07:00
Jakub Sztandera
d7913c893a Migrate rs/cors to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 22:40:41 +02:00
Jakub Sztandera
a2a8062c87 Move go-context to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 22:40:35 +02:00
Jakub Sztandera
3644730938 Remove deps that are no longer in Godeps
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 22:36:22 +02:00
Jakub Sztandera
afb2afc7bc Move pb to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 22:36:22 +02:00
Jeromy Johnson
88da12ef56 Merge pull request #2707 from ipfs/local-mount-test
Make t0030 use iptb for consistent test passing.
2016-05-31 10:15:20 -07:00
Jakub Sztandera
7167e93be4 Add test to prevent future regressions
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 18:55:45 +02:00
Jeromy Johnson
82c0a3ba97 Merge pull request #2754 from ipfs/fix-dockerfile-currentcommit
docker: simplify git ref resolution, thanks @chriscool
2016-05-31 09:20:55 -07: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 Johnson
4974a02f27 Merge pull request #2772 from ipfs/deps/libp2p/3.2.3
update libp2p to v3.2.3
2016-05-31 08:44:43 -07:00
Jakub Sztandera
f99bb4f9d5 Add check for HEAD response to be empty
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 17:18:50 +02:00
Jakub Sztandera
a6d0fd287b Fix commands --flags not showing flags via HTTP API
It was caused by the cmds.Option struct being Interface not struct
The solution is to create struct and copy interesting data over.

Also removed the "ShowOptions" field from being sent via the HTTP API.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 16:55:37 +02:00
Jeromy Johnson
dcf750365d Merge pull request #2756 from ipfs/feature/HiddenFilesTests
Add test for directly adding hidden file
2016-05-30 22:15:11 -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
d527e581e2 Add test for directly adding hidden file
It got broken no so long ago so this is the regression
test for that.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 06:51:51 +02:00
Jeromy Johnson
a37261208c Merge pull request #2752 from ipfs/feature/debug-guide-name-conflict
Remove conflict of names in the debugging guide
2016-05-30 11:07:43 -07:00
Jeromy Johnson
6c3350369e Merge pull request #2516 from Stebalien/protobuf-content-type
Correctly set the content type for `object get --encoding=protobuf`
2016-05-28 23:28:45 -07:00
Jeromy Johnson
eaaefd51f4 Merge pull request #2761 from ipfs/feature/DiagOnOnlineOnly-2760
Require diag cmds command to run on daemon
2016-05-28 23:27:51 -07:00
Jeromy Johnson
da4a4ac0bc Merge pull request #2657 from ipfs/feature/add-defaults-to-add
Add Defaults to `ipfs add`
2016-05-28 23:27:12 -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
e76a53717b Prevent repetative initalisations in offline mode
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Jakub Sztandera
e293204666 Add t0040 test for offline daemon
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Jakub Sztandera
bdea10ff0e Make if condition in sharness lib silent
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Jakub Sztandera
7614f4f700 Create shanress test for offline mode node
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Jakub Sztandera
a77fa94fdf Make errors more reasonable in case of node in offline mode
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
0eed330ec2 docker: simplify git ref resolution, thanks @chriscool
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-24 00:27:02 +02:00
Jakub Sztandera
2229bc43d4 Remove conflict of names in the debugging guide
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-22 15:25:59 +02:00
Richard Littauer
03dd669430 Refactor progress and showProgressBar
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-21 14:27:10 +01:00
Richard Littauer
6f796dc272 Add Defaults to ipfs add
I didn't bother with Chunker, because I think that is a much wider PR. These should all be solid, though. Redid some of the logic to make it smoother.

Part of #2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-21 12:37:37 +01:00
Jeromy Johnson
518f7e06a1 Merge pull request #2744 from ipfs/feature/Options-Default-2702
Allow to specify where to put default options in option desciption
2016-05-20 20:28:39 -07:00
Jeromy Johnson
425e0f0f62 Merge pull request #2733 from ipfs/feature/hamming-to-gx
Bunch of migrations from Godeps to gx
2016-05-20 20:26:12 -07:00
Jeromy Johnson
675b5b2c3f Merge pull request #2734 from ipfs/fix-dockerfile-currentcommit
docker: fix ipfs version --commit
2016-05-20 15:07:43 -07:00
Jeromy Johnson
94ec051ffb Merge pull request #2741 from ipfs/feature/readme-language-touch-up
Touch up language a bit
2016-05-20 15:07:28 -07:00
Jeromy Johnson
44b31363b8 Merge pull request #2746 from ipfs/feature/one-verbose
Use one verbose flag description
2016-05-20 15:04:15 -07:00
Lars Gierth
7145d306b4 docker: add test for ipfs version --commit
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-20 02:40:51 +02:00