Commit Graph

8665 Commits

Author SHA1 Message Date
Whyrusleeping
08fb11fa89
Merge pull request #5100 from ipfs/gx/update-stuff
gx update go-log, sys, go-crypto
2018-06-11 10:55:00 +08:00
Steven Allen
85acad9a01 gx update go-log, sys, go-crypto
* go-log
* sys
* go-crypto

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
Whyrusleeping
65b8d70eca
Merge pull request #4693 from ipfs/kevina/fix-zero-raw-leaf
Create a raw node instead of a file node when there is no content.
2018-06-08 16:41:24 +08:00
Whyrusleeping
fc05376e94
Merge pull request #4817 from ipfs/feat/refactor
transport refactor update
2018-06-06 16:54:55 +08:00
Steven Allen
39f927aa04 update gx imports
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-05 23:55:08 -07:00
Steven Allen
b84a71de8c transport refactor update
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-05 23:51:06 -07:00
Whyrusleeping
e094a84fe0
Merge pull request #5075 from ipfs/gx/update-multiplexers
update multiplexers
2018-06-06 13:02:52 +08:00
Whyrusleeping
f2645c1eb8
Merge pull request #5079 from ipfs/feat/ipns-pubkey-record
embed public keys inside ipns records, use for validation
2018-06-06 01:13:07 +08:00
Jeromy
cc37903b92 drop review TODO comment
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-06-05 08:37:21 -07:00
Jeromy
c66c5c64bb add tests for pubkey mismatch and bad pubkey
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-06-05 07:51:46 -07:00
Jeromy
af68a38033 test to ensure embedding the key in the record works
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-06-05 04:52:17 -07:00
Jeromy
bc129ac5c7 embed public keys inside ipns records, use for validation
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-06-05 02:01:18 -07:00
Steven Allen
c9c9986c9e update multiplexers
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-04 10:05:20 -07:00
Whyrusleeping
f7a980926b
Merge pull request #4977 from ipfs/fix/4973-1
only resolve dnslinks once in the gateway
2018-06-03 17:20:45 +08:00
Whyrusleeping
d6086fb4bd
Merge pull request #5068 from ipfs/fix/duplicate-sys
fix the duplicate (multiple versions) sys import
2018-06-03 15:06:13 +08:00
Steven Allen
3a373ee349 fix the duplicate (multiple versions) sys import
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-02 23:27:50 -07:00
Whyrusleeping
c3e011b0c2
Merge pull request #5007 from ipfs/feat/routing-refactor
routing fixes/refactor
2018-06-03 13:30:49 +08:00
Steven Allen
e9928f7691 add test for 4973
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-02 20:43:00 -07:00
Steven Allen
31bb974bb1 only resolve dnslinks once in the gateway
If the domain has a DNS-Link, we want to use it even if it points to, e.g., an
IPNS address that doesn't resolve.

