Commit Graph

18 Commits

Author SHA1 Message Date
Brandon Keepers
5da38a01c2 Merge branch 'ts-extract-github-adapter' into github-app-webhooks
* ts-extract-github-adapter: (24 commits)
  Doc tweaks
  Remove @private
  Fix accidental change to catchErrors in constructor
  Add deprecations for `app.app()` and `app.auth`
  Rename `adapter` to just `github`
  chore(package): update ts-jest to version 23.0.0 (#602)
  chore(test): Convert application tests to TypeScript (#614)
  Clarifies the Probot requires a webhook secret (#621)
  chore(test): Run tslint against tests (#622)
  Tweak formatting of config docs (#603)
  Fix: Improve typing of Context (#617)
  fix: Make cacheErrors option optional (#616)
  7.0.1
  Update ocotokit/rest.js to v15.9.4 (#610)
  fix: Remove extra event setting (#611)
  Update eslint to the latest version 🚀 (#581)
  docs: Fix new contribution grammar (#609)
  update the example app id image (#606)
  Update links for our API (#604)
  Remove next tag (#595)
  ...
2018-07-15 09:25:38 -05:00
Brandon Keepers
8928971e81 Rename adapter to just github 2018-07-15 07:36:34 -05:00
Brandon Keepers
27f3a02cd4 Merge branch 'ts-extract-github-adapter' into github-app-webhooks
* ts-extract-github-adapter:
  chore(package): update @types/jest to version 23.1.3 (#593)
  Revert "Configuration: DISABLE_STATS=true" (#591)
  chore(package): update @types/jest to version 23.0.0 (#555)
  docs(configuration): DISABLE_STATS=true (#578)
  fix: Fix path to GraphQL API when using GitHub Enterprise (#580)
  Adds error case (#589)
  doc: Clarify that `WEBHOOK_SECRET` needs to match GitHub settings 
(#588)
  chore: Replace jsdoc with typedoc (#583)
  Adds missing awaits (#584)
  doc: Update robot => app in README (#586)
  docs: clarify GitHub apps as GA in 2.13 and above (#579)
  docs: Tweak payload info in testing.md (#575)
  add backticks (#574)
  docs: Typo (#572)
  fix: Throw if GHE_HOST includes a protocol (#570)
  feat: app.load() (#554)
  fix: Optimize IGNORED_ACCOUNTS check to reduce the number of API 
requests that the stats endpoint makes for spammy accounts (#566)
  add env config docs (#544)
2018-06-27 22:50:59 -05:00
Brandon Keepers
c107a83563 Merge remote-tracking branch 'origin/master' into ts-extract-github-adapter
* origin/master:
  chore(package): update @types/jest to version 23.1.3 (#593)
  Revert "Configuration: DISABLE_STATS=true" (#591)
  chore(package): update @types/jest to version 23.0.0 (#555)
  docs(configuration): DISABLE_STATS=true (#578)
  fix: Fix path to GraphQL API when using GitHub Enterprise (#580)
  Adds error case (#589)
  doc: Clarify that `WEBHOOK_SECRET` needs to match GitHub settings
(#588)
  chore: Replace jsdoc with typedoc (#583)
  Adds missing awaits (#584)
  doc: Update robot => app in README (#586)
  docs: clarify GitHub apps as GA in 2.13 and above (#579)
  docs: Tweak payload info in testing.md (#575)
  add backticks (#574)
  docs: Typo (#572)
  fix: Throw if GHE_HOST includes a protocol (#570)
  feat: app.load() (#554)
  fix: Optimize IGNORED_ACCOUNTS check to reduce the number of API
requests that the stats endpoint makes for spammy accounts (#566)
  add env config docs (#544)
2018-06-27 22:38:11 -05:00
Bex Warner
43ea6ce815 Adds error case (#589)
* add case

* i saved it before I typed the colon ::::::

* showdown: my 3 commits vs 1 colon

* add test cases for all scenarios
2018-06-27 16:53:34 -07:00
Jason Etcovitch
b60de0c123 fix: Throw if GHE_HOST includes a protocol (#570) 2018-06-18 14:32:02 -04:00
Brandon Keepers
17a7f0c820 Remove webhooks from accessor from Probot class 2018-06-12 00:06:18 -05:00
Brandon Keepers
14f971541e Move WebhookEvent definition 2018-06-11 23:47:34 -05:00
Brandon Keepers
622a5996b3 Extract GitHubAdapter class 2018-06-07 17:41:17 -07:00
Brandon Keepers
2efa0b24b7 chore: Rename robot to app (#542)
This replaces all internal references to "robot" with "app" or
"Application". There should be no functional change in public APIs, but
may cause some issues for anyone using internal APIs.
2018-06-01 17:45:23 -05:00
Tommy Byrd
d2fe925e1a chore: Rewrite core in Typescript (#372) 2018-05-25 15:17:19 -05:00
Brandon Keepers
9f324c79e3 chore: Minimal changes to get @octokit/webhooks working (#462) 2018-03-21 13:23:51 -04:00
Jason Etcovitch
2fc8fd8f45 feat: Better error messages (#434) 2018-03-21 01:33:58 -04:00
greenkeeper[bot]
0060098fd7 chore(package): Update standard to the latest version 🚀 (#436) 2018-02-28 10:09:40 -05:00
Brandon Keepers
a3c91afdf3 Properly handle async errors (#384) 2018-01-12 08:10:10 -06:00
Jason Etcovitch
92c5c52e66 Implement GHE Support (#331)
* Add GHE_URL host option to GitHubApi

* Absorb github-app repo

* Implement new github-app setup

* Basic tests for GHE support

* Add docs

* Switch GHE_URL for GHE_HOST

* Make the tests pass by moving things

* Fix sentry test
2017-11-30 13:02:58 -05:00
Brandon Keepers
27b7c8d406 refactor: Extract Sentry logging to a built-in plugin (#353) 2017-11-27 20:57:52 -06:00
Brandon Keepers
5dde8405c5 chore: remove unnecessary test config (#313) 2017-11-02 20:39:12 -05:00