1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-25 15:08:45 +08:00

4471 Commits

Author SHA1 Message Date
a19ad97ea5 make ping its own protocol
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-13 19:19:25 -07:00
9ec3c1aac1 clean up unused dht methods
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-13 15:53:58 -07:00
7077d71740 Merge pull request #1464 from ipfs/fix/filters-offline
error out swarm filter when no daemon is online
2015-07-10 18:12:25 -07:00
d4656657c8 Merge pull request #1466 from ipfs/export-modules
moved util/ctx to github.com/jbenet/go-context
2015-07-10 18:11:56 -07:00
30509fc597 Merge pull request #1465 from ipfs/travis/docker
use travisCI's docker containers for testing
2015-07-10 17:59:46 -07:00
11937be180 moved util/ctx to github.com/jbenet/go-context
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-10 17:49:46 -07:00
3c7f1a80d4 use travisCI's docker containers for testing
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-10 15:51:50 -07:00
e8d825de25 error out swarm filter when no daemon is online
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-10 13:10:22 -07:00
83311212ea Merge pull request #1463 from ipfs/exposepb
expose internal/pb packages.
2015-07-10 11:49:08 -07:00
6e9c72ab37 expose internal/pb packages.
we shouldn't use internal packages.

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-10 11:08:49 -07:00
d51d70ade8 Merge pull request #1426 from ipfs/feat/batching-ds
WIP: use batching interface from datastore
2015-07-09 16:54:43 -07:00
137c0ac4ac use batching transaction interface from datastore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-09 16:37:30 -07:00
f589c044f1 Merge pull request #1461 from ipfs/update-peerstream
Update go-peerstream
2015-07-09 14:50:58 -07:00
68c0f80ec2 go-peerstream update
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-09 12:18:18 -07:00
ae8693a62e Merge pull request #1427 from ipfs/unused-cleanup
cleanup unused packages
2015-07-09 05:47:27 -07:00
73d3fa5c1d Merge pull request #1460 from ipfs/hidden-split
Add hidden file support to add
2015-07-09 05:16:26 -07:00
e55a130b49 Add hidden file support to add
License: MIT
Signed-off-by: Gaetan Voyer-Perrault <gatesvp@gmail.com>
2015-07-09 04:07:34 -07:00
b1bb16f0f2 Merge pull request #1455 from ipfs/bitswap-events
add in some events to bitswap to emit worker information
2015-07-07 12:54:23 -07:00
ff1bf3058e add in some events to bitswap to emit worker information
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-07 12:14:57 -07:00
f6f9cae4e4 Merge pull request #1449 from ipfs/tk/file-ls-help-fixup
core/commands/unixfs/ls: Drop multi-column example from --help
2015-07-06 20:32:20 -07:00
6c092eb821 Merge pull request #1440 from rht/fix-cli
Assert and convert config value into predefined struct
2015-07-06 20:03:59 -07:00
b304eef2d3 core/commands/unixfs/ls: Drop multi-column example from --help
The old text belonged to an earlier iteration that didn't land in the
rebased 434871ba (core/commands/unixfs: Add 'ipfs unixfs ls ...',
2015-06-09).
2015-07-06 09:15:13 -07:00
1694b7913f Merge pull request #1447 from slang800/patch-1
add link to init system examples
2015-07-05 23:42:09 -07:00
7ede3f44c5 Add link to init system examples - closes #1430
License: MIT
Signed-off-by: Sean Lang <slang800@gmail.com>
2015-07-05 22:46:16 -04:00
4c55b30e48 Merge pull request #1385 from rht/cleanup-ctxgroup-goprocess
Cleanup ctxgroup goprocess
2015-07-05 01:20:29 -07:00
rht
3daf749daa Make sure process context is set last
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-05 09:35:36 +07:00
rht
0ceac5ded9 Use WithContextAndTeardown whenever possible
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-05 09:19:06 +07:00
rht
bcae8392ca Update goprocess godep
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-05 09:18:55 +07:00
rht
007a12e7ef Change Process interface into object variable
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-04 22:50:23 +07:00
rht
330b213777 Replace ctxgroup.ContextGroup -> goprocess.Process
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-04 22:50:23 +07:00
rht
5bfd694ca7 Remove ctxcloser
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-04 22:48:51 +07:00
rht
541836c4a3 Auto-assert setconfig value to predefined struct
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-04 22:29:10 +07:00
224a9eb0b9 Merge pull request #1406 from ipfs/nicerIndex
Nicer index
2015-07-03 18:28:03 -07:00
1b16712b5a assets: seed gateway index assets on 'ipfs init'
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>

t0080-repo.sh: added gateway assets to pinning tests

License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-04 01:47:07 +02:00
358d04c606 sharness/t0110-gateway: add simple 404 check for non existent file
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-04 00:51:42 +02:00
053e531dac http/index: fix indention and remove unused field
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-04 00:51:42 +02:00
0ed49dbbfb http/gateway:
- First tab at integrating @krl's new index page

File icons are embedded in side icons.css (QmXB7PLRWH6bCiwrGh2MrBBjNkLv3mY3JdYXCikYZSwLED contains both the icons and bootstrap)

- Fix back links (..)  (fixes #1365)

Thanks @JasonWoof for the insight.  The back links now stop a t the root hash and work for links that do and dont end with a slash.

License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-04 00:51:42 +02:00
8143d381c1 Merge pull request #1441 from rht/path-validate
Remove redundant path validation
2015-07-03 15:23:17 -07:00
rht
44245fe015 Add test to detect invalid path
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-04 02:50:15 +07:00
rht
dfde18e124 Add path validation in Resolver.ResolvePath
Add ErrNoComponents in ParsePath validation & remove redundant path
validation.
Any lines using core.Resolve & Resolver.ResolvePath will have their path
validated.

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-04 02:41:28 +07:00
0c9e1e47b5 Merge pull request #1419 from ipfs/bindataAssets
assets: switch to go-bindata
2015-07-03 12:02:25 -07:00
624c6e8fe5 assets: fix typo
closes #1343

License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-03 10:59:08 +02:00
057dbaf791 assets: added tests to make sure vcs and embedded data are in sync
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-03 10:23:12 +02:00
5203eac607 Merge pull request #1443 from carver/patch-1
daemon help docs for CORS
2015-07-03 01:22:39 -07:00
02377fabf8 assets: remove seed logic from init
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-03 10:22:21 +02:00
5fbf1e7416 assets: switch to go-bindata
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-03 09:52:08 +02:00
c4fb36b8c8 daemon help docs for CORS
Convey the basic idea, plus an example.  Don't encourage using `*`.

This would have saved me some code spelunking.
2015-07-02 18:06:58 -07:00
0d42a6a7bc Merge pull request #1433 from ipfs/fix/addr-filter
add filters from config to addr filter in swarm
2015-07-02 17:00:36 -07:00
c595cf8ae0 config: DialBlocklist -> Swarm.AddrFilters
This commit changes the DialBlocklist key to be under the key
Swarm.AddrFilters instead.

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-02 16:11:46 -07:00
a119b72243 t0141-addfilter: check init has no filters
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-02 16:10:30 -07:00