fixes #4973

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-02 20:43:00 -07:00
Steven Allen
807f28eeae log on network error when resolving the last published IPNS record
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-02 00:38:00 -07:00
Steven Allen
8293e20aae fix the repo verify test
We've added a new file to the flatfs datastore.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-01 23:39:32 -07:00
Steven Allen
c2c49c88c6 bump repo version and update migration dist path
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-01 11:21:41 -07:00
Steven Allen
916572f38d fix keystore tests for peer ID inlining patch
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
b4ed464ba5 remove extra newline from expected command output
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
a030455f3d fix key_test for peer ID inlining patch
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
1089eda84b cleanup namesys a bit
Remove ~50 lines of code, some casting, and a superfluous map (when go starts
looking like python, something's wrong).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
60708ea60e store IPNS records *outside* of the DHT
fixes #4749

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
55cb76d4f3 consolidate dns resolver constructors
The current convention is to return the concrete type instead of an interface so
let's go with that and have one constructor.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
56232ba4bc simplify routing resolution a bit
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
5dc0b7326e extract IPNS over pubsub as a ValueStore
And:

* Update for DHT changes.
* Switch to the new record validation system.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:21 -07:00
Steven Allen
1e9e2f453c update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
Kevin Atkinson
6ab1e71473 Avoid changing hash for empty non-raw leaves.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-05-31 04:27:34 -04:00
Kevin Atkinson
485a5e59e9 Create a raw node instead of a file node when there is no content.
This fixes things so when raw-leaves are enabled a zero size file creates
a zero size raw leaf.  When raw-leaves are not enabled the hash created
changes from QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH to
Qmdsf68UUYTSSx3i4GtDJfxzpAEZt7Mp23m3qa36LYMSiW, since the type field
changed from TFile to TRaw.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-05-31 04:05:30 -04:00
Whyrusleeping
e235d02188
Merge pull request #5036 from eginez/warningOnSync
Warning when NoSync setting is set as it does not turn syncing off…
2018-05-31 13:36:58 +08:00
Whyrusleeping
9bb6174847
Merge pull request #5033 from djdv/fix/unsupported-build
build: remove fuse platform constraints
2018-05-30 10:42:42 +08:00
Dominic Della Valle
56eb2b00d5 remove nofuse build constraints
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-05-29 18:18:12 -04:00
Esteban
135183aac0 Warning when NoSync setting is set as it is does not turn syncing off #3799
License: MIT
Signed-off-by: Esteban Ginez <eginez@gmail.com>
2018-05-28 12:04:12 -07:00
Whyrusleeping
611d572ef2
Merge pull request #5022 from Bren2010/review/cmd/ipfs
Remove leftover bits of code.
2018-05-28 06:14:44 +01:00
Whyrusleeping
2ba717994e
Merge pull request #4967 from PlayerWithoutName/fix/sharness-multinode-tree
fix: Reduce tree in multinode test
2018-05-24 17:35:31 +02:00
Whyrusleeping
8c7c2ceb43
Merge pull request #5018 from forstmeier/fix/refs-goroutine-leak
Fix goroutine leaks in refs.go
2018-05-24 13:13:44 +02:00
Whyrusleeping
06f11bd81a
Merge pull request #5016 from alecbrick/fix/dag-goroutine-leak
Fix goroutine leak in dag put
2018-05-24 13:12:37 +02:00
Whyrusleeping
d99d3d992c
Merge pull request #5031 from daftaupe/dragonfly
Fix build on DragonFlyBSD
2018-05-24 13:11:08 +02:00
Pierre-Alain TORET
1789888d47 Fix build on DragonFlyBSD
License: MIT
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-05-21 17:23:42 +02:00
Steven Allen
139d624092
Merge pull request #5009 from ipfs/misc/ci/go-1.10
ci: Use go 1.10 on jenkins
2018-05-17 19:51:51 +00:00
Brendan McMillion
80370f068b Remove leftover bits of code.
License: MIT
Signed-off-by: Brendan McMillion <brendan@cloudflare.com>
2018-05-16 21:48:08 -07:00
Łukasz Magiera
22a25ef15c switch minimum go version to go 1.10
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
Signed-off-by: Victor Bjelkholm <git@victor.earth>
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-16 12:43:20 +01:00
forstmeier
20b06c297c Fix goroutine leaks in refs.go
Description:
This addresses one of the listed problem files in #4414. I chose to
keep the return statement outside of the select statement on line
132 since that behavior was already there following the write to
out.

License: MIT
Signed-off-by: John Forstmeier <john.forstmeier@gmail.com>
2018-05-14 15:50:51 -04:00
Whyrusleeping
b3faaad131
Merge pull request #4952 from ipfs/fix/4951
report error source when failing to construct private network
2018-05-12 13:18:20 +01:00
Whyrusleeping
da18ca5e29
Merge pull request #4968 from jamiew/patch-1
Fix link to systemd init scripts in the README
2018-05-12 13:08:05 +01:00
Whyrusleeping
dbfc092519
Merge pull request #4949 from frogg/patch-2
Fixes the link to create a systemd for the `ipfs daemon`.
2018-05-12 13:06:56 +01:00