Commit Graph

1201 Commits

Author SHA1 Message Date
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
Gregor c6cbc97bf0 feat: new throttling & automated retries 2019-03-08 10:00:19 -08:00
Gregor 39f1fc087a docs(pagination): lookie lookie async iterators 👀 2019-03-08 10:00:19 -08:00
Gregor 6a6f456620 docs(github-api): github.graphql is the new github.query and then some 2019-03-08 10:00:19 -08:00
Gregor e0868f10b4 feat: new github.paginate API, github.paginate.iterator() 2019-03-08 10:00:19 -08:00
Gregor fa9a228197 feat: moar Typescript foo 2019-03-08 10:00:19 -08:00
Gregor 83b42b930f refactor: use @octokit/graphql 2019-03-08 10:00:19 -08:00
Gregor 624bae2d61 refactor: use the new github.paginate syntax 2019-03-08 10:00:19 -08:00
Gregor 6dc8dccdf8 refactor: github.request(route, options) is so pretty 2019-03-08 10:00:19 -08:00
Gregor 291824960c fix(logging): error.status is the new error.code. The old error.status is no more 2019-03-08 10:00:19 -08:00
Gregor f06d98479f refactor: Typescript does not like .bind() too much 2019-03-08 10:00:19 -08:00
Gregor 3f83dae4e7 test(pagination): test deprecations 2019-03-08 10:00:19 -08:00
Gregor a486f7c03b test: fix mocked responses for pagination requests
Responses are always arrays, never single objects
2019-03-08 10:00:19 -08:00