Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Such CI, Very Wow. (#3182) | Maximilian Hils | 2018-06-02 | 2 | -73/+83 |
| | |||||
* | add missing await | Maximilian Hils | 2018-05-28 | 1 | -1/+1 |
| | |||||
* | addons/block: teach block about IPv6 scope suffixes | Aldo Cortesi | 2018-05-27 | 1 | -0/+4 |
| | | | | Fixes #3160 | ||||
* | optmanager: tweaks and cleanups | Aldo Cortesi | 2018-05-27 | 1 | -10/+10 |
| | |||||
* | Use deferral mechanism for cfg file options | Aldo Cortesi | 2018-05-27 | 1 | -3/+6 |
| | | | | Fixes #3162 | ||||
* | cibuild: tweak docker tag, only upload prod builds to pypi | Aldo Cortesi | 2018-05-25 | 1 | -2/+3 |
| | |||||
* | cibuild: start building version awareness | Aldo Cortesi | 2018-05-25 | 1 | -1/+3 |
| | |||||
* | cibuild: more accurate PR test, better dump output | Aldo Cortesi | 2018-05-24 | 1 | -2/+2 |
| | |||||
* | cibuild: fix docker upload condition, expand tests | Aldo Cortesi | 2018-05-24 | 1 | -4/+35 |
| | |||||
* | cibuild: extract upload conditions | Aldo Cortesi | 2018-05-24 | 1 | -1/+8 |
| | |||||
* | cibuild: add docker tag calculation to environ | Aldo Cortesi | 2018-05-24 | 1 | -0/+9 |
| | |||||
* | release: include release directory in coverage | Aldo Cortesi | 2018-05-24 | 1 | -3/+29 |
| | | | | With lots of exclusions for now | ||||
* | cibuild: Consolidate build environment and add tests | Aldo Cortesi | 2018-05-24 | 1 | -0/+95 |
| | |||||
* | clientreplay: fix racy tests harder | Aldo Cortesi | 2018-05-18 | 1 | -0/+3 |
| | |||||
* | websocket: inject messages via flow | Thomas Kriechbaumer | 2018-05-16 | 2 | -0/+55 |
| | |||||
* | fix py36/37 escaping issues | Thomas Kriechbaumer | 2018-05-14 | 1 | -6/+10 |
| | | | | | | | | closes #3122 https://bugs.python.org/issue16285 https://bugs.python.org/issue12910 https://github.com/python/cpython/commit/21024f06622c4c55b666adb130797a4ee205d005 | ||||
* | command: handle string without terminal escaped char | Aldo Cortesi | 2018-05-12 | 1 | -0/+2 |
| | | | | Fixes #2810 | ||||
* | script: revamp ephemeral script running | Aldo Cortesi | 2018-05-12 | 1 | -5/+3 |
| | | | | Fixes 2838 | ||||
* | commands: handle type errors on startup | Aldo Cortesi | 2018-05-12 | 1 | -3/+29 |
| | | | | | fixes #3088 fixes #2787 | ||||
* | commands: if no explicit return type is specified, assume None | Aldo Cortesi | 2018-05-12 | 1 | -0/+13 |
| | | | | | This is going to be a super common error for addon authors, so we might as well handle it. | ||||
* | keymap: read keys from CONFDIR/keys.yaml by default | Aldo Cortesi | 2018-05-10 | 2 | -2/+3 |
| | |||||
* | cadir -> confdir | Aldo Cortesi | 2018-05-10 | 7 | -13/+13 |
| | | | | | We store a lot more than just the CAs in our configuration directory. Clarify the option name. | ||||
* | console keybindings: define YAML-based format for console key binding ↵ | Aldo Cortesi | 2018-05-10 | 1 | -0/+94 |
| | | | | persistence | ||||
* | clientplayback: try to fix flaky replay test | Aldo Cortesi | 2018-05-08 | 1 | -0/+2 |
| | |||||
* | Ditch the addon stdout wrapper | Aldo Cortesi | 2018-05-08 | 3 | -20/+0 |
| | | | | | | This results in a 30% improvement in our core request throughput. Fixes #3102 | ||||
* | optmanager: refactor for coverage and clarity | Aldo Cortesi | 2018-05-08 | 1 | -1/+1 |
| | |||||
* | benchmarks: quick-run scripts for mitmproxy and mitmdump | Aldo Cortesi | 2018-05-08 | 2 | -0/+4 |
| | |||||
* | benchmark: keep track of requests/responses seen by proxy | Aldo Cortesi | 2018-05-08 | 1 | -0/+10 |
| | |||||
* | options: add the concept of deferred settings | Aldo Cortesi | 2018-05-08 | 1 | -1/+10 |
| | | | | | | | | | | | We've had a perpetual sequencing problem with addon startup. Users need to be able to specify options to addons on the command-line, before addons are actually loaded. This is only exacerbated with the new async core, where load order can't be relied on. This patch introduces deferred options. Options passed with "--set" on the command line are deferred if they are unknown, and are automatically applied by the addon manager once matching addons are registered and their options are defined. | ||||
* | remove leftover processing_complete | Maximilian Hils | 2018-05-06 | 1 | -3/+1 |
| | |||||
* | Remove allowremote addon, add an improved take called block | Aldo Cortesi | 2018-05-06 | 2 | -61/+63 |
| | | | | | | | | | We now have two options: block_global blocks global networks, block_private blocks private networks. The block_global option is true by default, and block_private is false by default. The addon name is "block" so the options are correctly prefixed. Also make option documentation precise, reduce verbosity of logs. | ||||
* | Merge pull request #3099 from Kriechi/fix-3024 | Aldo Cortesi | 2018-05-06 | 1 | -13/+35 |
|\ | | | | | fix #3024 | ||||
| * | fix #3024 | Thomas Kriechbaumer | 2018-05-05 | 1 | -13/+35 |
| | | |||||
* | | Remove custom events | Aldo Cortesi | 2018-05-03 | 1 | -15/+20 |
| | | | | | | | | | | These were always weird, and were added to support exit when processing completed to mitmdump. We now have better ways to do this. | ||||
* | | Remove the tick event | Aldo Cortesi | 2018-05-02 | 3 | -21/+5 |
| | | | | | | | | Mitmproxy: the tickless wonder. | ||||
* | | taddons: remove has_event | Aldo Cortesi | 2018-05-02 | 1 | -1/+0 |
| | | | | | | | | We no longer use this anywhere, so ditch it. | ||||
* | | Redesign keepserving | Aldo Cortesi | 2018-05-02 | 4 | -22/+43 |
| | | | | | | | | | | | | | | | | - Instead of listening for a pseudo-event, we periodically check whether client replay, server replay or file reading is active. - Adjust server replay not to use tick. - Adjust readfile to expose a command to check whether reading is in progress. | ||||
* | | commands: clarify command call interface, fix web app replay | Aldo Cortesi | 2018-05-02 | 4 | -19/+17 |
| | | |||||
* | | client replay: expad and consolidate tests | Aldo Cortesi | 2018-05-01 | 2 | -76/+105 |
| | | |||||
* | | client replay: re-design | Aldo Cortesi | 2018-04-30 | 6 | -59/+52 |
| | | | | | | | | | | | | | | | | | | Re-design the way client replay works. Before, we would fire up a thread, replay, wait for the thread to complete, get the next flow, and repeat the procedure. Now, we have one replay thread that starts when the addon starts, which pops flows off a thread-safe queue. This is much cleaner, removes the need for busy tick, and sets the scene for optimisations like server connection reuse down the track. | ||||
* | | client replay: move all client replay-related code into addon | Aldo Cortesi | 2018-04-27 | 5 | -85/+82 |
| | | |||||
* | | Merge pull request #3078 from kajojify/expanduser | Aldo Cortesi | 2018-04-26 | 1 | -0/+4 |
|\ \ | | | | | | | Fix #3002. Auto-expanding for tilda. | ||||
| * | | Fix #3002. Auto-expanding | Miroslav | 2018-04-26 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #3071 from cortesi/tickless | Aldo Cortesi | 2018-04-26 | 38 | -268/+293 |
|\ \ \ | |/ / |/| | | asyncio: shift script reloading out of the tick event | ||||
| * | | test: shift test_data out of our public API | Aldo Cortesi | 2018-04-23 | 32 | -225/+216 |
| | | | |||||
| * | | addons/script: improve relability of reload test | Aldo Cortesi | 2018-04-23 | 3 | -5/+11 |
| | | | | | | | | | | | | | | | | | | The granularity of mtime is surprisingly bad. Make the tests more robust against this, and promote has_log back to a public method, now that we have a few legitimate examples. | ||||
| * | | asyncio: shift script reloading out of the tick event | Aldo Cortesi | 2018-04-23 | 9 | -52/+80 |
| | | | | | | | | | | | | | | | | | | | | | The tick event is a nasty compromise, left over from when we didn't have an event loop. This is the first patch in a series that explores moving our built-in addons to managing coroutines on the eventloop directly for periodic tasks. | ||||
* | | | fix pytest invocation errors | Maximilian Hils | 2018-04-25 | 3 | -3/+3 |
|/ / | |||||
* | | Ignore signal errors on windows + various fixes | Aldo Cortesi | 2018-04-17 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | - Ignore the NotImplementedError raised by add_signal_handler on Windows. - Entrypoints return an integer exit code, or None. Adjust our type annotations and code to suit. Fixes #3061 | ||||
* | | asyncio: clarify shutdown semantics | Aldo Cortesi | 2018-04-16 | 4 | -20/+13 |
| | | | | | | | | | | This patch clarifies proxy shutdown, and specifies that the master.shutdown() method is thread-save. |