Commit Graph

4835 Commits

Author SHA1 Message Date
Brian Tiger Chow
961e3ced43 feat(coreunix): AddR for recursive Adds 2015-01-27 16:24:36 -08:00
Brian Tiger Chow
a58f3c3bfe remove message 2015-01-27 16:24:36 -08:00
Brian Tiger Chow
1ea9481a63 move config.Init into config package 2015-01-27 16:23:58 -08:00
Christian Couder
cf20552af8 Fix daemon initialization output change
Since commit 76d9d89aff, there is
"Initializing daemon..." printed on the standard output when
the daemon is started.

This means that tests have to be fixed accordingly.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-27 23:26:49 +01:00
Jeromy
b456d476a3 updates from CR 2015-01-27 17:28:02 +00:00
Brian Tiger Chow
577baaf621 feat(routing.grandcentral): skeleton
fixes breakages:
  - peer.Peer -> peer.ID
  - peer.X -> peer.PeerInfo
  - netmsg -> p2p streams
2015-01-27 02:32:06 -08:00
Juan Batiz-Benet
9dac5bb7d3 p2p/net: dial log -> events
This commit turns all dial logs into log.Events.

Everything's great except for one problem:
The LoggableMap I'm using does not print out things
correctly. I gave it peer.IDs, and Multiaddrs
and both got logged as nothing `{}` (didn't even call
their String() methods!) So, for now, this function
encodes it when called... This is wrong and should be
fixed before being merged in. Otherwise we  will be
constantly encoding peer.IDs and Multiaddrs without
needing to.

@briantigerchow how do you suggest doing this?
I don't know my way around your Loggable.
2015-01-27 01:35:37 -08:00
Jeromy
c50d763727 add more help text for ipfs diag net 2015-01-27 09:05:06 +00:00
Jeromy Johnson
92c7f96780 Merge pull request #673 from jbenet/fix/seek
off by one error seeking to end of single block file
2015-01-26 23:49:23 -08:00
Jeromy
2eca66e6d2 off by one error seeking to end of single block file 2015-01-27 07:41:51 +00:00
Juan Batiz-Benet
b16adfeae8 Merge pull request #672 from jbenet/clear-addrs
AddrSplosion -- Partie Deux Avec Vengeance
2015-01-26 23:18:21 -08:00
Juan Batiz-Benet
71f2c4dee0 p2p/peer/peerstore: mu position + comment 2015-01-26 22:47:44 -08:00
Juan Batiz-Benet
d8a63be372 p2p/peer/addr: addrbook RLock fix 2015-01-26 22:01:26 -08:00
Jeromy Johnson
4940c3e0ae Merge pull request #655 from jbenet/feat/dagseek
Implement io.Seeker on unixio.DAGReader
2015-01-26 19:33:41 -08:00
Jeromy
e959626029 comment NodeGetter 2015-01-27 03:29:10 +00:00
Jeromy
6a6ede85d3 TODO -> Background 2015-01-27 03:27:26 +00:00
Juan Batiz-Benet
983822f335 p2p/peer: addresses expire after an hour 2015-01-26 19:23:42 -08:00
Juan Batiz-Benet
3118777a5e p2p/id: SET listen addrs, clearing old ones. 2015-01-26 19:23:42 -08:00
Juan Batiz-Benet
56d900fa10 p2p/peer: addressbook can now clear addrs 2015-01-26 19:23:42 -08:00
Juan Batiz-Benet
d87aacc83a Merge pull request #671 from jbenet/drop-logs
dropped down log.Errors
2015-01-26 19:23:00 -08:00
Juan Batiz-Benet
45e4352c9c dropped down log.Errors 2015-01-26 19:13:44 -08:00
Juan Batiz-Benet
1eb0bfe834 Merge pull request #668 from jbenet/hack
misc user-friendliness fixes
2015-01-26 19:00:09 -08:00
Juan Batiz-Benet
2b0c89a5c7 commands/diag: switch clarity 2015-01-26 18:50:16 -08:00
Jeromy
ba4ea139b9 address concerns from PR 2015-01-27 01:33:09 +00:00
Jeromy
0023cb3097 refactor and clean up dagreader 2015-01-27 01:33:09 +00:00
Jeromy
26826bd55e implement seeking in the dagreader 2015-01-27 01:33:09 +00:00
Juan Batiz-Benet
36d03306d7 Merge pull request #652 from jbenet/cli-changes
CLI changes
2015-01-26 17:24:54 -08:00
Matt Bell
d666155a0a core/commands: get: Clean output path 2015-01-26 17:07:30 -08:00
Matt Bell
5292617290 unixfs/tar: Rename p to gopath 2015-01-26 17:02:48 -08:00
Juan Batiz-Benet
76d9d89aff user friendliness in logs + output 2015-01-26 17:01:00 -08:00
Matt Bell
2c019b542e core/commands: Fixed net diag command not outputting in chosen format 2015-01-26 17:01:00 -08:00
Matt Bell
45ed27e273 test/sharness: get: Quote variables 2015-01-26 17:00:40 -08:00
Juan Batiz-Benet
ae5e244354 Merge pull request #648 from jbenet/nat-lite
NAT-Lite
2015-01-26 16:59:33 -08:00
Matt Bell
5a60b7b2e7 unixfs/tar: Use current date for file timestamps 2015-01-26 16:57:55 -08:00
Juan Batiz-Benet
d39feeb5a5 notifier: go todo 2015-01-26 16:45:43 -08:00
Juan Batiz-Benet
2c13280b5e p2p/host: doc options 2015-01-26 15:02:32 -08:00
Matt Bell
3799ad9023 core/commands: log tail: Return from goroutine when request context closes, resolves #659 2015-01-26 14:24:33 -08:00
Juan Batiz-Benet
158f5061e0 p2p: own addresses gotten from host 2015-01-26 14:00:00 -08:00
Juan Batiz-Benet
fda92754cc p2p/net/conn: reuse timeout is real error
should be returning false.
2015-01-26 14:00:00 -08:00
Juan Batiz-Benet
ca757c66ff p2p/nat: managed by host now.
Exposing the NAT to the core is unnecessary. The Host can take
care of it. If a need emerges, we can address it then.
2015-01-26 14:00:00 -08:00
Juan Batiz-Benet
332d350196 p2p/nat: re-factors nat object
- allow retrieving addresses
- allow notifications on mapping changes
- allow lifecycle mgmt (future commit will manage it)
2015-01-26 13:45:02 -08:00
Juan Batiz-Benet
913a733e9b helpful panics 2015-01-26 13:45:01 -08:00
Juan Batiz-Benet
0552f46f45 'generic' notifier 2015-01-26 09:09:19 -08:00
Brian Tiger Chow
77b88f4462 Update README.md 2015-01-25 23:30:11 -08:00
Matt Bell
6c854ce897 unixfs/tar: Ignore /ipfs/ in path 2015-01-24 21:40:19 -08:00
Matt Bell
2f2efc8463 cmd/ipfs: On command ClientError, suggest checking helptext instead of showing short helptext. Resovles #630 2015-01-24 21:40:19 -08:00
Matt Bell
23f810e187 test/sharness: Fixed get gzip archive test 2015-01-24 21:40:19 -08:00
Matt Bell
41d5c822d7 core/commands: get: Place files at root of TAR when using a multi-element ipfs path 2015-01-24 21:40:19 -08:00
Matt Bell
e6d6e9fed6 core/commands: Added 'get' to root command helptext 2015-01-24 21:40:18 -08:00
Jeromy
739b19115b correct notifications for findProviders 2015-01-25 01:41:06 +00:00