Commit Graph

189 Commits

Author SHA1 Message Date
Brandon Keepers
21d38a65f5 Use shared es lint config 2017-06-09 18:07:19 -05:00
Brandon Keepers
a57228e34d Relax node version 2017-06-09 18:04:38 -05:00
Brandon Keepers
c885b77a26 0.6.0 2017-06-05 19:52:33 -05:00
greenkeeper[bot]
f24153b7e2 fix(package): update github-integration to version 2.0.1
Closes #151
2017-06-05 19:30:44 -05:00
Brandon Keepers
19ecc89247 Bump github version 2017-06-03 09:03:27 -05:00
greenkeeper[bot]
1e97a00945 fix(package): update github-integration to version 2.0.0 2017-06-03 13:47:29 +00:00
Lee Dohm
69cdf51547 👕 2017-05-12 09:04:09 -07:00
greenkeeper[bot]
99ba72a79f fix(package): update raven to version 2.0.0 2017-05-11 19:58:22 +00:00
Brandon Keepers
63319e882e Release v0.5.0. 2017-05-04 16:28:14 -05:00
Brandon Keepers
ab7c9dae9f Fix await/async for jsdoc 2017-04-29 09:55:50 -05:00
Brandon Keepers
00aff2385a Merge remote-tracking branch 'origin/master' into jsdoc
* 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
2017-04-29 09:29:01 -05:00
Christopher Hiller
a422599f51 add .js ext to files in bin/; closes #129
- add missing `semver` dependency
- lint files in `bin/`
- ignore `localtunnel` issue for now
2017-04-26 14:51:23 -07:00
Brandon Keepers
f639dfc30d Merge pull request #123 from boneskull/issue/99
enable autodiscovery of plugins; closes #99
2017-04-17 06:14:28 -05:00
Brandon Keepers
2605e49b9c Merge pull request #125 from boneskull/exec-path
ensure "start" script runs from local directory
2017-04-17 06:06:19 -05:00
Christopher Hiller
3b3d7fdd7d ensure "start" script runs from local directory 2017-04-17 02:01:38 -07:00
Christopher Hiller
8b858aaa64 enable autodiscovery of plugins; closes #99
- new behavior: if no plugins are specified, then they are automatically discovered.  if plugins are specified, no autodiscovery happens
- a plugin is defined as a module whose name begins with the prefix `probot-`
- move plugin loading/resolving routines into module
- add tests
2017-04-17 01:59:03 -07:00
Christopher Hiller
387b0b5e28 use function expressions in suite and test blocks
When writing Mocha tests, the blocks should be function expressions instead of lambdas.  The reasoning is that it's easier to refactor if a test needs a custom timeout, or needs to be conditionally skipped:

    it('should do x', () => {
      this.skip(); // throws exception
    });

    it('should do x', function () {
      this.skip(); // ok
    });
2017-04-17 01:53:56 -07:00
Brandon Keepers
5f3463295b Release v0.4.1. 2017-04-08 17:54:57 -05:00
Brandon Keepers
ee11e92995 Relax node version requirements 2017-04-08 17:49:47 -05:00
Brandon Keepers
f40d2376d3 Merge remote-tracking branch 'origin/master' into raven-log
* origin/master:
  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
2017-04-08 17:38:36 -05:00
Brandon Keepers
c7393aa604 Release v0.4.0. 2017-04-08 17:35:48 -05:00
Brandon Keepers
fd3f1e0208 Connect sentry to logger 2017-04-08 12:18:31 -05:00
Brandon Keepers
60b2af551f Release v0.3.2. 2017-04-06 08:41:19 -05:00
Brandon Keepers
614df3fad6 Release v0.3.1. 2017-04-05 08:22:28 -05:00
Brandon Keepers
52917d346b Merge remote-tracking branch 'origin/master' into jsdoc
* 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
  ...
2017-04-01 22:59:25 -05:00
Brandon Keepers
37140a285b Add raven to report errors to sentry 2017-03-31 17:37:00 -07:00
Brandon Keepers
6a16b24338 Release v0.3.0. 2017-03-31 05:41:21 -07:00
Brandon Keepers
4b483938f8 Release v0.2.1. 2017-03-28 00:35:13 -05:00
Brandon Keepers
f4eb189687 Hack to throttle requests 2017-03-28 00:03:07 -05:00
Brandon Keepers
9c3ffb1839 Merge pull request #108 from probot/caching
Add cache
2017-03-27 22:33:36 -05:00
Brandon Keepers
530da8b31f Add cache and cache installation token 2017-03-27 22:13:17 -05:00
greenkeeper[bot]
8dfd800f9a chore(package): update xo to version 0.19.0
https://greenkeeper.io/
2017-03-25 20:06:07 +00:00
Brandon Keepers
0d97bb6a71 Add jsdoc 2017-03-20 00:36:51 -05:00
Brandon Keepers
57d5ef5862 Release v0.2.0. 2017-03-19 14:35:33 -05:00
Brandon Keepers
0c13f270a9 Merge remote-tracking branch 'origin/master' into greenkeeper/initial
* origin/master:
  Remove workflow demo
  Stick with PRIVATE_KEY
  Look for private-key.pem
  Default to short log output
  probot run
  Update plugin docs
  Still support PRIVATE_KEY env var
  Use commander for CLI
2017-03-19 13:43:19 -05:00
greenkeeper[bot]
464b977197 chore(package): update dependencies
https://greenkeeper.io/
2017-03-19 17:01:34 +00:00
Brandon Keepers
2b8aaf7384 Default to short log output 2017-03-19 11:51:22 -05:00
Brandon Keepers
fc1d1078c2 probot run 2017-03-18 12:46:11 -05:00
Brandon Keepers
89e3310582 Use commander for CLI 2017-03-17 21:04:23 -07:00
Brandon Keepers
8295f51de5 Move dotenv loading to bin 2017-03-14 16:58:50 -05:00
Brandon Keepers
9cc93e77f5 Update package name 2017-03-12 11:13:31 -05:00
Brandon Keepers
e66acd40a4 Support loading from script or module 2017-03-11 22:38:58 -06:00
Brandon Keepers
ffbee1c16d The shell of a robot 2017-03-11 15:58:36 -06:00
Brandon Keepers
966ee288ca Use dotenv-safe if not in production 2017-03-11 08:20:28 -06:00
Brandon Keepers
1ba24b11f6 Merge remote-tracking branch 'origin/master' into demo
* 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
2017-03-11 07:59:22 -06:00
Brandon Keepers
4362fc118d Merge pull request #83 from bkeepers/refactor-2
Extract GitHub Integration code
2017-03-11 07:53:11 -06:00
Lee Dohm
bb6909bcf2 Add specs for Filter.on() 2017-02-28 14:33:54 -08:00
Brandon Keepers
c2ec31c425 Move GitHub Integration code to a module 2017-02-26 16:47:52 -06:00
Brandon Keepers
365f16be3f Rename server.js to index.js 2017-02-24 20:32:00 -06:00
Brandon Keepers
5404a44fd9 Configure xo to work with probot scripts 2016-12-07 09:56:50 -06:00