Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Fix timeout test. | Aldo Cortesi | 2012-11-18 | 1 | -1/+1 | |
| | | | ||||||
| | * | Add disconnect specifiers to test suite. | Aldo Cortesi | 2012-11-18 | 4 | -14/+14 | |
| | | | | | | | | | | | | Fixes hangs seen in test suite with recent versions of requetss. | |||||
| | * | Expand basic fuzzing example. | Aldo Cortesi | 2012-11-16 | 1 | -6/+23 | |
| | | | ||||||
| | * | Add :u shortcut example. | Aldo Cortesi | 2012-11-16 | 2 | -3/+7 | |
| | | | | | | | | | | | | Update trove specifiers, netlib dependency. | |||||
| | * | :u belongs on Request not Response | Aldo Cortesi | 2012-11-16 | 2 | -3/+4 | |
| | | | ||||||
| | * | Update changelog. | Aldo Cortesi | 2012-11-16 | 1 | -1/+7 | |
| | | | ||||||
| | * | Add u User-agent shortcut. | Aldo Cortesi | 2012-11-16 | 7 | -8/+84 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Usage: 200:ua - Shortcut "a" for Android. 200:u"foo" - Or a value literal Shortcuts can be listed using the --show-uas argument to pathoc. | |||||
| | * | Fix typo. | Aldo Cortesi | 2012-11-02 | 1 | -2/+2 | |
| | | | ||||||
| | * | Examples and documentation. | Aldo Cortesi | 2012-11-02 | 9 | -30/+37 | |
| | | | ||||||
| | * | Merge branch 'master' of ssh.github.com:cortesi/pathod | Aldo Cortesi | 2012-10-31 | 0 | -0/+0 | |
| | |\ | ||||||
| | | * | Bump version, update CHANGELOG | Aldo Cortesi | 2012-10-31 | 2 | -1/+30 | |
| | | | | ||||||
| | * | | Bump version, update CHANGELOG | Aldo Cortesi | 2012-10-31 | 4 | -3/+32 | |
| | |/ | ||||||
| | * | Use .freeze to implement the -e explain flags for pathod and pathoc. | Aldo Cortesi | 2012-10-31 | 7 | -7/+40 | |
| | | | | | | | | | | | | | | | This now prints (in pathoc) or logs (in pathod) a frozen specification that includes an expanded record of all generated values and locations. | |||||
| | * | Fix generated values in request path specification. | Aldo Cortesi | 2012-10-31 | 2 | -2/+7 | |
| | | | ||||||
| | * | Add a .freeze() method to all components. | Aldo Cortesi | 2012-10-31 | 2 | -45/+171 | |
| | | | | | | | | | | | | | | | This expands and freezes all randomly generated values. The message returned can be queried for a precise spec to reproduce the message. | |||||
| | * | Add a .values method to messages, simplify a lot of stuff as a consequence. | Aldo Cortesi | 2012-10-30 | 3 | -34/+24 | |
| | | | ||||||
| | * | Make Message classes more self-contained. | Aldo Cortesi | 2012-10-30 | 2 | -45/+51 | |
| | | | ||||||
| | * | Extract .serve() method from message classes. | Aldo Cortesi | 2012-10-30 | 5 | -75/+73 | |
| | | | ||||||
| | * | Change preview_safe to return a safe copy of the current message. | Aldo Cortesi | 2012-10-30 | 5 | -19/+13 | |
| | | | ||||||
| | * | Simplify Request/Response class hierarchy. | Aldo Cortesi | 2012-10-30 | 2 | -59/+36 | |
| | | | ||||||
| | * | Add .spec methods for Request and Response objects. | Aldo Cortesi | 2012-10-29 | 2 | -7/+26 | |
| | | | ||||||
| | * | Add a .spec method to the token ABC, and to all tokens. | Aldo Cortesi | 2012-10-29 | 2 | -31/+99 | |
| | | | ||||||
| | * | Refactoring: canonical storage of a message is now the sequence of tokens ↵ | Aldo Cortesi | 2012-10-29 | 2 | -89/+70 | |
| | | | | | | | | | | | | | | | | | | | | | that defines it. We use a set of accessor properties to ease access to tokens. We can now ditch the .accept() methods. | |||||
| | * | Cleaup, some more ABCs. | Aldo Cortesi | 2012-10-29 | 2 | -60/+82 | |
| | | | ||||||
| | * | Change response spec format to code[:features] | Aldo Cortesi | 2012-10-28 | 6 | -34/+43 | |
| | | | | | | | | | | | | Reason message is now specified as just another feature with the "m" mnemonic. | |||||
| | * | Cleaup, ABC for Value classes. | Aldo Cortesi | 2012-10-28 | 3 | -22/+24 | |
| | | | ||||||
| | * | Clean up .accept() signature. | Aldo Cortesi | 2012-10-28 | 2 | -25/+31 | |
| | | | ||||||
| | * | Split Code and Reason into separate _Component objects. | Aldo Cortesi | 2012-10-28 | 2 | -30/+52 | |
| | | | ||||||
| | * | .body and .method to lazy generator instantiation. | Aldo Cortesi | 2012-10-28 | 2 | -24/+56 | |
| | | | | | | | | | | | | Also introduce a _Component ABC. | |||||
| | * | Move message body to new lazy-generator scheme. | Aldo Cortesi | 2012-10-28 | 7 | -21/+33 | |
| | | | ||||||
| | * | Adjust serve() API. | Aldo Cortesi | 2012-10-28 | 5 | -27/+27 | |
| | | | ||||||
| | * | Remove check argument to serve() methods. | Aldo Cortesi | 2012-10-27 | 6 | -64/+51 | |
| | | | | | | | | | | | | | | | | | | | | | Refactoring means we can now do this without a callback. Also introduce the maximum_length method that estimates the max possible message length. | |||||
| | * | Major refactoring towars separate representation of expressions and ↵ | Aldo Cortesi | 2012-10-27 | 4 | -99/+91 | |
| | | | | | | | | | | | | request/response service. | |||||
| | * | Unit test suite love: 100% coverage | Aldo Cortesi | 2012-10-25 | 8 | -14/+52 | |
| | | | | | | | | | | | | Also start figuring out how to sanitize binary data in the JSON API. | |||||
| | * | Start moving policy checks to service-time, rather than parse-time. | Aldo Cortesi | 2012-10-25 | 5 | -87/+64 | |
| | | | ||||||
| | * | Extend Action and Value classes | Aldo Cortesi | 2012-10-24 | 2 | -65/+165 | |
| | | | | | | | | | | | | | | | | | | - Values now know how to print their own specs - Actions now know how to print their own specs - Actions have a resolve_offset method that resolves relative and random offsets. | |||||
| | * | Start making Action objects more sophisticated. | Aldo Cortesi | 2012-10-05 | 2 | -11/+38 | |
| | | | ||||||
| | * | Remove actions log and explain, preparing for a more sophisticated take on this. | Aldo Cortesi | 2012-10-05 | 3 | -28/+3 | |
| | | | ||||||
| | * | Add a simple libpathod.pathoc example | Aldo Cortesi | 2012-10-05 | 1 | -0/+6 | |
| | | | ||||||
| | * | rparse.py -> language.py | Aldo Cortesi | 2012-10-05 | 7 | -128/+128 | |
| | | | ||||||
| | * | Stub out documentation changes | Aldo Cortesi | 2012-10-04 | 4 | -19/+43 | |
| | | | ||||||
| | * | Add -q and -r flags to pathod, logging request and respnose bytes. | Aldo Cortesi | 2012-10-01 | 3 | -43/+69 | |
| | | | | | | | | | | | | | | | | | | | | | - These flags also mean that a bytes log is included in the internal log buffer. - There's an -x flag to turn on hex dump output in the text logs (does not affect the log buffer). | |||||
| | * | Add timeout argument to Pathod, and matching -t command-line option. | Aldo Cortesi | 2012-10-01 | 4 | -4/+30 | |
| | | | ||||||
| | * | Add pathoc -T to ignore timeouts. | Aldo Cortesi | 2012-09-28 | 3 | -4/+12 | |
| | | | | | | | | | | | | Also move -c to -C for consistency. | |||||
| | * | Add pathoc -o, oneshot mode, exits after the first non-ignored response. | Aldo Cortesi | 2012-09-27 | 2 | -2/+11 | |
| | | | ||||||
| | * | Add pathoc -c to specify a list of return codes to ignore. | Aldo Cortesi | 2012-09-27 | 3 | -27/+50 | |
| | | | ||||||
| | * | Refactor print_requests -> print_request | Aldo Cortesi | 2012-09-26 | 3 | -61/+58 | |
| | | | | | | | | | | | | | | | - Change to handle one request at a time - Shift error handling around | |||||
| | * | Expand the docs to explain pathoc multiple requests. | Aldo Cortesi | 2012-09-26 | 1 | -0/+37 | |
| | | | ||||||
| | * | Response printing | Aldo Cortesi | 2012-09-26 | 2 | -33/+35 | |
| | | | | | | | | | | | | Options to output full response, as sniffed from the socket. | |||||
| | * | Hex and verbatim output of requests. | Aldo Cortesi | 2012-09-26 | 3 | -5/+21 | |
| | | | | | | | | | | | | | | | This works by sniffing traffic through the socket, so always gives us the exact traffic sent upstream. |