Commit Graph

665 Commits

Author SHA1 Message Date
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
Jason Etcovitch 96d2ba1960 Fix typo
Fixes a typo. `a organization` to `an organization`.
2017-06-28 16:26:56 -05:00
Brandon Keepers 0078c31523
Move default secret so it works for programatic uses 2017-06-27 12:50:21 -04:00
Brandon Keepers 9dd1afd696
Test for manually delivering events 2017-06-27 12:49:54 -04:00
Brandon Keepers 2f6a520854
Define receive method for manually delivering events 2017-06-27 10:26:42 -04:00
Brandon Keepers 0da2ede151
Merge branch 'apps'
* apps:
  0.7.2
2017-06-27 10:25:51 -04:00
Brandon Keepers 95f4057522 Merge pull request #164 from probot/apps
Use updated github-app package
2017-06-25 16:25:42 -04:00
Brandon Keepers 65e01911f9
0.7.2 2017-06-25 16:24:09 -04:00
Brandon Keepers f49984fb60
Update apis and docs to use github-apps module 2017-06-25 16:11:54 -04:00
Brandon Keepers 2aa5e6f90c
Update to github-app depenedency 2017-06-25 16:06:01 -04:00
Brandon Keepers fbbbb840a2
Link to PR from changelog 2017-06-25 15:34:50 -04:00
Brandon Keepers 01b1c60fd5 Update dates for releases
h/t @mcmahonjohn
2017-06-20 15:34:51 -07:00
Brandon Keepers 2a647ae832 Merge pull request #162 from kytrinyx/deprecation-typo
Fix typo in deprecation warning
2017-06-20 15:21:16 -07:00
Katrina Owen fe2ad5da12 Fix typo in deprecation warning
The deprecation warning boiled down to: APP_ID is deprecated, set APP_ID instead.
The deprecated environment variable is named INTEGRATION_ID.
2017-06-19 06:00:21 -06:00
Brandon Keepers 41ab48f21f Merge pull request #160 from hiimbex/patch-1
Update Documentation
2017-06-16 13:15:40 -07:00
Bex Warner abeb46b59d changing doc again 2017-06-16 11:32:07 -07:00
Brandon Keepers a083dafa1d Merge pull request #161 from probot/fix-context
Fix error when receiving events
2017-06-16 11:27:05 -07:00
Brandon Keepers 21de1b2362
0.7.1 2017-06-16 11:20:12 -07:00
Brandon Keepers 1d15e3492c
Update changelog for 0.7.1 2017-06-16 11:20:08 -07:00
Brandon Keepers 6571218cfe
Remove getter for backward compatability
This is actually causing an error, so just going to assume that the bump to 0.7.0 is enough to communicate the breaking change
2017-06-16 11:15:04 -07:00
Brandon Keepers 91c1472f34
Failing test to show issue with Context 2017-06-16 11:10:47 -07:00
Bex Warner 75f2f77b51 Update the readme 2017-06-16 10:25:13 -07:00
Brandon Keepers b11870d6b3
Merge remote-tracking branch 'origin/master'
* origin/master:
  Rename a reference to the combined context
2017-06-16 10:20:46 -07:00
Brandon Keepers c41678ee24 Merge pull request #159 from kytrinyx/doc-refs
Rename a reference to the combined context
2017-06-15 16:43:02 -07:00
Brandon Keepers b4cdeabfbd
0.7.0 2017-06-15 16:41:55 -07:00
Brandon Keepers f9b3061fea
Update Changelog for v0.7.0 2017-06-15 16:41:36 -07:00
Katrina Owen 5dbfd72b68 Rename a reference to the combined context
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.
2017-06-15 17:20:01 -06:00
Brandon Keepers bc74f99c3a Merge pull request #158 from probot/merge-event-context
Merge event and context arguments
2017-06-13 20:08:50 -07:00