aboutsummaryrefslogtreecommitdiffstats
path: root/docs/scripting/overview.rst
Commit message (Collapse)AuthorAgeFilesLines
* prominently link to examples in script docsMaximilian Hils2017-04-271-0/+6
|
* Revamp how addons workAldo Cortesi2017-04-251-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 stdlibMaximilian Hils2016-12-191-2/+2
|
* Addon test docs, remove stray deprecated eventsAldo Cortesi2016-12-171-0/+17
| | | | Fixes #1572
* organize examplesMaximilian Hils2016-11-211-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 typosQuentin Pradet2016-11-141-2/+2
|
* docs: examples/logging -> examples/context_loggingAldo Cortesi2016-10-301-3/+3
|
* addons.Addons -> addonmanager, builtins -> addonsAldo Cortesi2016-10-191-1/+1
|
* docs: concurrency, developing scriptsAldo Cortesi2016-10-161-20/+19
|
* docs: scripts on saved flowsAldo Cortesi2016-10-161-7/+23
|
* docs: logging and the contextAldo Cortesi2016-10-161-14/+29
|
* docs: overview, classes, argumentsAldo Cortesi2016-10-161-20/+52
|
* docs: cleanups improvements and fighting sphinxAldo Cortesi2016-10-161-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