Commit Graph

1101 Commits

Author SHA1 Message Date
Brandon Keepers
0e94bfc478 Add GitHubToken adapter and probot receive command 2018-10-09 09:16:51 -05:00
Brandon Keepers
67a9945954 Move into adapter subdir 2018-10-08 16:38:31 -05:00
Brandon Keepers
fed50764b1 Rename github => adapter 2018-10-07 13:08:45 -04:00
Brandon Keepers
c270752bc2 Add private key fixture 2018-10-07 11:47:52 -04:00
Brandon Keepers
d5b2733fd7 Merge remote-tracking branch 'origin/master' into ts-extract-github-adapter
* origin/master:
  Update octokit rest (#721)
2018-10-07 11:45:58 -04:00
Brandon Keepers
dc42f5457a Merge remote-tracking branch 'origin/master' into ts-extract-github-adapter
* origin/master: (51 commits)
  remove manual base64 encoding/decoding of private key (#717)
  chore(test): convert app/default test to TypeScript (#703)
  chore(test): convert Sentry test to TypeScript (#702)
  Detect color support (#708)
  Fix two typos (#709)
  7.2.0
  httpSSSSSSS (#701)
  chore(tests): convert serializers test to TypeScript (#695)
  Update development docs to explain GitHub App Manifests (#700)
  Probot Support for GitHub App Manifests (#650)
  Resolve Jest transform option deprecation warning (#694)
  chore(package): update nock to version 10.0.0
  7.1.2
  fix(package): require @octokit/webhooks@^5.0.2 (#691)
  Relax webhooks requirement
  fix(package): update @octokit/webhooks to version 5.0.1
  Update best-practices.md (#682)
  7.1.1
  add npm ignore for package-locks
  update octokit/rest and tests to use /app/installations (#681)
  ...
2018-10-07 11:43:05 -04:00
Bex Warner
1f88f432d6 Update octokit rest (#721)
* chore(package): update @octokit/rest to version 15.13.0

* use the number id not string
2018-10-06 14:59:50 -04:00
Donald Little
3bee037014 remove manual base64 encoding/decoding of private key (#717) 2018-10-03 13:52:42 -04:00
mackie
8663f1b8e6 chore(test): convert app/default test to TypeScript (#703)
See #582
2018-10-02 20:28:38 -04:00
mackie
18821db28c chore(test): convert Sentry test to TypeScript (#702)
See #582
2018-10-02 20:27:51 -04:00
Alberto Gimeno
0e232735ff Detect color support (#708)
* Detect color support

* Fix linting
2018-10-02 15:25:52 +02:00
Wilhelm Klopp
b9ee5de8fd Fix two typos (#709) 2018-10-02 09:03:32 +01:00
Bex Warner
2ff0ec6b20 7.2.0 v7.2.0 2018-09-26 15:46:45 -04:00
Bex Warner
3be935bcd2 httpSSSSSSS (#701) 2018-09-26 15:34:57 -04:00
mackie
1da70093b2 chore(tests): convert serializers test to TypeScript (#695)
* chore(tests): convert serializers test to TypeScript

related to #582

* refactor: update with PR comments
2018-09-26 15:23:09 -04:00
Bex Warner
1e63aa5058 Update development docs to explain GitHub App Manifests (#700)
* Update development.md

* Update development.md

* Update development.md
2018-09-26 15:22:21 -04:00
Brandon Keepers
f6946a0607 Probot Support for GitHub App Manifests (#650)
* Add button to setup GitHub app

* Add app.yml

* Add some comments to app.yml

* Associate events with permissions

* Allow configuring app with manifest

* Hacky version of callback URL for configuring app

* Remove manifest stuff for now

* Return nil if private key is not found

* Move setup stuff to a separate plugin

* Revert changes to default plugin

* Remove FIXME

* Revert changes to default template

* Use separate template for setup

* Fix lint warnings

* Convert test helper to typescript

* Initial test for setup app

* Require tests files to match `.test.(js|ts)`

* Account for multiple protocols in x-forwarded-proto

* Wrap pem in quotes

* Collapse class into request method for now

* run `refresh` after updating .env on Glitch

* Extract update-dotenv to a node module

* Create a smee url if one does not exist

* Hacky version of serving up the manifest

* WIP Manifest with code

* add comments for plan + figure out port

* using user-agent header for review lab

* add success view to redirect to after installation

* api is actually on github

* start making post

* fix quoting issue on POST

* everything is off review lab and on dotcom

* working version of app manifest flow

* Start trying to write tests against setup

* more refactor into thingerator; basic tests; write plans for other tests

* merge better..

* ok atom conflict handling broke

* hack the tests back together

* pass the tests 👊🏼

* moar test

* make it open in a new tab for Wil 💖

* make boolean work

* clean up logic, move messgae, just return html url not response

* clean up tests 👷🏾‍♀️

* rename Brandon's thingerator to manifest-creation
2018-09-26 15:22:11 -04:00
mackie
fc992466cc Resolve Jest transform option deprecation warning (#694) 2018-09-24 20:12:53 -04:00
greenkeeper[bot]
bdb2c0ebd9 chore(package): update nock to version 10.0.0 2018-09-14 16:03:03 -07:00
Tommy Byrd
a8a0f6521a 7.1.2 7.1.2 2018-09-13 19:53:00 -04:00
Tommy Byrd
9671c13ea9 Merge branch 'master' of https://github.com/probot/probot 2018-09-13 19:51:45 -04:00
Gregor Martynus
fcd1e9201e fix(package): require @octokit/webhooks@^5.0.2 (#691)
this is a security update
2018-09-13 19:50:39 -04:00
Brandon Keepers
4972ed0e83 Relax webhooks requirement 2018-09-11 22:26:28 -07:00
greenkeeper[bot]
4310b6e560 fix(package): update @octokit/webhooks to version 5.0.1 2018-09-11 22:26:28 -07:00
Maks Rafalko
be260ef13c Update best-practices.md (#682) 2018-09-05 16:08:08 -04:00
Bex Warner
069ec5e4dc 7.1.1 v7.1.1 2018-09-05 15:03:56 -04:00
Bex Warner
217eaa3e63 add npm ignore for package-locks 2018-09-05 15:03:51 -04:00
Bex Warner
facac548bf update octokit/rest and tests to use /app/installations (#681) 2018-09-04 17:06:06 -04:00
AditShah
31ec2a39c3 chore(test): convert server to TypeScript (#664) 2018-09-03 13:14:01 -04:00
greenkeeper[bot]
94d3d100d5 chore(package): update standard to version 12.0.0 (#672) 2018-09-03 12:38:25 -04:00
Shobhit Gupta
415b6ea1ad chore(test): Convert private-key tests to ts (#676) 2018-09-03 12:36:58 -04:00
greenkeeper[bot]
0a417e925c chore(package): update tslint-config-standard to version 8.0.0 (#677) 2018-09-03 12:35:35 -04:00
Augusto Goulart
c01361fc60 docs: Response object should call .send() and not .end() (#671) 2018-08-28 23:07:36 -05:00
Brandon Keepers
ba0616d174 7.1.0 2018-08-27 18:42:09 -04:00
Brandon Keepers
6ac4a06fd4 Fix link to deployment docs (#669) 2018-08-27 18:41:25 -04:00
Tommy Byrd
84660d085b TypeScript: set the proper response type when making a GraphQL query with context.github.query() (#667) 2018-08-24 11:24:26 -04:00
Bex Warner
782707af67 fix: Show friendly error when the webhook secret on GitHub does not match WEBHOOK_SECRET (#647) 2018-08-24 10:36:30 -04:00
Brandon Keepers
42d3d39c52 chore: Add template for release-drafter app (#666) 2018-08-24 10:34:35 -04:00
tcbyrd
5d92a110ea Merge branch 'master' of https://github.com/probot/probot 2018-08-24 10:29:07 -04:00
Karol Majewski
96b186ac0f chore: Convert resolver tests to TypeScript (#660) 2018-08-24 10:12:08 -04:00
Brandon Keepers
84518e5234 chore(package): update ts-jest to version 23.1.4 (#662) 2018-08-22 10:54:34 -04:00
Brandon Keepers
c8d9f0a9a1 chore(package): update bottleneck to version 2.8.0 (#661) 2018-08-22 10:40:28 -04:00
siddharth singh
8a12f83d0b Convert logger test to Typescript (#656)
* Convert logger test to Typescript

* Convert logger test to Typescript
2018-08-20 10:31:10 -04:00
Bex Warner
1820442f68 Add probot-messages (#657)
* Update extensions.md

* Update extensions.md
2018-08-19 17:42:02 -05:00
Ben Scott
d8383d3b51 Rename event->name in docs (#631)
To be inline with changes in https://github.com/probot/probot/pull/626
2018-08-17 23:16:48 -05:00
Brandon Keepers
691d724bea chore(package): update @types/node to version 10.7.0 (#659) 2018-08-17 18:57:52 -04:00
greenkeeper[bot]
135193225a chore(package): update typedoc to version 0.12.0 (#658) 2018-08-17 17:00:20 -04:00
Ben Scott
686232d13d chore: Rename plugins to apps (#654) 2018-08-17 14:17:15 -04:00
tcbyrd
24cfb6d21e Merge branch 'master' of https://github.com/probot/probot 2018-08-17 06:42:12 -04:00
Tommy Byrd
59f924e4e6 Add environment variable option to provide a base64 encoded key (#624)
* check for base64 in the PRIVATE_KEY variable

* Update private_key config documentation

* Link to deployment docs for private key usage
2018-08-10 08:07:12 -04:00