Commit Graph

11097 Commits

Author SHA1 Message Date
Steven Allen
ac26948d29
Merge pull request #5906 from ipfs/feat/ls-filesize
ls: Report real file size
2019-01-17 18:10:56 +00:00
Łukasz Magiera
3b5c0712f9 ls: dummy value in place of size for dirs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-17 18:04:16 +00:00
Łukasz Magiera
39c2e0126d ls: skip size for directories
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-17 18:04:16 +00:00
Łukasz Magiera
e63c06c89d ls: report real size by default
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-17 18:04:16 +00:00
Łukasz Magiera
6bb02a59c0 ls: option to report real file size
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-17 18:04:16 +00:00
Steven Allen
c8a2078ee0
Merge pull request #5927 from bjzhang/doc/filestore/improve-usage
Improve the Filestore document
2019-01-17 10:09:02 +00:00
Diogo Silva
e935daa382 chore: update to Web UI v2.3.3
License: MIT
Signed-off-by: Diogo Silva <fsdiogo@gmail.com>
2019-01-16 13:14:32 +00:00
Bamvor Zhang
c10f043f3b Improve the Filestore document
Fix for the #5746. Switch to Filestore need to restart the ipfs node.

License: MIT
Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
2019-01-16 19:41:52 +08:00
nmalhotra
269550bcba Added link to doc in README.md
- Fixed typo.
- Moved concept document link to top of page.
- Added link to this doc to README.md

License: MIT
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2019-01-15 21:08:37 -05:00
Łukasz Magiera
b819e3e94b coreapi: adjust some tests for go-ipfs-http-api
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-15 19:13:01 +01:00
nmalhotra
7dbdb0e813 Document cleanup and additional references
- Cleaned up the document.
- Added additional references to documents.

License: MIT
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2019-01-14 21:53:26 -05:00
Max Chechel
71a177cf4b goroutines are back
License: MIT
Signed-off-by: Max Chechel <hexdigest@gmail.com>
2019-01-14 21:56:39 +03:00
Daniel Aleksandersen
745f82e0f9 Clarify that chunker sizes are in bytes
Clarify that the Rabin fingerprint chunker is in bytes, and recommend
using larger chunk sizes than shown in the provided examples.

People are getting confused over chunker sizes and incorrectly assuming
they're in kiB and not bytes.

License: MIT
Signed-off-by: Daniel Aleksandersen <code@daniel.priv.no>
2019-01-13 06:13:54 +01:00
Łukasz Magiera
eb23c90031 coreapi: replace coreiface.DagAPI with ipld.DAGService
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-12 16:05:02 +01:00
Steven Allen
b36037a3a5
Merge pull request #5919 from ipfs/gx/cmds-and-cors
[CORS] Bubble go-ipfs-cmds 2.0.10 - Updates CORS library
2019-01-11 15:36:58 -08:00
Hector Sanjuan
33e72b32f7 sharness: fix "api not running" error message
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-01-11 18:05:19 +01:00
nmalhotra
d304a2faec Fixed the indentation of the sections
- Moved AddAllAndPin as a subsection of UnixfsAPI.Add()

License: MIT
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2019-01-10 22:27:36 -05:00
nmalhotra
9e0872338f Updated the code reference links
- go-mfs linked to v0.1.18
- go-unifx linked to v1.1.16

However,

- go-merkledag has been linked to v1.1.13 which is not the right
version. v1.1.15 has not been released and cannot be referenced

License: MIT
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2019-01-10 22:20:49 -05:00
nmalhotra
e229bc27c0 Cleanup and resolve docs
- Cleaned up some of the language.
- Added versioned links to the code.
- Provided examples

License: MIT
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2019-01-10 22:20:42 -05:00
nmalhotra
75d5e406a8 docs/code-flow : Add code flow documentation for add cmd.
License: MIT
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2019-01-10 22:19:50 -05:00
Max Chechel
498474f358 fixed TestIpfsStressRead on Windows
License: MIT
Signed-off-by: Max Chechel <mc@gojuno.com>
2019-01-11 01:42:25 +03:00
Max Chechel
c0ab433186 Fixed and cleaned up TestIpfsStressRead
License: MIT
Signed-off-by: Max Chechel <hexdigest@gmail.com>
2019-01-11 00:52:01 +03:00
Hector Sanjuan
ab270fbaa7 Bubble go-ipfs-cmds 2.0.10
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-01-10 21:31:11 +01:00
Steven Allen
1e9a638af0
Merge pull request #5907 from ipfs/gx/update
gx: update deps
2019-01-09 17:37:10 -08:00
Steven Allen
c8c348b409
Merge pull request #5904 from ipfs/feat/quiet-init
reduce verbosity of daemon start
2019-01-09 15:26:42 -08:00
Steven Allen
1b5c71f5a0
Merge pull request #5899 from fsdiogo/chore/update-to-webui-v2.3.2
feat: update to Web UI v2.3.2
2019-01-08 19:53:17 -08:00
Steven Allen
489786a53f files: update for MFS changes
1. Update to use the new `Open` function.
2. Use `Flush()` instead of `Sync()` as sync was removed as useless (this should
have been calling `Flush()` all along).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-08 19:46:37 -08:00
Steven Allen
08cc5da55f gx: update deps
Importantly:

