1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 09:34:03 +08:00

8288 Commits

Author SHA1 Message Date
b1dbc1c487 fix hidden merge conflicts
Oh for a CI that runs on merge...

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-30 14:16:14 -08:00
4d8b3c9bce Merge pull request #4492 from ipfs/feat/coreapi/object
coreapi: Basic object API implementation
2018-01-30 13:14:06 -08:00
b3860881e8 Merge pull request #4610 from ipfs/gx/update-1m7019
mega update
2018-01-30 11:12:15 -08:00
3d4da02a2e expand the issue template and remove the severity field
* Direct users seeking support to the forums.
* Remove the severity field. It doesn't actually help (especially because we
  can't filter by it and, anyways, *we* end up deciding the severity).
* Put the section comments *inside* the sections. This has been annoying me from
  day 1.
* Put the welcome text *at the top* so users actually read it.
* Expand on what we want in a description.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 15:29:23 -08:00
2379aa0dd1 update comment to note that we're punting on this
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 15:06:08 -08:00
87c6914890 update go-ds-badger
fixes #4524

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 12:56:13 -08:00
f9d935b984 rename import of go-ipld-format from node/format to ipld
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 11:55:34 -08:00
f1aba9764f fix error in test case
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 11:32:34 -08:00
1054826ac4 switch base64 decoder based on OS
Less magical.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-28 14:13:16 -08:00
faae63fcf1 handle error from changed NewFloodSub method
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-28 14:11:05 -08:00
5acbecc26b update go-lib2p-loggables
fixes a UUID bug I introduced (UUIDs were always an error value)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 18:05:30 -08:00
d0998a926d make base64 decoding cross-platform
support both the -D and the -d flag.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
118ecb22cd remove new DHT record author check
We're going to just fix this a future commit. *This* change breaks publishing
IPNS records using alternative IPNS keys (because the author signature (peer ID)
differs from the record signature).

We're going to fix it by validating the IPNS signature and ditching the
author/signature fields.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
e049228e17 fix namesys pubsub sharness tests
We *expect* name resolution to fail as nothing has been published.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
d73bf86cf7 note issue for failing dht test cases
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
97cb6a0fbe fix dht tests
we no longer allow putting values with arbitrary keys.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
1159abd83e cmds: can't call SetError after SetOutput
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 18:02:59 -08:00
699b2c4bb8 make code-climate happier
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:43:03 -08:00
0d12a971ad namesys: remove unecessary peerID cast
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:20 -08:00
d154b4a990 merkledag: switch to new dag interface
Also:

* Update the blockstore/blockservice methods to match.
* Construct a new temporary offline dag instead of having a
  GetOfflineLinkService method.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
730754d9d2 dagmodifier: remove useless offset update
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
49569a6142 gx update badger ds (fix internal deps issue)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
fdb0046a17 Fix ipns validator key parsing
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-01-25 15:13:19 -08:00
f6d507b203 go fmt
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-01-25 15:13:19 -08:00
b90d7bd7b0 Remove unneccesary split in IpnsValidator
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-01-25 15:13:19 -08:00
281d5eafb4 Update ipns validator
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-01-25 15:13:18 -08:00
8899e98670 fix tests that use invalid peer IDs
Our code now better validates peer IDs.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 14:32:40 -08:00
0377e49590 coreapi: object API tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-25 18:26:57 +01:00
f6663bd05d coreapi: implement object.Put
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-25 18:25:05 +01:00
64e2327e22 coreapi: object docs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-25 18:25:05 +01:00
ae949e3a93 coreapi: Object api review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-25 18:25:05 +01:00
529f84726e coreapi: Basic object API implementation
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-25 18:25:05 +01:00
d82b5272b9 switch to fast base58 library
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-24 19:10:31 -08:00
fe8846fcd7 gx: mass update
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-24 15:58:44 -08:00
cfdcd9802f Merge pull request #4599 from ipfs/feat/doc-interfaces
Feat/doc interfaces
2018-01-24 14:02:39 -08:00
34fb6d05ff Merge pull request #4568 from ipfs/feat/cmds1.0
Update to cmds lib 1.0
2018-01-24 13:47:08 -08:00
a10d1f46dd fix stats bw --poll output
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-01-24 12:37:26 -08:00
db3abf3de5 Added sharding to experimental features
Not sure about "Road to being a real feature" and also would like to have
clarified when this is being used. My understanding is that it'll shard
automatically both when using the Files API and also when doing `ipfs add -r`
but I'm not 100% about this.

License: MIT
Signed-off-by: Victor Bjelkholm <victorbjelkholm@gmail.com>
2018-01-24 09:45:02 +01:00
a784589d2a don't set origins twice
...

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 23:36:51 -08:00
20a044e383 fix a race and a potential race in http options
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 23:36:47 -08:00
8892bbf2c6 fix add-and-cat test: we no longer set a default CIDv0
Instead, we choose it based on whether or not we can actually support CIDv0.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 22:18:16 -08:00
5127ef4970 remove rawblocks -> cidv1 constraint on add command
We probably should have this but it's a breaking change.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 21:42:58 -08:00
418bb65d9d fix doc comment on CommandsROOption
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 20:27:15 -08:00
31bb782e77 fix code-climate issues
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 20:04:45 -08:00
61b1d2f258 remove todo
I've looked into this and I agree, Online was always false (and should be in
this case, anyways).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 19:59:21 -08:00
4e796fd9a8 remove todo file
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 12:34:15 -08:00
4909c5a56d correctly handle add flag constraints
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 12:30:55 -08:00
fcef972cda restore call to getOutPath function
It strips the last `/` which was part of a partial fix for #3729. Unfortunately,
it's not a *real* fix but we might as well leave this as it is until we
completely fix it.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 12:13:37 -08:00
2f964d40e8 forbid bad compression levels
(instead of allowing -1 and treating it as "use default")

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 11:55:04 -08:00
888c5fc437 remove useless cast
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 11:54:56 -08:00