Configuration of addon
In the administration area of Stash, click on Javascript Hooks to get to the global configuration area for Javascript Hooks for Stash. From this screen the administrator can configure the available hook actions to the script writers.
Configuration item | Description | Default value |
---|
Script timeout | How long a script can run for before being stopped | |
Enable HTTP | Can the javascript make http calls to remote servers | Enabled |
HTTP Connection timeout | | |
Http Socket timeout | | |
Enable external commands | Can the javascript shell out and execute a command on the command line as the stash user | Disabled |
External command timeout | How long to wait for a command to run before attempting to kill it | 3000ms |
Enable Email | Can the javascript trigger emails to be sent? | Enabled |
Email subject prefix | A prefix for the subject line for any emails sent | None |