Commit Graph

7954 Commits

Author SHA1 Message Date
Jakub Sztandera
1fd99dae50
Remove NewRSNCFromBytes and use NewDagReader for recursive reading
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-22 19:10:35 +01:00
Jeromy
42e6e547c3 cleanup bitswap and handle message send failure slightly better
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-22 09:54:26 -08:00
Jeromy Johnson
656c112695 Merge pull request #3406 from ipfs/feat/deps/pnet
Update go-libp2p across codebase
2016-11-22 08:55:59 -08:00
Jakub Sztandera
4c008eeac6
Cleanup gofmt in fuse lib
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-22 01:22:50 +01:00
Jakub Sztandera
1e170e8d6d
Update go-libp2p across codebase
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-22 01:22:50 +01:00
Jeromy Johnson
9094cc8f42 Merge pull request #3219 from ipfs/fix/api-file-bad
cmd: validate repo/api file and print nicer error message
2016-11-21 10:31:31 -08:00
Jakub Sztandera
1e3b4aef66
cmd: validate repo/api file and print nicer error messag
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 19:19:37 +01:00
Jeromy Johnson
116aab77b6 Merge pull request #3393 from ipfs/feat/fix-typo
Fix typo
2016-11-21 10:08:28 -08:00
Jakub Sztandera
8c260f5193
Add sharness test for raw node fetch
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 18:15:40 +01:00
Jakub Sztandera
1817d10cfd
Create bufDagReader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 18:10:21 +01:00
Jakub Sztandera
09854c0645
Move proto-dag reader to separate file and change name
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 18:10:21 +01:00
Jakub Sztandera
724515104e
Make unixio.DagReader an interface
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 18:10:21 +01:00
Jeromy Johnson
bf9927fb30 Merge pull request #3395 from ipfs/feat/cleanup-imports
Resort imports in core/core.go
2016-11-17 15:25:21 -08:00
Jakub Sztandera
801b572960
Resport imports in core/core.go
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-18 00:12:21 +01:00
Richard Littauer
c28c2224c4 Fix typo
Brought up bt tmg on irc

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-11-17 04:55:47 -05:00
Jeromy Johnson
4cfd841859 Merge pull request #2971 from ipfs/feature/gateway-resolve-error
gateway: degrade error in gateway to log to reduce noise
2016-11-16 01:00:55 -08:00
Jeromy Johnson
afa1f1542f Merge pull request #3381 from ipfs/feat/disable-bw-stats
add config option to disable bandwidth metrics
2016-11-16 00:58:48 -08:00
Jakub Sztandera
ce96b915e7 gateway: change status code of failed namesys resution to 500
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-16 05:37:38 +01:00
Jakub Sztandera
43320e1b7f gateway: use switch for error handling
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-16 05:29:39 +01:00
Jakub Sztandera
82d46a5b5b gateway: degrade error in gateway to log to reduce noise
It logs all errors including expired IPNS keys and other non important
errors.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-16 05:25:18 +01:00
Jeromy Johnson
1a365a86fe Merge pull request #3391 from ipfs/deps/ipfs-node-iface
update to newer ipld node interface with Copy and better Tree
2016-11-15 19:28:15 -08:00
Jeromy
396c629301 update to newer ipld node interface with Copy and better Tree
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-15 18:00:49 -08:00
Jeromy Johnson
e4be1b2e7a Merge pull request #3377 from EliasGabrielsson/master
Updated Bash complete script
2016-11-15 14:22:14 -08:00
Jeromy Johnson
bbd7ad21ad Merge pull request #3382 from keks/feat/command.run-docs
Add docs for `"commands".Command.Run`
2016-11-14 17:51:47 -08:00
Jeromy Johnson
bc21966b0a Merge pull request #3384 from ipfs/kevina/blockstore-kill-debug-stmt
blockstore: remove expensive debug statement in AllKeysChan
2016-11-14 17:38:25 -08:00
Jeromy Johnson
aae9eb7891 Merge pull request #3244 from ipfs/feat/gateway-post-coreapi
gateway: use core api for serving GET/HEAD/POST
2016-11-14 14:15:54 -08:00
Kevin Atkinson
62c380b001 blockstore: remove expensive debug statement in AllKeysChan
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-11-14 16:57:40 -05:00
Jan Winkelmann
1a3fa80fdb Add docs for "commands".Command.Run
To clarify that if you want to access the request body after writing need to use
multipart requests.

