Commit Graph

642 Commits

Author SHA1 Message Date
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 14fd7bfb08 Merge pull request #114 from probot/doc-deploy
Docs for deploying plugins
2017-04-09 01:37:57 -05:00
Brandon Keepers aadf2d6e73
Update filename 2017-04-09 01:37:24 -05:00
Brandon Keepers 0ef380a6fd
Edits 2017-04-08 23:22:05 -05:00
Brandon Keepers 50983e5d76
fix formatting 2017-04-08 23:19:30 -05:00
Brandon Keepers 771e1e616f
Contents 2017-04-08 23:18:57 -05:00
Brandon Keepers c535483beb
Heroku docs 2017-04-08 23:16:00 -05:00
Brandon Keepers 558abda719
edits 2017-04-08 23:02:57 -05:00
Brandon Keepers d46c3a25fb
Merge remote-tracking branch 'origin/master' into doc-deploy
* 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
  ...
2017-04-08 22:57:19 -05:00
Brandon Keepers 5f3463295b
Release v0.4.1. 2017-04-08 17:54:57 -05:00
Brandon Keepers e7bf122903
Disable raven console alerts 2017-04-08 17:50:14 -05:00
Brandon Keepers ee11e92995
Relax node version requirements 2017-04-08 17:49:47 -05:00
Brandon Keepers 215f2b6387 Merge pull request #117 from probot/raven-log
Logs to Sentry
2017-04-08 17:41: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 7d367bda0d Merge pull request #118 from probot/version-check
Ensure node version is satisfied
2017-04-08 17:37:17 -05:00
Brandon Keepers c7393aa604
Release v0.4.0. 2017-04-08 17:35:48 -05:00
Brandon Keepers 64814d2592
Update log for local server 2017-04-08 17:35:29 -05:00
Brandon Keepers 9e4dcacf01 Merge pull request #119 from probot/localtunnel
replace ngrok with localtunnel
2017-04-08 17:34:25 -05:00
Brandon Keepers ad7efd7d69
Remove tunnel script 2017-04-08 17:17:31 -05:00
Brandon Keepers dba5ba8fbb
Move subdomain config 2017-04-08 17:16:17 -05:00
Brandon Keepers dc78001254
Update docs to use localtunnel 2017-04-08 17:12:48 -05:00
Brandon Keepers 4ef44acd7a
Add subdomain option 2017-04-08 17:09:03 -05:00
Brandon Keepers 3805b0d4bf
Setup tunnel using localtunnel 2017-04-08 16:52:53 -05:00
Brandon Keepers 9a67cee2c6
Ensure node version is satisfied 2017-04-08 12:46:11 -05:00
Brandon Keepers 85ad97d5d6
autoBreadcrumbs 2017-04-08 12:21:37 -05:00
Brandon Keepers f8ac99d674
Use local logger variable 2017-04-08 12:18:53 -05:00
Brandon Keepers fd3f1e0208
Connect sentry to logger 2017-04-08 12:18:31 -05:00
Brandon Keepers e64f65a5fc
Move logger setup to index 2017-04-08 12:05:26 -05:00
Brandon Keepers f3073ca8b2 Fix package.json for multiple plugins 2017-04-08 09:01:40 -05:00
Brandon Keepers 082f4b3ace Merge pull request #116 from probot/use-any-key
Look for any `.pem` file
2017-04-08 08:57:25 -05:00
Brandon Keepers ceaea351b9
Specific filename not needed 2017-04-08 08:51:31 -05:00
Brandon Keepers 4e4ead5074
Remove log 2017-04-08 08:51:01 -05:00
Brandon Keepers 677f28b5c2
Ignore all private keys 2017-04-08 08:43:07 -05:00
Brandon Keepers c6c9a152d3
Look for any pem in the cwd 2017-04-08 08:39:04 -05:00
Brandon Keepers dd9230a199 Create CODE_OF_CONDUCT.md 2017-04-06 18:49:20 -05:00
Brandon Keepers 7dbb707a9b
Show trace for webhooks received 2017-04-06 08:50:22 -05:00
Brandon Keepers 60b2af551f
Release v0.3.2. 2017-04-06 08:41:19 -05:00
Brandon Keepers eb07a5df68
Don't override unhandled rejection, report webhook errors 2017-04-06 08:40:48 -05:00
Brandon Keepers 614df3fad6
Release v0.3.1. 2017-04-05 08:22:28 -05:00
Brandon Keepers 76c4cd591b Merge pull request #113 from probot/best-practices
Start documenting best practices
2017-04-04 16:08:49 -05:00
Lee Dohm 8843f6f21e
Add 'dry run' recommendation 2017-04-03 15:29:36 -07:00
Brandon Keepers 15508e8ae1
Directions for deploying to Now 2017-04-02 10:57:37 -05:00
Brandon Keepers 03193ad44e
Start documenting best practices 2017-04-02 09:43:24 -05:00
Brandon Keepers e8aca83fc0
Update auth docs 2017-04-01 23:17:57 -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 db764604fb Merge pull request #111 from probot/sentry
Add raven to report errors to sentry
2017-04-01 22:56:31 -05:00
Brandon Keepers 301caf50d5 Merge pull request #112 from probot/paginate-default-callback
Update paginate to default to returning response
2017-04-01 22:56:07 -05:00
Brandon Keepers 52d071d180
Update paginate to default to returning response 2017-04-01 12:10:14 -05:00