Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prominently link to examples in script docs | Maximilian Hils | 2017-04-27 | 1 | -0/+6 |
| | |||||
* | Revamp how addons work | Aldo Cortesi | 2017-04-25 | 1 | -17/+1 |
| | | | | | | | | | | | | | | | | | | | - Addons now nest, which means that addons can manage addons. This has a number of salutary effects - the scripts addon no longer has to poke into the global addons list, we no longer have to replace/remove/boot-outof parent addons when we load scripts, and this paves the way for making our top-level tools into addons themselves. - All addon calls are now wrapped in a safe execution environment where exceptions are caught, and output to stdout/stderr are intercepted and turned into logs. - We no longer support script arguments in sys.argv - creating an option properly is the only way to pass arguments. This means that all scripts are always directly controllable from interctive tooling, and that arguments are type-checked. For now, I've disabled testing of the har dump example - it needs to be moved to the new argument handling, and become a class addon. I'll address that in a separate patch. | ||||
* | rename logging.py example. this conflicted with Python's stdlib | Maximilian Hils | 2016-12-19 | 1 | -2/+2 |
| | |||||
* | Addon test docs, remove stray deprecated events | Aldo Cortesi | 2016-12-17 | 1 | -0/+17 |
| | | | | Fixes #1572 | ||||
* | organize examples | Maximilian Hils | 2016-11-21 | 1 | -11/+11 |
| | | | | | | | This commit is largely based on work by Thiago Arrais (@thiagoarrais) and Shane Bradfield (@l33tLumberjack). I wasn't really able to get their PR reasonably merged onto the latest master, so I reapplied their changes manually here and did some further improvements on that. | ||||
* | docs: Fix typos | Quentin Pradet | 2016-11-14 | 1 | -2/+2 |
| | |||||
* | docs: examples/logging -> examples/context_logging | Aldo Cortesi | 2016-10-30 | 1 | -3/+3 |
| | |||||
* | addons.Addons -> addonmanager, builtins -> addons | Aldo Cortesi | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | docs: concurrency, developing scripts | Aldo Cortesi | 2016-10-16 | 1 | -20/+19 |
| | |||||
* | docs: scripts on saved flows | Aldo Cortesi | 2016-10-16 | 1 | -7/+23 |
| | |||||
* | docs: logging and the context | Aldo Cortesi | 2016-10-16 | 1 | -14/+29 |
| | |||||
* | docs: overview, classes, arguments | Aldo Cortesi | 2016-10-16 | 1 | -20/+52 |
| | |||||
* | docs: cleanups improvements and fighting sphinx | Aldo Cortesi | 2016-10-16 | 1 | -0/+79 |
- Hide links to internal code listings, and link to github instead - Improve formatting of code/example captions - Fix outdated documentation of command-line options - Complete documentation of all events + improved formatting - tcp_open -> tcp_start, tcp_close -> tcp_end to reduce confusion |