Jeromy
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
Juan Batiz-Benet
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
Juan Batiz-Benet
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
W. Trevor King
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
Juan Batiz-Benet
1694b7913f
Merge pull request #1447 from slang800/patch-1
...
add link to init system examples
2015-07-05 23:42:09 -07:00
Sean Lang
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
Juan Batiz-Benet
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
Juan Batiz-Benet
224a9eb0b9
Merge pull request #1406 from ipfs/nicerIndex
...
Nicer index
2015-07-03 18:28:03 -07:00
Henry
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
Henry
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
Henry
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
Henry
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
Juan Batiz-Benet
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
Juan Batiz-Benet
0c9e1e47b5
Merge pull request #1419 from ipfs/bindataAssets
...
assets: switch to go-bindata
2015-07-03 12:02:25 -07:00
Henry
624c6e8fe5
assets: fix typo
...
closes #1343
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-03 10:59:08 +02:00
Henry
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
Juan Batiz-Benet
5203eac607
Merge pull request #1443 from carver/patch-1
...
daemon help docs for CORS
2015-07-03 01:22:39 -07:00
Henry
02377fabf8
assets: remove seed logic from init
...
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-03 10:22:21 +02:00
Henry
5fbf1e7416
assets: switch to go-bindata
...
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-07-03 09:52:08 +02:00
Jason Carver
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
Juan Batiz-Benet
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
Juan Batiz-Benet
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
Juan Batiz-Benet
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
Jeromy
57d7a443a0
test dialblocklist loading from config
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-02 13:38:15 -07:00
Juan Batiz-Benet
9e74a08879
Merge pull request #1437 from lgierth/metrics-fix
...
swarm: fix peers_total metric
2015-07-01 14:53:53 -07:00
Lars Gierth
9c30b85180
swarm: fix peers_total metric
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-07-01 21:59:08 +02:00
Juan Batiz-Benet
22c653c71d
Merge pull request #1354 from rht/get-flag
...
Don't use tar reader for '-C' flag
2015-06-30 20:02:34 -07:00
rht
3798178705
Don't use tar reader for '-C' only flag
...
Currently `ipfs get -C <hash>` returns error even if <hash> is a file.
This PR is for the case when the compress flag is enabled, use the
dagreader directly and pipe to a gzip processor.
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-01 09:36:25 +07:00
Jeromy
7cc73f7b86
add command to manipulate address filters and a sharness test for them
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-30 18:25:34 -07:00
Jeromy
e7fd57f69a
add filters from config to addr filter in swarm
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-30 15:03:56 -07:00
Jeromy
10e9ed48bb
cleanup unused packages
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-30 12:34:46 -07:00
Juan Batiz-Benet
74a331db96
Merge pull request #1422 from lgierth/metrics
...
Expose metrics via Prometheus
2015-06-30 12:32:21 -07:00
Lars Gierth
e0a4b3ad15
godep: add prometheus
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-06-30 16:32:49 +02:00
Lars Gierth
8b164f9e39
swarm: export ipfs_p2p_peers_total metric
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-06-30 16:32:46 +02:00
Lars Gierth
ed8d3ae388
api: add /metrics endpoint for prometheus
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-06-29 23:15:15 +02:00
Juan Batiz-Benet
2d6b787c99
Merge pull request #1399 from ipfs/disable-secio-option
...
Swarm Addrs, Disable secio opt, + tests
2015-06-27 01:00:00 -07:00
Juan Batiz-Benet
59d6a9a19c
fix swarm notif tests
...
they were failing intermittently
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-27 00:41:19 -07:00
Juan Batiz-Benet
f796615e10
mock: fix notif test
...
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-27 00:18:12 -07:00
Juan Batiz-Benet
6b8e9f51fe
fix t0061-daemon-opts.sh nc wait
...
fix the nc wait. the issue was that stdin needs to remain _open_
but not receive any input for some time. If stdin receives (invalid)
input or closes, the other side terminates the connection before
writing out the muxer frames + identify handshake.
This commit also changes the use of `!` for `test_must_fail`
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-26 23:36:43 -07:00
Juan Batiz-Benet
f300e97c50
added sharness/t0061-daemon-opts
...
Test odd daemon options, like:
- unrestricted-api
- disable-transport-encryption (known breakage atm)
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-26 23:36:43 -07:00
Juan Batiz-Benet
e37fefdfd3
daemon option to optionally disable secio
...
This commit adds an option to turn off all encryption. This is a mode
used for tests, debugging, achieving protocol implementation interop,
learning about how the protocol works (nc ftw), and worst case
networks which _demand_ to be able to snoop on all the traffic.
(sadly, there are some private intranets like this...). (We should
consider at least _signing_ all this traffic.)
Because of the severity of this sort of thing, this is an
all-or-nothing deal. Either encryption is ON or OFF _fully_.
This way, partially unencrypted nodes cannot be accidentally left
running without the user's understanding. Nodes without encrypted
connections will simply not be able to speak to any of the global
bootstrap nodes, or anybody in the public network.
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-26 23:36:43 -07:00