Commit Graph

642 Commits

Author SHA1 Message Date
Brandon Keepers 38bf929a92 Merge pull request #141 from probot/read-config
Add helper for loading config from a repository
2017-07-27 11:09:51 -05:00
Brandon Keepers 0a44d52191
Move test helper to block where it is used 2017-07-27 10:48:45 -05:00
Brandon Keepers 93ff9f99c5
Update API response format to include data attribute 2017-07-27 10:47:41 -05:00
Brandon Keepers 1d5da34153
Tweak docs 2017-07-27 10:26:52 -05:00
Brandon Keepers 0d41954c3a
Add example in doc, link from best practices 2017-07-27 10:16:19 -05:00
Brandon Keepers 2ee252e0d1
Fixture for unsafe yaml test 2017-07-27 10:14:41 -05:00
Brandon Keepers 81694fa5cd
Use safeLoad for untrusted yaml 2017-07-27 10:04:59 -05:00
Brandon Keepers b70e6af7b1
Update API docs 2017-07-27 09:43:18 -05:00
Brandon Keepers 794064f242
Move config method to context 2017-07-27 09:37:31 -05:00
Brandon Keepers f21679a303
Merge remote-tracking branch 'origin/master' into read-config
* origin/master: (79 commits)
  Fix typo
  Add nodemon option to  development docs
  Document event simulation
  document tailing logs on heroku
  Use commander for simulate command
  Use receive api to deliver event
  Add simulate as a subcommand
  Rename simulate script and fix lint errors
  Update LICENSE
  0.7.5
  chore(CHANGELOG): 0.7.5
  fix: allow to set PRIVATE_KEY with "\\n" characters
  test: allow to set PRIVATE_KEY with "\\n" characters
  Don't capitalize npm
  0.7.4
  Update CHANGLEOG for 0.7.4
  Fix bug introduced in 0.7.3
  Consolidate Robot tests
  Fix changelog for 0.7.3 release
  0.7.3
  ...
2017-07-27 08:11:06 -05:00
Brandon Keepers b51fd90a11 Merge pull request #179 from hiimbex/patch-2
Add nodemon option to  development docs
2017-07-24 15:56:44 -05:00
Brandon Keepers f4b324c992 Fix typo 2017-07-24 15:55:38 -05:00
Bex Warner 374dff600f Add nodemon option to development docs 2017-07-24 13:50:27 -07:00
Brandon Keepers c254a68c3f Merge pull request #136 from probot/simulate
Simulate command
2017-07-22 09:26:11 -05:00
Brandon Keepers a796b5be1d
Document event simulation 2017-07-22 09:24:12 -05:00
Brandon Keepers 6a279a4297 Merge pull request #178 from zeke/tail-the-logs
document tailing logs on heroku
2017-07-21 13:19:43 -05:00
Zeke Sikelianos db76238600 document tailing logs on heroku 2017-07-20 22:03:34 -07:00
Brandon Keepers 48518d6a94 Merge pull request #175 from soccerJoshNumberNine/patch-1
Update LICENSE
2017-07-19 16:47:23 -05:00
Brandon Keepers bed7346781
Use commander for simulate command 2017-07-18 20:32:19 +02:00
Brandon Keepers 332ee97bce
Use receive api to deliver event 2017-07-18 20:29:12 +02:00
Brandon Keepers f2103fded6
Add simulate as a subcommand 2017-07-18 20:09:57 +02:00
Brandon Keepers afa1a91921
Rename simulate script and fix lint errors 2017-07-18 20:09:17 +02:00
Brandon Keepers 18bd6644f0
Merge remote-tracking branch 'origin/master' into simulate
* origin/master: (65 commits)
  0.7.4
  Update CHANGLEOG for 0.7.4
  Fix bug introduced in 0.7.3
  Consolidate Robot tests
  Fix changelog for 0.7.3 release
  0.7.3
  Update changelog
  Raise errors by default
  Raise errors in tests
  Wait for async events to resolve before returning
  Fix lint errors
  Expose method to create robot
  Test with taking an argument and not
  Ensure * event still works
  Make Robot self-sustaining
  Allow creating robot without a logger
  Fix typo
  Move default secret so it works for programatic uses
  Test for manually delivering events
  Define receive method for manually delivering events
  ...
