Commit Graph

1201 Commits

Author SHA1 Message Date
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
Brandon Keepers 6ba287f8e4
docs: Add docs on unauthenticated events and a log warning (#536) 2018-05-19 08:24:54 -05:00
Bartosz Łaniewski f525df9e8a fix: Allow listening to `installation.deleted` event and other events that don't include an installation id (#475) 2018-05-18 23:43:16 -05:00
Brandon Keepers 1748c63219
Fix deprecatation warning for octokit authentication 2018-05-18 22:42:32 -05:00
Gregor Martynus 97ca3a512f
fix(package): update @octokit/rest to version ^15.6.0 (#533) 2018-05-16 11:03:26 -07:00
Jason Etcovitch d99f3bdb6e
chore: Test Node 9 and 10 in CI (#532) 2018-05-16 13:33:31 -04:00
Bex Warner 38da7388f5
Audit of readme based on maintainer audit feedback (#526)
* add building a probot app section + rm soc section

* the -> their
2018-05-13 15:32:56 -05:00
Bex Warner c0140b5d7b
add ignore spammy/abusive user option for stats endpoint (#513)
* add spammy user ignorance and test - not sure why failing 😭

* set account.stars to 0

* use id 1 for test user to properly authenticate

* delete process.env.ignored_accounts on aftereach

* add extra line
2018-05-13 15:28:18 -05:00
Richard Littauer 4524ada62c docs: suggested changes from audit #522 (#523) 2018-05-13 01:16:43 -04:00
Jason Etcovitch 7250d1de1e
docs: Issue templates (#525)
* Add Bug report

* Add Feature Request

* Update Bug_report.md
2018-05-13 01:15:13 -04:00
Pika 1bace4c32c docs: Remove the docs/deploy.md step... (#520)
...since the template no longer includes it
2018-05-05 15:17:50 -04:00
Pika 70dd807f36 docs: Remove obsolete step for deploying to Now (#517) 2018-05-03 10:33:23 -05:00
Ashantha Lahiru 42e23d43ba Fix typo (#515) 2018-04-24 11:54:48 -04:00
Abhijeet Singh 544e662740 doc: Added details about using the wildcard event (#504) 2018-04-22 16:53:40 -04:00
Kautilya Tripathi cfe3cddd58 fix: throw informative error if payload is missing repository (#508) 2018-04-22 16:36:08 -04:00
Brandon Keepers 9a26b1a968
docs: Add probot-attachments to extensions list (#510) 2018-04-21 09:59:12 -04:00