Commit Graph

6147 Commits

Author SHA1 Message Date
Jakub Sztandera
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
Jakub Sztandera
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
Jakub Sztandera
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
Jakub Sztandera
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
Jakub Sztandera
989e91b1c4 blockstore: add fetch rehashing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:20:58 +02:00
Jakub Sztandera
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
Jeromy Johnson
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
Jeromy Johnson
c85eec28d5 Merge pull request #2896 from ipfs/feature/no-travis-notification
Disable Travis Email notifications
2016-06-24 09:03:35 -07:00
Lars Gierth
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
Jakub Sztandera
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
Jeromy Johnson
a72feedec6 Merge pull request #2893 from ipfs/fix/add-progress-bar
fix progress bar in add
2016-06-22 22:30:21 -07:00
Jeromy Johnson
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
Jeromy Johnson
0ac81dae2e Merge pull request #2786 from ipfs/issue-template
Add ISSUE_TEMPLATE.md
2016-06-22 17:56:44 -07:00
Jeromy
f26d8c7b46 respect context cancellation in add
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-22 17:16:34 -07:00
Jeromy
8e505f291f fix progress bar in add
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-22 17:09:35 -07:00
Jeromy Johnson
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
Jeromy Johnson
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
Richard Littauer
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
Jeromy
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
Jeromy
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
Jeromy Johnson
6e5420e5e0 Merge pull request #2887 from ipfs/deps/lock
use locking lib at go4.org
2016-06-21 21:09:46 -07:00
Jeromy Johnson
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
Jeromy Johnson
30ef23a1dc Merge pull request #2883 from ipfs/feature/standardize-readme
Standardized Readme
2016-06-21 15:25:28 -07:00
Jeromy
1fc8ffb769 use locking lib at go4.org
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-21 15:11:55 -07:00
Jeromy
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
Jeromy Johnson
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
Jeromy
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
Jeromy Johnson
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
Richard Littauer
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
Yuval Langer
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
Kevin Atkinson
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
Yuval Langer
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
Yuval Langer
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
Yuval Langer
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
Kevin Atkinson
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
Jeromy Johnson
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
Jeromy Johnson
30f2c1f367 Merge pull request #2871 from rikonor/master
Added variable latency delay, normal and uniform based
2016-06-20 09:57:14 -07:00
Jeromy Johnson
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
Or Rikon
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
Jeromy Johnson
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
Lars Gierth
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
Jakub Sztandera
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
Jakub Sztandera
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
Jeromy
62c986d5c2 demote errors to warnings
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-17 14:34:48 -07:00
Jeromy Johnson
2a3bba3a2b Merge pull request #2862 from ipfs/revert-multi-gopath
Revert "Makefile, bin: Support multiple GOPATH components"
2016-06-17 11:11:39 -07:00
Jeromy
f81f6ca6a6 implement some simple dht request read timeouts
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-17 11:01:41 -07:00
Jeromy Johnson
0f3ae0736a Merge pull request #2853 from ipfs/feature/decapitalize-Debug
Decapitalized log.Debug messages
2016-06-17 10:26:20 -07:00
Lars Gierth
ad461c611e Revert "Makefile, bin: Support multiple GOPATH components"
This reverts commit ff75bc0318,
which broke building on windows. See ipfs/go-ipfs#2833.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-17 15:32:40 +02:00
Jeromy Johnson
868a1e3679 Merge pull request #2857 from ipfs/feature/test-race-blockstore
Remove failing blockstore with context test
2016-06-16 10:44:45 -07:00
Jeromy Johnson
a4801ed024 Merge pull request #2858 from ipfs/deps/libp2p/3.3.4
update go-libp2p to 3.3.4
2016-06-15 13:33:40 -07:00