Commit Graph

8364 Commits

Author SHA1 Message Date
Steven Allen
f8a7683f25 don't warn when trying to send wantlist to disconnected peers
fixes #4439

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-12 23:22:19 +01:00
Whyrusleeping
ba3cd5b38d
Merge pull request #4790 from ipfs/fix/tar-eof
tar: fix Go 1.10 breakage
2018-03-12 10:28:18 -07:00
Whyrusleeping
5622cc5bb3
Merge pull request #4772 from ipfs/misc/codeowners
misc: create CODEOWNERS file
2018-03-08 17:47:16 -08:00
Jakub Sztandera
1b96ad7327 ci: upgrade Jenkins to Go 1.10
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-08 04:17:47 +01:00
Jakub Sztandera
16dad7515b tar: fix Go 1.10 breakage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-08 04:17:47 +01:00
Whyrusleeping
b002acc689
Merge pull request #4759 from ipfs/release-0.4.14
prepare for 0.4.14 release
2018-03-06 16:30:04 -08:00
Jeromy
12c22e38a2 add initial changelog for 0.4.14
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-06 15:54:27 -08:00
Jakub Sztandera
8785696fbd misc: create CODEOWNERS file
This will cause me being tagged for review of every PR, unless we have
subsystem owners, then they will be tagged for review.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-06 00:49:53 +01:00
Whyrusleeping
c00482ab19
Merge pull request #4727 from ipfs/fix/4726
fix race in TestWantlistClearsOnCancel
2018-03-05 12:28:10 -08:00
Whyrusleeping
13887ff2c7
Merge pull request #4751 from ipfs/feat/safe-cid
Disallow usage of unsafe hashes for reading and adding content
2018-03-05 12:25:26 -08:00
Whyrusleeping
a54402655b
Merge pull request #4770 from ipfs/fix/pubsub-stdin
fix pubsub pub reading stdin args
2018-03-05 12:23:40 -08:00
Jeromy
dd40a5a2d5 fix pubsub pub reading stdin args
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-05 11:45:11 -08:00
Jakub Sztandera
45272790a2 don't reprovide inssecure hashes
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-05 19:38:25 +01:00
Jakub Sztandera
60018d3ee8 cid_secuirty: add test for gc
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-05 19:38:25 +01:00
Whyrusleeping
bea666f3cd
Merge pull request #4725 from MichaelMure/filesstatlocal
make files stat --with-local return immediately when no data is present
2018-03-05 09:39:34 -08:00
Jakub Sztandera
51bf1b6cd4 Significanly improve GC UX with verifcid
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:43:42 +01:00
Jakub Sztandera
a9417a144c fix ipfs pin verify --verbose not working
Resolves https://github.com/ipfs/go-ipfs/issues/4761

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
f1125f0066 add hash security note
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
9634991112 Add sharness tests for CID security
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
bcedd38c9a //hash -> // hash
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
578cb240d4 Move the temporary packages to thirdparty
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
c30422d790 Enforce Cid security rules for getting and adding blocks
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
903ecd1a7b Include validatecid from new cid package
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Whyrusleeping
de92ff6961
Merge pull request #4752 from ipfs/misc/PNettypo
Fix "PNetFingerpint" field typo of core.IpfsNode
2018-03-03 15:10:46 -08:00
RideWindX
fbc495db4c Fix "PNetFingerpint" field typo of core.IpfsNode
License: MIT
Signed-off-by: Jason Chang <ridewindx@163.com>
2018-03-01 22:17:10 +01:00
Whyrusleeping
199a52d777
Merge pull request #4738 from ipfs/fix/rm-println
remove a spurious debug message
2018-02-26 11:46:25 -08:00
Jeromy
2e77f73d53 remove a spurious debug message
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-26 10:27:06 -08:00
Steven Allen
e3d9e05ec2 fix race in TestWantlistClearsOnCancel
fixes #4726

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-21 12:35:56 -08:00
Michael Muré
e2bad6ec5e
make files stat --with-local return immediately when no data is present
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-21 18:41:40 +01:00
Whyrusleeping
95f308da20
Merge pull request #4724 from ipfs/gx/update-cmds
update go-ipfs-cmds
2018-02-20 20:47:22 -08:00
Steven Allen
ca3b8224f6 remove some dead code
(it was causing go vet to complain)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 17:39:16 -08:00
Steven Allen
45756b6d64 fix a bunch of go vet errors
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 17:37:35 -08:00
Steven Allen
868855f625 fix legacy commands test for cmds lib changes
cmd.Call no longer returns an error

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 17:24:16 -08:00
Steven Allen
2c68c15407 update go-ipfs-cmds
* May fix #4670
* Fixes #4683

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 16:43:00 -08:00
Whyrusleeping
2ee4543c3e
Merge pull request #4713 from ipfs/feat/split-path-resolver
Feat: Separate "path" from "path/resolver"
2018-02-20 09:55:36 -08:00
Whyrusleeping
986d569ac8
Merge pull request #4714 from ipfs/fix/revert-cat-session
dont use bitswap session for cat just yet
2018-02-15 23:42:30 -08:00
Jeromy
d01bb650b3 dont use bitswap session for cat just yet
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-15 16:44:18 -08:00
Whyrusleeping
53af4530ed
Merge pull request #4711 from ipfs/extract/pq
Extract thirdparty/pq to go-ipfs-pq
2018-02-15 15:33:15 -08:00
Hector Sanjuan
93d1a695d4 Feat: Separate "path" from "path/resolver"
Currently the "path" module does two very different things:

