Commit Graph

1213 Commits

Author SHA1 Message Date
wolfy1339 d76c70ba23 test: convert final test to TypeScript (#850) 2019-03-08 11:18:05 -08:00
Karol Majewski 2501243a32 build(package): Update Jest to v24 (#863) 2019-03-08 11:18:05 -08:00
wolfy1339 19fb9d2b53 feat: Add overloads for all Webhook events (#858) 2019-03-08 11:17:52 -08:00
Jakub Kadlubiec 8c47d1f9f8 fix: remove unnecessary escaping in private key error message (#862) 2019-03-08 11:17:52 -08:00
Alberto Gimeno bd42feba23 feat: standalone run command (#751) 2019-03-08 11:17:52 -08:00
greenkeeper[bot] f331ff014d chore(package): update lockfile package-lock.json 2019-03-08 11:17:35 -08:00
greenkeeper[bot] 6d5347b034 chore(package): update ts-jest to version 24.0.0 2019-03-08 11:17:22 -08:00
Adam Netočný 9b11084404 feat: options.Octokit to pass custom Octokit version (#840) 2019-03-08 11:17:22 -08:00
wolfy1339 9aa2812263 chore(tests): Convert setup script to TS (#849) 2019-03-08 11:17:22 -08:00
greenkeeper[bot] 597ba9d525 chore(package): update lockfile package-lock.json 2019-03-08 11:17:22 -08:00
greenkeeper[bot] 65014ebcb4 chore(package): update @types/node to version 11.9.0 2019-03-08 11:17:11 -08:00
Michael Steward 30ac1a4200 fix(typescript): @octokit/webhooks import (#854)
The import of Webhooks from the `@octokit/webhooks` was incorrect, it is not a named export (see https://github.com/octokit/webhooks.js/blob/master/index.d.ts) but rather a default export
2019-03-08 11:17:11 -08:00
wolfy1339 067e26b4e6 test: Convert fixtures to TS (#848) 2019-03-08 11:17:11 -08:00
Chris Hiestand 4bbf29c245 feat: add constructor option for redis config (#846)
* add constructor option for redis config

close #845
2019-03-08 11:17:11 -08:00
Adam Netočný eab6851c53 fix: pass baseUrl option to @octokit/app (#839) 2019-03-08 11:16:59 -08:00
Gregor 9e9b808a08 test: remove deprecations 2019-03-08 11:16:59 -08:00
Gregor 1f76ec618c fix: remove handling deprecated `.event` property
BREAKING CHANGE: Deprecated `event.event` property is no longer handled. Use `event.name` instead
2019-03-08 11:16:59 -08:00
Gregor f46c41cb89 fix: remove deprecated `catchErrors` constructor option
BREAKING CHANGE: Deprecated `new Probot({catchErrors})` has been removed
2019-03-08 11:16:59 -08:00
Gregor 57587b83b8 fix: remove deprecated "simulate" command
BREAKING CHANGE: `probot simulate` hase been removed, use `probot receive` instead
2019-03-08 11:16:59 -08:00
Gregor 6638331030 fix: create only a single redis connection when REDIS_URL is set 2019-03-08 11:16:59 -08:00
Gregor 2a0c1de266 test: create single redis connection in probot constructor 2019-03-08 11:16:59 -08:00
Gregor 0a3c828ff9 style: standard 2019-03-08 11:16:59 -08:00
Alberto Gimeno 7e59638bb5 refactor: use webhooks type definitions from @octokit/webhooks 2019-03-08 11:16:59 -08:00
Gregor 08047e25ca build(package): lock file 2019-03-08 11:16:59 -08:00
Gregor f86f362e59 build(package): update @octokit/webhooks and @octokit/rest 2019-03-08 11:16:45 -08:00
Gregor 86f5312ad5 feat: Cluster support for request throttling 2019-03-08 11:16:45 -08:00
Gregor b0f0f50602 test: throttle using Redis-backed Bottleneck for cluster support 2019-03-08 11:16:44 -08:00
Gregor 7ce6902b71 test: request error logs 2019-03-08 11:16:44 -08:00
Gregor 328d9f519b build(package): lock file 2019-03-08 11:16:44 -08:00
Gregor c4845298bc docs(configuration): REDIS_URL 2019-03-08 11:16:29 -08:00
Gregor 189ff9ba33 build(package): bottleneck, ioredis 2019-03-08 11:16:29 -08:00
JC cb21ca7a22 docs(testing): typo in code example (#834) 2019-03-08 10:00:43 -08:00
Gregor 20e7c65a50 refactor: use "auth" constructor option instead of `octokit.authenticate()` 2019-03-08 10:00:43 -08:00
Gregor d3ea6114e7 build(package): lock file 2019-03-08 10:00:43 -08:00
Gregor 328ea0c640 build(package): @octokit/rest v16.13.0 2019-03-08 10:00:43 -08:00
Gregor a3da7b231c refactor: remove obsolete `debug` option for Octokit
This has been removed in v13: https://github.com/octokit/rest.js/releases/tag/v13.0.0
2019-03-08 10:00:43 -08:00
Gregor 64f5928356 test: adapt tests for `@octokit/app`. We no longer need to test caching of installation tokens, this is implemented within `@octokit/app 2019-03-08 10:00:43 -08:00
Gregor 3f8a50a993 refactor: replace `github-app.ts` with `@github/app` 2019-03-08 10:00:43 -08:00
Gregor 0821b969f3 build(package): lock file 2019-03-08 10:00:43 -08:00
Gregor d6dcaebcdd build(package): @octokit/app 2019-03-08 10:00:43 -08:00
Gregor 74e040ea43 docs(CONTRIBUTING): 🏗 Probot v8 beta 2019-03-08 10:00:43 -08:00
Gregor e87187c3ba docs(README): npm beta badge 2019-03-08 10:00:43 -08:00
Gregor f85a223cf1 build(packag): lock file 2019-03-08 10:00:43 -08:00
Gregor a9fafdd56d refactor: cache entire Octokit instances instead of just the auth token 2019-03-08 10:00:43 -08:00
Gregor 4b71bca6de build(package): @octokit/plugin-retry@^2.11, @octokit/plugin-throttling@^2.21 2019-03-08 10:00:43 -08:00
Gregor cf24e4c773 test: disable throttling for github tests 2019-03-08 10:00:43 -08:00
Gregor c1141ca6e6 build(package): lock-file 2019-03-08 10:00:43 -08:00
Gregor 70a58f6947 build(package): update versions for octokit throttle/retry plugins 2019-03-08 10:00:43 -08:00
Gregor e5974b6489 build: lock file -> https URLs 2019-03-08 10:00:43 -08:00
Gregor aa1c57072d fix: make `.issues.addLabels()` compatible with current GHE versions 2019-03-08 10:00:19 -08:00