Commit Graph

1044 Commits

Author SHA1 Message Date
Jeromy
7811983901 add option to version command to print repo version
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-03 12:19:12 -08:00
Jeromy
c7fb7ce17d cache ipns entries to speed things up a little
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-02 12:53:08 -08:00
rht
31115f51a0 Allow ipfs cat on ipns path
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-31 15:55:47 +07:00
Juan Batiz-Benet
b675bfc595 webui updated to disable logs
to: /ipfs/QmR9MzChjp1MdFWik7NjEjqKQMzVmBkdK3dz14A6B5Cupm

https://github.com/ipfs/webui/pull/91

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-10-31 01:22:42 -04:00
Juan Benet
f703b2c375 Merge pull request #1886 from ipfs/fix/ThatPut
fixing putHandler
2015-10-31 01:03:33 -04:00
Henry
c1847e9f69 putHandler: addressed CR from @jbenet
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-10-31 01:37:37 +01:00
Juan Benet
bf415b0dff Merge pull request #1889 from ipfs/fix/log-writer
fix bug in mirrorwriter removal
2015-10-28 16:57:52 -04:00
Henry
b8b4e45665 fixing putHandler for --writable http gateway
I disabled this a long time ago and never refactored it. About time.

License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-10-28 08:11:56 +01:00
Juan Benet
62cb6ebf8a Merge pull request #1900 from ipfs/fix/swarm-con-err
make swarm connect return an error when it fails
2015-10-27 20:04:48 -04:00
Jeromy
c023d187b5 update code to use new logging changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-27 11:04:56 -07:00
Juan Benet
49684ea4aa Merge pull request #1890 from ipfs/fix/bitswapLogging
bitswap: clean log printf and humanize dup data count
2015-10-27 05:56:49 -04:00
Juan Benet
fff95d6fff Merge pull request #1856 from ipfs/fix/id-self
allow ipfs id to work on self
2015-10-27 04:52:07 -04:00
Jeromy
9094345875 make swarm connect return an error when it fails
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-25 13:15:14 -07:00
Henry
aeeed0c72b bitswap: clean log printf and humanize dup data count
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-10-23 08:33:50 +02:00
Juan Benet
27eece3e81 Merge pull request #1835 from miolini/master
fix races in http cors
2015-10-20 12:47:06 -07:00
rht
916ae8d8df Add short flag for ipfs ls --headers (v for verbose)
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-19 16:43:50 +07:00
rht
c091cf5abe Fix cli flag orders (long, short)
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-19 12:53:23 +07:00
Jeromy
1cef170243 add small sharness test to make sure output happens
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-18 19:50:15 -07:00
Jeromy
11104d401e system diagnostics command
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-18 19:50:15 -07:00
Jeromy
cac6b376c3 allow ipfs id to work on self
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-18 10:14:34 -07:00
Juan Benet
9ca0be36e1 Merge pull request #1852 from ipfs/rht-commands-flags
Make `ipfs commands --flags` option
2015-10-18 05:09:35 -07:00
Juan Benet
4fad0f7286 Merge pull request #1827 from rht/metalint
Add err check to coremock node init
2015-10-18 04:33:17 -07:00
Caio Alonso
e05f2d3724 adds the option to see the current git commit with ipfs version --commit
License: MIT
Signed-off-by: Caio Alonso <caio@caioalonso.com>
2015-10-17 19:48:39 -03:00
rht
1bb6a63b11 ipfs commands --flags: display short & long flag
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-17 16:45:13 +07:00
Christian Couder
3e2016d987 commands: add --flags to show all flags
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-17 09:11:22 +02:00
rht
4da824c954 Show flags in ipfs commands
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-17 08:57:02 +07:00
Juan Benet
d6297c7498 Merge pull request #1823 from ForrestWeston/recurPin
Pin commands default to recursive
2015-10-16 08:43:25 -07:00
ForrestWeston
9916f8663b Updated Pin Remove Tagline and Description
License: MIT
Signed-off-by: ForrestWeston <Forrest.Weston@gmail.com>
2015-10-14 09:42:19 -07:00
Juan Benet
1ef79801ca Merge pull request #1834 from ipfs/feat/local-resolve
allow ipfs name resolve to respect --local
2015-10-14 16:28:26 +08:00
ForrestWeston
01239147b7 changed pinning to be recursive by default
pin add, pin rm, and pin ls will be recursive unless
specified with '=false' eg. 'ipfs pin add -r=false <file>'
tests for pinning have been updated/added

