Commit Graph

3368 Commits

Author SHA1 Message Date
Brian Tiger Chow
37ca4475cf feat(tour) routing 2014-11-04 23:38:08 -08:00
Brian Tiger Chow
747c9cd803 feat(tour) network 2014-11-04 23:29:20 -08:00
Brian Tiger Chow
b1e67111f3 feat(tour) merkledag chapter 2014-11-04 23:22:22 -08:00
Brian Tiger Chow
97f7b60186 feat(tour) add node basics 2014-11-04 22:48:37 -08:00
Brian Tiger Chow
2db25a6762 refactor(tour0 move chapter to it's own file 2014-11-04 22:36:56 -08:00
Brian Tiger Chow
eba22da632 docs(tour) Chapter 2014-11-04 22:36:00 -08:00
Brian Tiger Chow
b353f75e21 docs(tour) comment Chapter func 2014-11-04 22:34:38 -08:00
Brian Tiger Chow
b2323afedd refactor(tour) extract chapters 2014-11-04 22:30:30 -08:00
Brian Tiger Chow
8d57f50709 feat(tour) add file basics
keep things in one file for now
2014-11-04 22:15:40 -08:00
Brian Tiger Chow
8f6d6653ba feat(tour) initial content
@jbenet please review

If this is a desirable format, I will put in the rest so we can start to
make incrementatl progress on the actual copy.

Separated content from topic so Ids can be seen and modified without
excessive scrolling. Hopefully will make it easy to re-order content.
2014-11-04 21:53:13 -08:00
Brian Tiger Chow
5335417dc3 feat(tour) content struct
this way, ID's can be managed separately from the content
2014-11-04 21:43:13 -08:00
Juan Batiz-Benet
24f319b549 Merge pull request #268 from jbenet/config-version-init
Initialize Config Version
2014-11-04 19:18:45 -08:00
Juan Batiz-Benet
c6b74207bc config/init: init Version with CheckPeriod #265 2014-11-04 19:15:25 -08:00
Juan Batiz-Benet
866c2c8915 updates + config: moved location of current version number 2014-11-04 18:58:15 -08:00
Juan Batiz-Benet
6ba45221d6 config/version: Update_ -> AutoUpdate_ 2014-11-04 18:57:03 -08:00
Brian Tiger Chow
98ebe2f3ec hotfix(vendor) 2014-11-04 08:48:27 -08:00
Juan Batiz-Benet
b1958be808 Merge pull request #262 from jbenet/cmd-ref-part1
Commands Refactor Part 1
2014-11-04 02:06:14 -08:00
Matt Bell
1b9b60331f commands/http: Cleaned up argument handling in Parse 2014-11-04 02:04:51 -08:00
Matt Bell
db9c7f7c29 commands: Fixed panic when trying to marshal without a command set in request 2014-11-04 02:04:51 -08:00
Matt Bell
df6c700426 commands/http: Renamed variable for clarity 2014-11-04 02:04:51 -08:00
Matt Bell
c8ae4b6f42 commands/http: Decomposed Client#Send function 2014-11-04 02:04:51 -08:00
Matt Bell
e57cd9b857 commands/http: Use net/url querystring encoder 2014-11-04 02:04:51 -08:00
Matt Bell
33b0990a3a commands/http: Cleaner URL formation in client 2014-11-04 02:04:51 -08:00
Matt Bell
5e5d534eb3 commands/http: Refactored API to a Client object that takes a string address 2014-11-04 02:04:50 -08:00
Matt Bell
2a1116cec8 commands: Allow overriding marshaller for any encoding type 2014-11-04 02:04:50 -08:00
Matt Bell
33ad56e6d0 commands: Safer type coercion when choosing marshaller 2014-11-04 02:04:50 -08:00
Matt Bell
0149f65c6c commands: Replaced 'Formatter' with 'Marshaller' 2014-11-04 02:04:50 -08:00
Matt Bell
068e10cc5d commands/cli: Better comment for parsePath 2014-11-04 02:04:50 -08:00
Matt Bell
958e524c1e commands: Nicer syntax for Argument definition 2014-11-04 02:04:50 -08:00
Matt Bell
f76048f74b commands/http: Unexported Handler fields and created constructor 2014-11-04 02:04:50 -08:00
Matt Bell
4552fce517 commands/http: Respond with error if encoding option isn't a string 2014-11-04 02:04:50 -08:00
Matt Bell
446acdcdb5 commands/http: Ensure request URLs start with expected prefix 2014-11-04 02:04:50 -08:00
Matt Bell
bc6938dc08 commands: Cleaned up argument validation 2014-11-04 02:04:49 -08:00
Matt Bell
f6c38882f0 commands: Return a reader in a Response#Reader method, instead of making Response implementing io.Reader 2014-11-04 02:04:49 -08:00
Matt Bell
69a56de040 commands: Renamed Response#Value to Response#Output 2014-11-04 02:04:49 -08:00
Matt Bell
75649f3d49 commands: Moved argument checking into a Command method, fail early when parsing commands 2014-11-04 02:04:49 -08:00
Matt Bell
dbeffb6a0b commands: CLI Parse: Don't parse args until after creating request 2014-11-04 02:04:49 -08:00
Matt Bell
586a019fbf commands: Fixed Request#CheckArguments not erroring when required arguments were missing 2014-11-04 02:04:49 -08:00
Matt Bell
405cfd9762 commands/http: Made parser/client handle variadic arguments 2014-11-04 02:04:49 -08:00
Matt Bell
2c8fc8564c commands/cli: Made parser handle variadic arguments 2014-11-04 02:04:49 -08:00
Matt Bell
e8d0cbff1d commands: Check argument validity when running commands 2014-11-04 02:04:49 -08:00
Matt Bell
ee2c76992a commands/cli: Open argument files when creating Requests (Moved out of HTTP client) 2014-11-04 02:04:48 -08:00
Matt Bell
f7aa2b9f10 commands: Renamed ArgPath to ArgFile 2014-11-04 02:04:48 -08:00
Matt Bell
40858b43ed commands/http: Added stream argument handling to client and request parser 2014-11-04 02:04:48 -08:00
Matt Bell
39c78fbe06 commands: Fixed tests 2014-11-04 02:04:48 -08:00
Matt Bell
3a8d60cc61 commands: Removed inpout stream from Request 2014-11-04 02:04:48 -08:00
Matt Bell
827f1dd0b0 commands: Changed Request arguments to a []interface{} 2014-11-04 02:04:48 -08:00
Matt Bell
30e968754e commands/cli: Error if no subcommand matched 2014-11-04 02:04:48 -08:00
Matt Bell
83b2ba00e9 commands: Removed Command#Private field 2014-11-04 02:04:48 -08:00
Matt Bell
c0d3edd4f9 commands/cli: Made Parse handle multiple root commands 2014-11-04 02:04:47 -08:00