* fixes a bunch of MFS bugs
* pulls in some bitswap improvements

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-08 19:19:34 -08:00
Steven Allen
e53dab860f
Merge pull request #5900 from ipfs/fix/partial-api-tests
CoreAPI: Don't panic when testing incomplete implementions
2019-01-08 13:55:26 -08:00
Łukasz Magiera
81a2ffc407 CoreAPI: Don't panic when testing incomplete implementions
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-08 13:38:23 -08:00
Steven Allen
42a15ba7e4
Merge pull request #5893 from ipfs/fix/gateway-headers
gateway: fix CORs headers
2019-01-08 13:25:08 -08:00
Steven Allen
5f04831190 daemon: print a newline before errors
The `ipfs init` command prints out a ton of information which can make it hard
to spot errors. Print a newline before these errors

We could do this for every command but there are some tricky edge cases:

1. This would look funny if there's no other output.
2. It might mess break tools parsing the output (not expecting empty lines).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-08 13:20:12 -08:00
Steven Allen
7a9b1716f9 daemon: don't print anything when raising file descriptor limit
This isn't an error and 99.999% of users won't care.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-07 19:30:29 -08:00
Steven Allen
0a1a223fd5 daemon: don't give C-c feedback until we actually start the daemon.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-07 19:23:41 -08:00
Steven Allen
a142aecf9b
Merge pull request #5649 from ipfs/feat/gateway-nofetch
Local Gateway option
2019-01-07 10:06:08 -08:00
Diogo Silva
94de5d551f feat: update to Web UI v2.3.2
License: MIT
Signed-off-by: Diogo Silva <fsdiogo@gmail.com>
2019-01-07 14:24:23 +00:00
Łukasz Magiera
818e0e40c7 gateway: cleanup err switch
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-05 22:29:46 +01:00
Steven Allen
f98652c6b9
Merge pull request #5830 from jackloughran/feat/gateway/always-show-hash
Show hash on gateway
2019-01-05 11:33:25 -08:00
Steven Allen
65fc4b45e9 gateway index: fix check for displaying CID.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-05 11:16:17 -08:00
Jack Loughran
9ef1486307 show hash if not in original url
Change the template handler to pass the hash to the directory listing template if the original url doesn't contain the hash. The directory listing template will display the hash in grey under the original url if the hash is passed to it.

License: MIT
Signed-off-by: Jack Loughran <j@ckloughran.com>
2019-01-05 11:16:17 -08:00
Steven Allen
5fce2df907
Merge pull request #5894 from chenminjian/docs/ulimit
fix: ulimit docs mistake
2019-01-05 10:40:22 -08:00
chenminjian
e7eded1ef6 fix: ulimit docs mistake
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-05 21:27:17 +08:00
Steven Allen
b15cf0198f gateway: fix cors headers tests
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-04 13:18:30 -08:00
Steven Allen
4bbf4cc9a0 gateway, api: canonicalize headers from user config
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-04 13:18:16 -08:00
Steven Allen
82629c00ec gateway: fix CORs headers
fixes #5138 -- always add user-agent to access-control-allow-headers.
fixes #5888 -- same with content-type.
fixes #5892 -- extend user-provided headers instead of overriding them.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-04 13:18:03 -08:00
Steven Allen
543be29796 api: let the CORs library handle CORs headers
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-04 11:18:24 -08:00
Łukasz Magiera
c9168ecf05 gateway: use Api.FetchBlocks for NoFetch
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 15:56:08 +01:00
Łukasz Magiera
fea7b5da79 gateway: NoFetch ipns test
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 15:50:48 +01:00
Łukasz Magiera
2c28ef19ae coreapi: FetchBlocks option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 15:40:15 +01:00
Łukasz Magiera
7efffc3579 Make Gateway.NoFetch apply to API too
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 03:06:23 +01:00