1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 16:07:42 +08:00

6217 Commits

Author SHA1 Message Date
94e35db9b9 Merge pull request #2961 from ipfs/kevina/AllKeysChan-buf-size
Increase channel buffer size in blockstore.AllKeysChan().
2016-07-10 13:21:08 -07:00
9e6cc1f112 Increase channel buffer size in blockstore.AllKeysChan().
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-07-10 15:41:58 -04:00
fd971ed934 Merge pull request #2956 from ipfs/feature/unrestricted-api
Resurrect --unrestricted-api
2016-07-09 22:15:27 -07:00
926ab83e8e Merge pull request #2955 from ipfs/feature/docker-daemon-opts
docker: allow passing options to daemon
2016-07-09 10:32:27 -07:00
421add3d18 daemon: reintroduce --unrestricted-api
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-09 00:07:36 +02:00
816ab825b1 test: actually use downloaded gx binary, clean up obsolete variable
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-08 21:36:38 +02:00
108bc9f5bf docker: allow passing options to daemon
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-08 03:23:35 +02:00
a8d9002990 Merge pull request #2951 from ipfs/fix/repo-verify-live
make repo verify work with running daemon
2016-07-06 23:12:07 -07:00
a98dff6275 make repo verify work with running daemon
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-06 22:12:31 -07:00
9d2e1e997a Merge pull request #2949 from ipfs/feature/api-gateway-webui
gateway: on api, restrict to webui
2016-07-06 19:10:53 -07:00
5d1b28e233 Merge pull request #2948 from ipfs/feat/get-progress
fix progress bar in ipfs get
2016-07-06 16:47:56 -07:00
39bef0d5b0 gateway: on api, restrict to webui
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-07 01:44:52 +02:00
43cd49dcb4 fix progress bar in ipfs get
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-06 15:42:08 -07:00
2df8dc5a88 Merge pull request #2924 from ipfs/feat/repo-verify
add repo verify command
2016-07-06 11:39:13 -07:00
a692dbaee9 Merge pull request #2941 from ipfs/feat/backoff-clear-connect
Feat/backoff clear connect
2016-07-05 15:19:31 -07:00
1f3b3c5bc4 Merge pull request #2943 from ipfs/fix/dht-key-handling
fix handling of dht records and local fixups
2016-07-05 15:11:15 -07:00
d13befe9ef add a test for repo verify, and make it return non-zero code on failure
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 14:58:48 -07:00
c53154cd2b add repo verify command
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 14:58:48 -07:00
8c2496c9d9 add a test for swarm connect not triggering a backoff
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 14:44:19 -07:00
b56d481080 better checking of dht keys
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 13:40:08 -07:00
3e54fb47a9 fix handling of dht records and local fixups
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 12:34:03 -07:00
7968399712 clear dial backoff on explicit dial
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-04 12:27:41 -07:00
979edf3a96 update go-libp2p
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-04 12:27:26 -07:00
ad5730d14a Merge pull request #2885 from ipfs/feature/bloom-cache
Add ARC caching and bloom filter for blockstorage
2016-07-04 11:56:59 -07:00
f13506c11a blocks/blockstore: style cleanup of bloomcache
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-04 20:34:46 +02:00
e92e6662a7 test: fix races in bloomcache tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-04 20:34:07 +02:00
98f877af81 blocks/blockstorage: use automic for bloom.active
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-04 20:12:13 +02:00
5d83d89f36 blocks/blockstore: Add bloom filter
Replace write_cache with bloom_cache
Improve ARC caching
Fix small issue in case of AllKeysChan fails
deps: Update go-datastore
blocks/blockstore: Invalidate ARC cache before deletin block
deps: Update go-datastore

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-03 22:16:28 +02:00
50a7df6c8e Merge pull request #2937 from ipfs/feature/docker-dev-suffix
docker: take -dev version suffix into account
v0.4.3-dev
2016-07-02 19:42:02 -07:00
afda38f201 test: really no need for relative path to gx deps
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-03 01:45:06 +02:00
5bda53e55b docker: take version suffixes like -dev into account
The double and single quotes got too damn complicated, so heredoc we go!

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-03 01:45:02 +02:00
4fa85cc4d4 Merge pull request #2933 from ipfs/deps/update-datastore/0.1.2
update go-datastore changes 0.1.2
2016-07-01 23:14:24 -07:00
0aafa6db8c update go-datastore changes 0.1.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-01 22:40:57 -07:00
62de65c1bc Merge pull request #2908 from ipfs/feature/t0080-offline
test: Run t0080-repo test offline
2016-07-01 21:34:32 -07:00
e446b3d394 test: Run t0080-repo test offline
Resolves #2906

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 20:29:48 -07:00
cfcc0dbfb1 Merge pull request #2903 from ipfs/feat/dskey-encoding
encode keys to datastore with base32 standard encoding
2016-07-01 16:48:41 -07:00
0782c4dc03 encode keys to datastore with base32 standard encoding
Fixes #2601

Also bump version to 0.4.3-dev

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-01 14:15:06 -07:00
f3d5fe6c65 Merge pull request #2926 from ipfs/feature/fix-test-parse-symlink-#2925
Resolve symlinks of testfiles
2016-07-01 09:44:01 -07:00
c4e8210584 Merge pull request #2929 from ipfs/feature/docker-go-update
docker: remove go version constraint
2016-07-01 08:46:39 -07:00
f0aa0e20e2 Merge pull request #2928 from ipfs/feature/fix-error-providers
routing: Use correct error variable
2016-07-01 08:45:49 -07:00
8cdf819af9 docker: remove go version constraint
There's only ever one version of a given package
per Alpine release, so GO_VERSION is superfluous
and only breaks the build if the go packages is updated.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-01 16:33:16 +02:00
7fe6995a1c routing: Use correct error variable
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 14:51:19 +02:00
b68e37f4c3 Resolve symlinks of testfiles
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 09:48:06 +02:00
fe7b01f14e Resolve symlink if it is directly referenced in cli (#2897)
* Resolve symlink if it is directly referenced in cli

test: Directly referenced symlink should be resolved

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* sharness: add test for symlink in the middle

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 12:06:50 -07:00
d72c9fcd3e Add flag to ls to not resolve type of subnodes (#2824)
* Disable resolving of the typ by default in ls

Add option to resolve type using ls but
set it to false by default.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Make ipfs ls show type if it is avaliable locally

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Make resolve-type default to true

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 12:06:01 -07:00
7fa88fd941 Merge pull request #2785 from ipfs/feature/auto-synopsis
Add synopsis autogenerator
2016-06-28 12:05:15 -07:00
1c0f18dfed Add default true options handling
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
f144a84247 Add default to recursive option
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
b17506a181 Make primary option the longer one
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
d9d0446d45 Remove new line after synopsis section
As synopsis is only one line long it is overkill

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00