1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 17:36:38 +08:00

6154 Commits

Author SHA1 Message Date
68c87ed1b1 Merge pull request #2904 from ipfs/feature/repo-runtime-check
Add option for datastore read rehashing
2016-06-27 16:09:24 -07:00
dead777272 Add sharness test for read blockstore rehashing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-27 11:28:44 +02:00
f18267535f Merge pull request #2895 from ipfs/chriscool-patch-1
Update link to issue guide
2016-06-25 22:41:49 -07:00
cb85b0c2c5 Merge pull request #2909 from yuvallanger/fix-documentation-typo
Fix typo
2016-06-25 09:45:49 -07:00
5089dafc9c Fix typo
License: MIT
Signed-off-by: Yuval Langer <yuval.langer@gmail.com>
2016-06-25 19:12:17 +03:00
434503d427 ISSUE_TEMPLATE: update link to issue guide
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-06-25 09:44:22 +02:00
2a4bbb712f Merge pull request #2905 from ipfs/fix/log-message
fix argument placement on log message
2016-06-24 23:25:43 -07:00
a68f9d090a fix argument placement on log message
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-24 16:54:33 -07:00
174ab12c67 config: Add explicit default value for HashOnRead
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:38:07 +02:00
0f3dc1e84a core: Add config option for datastore read rehashing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:38:01 +02:00
f2686965ac tests: Add test to RuntimeHashing option of blockstore
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:21:01 +02:00
989e91b1c4 blockstore: add fetch rehashing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:20:58 +02:00
ce8c8a7a71 Update go-log in whole dependency tree (#2898)
* Update golog in go-ipfs

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

* Update go-libp2p for go-log

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

* Update go-libp2p-secio for go-log

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

* Update go-libp2p-crypto for go-log

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

* Update go-libp2p-peer for go-log

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

* Import peersore, it wasn't imported

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

* Update peerstore

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

* Update peer

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

* Update secio

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

* Update go-libp2p

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 09:38:07 -07:00
cefe872488 Merge pull request #2901 from ipfs/feature/docker-update
docker: update to go 1.6.2 and alpine 3.4
2016-06-24 09:04:03 -07:00
c85eec28d5 Merge pull request #2896 from ipfs/feature/no-travis-notification
Disable Travis Email notifications
2016-06-24 09:03:35 -07:00
a04570df73 docker: update to go 1.6.2 and alpine 3.4
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-24 02:24:20 +02:00
de8939771f Disable Travis Email notifications
There are so many of them that they are just annoyting
and for some reason there isn't feature of telling
Travis not to send notifications to me.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-23 17:11:47 +02:00
a72feedec6 Merge pull request #2893 from ipfs/fix/add-progress-bar
fix progress bar in add
2016-06-22 22:30:21 -07:00
6e45e9d5c5 Merge pull request #2891 from ipfs/feat/ulimit-raise-tests
add a test for auto-raising ulimit
2016-06-22 19:56:51 -07:00
0ac81dae2e Merge pull request #2786 from ipfs/issue-template
Add ISSUE_TEMPLATE.md
2016-06-22 17:56:44 -07:00
f26d8c7b46 respect context cancellation in add
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-22 17:16:34 -07:00
8e505f291f fix progress bar in add
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-22 17:09:35 -07:00
b305bd5243 Merge pull request #2886 from ipfs/feat/not-object-error
return a better error if the ref is not an object
2016-06-22 12:28:50 -07:00
d15dcf980f Merge pull request #2889 from ipfs/feature/github-issues-guide
Added a How To File GitHub Issues guide
2016-06-22 12:28:17 -07:00
715b6145bb Added a How To File GitHub Issues guide
See https://github.com/ipfs/go-ipfs/pull/2786

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-06-22 20:21:12 +01:00
3d5e015876 add a test for auto-raising ulimit
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-22 11:17:16 -07:00
306f766bb3 add a little bit more verbosity to the error
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-22 10:41:37 -07:00
6e5420e5e0 Merge pull request #2887 from ipfs/deps/lock
use locking lib at go4.org
2016-06-21 21:09:46 -07:00
472deb0e96 Merge pull request #2872 from ipfs-filestore/best-effort-pins
Add Files API root as best-effort pin
2016-06-21 20:42:19 -07:00
30ef23a1dc Merge pull request #2883 from ipfs/feature/standardize-readme
Standardized Readme
2016-06-21 15:25:28 -07:00
1fc8ffb769 use locking lib at go4.org
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-21 15:11:55 -07:00
e8fcd19969 return a better error if the ref is not an object
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-21 13:59:18 -07:00
c98bf9a164 Merge pull request #2884 from ipfs/feat/default-fd-bump
raise file descriptor limit to 1024 by default
2016-06-21 12:32:36 -07:00
deecc5dd7f raise file descriptor limit to 1024 by default
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-21 11:31:14 -07:00
7d18f74879 Merge pull request #2880 from yuvallanger/swarm-filters-save-config
Swarm filters save config (fix #2878)
2016-06-21 10:42:19 -07:00
eb955dff71 Standardized Readme
See https://github.com/ipfs/community/issues/124

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-06-21 18:31:25 +01:00
d608f32916 Add ipfs config Swarm.AddrFilters test
License: MIT
Signed-off-by: Yuval Langer <yuval.langer@gmail.com>
2016-06-21 09:03:40 +03:00
466d70993f Enhance tests and fix tests copyright for files API root best-effort pin.
License: MIT
Signed-off-by:  <k@kevina.org>
2016-06-20 21:19:08 -04:00
20b6499102 Move no arguments check to before opening fsrepo.
License: MIT
Signed-off-by: Yuval Langer <yuval.langer@gmail.com>
2016-06-21 00:41:08 +03:00
42468d0ebe Add filtersRemove() and the swarmFiltersRmCmd.Run() parts that call it.
Also added types and marshalers to the swarmFiltersAddCmd and
swarmFiltersRmCmd structs.

License: MIT
Signed-off-by: Yuval Langer <yuval.langer@gmail.com>
2016-06-21 00:26:17 +03:00
bd9b312039 Add filtersAdd() and the code that uses it to swarmFiltersAddCmd.Run()
License: MIT
Signed-off-by: Yuval Langer <yuval.langer@gmail.com>
2016-06-21 00:26:14 +03:00
714f2debea Add Files API root as best-effort pin.
Closes #2697.  Closes #2698.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-06-20 17:09:56 -04:00
c6443fd933 Merge pull request #2874 from ipfs/extract-gateway
gateway: clean up its surface, and remove BlockList
2016-06-20 12:34:29 -07:00
30f2c1f367 Merge pull request #2871 from rikonor/master
Added variable latency delay, normal and uniform based
2016-06-20 09:57:14 -07:00
720fa80dd7 Merge pull request #2863 from ipfs/fix/dht-timeouts
implement some simple dht request read timeouts
2016-06-20 09:50:39 -07:00
cd7010f7bf Added variable latency delay, normal and uniform based
- Allow providing new delays with your own rng / use shared rng

License: MIT
Signed-off-by: Or Rikon <rikonor@gmail.com>
2016-06-19 08:59:09 -04:00
a6fb581371 Merge pull request #2867 from ipfs/feature/api-offline
Add way to check if node is online or offline
2016-06-18 23:00:57 -07:00
1afebc21f3 gateway: clean up its surface, and remove BlockList
This patch is in preparation for the gateway's extraction.

It's interesting to trace technical debt back to its
origin, understanding the circumstances in which it
was introduced and built up, and then cutting it back
at exactly the right places.

- Clean up the gateway's surface
  The option builder GatewayOption() now takes only
  arguments which are relevant for HTTP handler muxing,
  i.e. the paths where the gateway should be mounted.
  All other configuration happens through the
  GatewayConfig object.

- Remove BlockList
  I know why this was introduced in the first place,
  but it never ended up fulfilling that purpose.
  Somehow it was only ever used by the API server,
  not the gateway, which really doesn't make sense.
  It was also never wired up with CLI nor fs-repo.
  Eventually @krl started punching holes into it
  to make the Web UI accessible.

- Remove --unrestricted-api
  This was holes being punched into BlockList too,
  for accessing /ipfs and /ipn on the API server.
  With BlockList removed and /ipfs and /ipns freely
  accessible, putting this option out of action
  is safe. With the next major release,
  the option can be removed for good.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-19 00:52:35 +02:00
c10ed855a5 Add test for online field in diag sys
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-18 19:15:04 +02:00
e67a21ed6a Add net.online to diag sys command
Currently there was no sure way to check if node is in online
or offline mode.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-18 12:39:13 +02:00