License: MIT
Signed-off-by: ForrestWeston <Forrest.Weston@gmail.com>
2015-10-13 17:11:05 -07:00
rht
740447eecd Fix typo
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-13 16:51:47 +07:00
rht
2e0c072dac Use core path resolver for 'resolve command' [1]
[1] 172eeb87fa

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-13 16:51:47 +07:00
Matt Bell
3a2b83d904 resolve cmd: Fully resolve IPFS paths after resolving IPNS names
License: MIT
Signed-off-by: Matt Bell <mappum@gmail.com>
2015-10-13 13:11:40 +07:00
Matt Bell
8d370a3946 Added help text to 'resolve' command to show DAG path resolution.
License: MIT
Signed-off-by: Matt Bell <mappum@gmail.com>
2015-10-13 13:11:40 +07:00
Matt Bell
eddd64119e Resolve '/ipfs/root/some/path' paths in 'ipfs resolve' command
License: MIT
Signed-off-by: Matt Bell <mappum@gmail.com>
2015-10-13 13:11:40 +07:00
rht
53bb0b6343 (ineffassign) add err check to NewNode init
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-13 10:06:07 +07:00
Artem Andreenko
4555085844 fix races in http cors
License: MIT
Signed-off-by: Artem Andreenko <mio@volmy.com>
2015-10-13 01:09:55 +03:00
Jeromy
73cd3f6563 allow ipfs name resolve to respect --local flag for local name resolution
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-12 11:36:16 -07:00
Juan Benet
bc0f0c2b36 Merge pull request #1779 from rht/latest-progressbar
Use common progressbar function for cat and get
2015-10-11 23:40:00 +08:00
Caio Alonso
dc85abb77b adds -H as short option for 'ipfs add --hidden'
License: MIT
Signed-off-by: Caio Alonso <caio@caioalonso.com>
2015-10-10 12:47:12 -03:00
Forrest Weston
6e2435211f Added an xml decoder, Fixes #1612
License: MIT
Signed-off-by: Forrest Weston <forrest.weston@gmail.com>
2015-10-09 12:05:48 -07:00
Juan Benet
b415e0618b Merge pull request #1797 from rht/fix/cat
Add context to coreunix.Cat argument
2015-10-08 02:59:52 -07:00
Lars Gierth
dd20f48454 daemon: instrument the gateway and api HTTP handlers
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-10-05 03:53:49 +02:00
rht
6ae0973e1f Add context to coreunix.Cat argument
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-04 23:10:43 +07:00
rht
7caba7e46a Use common progressbar function for cat and get
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-04 22:43:47 +07:00
Jeromy
8f0623255d replace imports with absolute path instead of using symlink
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-03 14:30:50 -07:00
Jeromy
b34d41e01e fix publish fail on prexisting bad record
dont error out if prexisting record is bad, just grab its sequence number
and continue on with the publish.

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-02 14:59:31 -07:00
Jeromy
e5512b4115 make publish more configurable and add test for repub
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-30 11:03:44 -07:00
Jeromy
815a031f59 Implement ipns republisher
This commit adds a very basic process that will periodically go through
a list of given ids and republish the values for their ipns entries.

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-29 09:47:47 -07:00
Jeromy
cfcc3d6a1b ipns record selection via sequence numbers
This commit adds a sequence number to the IpnsEntry protobuf
that is used to determine which among a set of entries for the same key
is the 'most correct'.

GetValues has been added to the routing interface to retrieve a set of
records from the dht, for the caller to select from.

GetValue (singular) will call GetValues, select the 'best' record, and
then update that record to peers we received outdated records from.
This will help keep the dht consistent.

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-29 09:47:41 -07:00