License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-11-14 22:32:41 +01:00
Jeromy Johnson
580584a97f Merge pull request #3379 from ipfs/kevina/blockstore-nonewkey
blockstore: fix TODO and avoid calling ds.NewKey
2016-11-14 09:23:07 -08:00
Kevin Atkinson
d48d90447b blockstore: fix TODO and avoid calling ds.NewKey
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-11-14 01:49:39 -05:00
Elias Gabrielsson
e9594c9b23 Updated Bash complete script
Some minor bug still exist but not breaking.
Everything is marked with "TODO" inline the script.

License: MIT
Signed-off-by: Elias Gabrielsson <elias@benefactory.se>
2016-11-13 16:31:16 +01:00
Jeromy Johnson
10915f346a Merge pull request #3374 from polezaivsani/fix/daemon/rlimits
Tune resource limits on BSDs
2016-11-11 10:33:37 -08:00
Jeromy
43d668331c add config option to disable bandwidth metrics
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-11 10:31:24 -08:00
Vasily Kolobkov
b0a51bf1f5 Tune resource limits on BSDs
License: MIT
Signed-off-by: Vasily Kolobkov <polezaivsani@openmailbox.org>
2016-11-11 11:33:50 +02:00
Jeromy Johnson
4442498d92 Merge pull request #3373 from ipfs/deps/libp2p-4.1.0
update to go-libp2p 4.1.0
2016-11-10 19:12:39 -08:00
Jeromy
7fbaae49be update to go-libp2p 4.1.0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-10 17:38:10 -08:00
Jeromy Johnson
8d6ac7a83f Merge pull request #3366 from keks/fix/fix-adding
Revert "http api: makes sure header is sent even when r is not ready …
2016-11-09 14:37:15 -08:00
Jeromy Johnson
e7d9c418b2 Merge pull request #3369 from nathanmusoke/fix/complete_bash_completion
bash_completion: Add a couple missing commands
2016-11-08 09:52:13 -08:00
Nathan Musoke
ac4200f1ea bash_completion: Add a couple missing commands
Add "bitswap" and "repo" to bash completion for `ipfs stats`. They are
listed under `ipfs stats --help`.

Also added their respective subcommands.

License: MIT
Signed-off-by: Nathan Musoke <nathan.musoke@gmail.com>
2016-11-08 20:51:48 +13:00
Jeromy Johnson
6500136582 Merge pull request #3365 from davbre/master
Put config keys in proper case
2016-11-07 20:30:45 -08:00
Jan Winkelmann
c6186982e8 revert commit breaking ipfs add for js-ipfs-api
Revert "http api: makes sure header is sent even when r is not ready yet. fixes #3304 (#3305)"
This reverts commit 68d8a298c5.

License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-11-07 23:24:05 +01:00
Lars Gierth
f610e19d3e coreapi: reuse go-ipld-node.Link
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-07 18:25:49 +01:00
Lars Gierth
0097b422de gateway: use core api for serving POST requests
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-07 18:25:49 +01:00
Lars Gierth
c31e4f7226 gateway: move context/close-notify wiring
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-07 18:25:49 +01:00
Lars Gierth
036ca3a764 coreapi: add Add()
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-07 18:25:49 +01:00
Lars Gierth
029f971d9c gateway: use core api for serving GET/HEAD requests
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-07 18:25:49 +01:00
Lars Gierth
46239e8215 coreapi: get going, add Cat() and Ls()
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-07 18:25:49 +01:00
David Brennan
8efdb4f1df Put config keys in proper case
License: MIT
Signed-off-by: David Brennan <david.n.brennan@gmail.com>
2016-11-07 08:13:56 +01:00
Jeromy Johnson
6779ff1021 Merge pull request #3361 from ipfs/deps/libp2p-4.0.4
update to libp2p 4.0.4
2016-11-05 22:05:23 -07:00
Jeromy
25d9f8afd1 update to libp2p 4.0.4
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-05 21:44:36 -07:00