2017-07-18 20:05:34 +02:00
soccerJoshNumberNine 5f8619530a Update LICENSE 2017-07-16 16:41:12 -07:00
Gregor f0b3f4993f 0.7.5 2017-07-13 08:18:37 -07:00
Gregor a18f00c605 chore(CHANGELOG): 0.7.5 2017-07-13 08:18:32 -07:00
Gregor Martynus ece26960ff Merge pull request #171 from gr2m/master
allow to set PRIVATE_KEY with "\\n" characters
2017-07-13 08:14:51 -07:00
Gregor 7408fcb1f0 fix: allow to set PRIVATE_KEY with "\\n" characters 2017-07-13 08:07:57 -07:00
Gregor 04b448b7ee test: allow to set PRIVATE_KEY with "\\n" characters 2017-07-13 08:07:53 -07:00
Brandon Keepers 145f6dfa59 Merge pull request #170 from strugee/patch-1
Don't capitalize npm
2017-07-13 10:09:01 +02:00
AJ Jordan 331807dd15 Don't capitalize npm 2017-07-07 22:21:11 -05:00
Brandon Keepers 2074e440d4 Merge pull request #168 from probot/fix-webhook-delivery
Fix webhook delivery
2017-06-30 16:04:09 -05:00
Brandon Keepers c4f142e055
0.7.4 2017-06-30 16:00:24 -05:00
Brandon Keepers 8a0136ca7e
Update CHANGLEOG for 0.7.4 2017-06-30 16:00:18 -05:00
Brandon Keepers 201a58a878
Fix bug introduced in 0.7.3 2017-06-30 15:54:46 -05:00
Brandon Keepers 85cd707c01
Consolidate Robot tests 2017-06-30 15:45:00 -05:00
Brandon Keepers 968a7f52c0
Fix changelog for 0.7.3 release 2017-06-30 15:42:12 -05:00
Brandon Keepers c0a54abbca Merge pull request #165 from probot/receive
Make it easier to test plugins
2017-06-30 15:11:26 -05:00
Brandon Keepers 0191325657
0.7.3 2017-06-30 15:07:51 -05:00
Brandon Keepers a0467f694f
Update changelog 2017-06-30 14:46:55 -05:00
Brandon Keepers 6d574deb4e
Raise errors by default
Disable by passing `catchErrors: true` to Robot
2017-06-30 14:07:41 -05:00
Brandon Keepers 1cc4505792
Raise errors in tests 2017-06-30 14:01:01 -05:00
Brandon Keepers b4d946f92b
Wait for async events to resolve before returning 2017-06-30 12:34:23 -05:00
Brandon Keepers 98f12419e6
Fix lint errors 2017-06-30 12:19:15 -05:00
Brandon Keepers 78b7d49c32
Expose method to create robot 2017-06-30 12:19:09 -05:00
Brandon Keepers 61be74e3d4
Test with taking an argument and not 2017-06-30 12:18:52 -05:00
Brandon Keepers fe876d846c
Ensure * event still works 2017-06-30 11:12:08 -05:00
Brandon Keepers 0e38027092
Make Robot self-sustaining
Instead of passing in the webhook handler, this adds an EventEmitter on Robot so it can do its own event handling.
2017-06-30 11:06:06 -05:00
Brandon Keepers aa3146b18f
Allow creating robot without a logger 2017-06-30 10:34:25 -05:00
Brandon Keepers 2ab6a596af Merge pull request #166 from JasonEtco/patch-1
Fix typo
2017-06-30 09:34:07 -05:00