Michael Muré
4d4d7b8e08
Implement ipfs key rm
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-01 15:23:17 +09:00
Jeromy Johnson
f44ff30e89
Merge pull request #3880 from kpcyrd/docs/openbsd
...
Fix install_unsupported for openbsd, add docs
2017-04-30 21:57:55 -07:00
Jeromy Johnson
76cd541040
Merge pull request #3888 from ipfs/fix/add-mem-growth-hack
...
Flush cached directories every so often during an add
2017-04-30 21:56:49 -07:00
Jeromy Johnson
119ae72400
Merge pull request #3890 from ipfs/fix/sharding-issues
...
Fix sharding memory growth, and fix resolver for unixfs paths
2017-04-30 21:54:49 -07:00
Jeromy
a22cae1bce
fix coreapi unixfs resolving
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-30 21:20:48 -07:00
Jeromy
0597a04924
Fix sharding memory growth, and fix resolver for unixfs paths
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-30 13:48:28 -07:00
Jeromy Johnson
92f11776a4
Merge pull request #3889 from ipfs/fix/gateway-view-shard
...
Fix gateway handling of sharded directories
2017-04-29 14:25:13 -07:00
Jeromy
b71ef8354e
Fix gateway handling of sharded directories
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-29 13:01:22 -07:00
Jeromy
e2b2d0996f
Flush cached directories every so often during an add
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-29 12:27:09 -07:00
Jeromy Johnson
e5529cd57b
Merge pull request #3743 from ipfs/kevina/cidv1-add
...
Add support for using CidV1 in 'ipfs add'
2017-04-26 18:54:45 -07:00
kpcyrd
4f98f8fa3b
Link docs/openbsd.md in readme
...
License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
2017-04-27 01:06:32 +02:00
kpcyrd
720ced12b9
Fix install_unsupported for openbsd, add docs
...
License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
2017-04-27 01:02:42 +02:00
Jeromy Johnson
095230ee60
Merge pull request #3879 from kpcyrd/dist_get_fix
...
dist_get: handle 404 correctly
2017-04-26 15:49:16 -07:00
kpcyrd
49b90a0754
dist_get: handle 404 correctly
...
This prevents a 404 page getting piped into tar.
It's also adding the openbsd http(s) client `ftp`.
License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
2017-04-27 00:28:44 +02:00
Jeromy Johnson
213358b1e4
Merge pull request #3876 from dgrisham/master
...
bug fix: Bitswap now records 'BytesSent' in ledger
2017-04-26 09:15:57 -07:00
Jeromy Johnson
a34c5eac5b
Merge pull request #3877 from ipfs/feat/update-cbor
...
deps: bubble up cbor update
2017-04-25 21:58:35 -07:00
Kevin Atkinson
9350c513f1
Documentation
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:47:48 -04:00
Kevin Atkinson
8a47786c67
hamt: support using CIDv1 by allowing the prefix to be set
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:41:25 -04:00
Kevin Atkinson
076d0bd9b1
merkeldag: change SetPrefix param to a pointer and reset the prefix on nil
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:36:39 -04:00
Kevin Atkinson
518adec022
adder: add support for using CidV1
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:36:39 -04:00
Lars Gierth
126d249de5
deps: bubble up cbor update
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-04-26 05:21:01 +02:00
Kevin Atkinson
9b58fa773a
merkledag: provide better diagnostics when Prefix.Sum fails
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:01:05 -04:00
Kevin Atkinson
cf562403d2
adder: make chan size a constant
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:01:05 -04:00
Kevin Atkinson
b7eae36f90
adder: fix bug where errors from calls to NewAdder caused daemon to hang
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:01:05 -04:00
dgrisham
4789a622b2
tests: bitswap ledger tests modified
...
Updated the `TestBitswapLedger*` tests and added assertions to check concrete
values for ledgers (rather than just checking that two peers' ledgers match).
The names for these tests were also changed from the previous commit, according
to 's/BytesSent/Ledger/'.
License: MIT
Signed-off-by: David Grisham <dgrisham@mines.edu>
2017-04-25 20:16:37 -06:00
dgrisham
74e19eae62
tests + data dependency fix: BytesSent bug now completely fixed
...
Tests were added to ensure that the bug fix in commit 000fbd25 was correct.
The tests caught an error where a peer's ledger was not properly locked when
updating it in the `MessageSent()` function. The appropriate calls to lock the
ledger were made, and the tests successfully passed.
License: MIT
Signed-off-by: David Grisham <dgrisham@mines.edu>
2017-04-25 20:16:37 -06:00
dgrisham
0514504d09
bug fix: BytesSent in peers' ledgers now updates
...
When sending data to another user, the number of bytes sent to that user (saved
by the corresponding Bitswap ledger) was not updated (it was always 0). This
also meant that the debt ratio was also always 0.
The function that updates the `BytesSent` value in the ledger, `MessageSent()`,
was already implemented, however it was not called when the peer was sent data.
To fix this, a call to `MessageSent()` was made in the `taskWorker()` function,
which is where both the message in question and the Bitswap engine were
available to make the call. `MessageSent()` requires the peer's ID and
`BitSwapMessage` as its arguments, the latter of which had to be created by
making a new `BitSwapMessage`, then the block being sent was added to the new
message.
Note that, similar to the analagous call to `MessageReceived()`, records *all*
of the bytes sent to a particular user. At some point, both of these should be
updated to only record the numbers of *useful* bytes sent and received between
peers.
License: MIT
Signed-off-by: David Grisham <dgrisham@mines.edu>
2017-04-25 20:16:37 -06:00
Jeromy Johnson
e17a6dd803
Merge pull request #3873 from ipfs/deps/update/go-is-domain
...
deps: Update go-is-domain to contain new gTLD
2017-04-24 11:06:13 -07:00
Jakub Sztandera
fe969d18be
mics: cleanup imports in touched files
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-04-24 15:01:55 +02:00
Jakub Sztandera
d1e3fc5c87
deps: Update go-is-domain to contain new gTLD
...
It should resolve issues with newer gTLDs being not selected
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-04-24 15:01:55 +02:00
Jeromy Johnson
9dc5883ac8
Merge pull request #3833 from ipfs/deps/go-multihash
...
bubble up updates from go-multihash changes
2017-04-21 11:46:59 -07:00
Jeromy
b15470d548
bubble up updates from go-multihash changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
Jeromy Johnson
b3c20aadeb
Merge pull request #3869 from Recmo/fix/gateway/3868-etag
...
gateway: use CID as an ETag strong validator
2017-04-20 11:12:21 -07:00
Jakub Sztandera
584ab144f9
Merge branch 'master' into fix/gateway/3868-etag
2017-04-20 19:59:59 +02:00
Jeromy Johnson
87d07a9750
Merge pull request #3870 from ipfs/fix/directory-cache-control
...
gateway: fix erroneous Cache-Control: immutable on dir listings
2017-04-20 10:37:58 -07:00
Remco Bloemen
a90f4967e3
gateway: re-use resolved path
...
Instead of resolving a node, we resolve a path. This resolved path
is then re-used for Cat and Ls. This way, a resolve operation is
only done once.
The error messages for a failed resolve is changed from `ipfs cat …`
to `ipfs resolve …` to better reflect the API calls. The test is
updated accordingly.
License: MIT
Signed-off-by: Remco Bloemen <remco@2π.com>
2017-04-20 08:17:45 +01:00
Lars Gierth
2c4e6434ad
gateway: fix erroneous Cache-Control: immutable on dir listings
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-04-19 05:10:41 +02:00
Remco Bloemen
8db6f86de6
gateway: use CID as an ETag strong validator
...
* Always use the fully resolved CID from api.ResolveNode
as the ETag (also for IPNS).
* Format the result as a valid "Strong Validator"
(double quotes around the encoded CID).
Fixes #3868
License: MIT
Signed-off-by: Remco Bloemen <remco@2π.com>
2017-04-18 16:24:37 +01:00
Jeromy Johnson
db43aab00b
Merge pull request #3863 from timthelion/fix/commit-hook-link
...
Fix link to commit hook script in contribute.md
2017-04-16 23:58:34 -07:00
Jeromy Johnson
cbed629929
Merge pull request #3850 from ipfs/keks-restore-err-order
...
commands: restore original error order
2017-04-16 23:58:12 -07:00
Jeromy Johnson
307c54230b
Merge pull request #3864 from timthelion/refactor/use-ctx-var-consistently
...
Refactor: use ctx var consistently in daemon.go
2017-04-16 23:57:54 -07:00
Timothy Hobbs
739a62e35e
Refactor: use ctx var consistently in daemon.go
...
License: MIT
Signed-off-by: Timothy Hobbs <timothyhobbs@seznam.cz>
2017-04-15 18:08:27 +02:00
Timothy Hobbs
3947382037
Fix link to commit hook script in contribute.md
...
License: MIT
Signed-off-by: Timothy Hobbs <timothy@hobbs.cz>
2017-04-15 15:27:05 +02:00
keks
8ee7aa5cab
commands: restore and test original error order
...
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2017-04-05 11:57:54 +02:00
Jeromy Johnson
1c50ec0c8e
Merge pull request #3848 from ipfs/fix/make/install-no-deps
...
make: fix `make install` not installing dependencies
2017-03-31 08:53:06 -07:00
Jakub Sztandera
52a293ae2d
make: fix make install not installing dependencies
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-31 13:52:59 +02:00
Jeromy Johnson
aac4088c75
Merge pull request #3838 from ipfs/fix/make/install-hash
...
make: fix `make install` not using ldflags for git hash
2017-03-30 15:59:48 -07:00
Jeromy Johnson
c441ecbc9b
Merge pull request #3834 from ipfs/misc/prio-to-sever
...
Change issue template to use Severity instead of Priority
2017-03-30 11:05:35 -07:00
Jeromy Johnson
a87c2de537
Merge pull request #3841 from eminence/wanlist_typo
...
Fix wanlist typo in prometheus metric name
2017-03-30 11:04:37 -07:00
Jeromy Johnson
39f89c835c
Merge pull request #3840 from ipfs/fix/test/fuse
...
test: fix fuse tests, they were broken some time ago
2017-03-30 11:04:21 -07:00