Commit Graph

432 Commits

Author SHA1 Message Date
Brandon Keepers
4e2affbee4 Start with array 2017-03-30 16:43:15 -07:00
Brandon Keepers
35bf4017e8 Use function to preserve this 2017-03-30 16:31:49 -07:00
Brandon Keepers
b8366bda35 Add docs on paginate method 2017-03-30 16:00:39 -07:00
Brandon Keepers
1ae62eaa68 Fix lint errors 2017-03-30 15:50:13 -07:00
Brandon Keepers
5d8e229353 robot.auth as integration or installation 2017-03-30 15:00:37 -07:00
Lee Dohm
dbc48c14f5 Add paginate to default github client object 2017-03-30 14:29:32 -07:00
Brandon Keepers
4b483938f8 Release v0.2.1. v0.2.1 2017-03-28 00:35:13 -05:00
Brandon Keepers
1e65179168 Merge pull request #109 from probot/throttling
Hack to throttle requests
2017-03-28 00:15:54 -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
8291867879 Remove env variables 2017-03-27 22:22:59 -05:00
Brandon Keepers
97c7180d87 Fix travis version 2017-03-27 22:20:52 -05:00
Brandon Keepers
530da8b31f Add cache and cache installation token 2017-03-27 22:13:17 -05:00
Brandon Keepers
ff8aae5f26 a 2017-03-27 15:06:04 -05:00
Brandon Keepers
c1fdcb8b62 Merge pull request #106 from probot/greenkeeper/xo-0.19.0
Update xo to the latest version 🚀
2017-03-25 19:02:50 -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
cbad7462d1 Clarify that it's the _webhook_ secret 2017-03-25 08:25:56 -05:00
Brandon Keepers
c0d8f4d112 Fix formatting 2017-03-20 10:35:41 -05:00
Brandon Keepers
7dfd119664 Merge pull request #104 from probot/moar-docs
Doc updates
2017-03-19 23:20:44 -05:00
Brandon Keepers
6ac5b45464 Start of deploy docs 2017-03-19 23:19:09 -05:00
Brandon Keepers
989586b293 Update plugin docs 2017-03-19 23:19:09 -05:00
Brandon Keepers
c3d80ea256 Tweak README 2017-03-19 23:19:09 -05:00
Brandon Keepers
e11927dfcd Add API docs 2017-03-19 23:19:09 -05:00
Brandon Keepers
7316dae28a Update development docs 2017-03-19 23:19:08 -05:00
Brandon Keepers
57d5ef5862 Release v0.2.0. v0.2.0 2017-03-19 14:35:33 -05:00
Brandon Keepers
a4eff36b4a Merge pull request #103 from probot/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
2017-03-19 13:45:03 -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
Brandon Keepers
56079928fb Remove workflow demo
Moved to https://github.com/probot/workflow/blob/master/docs/demo.js
2017-03-19 13:41:58 -05:00
Brandon Keepers
4ee13ae156 Remove badge 2017-03-19 13:39:04 -05:00
Brandon Keepers
31f5045181 Merge pull request #102 from probot/cli
Use commander for CLI
2017-03-19 12:03:00 -05:00
greenkeeper[bot]
ebc2f844da docs(readme): add Greenkeeper badge
https://greenkeeper.io/
2017-03-19 17:01:37 +00:00
greenkeeper[bot]
464b977197 chore(package): update dependencies
https://greenkeeper.io/
2017-03-19 17:01:34 +00:00
Brandon Keepers
e8639cb172 Stick with PRIVATE_KEY 2017-03-19 11:58:12 -05:00
Brandon Keepers
f39c2f6259 Look for private-key.pem 2017-03-19 11:51:45 -05: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
5ba0d012c6 Update plugin docs 2017-03-18 12:42:11 -05:00
Brandon Keepers
e472931c02 Still support PRIVATE_KEY env var 2017-03-18 12:42:02 -05:00
Brandon Keepers
89e3310582 Use commander for CLI 2017-03-17 21:04:23 -07:00
Brandon Keepers
6888f45ff3 Merge pull request #95 from sridharavinash/dont-crash-on-bad-webhook
Dont crash on bad webhook
2017-03-14 23:26:42 -05:00
Avinash Sridhar
9412b63c95 Merge branch 'master' into dont-crash-on-bad-webhook 2017-03-14 20:53:06 -04:00
Avinash Sridhar
05049822df Use webhook error message to catch and log error
Removed the domain check. Now this fails with the a valid web hook
error but does not crash the server
2017-03-14 20:51:01 -04:00
Brandon Keepers
298275faf1 Merge pull request #96 from probot/log
Add shorthand for `robot.log`
2017-03-14 18:56:47 -05:00
Brandon Keepers
3687f99db1 Add docs on logging 2017-03-14 17:49:09 -05:00
Brandon Keepers
fc7d8a6693 Add shorthand for robot.log
robot.log("debug");
    robot.log.trace("Now we're talking");
    robot.log.info("I thought you should know…");
    robot.log.warn("Woah there");
    robot.log.error("ETOOMANYLOGS");
    robot.log.fatal("Goodbye, cruel world!");
2017-03-14 17:37:27 -05:00
Brandon Keepers
a30463817e Merge pull request #92 from sridharavinash/dot-env-load-catch-error
Error message without stack trace on dotenv-safe load
2017-03-14 17:11:15 -05:00
Brandon Keepers
8295f51de5 Move dotenv loading to bin 2017-03-14 16:58:50 -05:00
Avinash Sridhar
251b38fbeb fix semicolon for test 2017-03-14 14:01:25 -04:00
Avinash Sridhar
0e275b6aed Don't kill server if web hook domain is null
The server dies when the web hook is not a valid web hook. For now I’ve
resorted to testing `webhook.domain` with null, but not sure if that ’s
the right approach. This keeps the server running even if a unexpected
web hook is received.
2017-03-14 14:01:10 -04:00
Avinash Sridhar
631797e10f fixing failing tests
fixing some of the missing semicolon tests.
Also removed the process.exit(1) from index.js since this should be
handled in a CLI app like `probot.js`
2017-03-14 13:53:47 -04:00