Jeromy
96e98a8e13
add sharness test for log endpoint
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:02 -07:00
Jeromy
90896f283f
clean up unused log options
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:01 -07:00
Jeromy
a676b5a8ac
move eventlogs to an http endpoint
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:01 -07:00
Juan Batiz-Benet
152247dff2
Merge pull request #1359 from rht/cleanup-logging
...
Cleanup logging 1
2015-06-18 04:47:34 -07:00
Juan Batiz-Benet
41b7f6d327
Merge pull request #1391 from ipfs/fix-fuse-err
...
fix fuse mount error in linux
2015-06-18 02:05:15 -07:00
Juan Batiz-Benet
bc85a6384b
fix fuse mount error in linux
...
There has been a regression such that ./t0030-mount.sh fails on
'ipfs mount' fails when there is no mount dir
The issue was a change in how fuse errors are reported to the client
process. We have introduced an optimistic categorization that hides
the obscure fusermount error and replaces it with something a bit
more helpful.
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-18 01:52:57 -07:00
rht
84f974ef8b
Add panic as loglevel in log config
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
rht
4b086eff5a
Remove Notice{,f} logging interface
...
And substitute the lines using Notice{,f} with Info{,f}
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
rht
78b6cc5f2d
Replace Critical{,f} with Error{,f}
...
Except when there is an explicit os.Exit(1) after the Critical line,
then replace with Fatal{,f}.
golang's log and logrus already call os.Exit(1) by default with Fatal.
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
Jeromy Johnson
b46712bdcb
Merge pull request #1379 from dylanPowers/use-trickle-dag
...
Wired up the trickle dag flag for the add command
2015-06-17 10:36:24 -07:00
Dylan Powers
600e1523e4
Wired up the trickle dag flag for the add command
...
License: MIT
Signed-off-by: Dylan Powers <dylan.kyle.powers@gmail.com>
2015-06-16 15:40:26 -07:00
W. Trevor King
15135e10df
core/commands/ls: Remove trailing tabs
...
Since 607468a9 (beautify 'ipfs ls' and 'ipfs object links', #833 )
we've had these. That pull request was about text/tabwriter [1] and
elastic tabstops [2], but we don't need a column separator at the end
of each line.
[1]: https://golang.org/pkg/text/tabwriter/
[2]: http://nickgravgaard.com/elastic-tabstops/index.html
Licence: MIT
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-06-09 06:23:44 -07:00
Jeromy
b4f55d337a
'key' objects dont marshal to json well
2015-06-08 10:19:26 -07:00
Henry
07b3415cdb
http endpoints: dont print before listen
...
also splits api, gw and fuse bring up into helper functions
2015-06-08 10:56:05 +02:00
Juan Batiz-Benet
13cd226bff
Merge pull request #1317 from ipfs/builder-default
...
make the default repo for corebuilder work
2015-06-03 16:30:02 -07:00
Jeromy
6b16981979
make the default repo for corebuilder work
2015-06-03 16:06:15 -07:00
Jeromy
40e423d6dc
implement an ipfs patch command for modifying merkledag objects
...
WIP: object creator command
better docs
move patch command into object namespace
dont ignore cancel funcs
addressing comment from CR
add two new subcommands to object patch and clean up main Run func
cancel contexts in early returns
switch to util.Key
2015-06-03 15:24:07 -07:00
rht
f239a38fbb
golint on core/commands
2015-06-03 18:44:28 +07:00
rht
c14ab9bd51
go vet on core/commands
2015-06-03 17:20:40 +07:00
Travis Person
11780198b6
Text under ipfs name --help incorrect
...
Change help text to display proper results from an `ipfs name resolve`.
2015-06-02 00:08:33 -07:00
Jeromy
ef294431d4
move util.Key into its own package under blocks
2015-06-01 16:10:08 -07:00
Juan Batiz-Benet
e9fec3d5ee
updated webui to 0.2.0
2015-06-01 00:37:02 -07:00
Juan Batiz-Benet
0ecf7babd4
Merge pull request #1269 from ipfs/rm-testing
...
move core mock into its own package
2015-05-31 15:59:47 -07:00
Jeromy
4a78a9729d
remove testing imports from non testing code
...
rename bserv mock to mock_test
swap out testing.T for an interface
2015-05-31 15:41:59 -07:00
David
2f3ee86e2b
Update option help for ipfs stats bw --poll
...
Help text from --proto was copy pasted.
2015-05-31 18:26:51 -04:00
Juan Batiz-Benet
5d43ebb916
Merge pull request #1274 from ipfs/refactor/importer
...
change pinning to happen in a callback
2015-05-29 17:06:11 -07:00
Juan Batiz-Benet
ecdf14962c
Merge pull request #1294 from rht/cleanup-tour
...
Cleanup tour
2015-05-29 16:59:17 -07:00
Jeromy
b660f937bd
make callback take a node instead of a key
2015-05-28 08:52:20 -07:00
Jeromy
dd928a2b1d
change pinning to happen in a callback
2015-05-28 08:52:20 -07:00
rht
3547f7ae33
Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)'
2015-05-26 23:18:04 +07:00
rht
8cad2d2c89
Move 'tour' to core/commands
...
Side effect: this makes 'tour' accessible through the HTTP API
2015-05-26 21:04:03 +07:00
David Dias
b2e45da0cc
Change one of the "ipfs" to "ipns"
2015-05-26 13:07:54 +01:00
Juan Batiz-Benet
4e71ce3cc7
Merge pull request #1272 from Luzifer/fix/dnslink
...
Fix: dnslink domain resolving was broken; Add: no caching for those
2015-05-24 18:47:54 +02:00
Juan Batiz-Benet
c8cb8d9c39
Merge pull request #1278 from ipfs/fix/bs-cmd-offline
...
make bitswap commands error out properly offline
2015-05-22 22:54:51 +02:00
Travis Person
2c71c54823
Named error for no components
...
Update the previous `invalid path` error to match the error returned
from `SplitAbsPath`.
2015-05-22 09:18:49 -07:00
Travis Person
d96246c622
Fixed tests to actually test for the error we are seeking
...
Cleaned the tests, and actually test for the error.
2015-05-22 08:56:33 -07:00
Travis Person
dcc4da0b37
Replaced old logic to check for valid path
...
Added the original logic to check for a invalid path and a simple test.
2015-05-22 08:56:33 -07:00
Travis Person
42289d4f21
Daemon panics if no path is given
...
If no path after `/ipfs/` or `/ipns/` is given, then the daemon will
panic with a slice bounds out of range error. This checks to see if we
have anything after `ipfs` or `ipns`.
2015-05-22 08:56:33 -07:00
Jeromy
648526d8f0
make bitswap commands error out properly offline
2015-05-21 22:41:44 -07:00
Jeromy
60ac59139c
fix offline full path resolution bug
2015-05-21 14:45:30 -07:00
Knut Ahlers
8df8737f6a
removed requirement of path package
2015-05-21 08:51:18 +02:00
Knut Ahlers
373260d373
Fix: dnslink domain resolving was broken; Add: no caching for those
...
fixes #1234
fixes #1267
2015-05-21 08:44:17 +02:00
Jeromy
f6fadc4c91
do http server properly so daemon can shut down
2015-05-20 22:42:54 -07:00
Juan Batiz-Benet
9b4b2c6879
Merge pull request #1235 from Luzifer/fix/dnslink-issues
...
Fix: Using the `dnslink` feature led to infinite redirects
2015-05-20 23:59:01 -04:00
Knut Ahlers
1b3797474f
Fix: Using the dnslink feature led to infinite redirects
...
fixes #1233
2015-05-20 19:42:28 +02:00
Jeromy
002cf5128e
fix silent refs failure
2015-05-20 09:46:22 -07:00
W. Trevor King
1e6594d087
namesys/dns: Pluggable lookupTXT field
...
So we can attach a mock lookup function for testing.
2015-05-20 08:40:44 -07:00
W. Trevor King
e4447b3c96
core/commands/publish: Fix published message
...
Previously we had a confusing situation, with:
* single-arg doc: published name <name> to <value>
* double-arg doc: published name <value> to <name>
* implementation: Published name <name> to <value>
Now we have the uniform:
Published to <name>: <value>
With the following goals:
1. It's clear that we're writing <value> to <name>'s IPNS slot in the
DHT.
2. We preserve the order of arguments from the command-line
invocation:
$ ipfs name publish <name> <value>
Published to <name>: <value>
2015-05-20 08:40:44 -07:00
W. Trevor King
416d454b42
core/commands: Make 'ipfs name resolve' IPNS-only
...
And add a generic 'ipfs resolve' to handle cross-protocol name
resolution.
2015-05-20 08:40:44 -07:00
W. Trevor King
e643f72c86
core/commands/dns: Add 'ipfs dns ...' for resolving DNS references
...
This lets users resolve (recursively or not) DNS links without pulling
in the other protocols. That makes an easier, more isolated target
for alternative implemenations, since they don't need to understand
IPNS, proquint, etc. to handle these resolutions.
2015-05-20 08:40:44 -07:00