Ankeet Maini
c7ead98f78
refactor: use `WebhookEvents` export instead of an internal one. ( #1381 )
2020-10-13 11:38:13 -07:00
Gregor Martynus
630d78e347
fix(typescript): adapt for latest `@octokit/webhooks` ( #1374 )
...
Co-authored-by: Ankeet Maini <ankeet.maini@gmail.com>
2020-10-08 09:36:13 -07:00
Gregor Martynus
9483546c74
fix: do not overwrite `options.throttle` passed to `{Octokit: ProbotOctokit.defaults(options)} ( #1373 )
2020-10-04 14:11:15 -07:00
Gregor Martynus
f537204987
feat: deprecate `new Application({ throttleOptions })` ( #1365 )
2020-09-28 22:46:11 -07:00
Gregor Martynus
a235671fe9
fix: use `@probot/octokit-plugin-config` for `context.config` ( #1362 )
...
* build(deps): `@probot/octokit-plugin-config`
* test(context.config): adapt http mocks for `@probot/octokit-plugin-config`
* fix: use `@probot/octokit-plugin-config`
* test(context.config): remove tests that test internal behavior of `@probot/octokit-plugin-config`
2020-09-28 16:15:59 -07:00
Gregor Martynus
89538b073e
test(context.config): rewrite to integration tests ( #1363 )
2020-09-28 15:28:59 -07:00
Max Baumann
d907bbda0c
feat(setup): support registration using an existing GitHub app ( #1345 )
2020-09-18 09:17:51 -07:00
Max Baumann
235e308e35
fix: use custom host in new welcome message ( #1347 )
2020-09-18 08:46:55 -07:00
Alex
ed7a5134be
feat: add HOST/--host option ( #1335 )
2020-09-17 23:33:32 -07:00
Max Baumann
240e77ca3c
feat: increase readability of welcome message at setup ( #1343 )
2020-09-16 17:09:52 -07:00
Frank Zhao
e0760b0ef9
fix: remove redundant string in deprecation warning ( #1336 )
...
Signed-off-by: Frankzhaopku <syzhao1988@126.com>
2020-09-07 10:23:54 -07:00
Gregor Martynus
db03885d39
fix: `app.auth(installationId)` returns `octokit` instance with all required installation authentication settings ( #1326 )
2020-09-01 10:09:40 -07:00
Alex
5dcb8ae895
feat: log Probot version at startup ( #1321 )
2020-09-01 10:09:40 -07:00
Gregor Martynus
c43910364f
fix: throttleOption defaults and REDIS_URL configuration ( #1313 )
2020-09-01 10:09:40 -07:00
Gregor Martynus
ad3216497c
test(deprecation): `octokit.repos.createStatus()`
2020-09-01 10:09:40 -07:00
Gregor Martynus
072b8c26b5
v10.0.0
...
CHANGELOG: https://github.com/probot/probot/releases/tag/v10.0.0
2020-09-01 10:09:40 -07:00
Gregor Martynus
e3f6cf583b
fix: revert "v9.14.0" ( #1314 )
...
This reverts commit ee65669677
.
It was merged accidentally and incorrectly using squash & merge, which resulted in a 9.x feature relaese instead of tagging the the latest 10.x release as latest
2020-08-21 10:46:00 -07:00
Gregor Martynus
ee65669677
feat: v10 ( #1310 )
2020-08-21 10:38:30 -07:00
Max Baumann
1445abe6f2
fix: handle "port in use" ( #1260 )
2020-07-12 11:55:35 -07:00
Tim Brust
8a057d2b01
ci: fixes docs publishing by upgrading typescript dependency ( #1235 )
2020-05-26 11:49:22 -07:00
Ricki Hastings
2fdb253d85
fix: quotation marks in setup description ( #1175 )
2020-04-12 11:38:15 -07:00
Gregor Martynus
22d8215a63
fix: adapt for latest @octokit/rest
2020-02-03 14:44:54 -08:00
Maxim Devoir
4a4a97df92
fix: disable webhook-event-check in common test environments
2020-02-02 22:29:13 -08:00
Julian Nadeau
85b33ff6bd
Add support for GHE_PROTOCOL
2020-01-17 15:17:48 -08:00
Maxim Devoir
28a4d43185
fix: Limit webhook-event-check to known events in `/app` response ( #1092 )
...
Because `GET /app` does not include many events (e.g. `fork`, `installation`, etc.), we don't want to compare some events to the results of `GET /app`.
In these cases, webhook-event-check will silently ignore verifying whether the GitHub App is subscribed to the event.
2019-12-25 10:37:06 +01:00
Maxim Devoir
d8aa4e05ca
feat: Initial webhook-event-check feature ( #1078 )
2019-12-19 17:34:55 +01:00
Maxim Devoir
9cf0f98a82
fix: Use return value of `this` instead of a class ( #1060 )
...
Updates return type for changes made in @types/express-serve-static-core by https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39025
2019-11-01 19:27:26 -07:00
Michelle Tilley
159c215219
🎨 Refactor GitHub test
2019-10-30 15:26:24 -07:00
Michelle Tilley
edc9f8059a
Add tests for default retry and throttle options
2019-10-30 15:26:24 -07:00
Gregor Martynus
bf5275d41f
refactor: use Typescripts ReturnType<> instead of mocking all required properties
...
ping @JasonEtco - like that better?
2019-09-19 09:41:53 -07:00
Gregor Martynus
62645eb08e
test: upcoming @octokit/rest version has plenty of new Typescript definitions
...
This change will make it happy.
2019-09-19 09:41:53 -07:00
Michael Smith
3f0491f63b
feat: Implement probot-config on context.config ( #619 )
...
Implements the functionality of https://github.com/probot/probot-config
in context.config. This adds the ability to have config fallback to a
`.github` project in the target repository's organization, or for
repository configs to specify a particular repository to merge config
from.
2019-08-05 14:26:25 -07:00
Olivier Combe
ade14ae1dc
fix(typescript): use typescript `@deprecated` tag for `context.github.query` ( #938 )
...
This improves the discovery of the deprecated method as IDEs and linters will mark the method as deprecated if you use the correct tag.
2019-05-24 08:05:37 -07:00
Gregor
def87c05c0
test: make describe() function sync
2019-04-24 09:37:59 -07:00
Steve Winton
66a3b14242
fix: Support GitHub Enterprise Server in GitHub App Manifest flow implementation ( #902 )
2019-04-22 12:31:22 -04:00
Tommy Byrd
23e8eabf4a
feat: Update @octokit/rest to 16.22.0 ( #901 )
2019-04-03 08:57:13 -07:00
wolfy1339
b2f3858c7c
test: Convert manifest creation test to TS ( #884 )
2019-03-12 15:24:03 -07:00
Jason Etcovitch
596a42d0a0
fix: error.code => error.status ( #871 )
2019-03-08 11:18:18 -08:00
wolfy1339
fb4c06950c
test: convert webhook proxy test to TS ( #851 )
2019-03-08 11:18:18 -08:00
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
Alberto Gimeno
bd42feba23
feat: standalone run command ( #751 )
2019-03-08 11:17:52 -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
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
2a0c1de266
test: create single redis connection in probot constructor
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