Changes 0 to 10 on this branch are displayed below, sorted in descending chronological order.

3100 days ago: merge fixes
revision info | browse files | diff
Author: derek@echologic.com
Changelog: merge fixes
* Makefile.am: re-add cmd_scgi.cc
* graph.cc: remove trailing whitespace; remove unit test gunk
* unit-tests/graph.cc: re-add get_all_ancestors wrapper
Date: Sun, 31 May 2009 06:12:27 GMT
3100 days ago: propagate from branch 'net.venge.monotone' (head 34695bf4b60893fa006401a574f613399a18a732)
revision info | browse files | diff, diff
Author: derek@echologic.com
Changelog: propagate from branch 'net.venge.monotone' (head 34695bf4b60893fa006401a574f613399a18a732)
to branch 'net.venge.monotone.nuskool' (head 3c51452bf7eff5b8d0d9a7cce081764793fc6802)
Date: Sun, 31 May 2009 05:47:18 GMT
3100 days ago: improve http protocol handler error reporting
revision info | browse files | diff
Author: derek@echologic.com
Changelog: improve http protocol handler error reporting
* cmd_scgi.cc (scgi::connection): wrap a few function declarations; return http
status codes from higher level read methods to match new superclass api;
report missing content length and unknown scgi version errors with appropriate
http status codes
(process_request): return the status code from reading a request when that
is the cause of a problem
* http.{cc,hh} (connection): return status codes from higher level read methods
to report errors more clearly; in particular report missing content length
headers with the appropriate status code
(status::value): rename to ..
(status::code): ... this; rename code member to value; add operator!= and more
status code constants
* http_client.cc: remove unused Netxx using declarations; remove redundant Netxx
qualifiers; wrap some long lines; update for http connection reader changes;
remove stale comment
Date: Sun, 31 May 2009 05:36:27 GMT
3101 days ago: allow for both json and raw requests to be handled based on url and http method
revision info | browse files | diff
Author: derek@echologic.com
Changelog: allow for both json and raw requests to be handled based on url and http method
* README.nuskool: add some notes on the netsync code and a list of things to do
* cmd_netsync.cc (gsync): update FIXME
* cmd_scgi.cc (request_handler): new struct for handling http requests
(json_handler): handler for json requests
(inquire_handler): unimplemented handler for plain text inquire requests
(process_request): add map of handlers to deal with requests to specific url's;
add big note about scgi mount points; add note about selecting appropriate
handler; clean up response status handling
(gserve): add list of potential url's with supported methods and content types;
add initial map of url handlers passed to process_request
* gsync.cc (run_gsync_protocol): switch to pushing/pulling revisions without
file data for testing
* http.{cc,hh}: replace response status_code and status_message members with a
struct containing both values; add static constants representing a small
subset of http status codes and use these in various places
* http_client.{cc,hh} (execute): more logging of http request/response cycle
(raw_channel): new channel for transmission of raw basic_io revision text and
associated file data; lots left to be implemented
Date: Sat, 30 May 2009 05:50:45 GMT
3137 days ago: propagate from branch 'net.venge.monotone' (head 201865bdf90c29bd7320f4b177aedf69e18a0b6c)
revision info | browse files | diff, diff
Author: zbigg@zbigg.org
Changelog: propagate from branch 'net.venge.monotone' (head 201865bdf90c29bd7320f4b177aedf69e18a0b6c)
to branch 'net.venge.monotone.nuskool' (head 87b44ee5426108c61eefdef3e6085c0b18613385)
Date: Thu, 23 Apr 2009 17:39:59 GMT
3217 days ago: encode/decode hexenc file and manifest ids
revision info | browse files | diff
Author: derek@echologic.com
Changelog: encode/decode hexenc file and manifest ids
* json_msgs.cc: add encode/decode hexenc calls around file and manifest ids
which are now binary; add origin values required by new origin_aware interface
Date: Tue, 03 Feb 2009 04:22:11 GMT
3219 days ago: consolidate common request/response handling from http_client and cmd_scgi
revision info | browse files | diff
Author: derek@echologic.com
Changelog: consolidate common request/response handling from http_client and cmd_scgi
* http.{cc,hh}: new files to consolidate http request/response reading and
writing; add http::request, http::response and http::connection classes
* Makefile.am: add them
* cmd_scgi.cc: update comments about request and response bodies being JSON
objects
(enum type,parse_str,eat,parse_scgi_request,parse_http_request): remove
duplicate request reading functions
(scgi::connection): subclass http::connection for dealing with scgi requests
(process_request): remove connection type; replace streams with an
http::connection; return errors in http::response
(gserve) remove connection type; disable binding to stdio for now; handle scgi
and http requests using different connections
* http_client.{cc,hh} (resolve): new method for resolving relative uris
(execute): use http::connection to write request and read response; fail on
anything but 200 OK in http response
(parse_http_status_line,parse_http_header_line,parse_http_response,crlf):
remove duplicate response reading methods
(transact): resolve relative uri in json request
Date: Sun, 01 Feb 2009 06:40:47 GMT
3222 days ago: separate json message processing from http transport
revision info | browse files | diff
Author: derek@echologic.com
Changelog: separate json message processing from http transport
* Makefile.am: add http.hh header
* cmd_scgi.cc: add namespace around connection type enum
(parse_scgi_headers): rename to ...
(parse_scgi_request): ... this and return an http request object
with uri, method and headers from request
(parse_http_headers): rename to ...
(parse_http_request): ... this and return an http request object
with uri, method and headers from request
(process_json_request): new function to process a json request wrapped in an
http request and return a json response wrapped in an http response
(process_transction): rename to ...
(process_request): ... this; remove json parsing; read an http request;
delegate processing to process_json_request; return an http response
* http_client.{cc,hh}: reorganize includes a bit;
(execute): replace string parameters with http request/response objects;
remove use of F formatting objects and write request directly to ostream;
(parse_http_status_line): store status values in http response object
(parse_http_header_line): fix header parsing; store headers in http response
object
(parse_http_response): store response in http response object; continue to
force connection close
(json_channel::transact): wrap json request in http request object; extract
json response from http response object
Date: Thu, 29 Jan 2009 06:04:02 GMT
3222 days ago: add origin values required by origin_aware interface
revision info | browse files | diff
Author: derek@echologic.com
Changelog: add origin values required by origin_aware interface
* cmd_scgi.cc (process_transaction): rename informative_failure to
recoverable_failure
(gserve): add origin::user to persist passphrase hook assertion
* http_client.cc: add origin::network to various assertions
* json_io.cc: add origin::network to input error
* json_msgs.cc: add origin::database to encoded ids; add
origin::network to decoded ids
Date: Thu, 29 Jan 2009 03:53:18 GMT
3223 days ago: propagate from branch 'net.venge.monotone' (head fab371cba3059245d5eca32853375a3ce4e5a369)
revision info | browse files | diff, diff
Author: derek@echologic.com
Changelog: propagate from branch 'net.venge.monotone' (head fab371cba3059245d5eca32853375a3ce4e5a369)
to branch 'net.venge.monotone.nuskool' (head 89906069421bfb41bc6bbb18fe3ee360a19240c1)
Date: Wed, 28 Jan 2009 06:04:24 GMT
earlier changes recent changes (no later changes)