Brandon Keepers
1795133ee4
chore(test): Run tslint against tests ( #622 )
2018-07-13 10:23:50 -05:00
Brandon Keepers
e284ee2567
Tweak formatting of config docs ( #603 )
...
* Move required indicator inline
* Remove example column
* Several tweaks to env docs
1. Sort alphabetically
2. Tweak descriptions
3. Clearer pattern for default values: `Default: <value>`
* implement @tcbyrd's idea for examples
2018-07-10 15:40:04 -07:00
Ben Scott
9d94cd6675
Fix: Improve typing of Context ( #617 )
...
* State event in Context constructor implements WebhookEvent
* State Context implements WebhookEvent
* Explicitly state properties in Context constructor instead of using
Object.assign
2018-07-10 09:24:08 -05:00
Ben Scott
c275173ce3
fix: Make cacheErrors option optional ( #616 )
...
Set a default value of false and update the property to note that it
will now always be a boolean
2018-07-09 16:57:01 -05:00
Jason Etcovitch
b32fc2b38d
7.0.1
2018-07-06 17:02:43 -04:00
Tommy Byrd
8340d85dbb
Update ocotokit/rest.js to v15.9.4 ( #610 )
...
* update ocotokit rest
2018-07-06 16:56:13 -04:00
Jason Etcovitch
fa371375db
fix: Remove extra event setting ( #611 )
2018-07-06 16:36:59 -04:00
greenkeeper[bot]
13ca06d852
Update eslint to the latest version 🚀 ( #581 )
...
* chore(package): update eslint to version 5.0.0
* Fix eslint-plugin-markdown
* Add standard-markdown to use with tslint
2018-07-06 15:33:35 -04:00
Garen Torikian
b5806ba816
docs: Fix new contribution grammar ( #609 )
2018-07-06 13:59:19 -04:00
Brian Douglas
1aaf280776
update the example app id image ( #606 )
...
* update the example app id image
per https://github.com/probot/probot/issues/600
* updates image to remove retina blurryness
2018-07-04 20:10:38 -07:00
Bex Warner
eef84796ed
Update links for our API ( #604 )
...
* Update hello-world.md
* Update best-practices.md
2018-07-02 09:17:37 -07:00
Brandon Keepers
9ec8765b79
Remove next tag ( #595 )
2018-06-28 11:41:40 -05:00
Brandon Keepers
a90fe25c54
7.0.0
2018-06-28 11:35:51 -05:00
Tommy Byrd
48887fa938
Various cleanup and fixes from TS checklist ( #585 )
...
* Optional Options
* Webhook ID is a string
* turning on no-var-requires and related fixes
* remove any. app is inferring correctly
* linter
2018-06-28 12:35:11 -04:00
Tommy Byrd
be1d8568e4
Add some documentation about TS to README and CONTRIBUTING ( #590 )
...
* Add TS info to README
* Add info about ts compiler when running tests
* don't talk about compiling
* Simplify and Unbold
2018-06-28 12:24:04 -04:00
Brandon Keepers
d740f2aa3e
chore: Use tslint-config-standard ( #594 )
2018-06-28 11:10:23 -05:00
greenkeeper[bot]
cec2e58d29
chore(package): update @types/jest to version 23.1.3 ( #593 )
2018-06-27 22:31:18 -05:00
Bex Warner
866929f2aa
Revert "Configuration: DISABLE_STATS=true" ( #591 )
...
* Revert "chore(package): update @types/jest to version 23.0.0 (#555 )"
This reverts commit dee76d207b
.
* Revert "docs(configuration): DISABLE_STATS=true (#578 )"
This reverts commit 3ac0fa1e68
.
2018-06-27 17:21:49 -07:00
greenkeeper[bot]
dee76d207b
chore(package): update @types/jest to version 23.0.0 ( #555 )
2018-06-27 19:15:58 -05:00
Gregor Martynus
3ac0fa1e68
docs(configuration): DISABLE_STATS=true ( #578 )
2018-06-27 19:15:14 -05:00
Morgan Delagrange
73ac539f45
fix: Fix path to GraphQL API when using GitHub Enterprise ( #580 )
...
The API path should be <ghe_host>/api/graphql, but
it is defaulting to <ghe_host>/api/v3/graphql.
2018-06-27 19:11:34 -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
Bex Warner
a54243394d
doc: Clarify that `WEBHOOK_SECRET` needs to match GitHub settings ( #588 )
2018-06-27 09:32:27 -05:00
Brandon Keepers
c2476c74e9
chore: Replace jsdoc with typedoc ( #583 )
2018-06-26 18:02:59 -05:00
Alberto Gimeno
8df333ccf8
Adds missing awaits ( #584 )
...
Both `get` and `set` are async in the metadata library. The `await` in `get` is required in this case because otherwise it will always to set a promise on the metadata, which doesn't make sense, and the await in set is required to not swallow the rejection if it fails.
2018-06-26 13:23:50 -07:00
Abhijeet Singh
6c2cc02e83
doc: Update robot => app in README ( #586 )
2018-06-26 14:44:11 -05:00
Brent Beer
9920d26cca
docs: clarify GitHub apps as GA in 2.13 and above ( #579 )
2018-06-22 09:25:28 -04:00
Ben Scott
fba83a10c6
docs: Tweak payload info in testing.md ( #575 )
...
This helps enforce the idea that a payload fixture file should be the
webhook payload body, so that the fixture can be referenced by both
tests and `probot simulate`.
2018-06-20 17:26:40 -07:00
Bex Warner
c676d6c561
add backticks ( #574 )
2018-06-20 14:50:27 -07:00
peterennis
f855f51743
docs: Typo ( #572 )
...
s/to customized/to be customized
2018-06-18 21:35:20 -04:00
Jason Etcovitch
b60de0c123
fix: Throw if GHE_HOST includes a protocol ( #570 )
2018-06-18 14:32:02 -04:00
Jason Etcovitch
de18b9000b
feat: app.load() ( #554 )
2018-06-15 20:14:41 -04:00
Brandon Keepers
7966de6a47
fix: Optimize IGNORED_ACCOUNTS check to reduce the number of API requests that the stats endpoint makes for spammy accounts ( #566 )
2018-06-15 11:17:24 -05:00
Bex Warner
44d2f5aa83
add env config docs ( #544 )
...
* add env config docs
* fix environmental, add quotes
* actually commit all the things
* add npm rules blurb
* dotenv npm wording
* make formatting into a beautiful table
* place ordering before deployment
* fix md tables for gh markdown even though they work in atom readme preview
* specify defaults and add period
2018-06-12 12:59:56 -07:00
Brandon Keepers
1642a23738
chore: Turn on esModuleInterop for TypeScript ( #564 )
2018-06-11 17:00:22 -05:00
greenkeeper[bot]
ada0e75e56
fix(package): update dotenv to version 6.0.0 ( #556 )
2018-06-10 10:44:41 -05:00
Steven Zeck
e51dd016dc
chore: Remove noImplicitAny and add types to params ( #546 )
2018-06-09 23:20:03 -05:00
Brandon Keepers
623260ad2f
chore: Convert Context tests to TypeScript ( #541 )
2018-06-09 22:45:15 -05:00
greenkeeper[bot]
c5bf773cb3
chore(package): Update bottleneck to the latest version 🚀 ( #562 )
2018-06-09 21:40:58 -05:00
greenkeeper[bot]
702e40dc88
fix(package): update express-async-errors to version 3.0.0
2018-06-07 09:15:53 -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
Brandon Keepers
21cb03106a
chore(package): update @types/node to version 10.3.0 ( #553 )
...
Closes #547
2018-06-01 16:19:17 -05:00
Brandon Keepers
bce15ee2e7
docs: webhooks now include `node_id` ( #552 )
2018-06-01 15:04:10 -05:00
Giancarlos Salas
70f4a041f6
refactor: user response.headers instead of deprecated response.meta ( #550 )
2018-05-31 13:22:26 -07:00
Wei He
5f4340f504
docs: deployment to now ( #548 )
2018-05-29 13:44:50 -07:00
Tommy Byrd
d2fe925e1a
chore: Rewrite core in Typescript ( #372 )
2018-05-25 15:17:19 -05:00
Evan G
a91aa558be
Trigging -> Triggering a webhook ( #545 )
2018-05-23 18:29:00 -05:00
Brandon Keepers
a229144fd2
chore: Disable codecov comments ( #543 )
2018-05-22 22:41:44 -07:00
Bo Zhang
a73beeb630
Docs: Missing `break` statement in "Early exit" example ( #538 )
...
In current example, the `for` loop won't exit unless the missing `break` statement is added.
2018-05-20 07:23:33 -05:00
Brandon Keepers
61393304f0
chore: Commit version number, remove snapshot tests ( #535 )
2018-05-19 08:26:01 -05:00