* Defines how ipfs paths look like and provides tools to parse/split etc.
* Provides a resolver to resolve paths.

This moves the resolver stuff to `path/resolver` and leaves the
path utilities in `path`.

The result is that now the IPFS `path` package just defines what a path
looks like and becomes a module that can be exported/re-used without problems.
Currently there are circular dependency cycles (resolve_test -> merkledag/utils,
merkledag->path), which the prevent the export of merkledag itself.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-16 00:20:30 +01:00
Whyrusleeping
6956dad579
Merge pull request #4712 from ipfs/extract/godep-pubsub
Point briantigerchow/pubsub GoDep'ed module to the gx'ed version
2018-02-15 15:17:26 -08:00
Hector Sanjuan
9b6a63e768 Extract thirdparty/pq to go-ipfs-pq
This moves the `thirdparty/pq` package to https://github.com/ipfs/go-ipfs-pq .

History has been retained. The new package has been gx'ed and published.
Imports have been updated accordingly.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 23:08:08 +01:00
Hector Sanjuan
6950d0688e Point briantigerchow/pubsub GoDep'ed module to the gx'ed version
This removes briantigerchow/pubsub from Godeps and uses our
gx'ed version instead.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 23:05:49 +01:00
Whyrusleeping
476ad38ecc
Merge pull request #4700 from matrushka/ignore_invalid_key_files
Ignore invalid key files in keystore directory.
2018-02-15 14:03:10 -08:00
Whyrusleeping
b9b1495a7a
Merge pull request #4709 from ipfs/feat/session-exchanges
Add exchange.SessionExchange interface for exchanges that support sessions
2018-02-15 13:58:10 -08:00
Whyrusleeping
a5ec8e44cd
Merge pull request #4707 from ipfs/extract/blockstore
Extract blocks/blockstore package to go-ipfs-blockstore
2018-02-15 13:57:09 -08:00
Hector Sanjuan
5df160e9e5 Add exchange.SessionExchange interface for exchanges that support sessions.
Blockservice has an explicit dependency on bitswap so it can
call NewSession. It should rely on the exchange interfaces though, not
on specific implementations.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 21:11:21 +01:00
Hector Sanjuan
758e00bc4c Extract blocks/blockstore package to go-ipfs-blockstore
This extracts the blocks/blockstore package and renames the
blocks/blockstore/util package to /blocks/blockstoreutil
(because util depends on Pin and I don't plan to extract
Pin and its depedencies).

The history of blocks/blockstore has been preserved. It has
been gx'ed and imported. Imports have been rewritten accordingly
and re-ordered.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 18:03:41 +01:00
matrushka
e338cdf5be Handling requested changes.
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
matrushka
40aeea6abd Added logging for ignored keyfiles in keystore.List and minor improvements.
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
matrushka
23e1179d34 Removing the tmp directory after the TestInvalidKeyFiles test.
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00