In #158 the event and context arguments to the callback got combined into one.
The documentation was still referring to the event object, which is no longer present.
These instructions referred to a file `autoresponder.js` which does not exist (a) for a plugin in general, or (b) for the autoresponder plugin in particular. The plugin template repo contains a file named `index.js` to export the plugin module, and this naming scheme seems to have been adopted widely (e.g. autoresponder, stale plugins both use `index.js`).
* origin/master: (45 commits)
Fix lint errors
Upate tests to handle async callback
Update docs
Pass an authenticated client to context
Log unhandled rejections
Find private key if it is not set
add .js ext to files in bin/; closes#129
add PRIVATE_KEY_PATH env var support; closes#122
ensure "start" script runs from local directory
enable autodiscovery of plugins; closes#99
use function expressions in suite and test blocks
Update filename
Edits
fix formatting
Contents
Heroku docs
edits
Release v0.4.1.
Disable raven console alerts
Relax node version requirements
...
# Conflicts:
# docs/api.md
# lib/context.js
# lib/robot.js
# package.json
The loading preference is:
1. CLI flag
2. `PRIVATE_KEY`
3. `PRIVATE_KEY_PATH`
4. Find a `.pem` file in the current working dir
Changes:
- break out PK loading logic into module `lib/private-key.js`
- add more info to error messaging if probot fails to find a PK
- add tests
- add note to deployment docs
* origin/master: (27 commits)
Release v0.4.1.
Disable raven console alerts
Relax node version requirements
Release v0.4.0.
Update log for local server
Remove tunnel script
Move subdomain config
Update docs to use localtunnel
Add subdomain option
Setup tunnel using localtunnel
Ensure node version is satisfied
autoBreadcrumbs
Use local logger variable
Connect sentry to logger
Move logger setup to index
Fix package.json for multiple plugins
Specific filename not needed
Remove log
Ignore all private keys
Look for any pem in the cwd
...
* origin/master: (21 commits)
Update paginate to default to returning response
capture unhandled rejections
Fix lint errors
Add raven to report errors to sentry
Release v0.3.0.
Change level of log message
Start with array
Use `function` to preserve `this`
Add docs on paginate method
Fix lint errors
robot.auth as integration or installation
Add paginate to default github client object
Release v0.2.1.
Hack to throttle requests
Remove env variables
Fix travis version
Add cache and cache installation token
a
chore(package): update xo to version 0.19.0
Clarify that it's the _webhook_ secret
...
* origin/master: (25 commits)
Add Context.halt() function to make halting a rule simple
Update examples
💚 Update integration tests
Stop using const because state was leaking between tests
🎨
Add a bunch of Workflow tests
Add specs for Filter.on()
Add Filter plugin
Remove payload module
Move GitHub Integration code to a module
Rename server.js to index.js
Move server implementation to separate file
typo
Clean up docs
Revert "Add routing plugin"
Move requires to avoid circular dependencies
Add documentation for createIssue
Fix syntax errors
Add labels and assignees
Add routing plugin
...
# Conflicts:
# package.json