Commit Graph

1053 Commits

Author SHA1 Message Date
Wilhelm Klopp
007b953508 WIP Manifest with code 2018-09-13 15:19:08 +01:00
Brandon Keepers
af72e7be90 Hacky version of serving up the manifest 2018-08-17 10:48:06 -04:00
Brandon Keepers
4a7b79c179 Create a smee url if one does not exist 2018-08-10 13:54:50 -04:00
Brandon Keepers
b3959f4115 Extract update-dotenv to a node module 2018-08-10 13:53:23 -04:00
Wilhelm Klopp
906ef717e0 run refresh after updating .env on Glitch 2018-08-10 20:46:06 +07:00
Brandon Keepers
5cadf97f3b Collapse class into request method for now 2018-08-10 09:32:11 -04:00
Wilhelm Klopp
f9f59c5d6c Wrap pem in quotes 2018-08-10 19:12:26 +07:00
Wilhelm Klopp
fc12eabf33 Account for multiple protocols in x-forwarded-proto 2018-08-10 18:39:38 +07:00
Brandon Keepers
6543fca7d8 Require tests files to match .test.(js|ts) 2018-08-09 23:55:17 -04:00
Brandon Keepers
86374dd07f Initial test for setup app 2018-08-09 23:54:35 -04:00
Brandon Keepers
b0f18b078b Convert test helper to typescript 2018-08-09 23:54:20 -04:00
Brandon Keepers
51a5c93822 Fix lint warnings 2018-08-09 23:44:03 -04:00
Brandon Keepers
92439b8fa1 Use separate template for setup 2018-08-09 23:37:11 -04:00
Brandon Keepers
04d2c9a29a Revert changes to default template 2018-08-09 12:32:23 -04:00
Brandon Keepers
05c78f7c5d Remove FIXME 2018-08-09 12:30:46 -04:00
Brandon Keepers
8046b48ce9 Revert changes to default plugin 2018-08-09 12:29:41 -04:00
Brandon Keepers
f555fb53e9 Move setup stuff to a separate plugin 2018-08-09 12:27:41 -04:00
Brandon Keepers
561a9d1f28 Return nil if private key is not found 2018-08-09 11:54:34 -04:00
Brandon Keepers
9c8d7178de Remove manifest stuff for now 2018-08-09 11:05:53 -04:00
Brandon Keepers
4017ca3ad3 Hacky version of callback URL for configuring app 2018-08-07 13:54:57 -04:00
Brandon Keepers
6d579e9097 Allow configuring app with manifest 2018-08-06 10:07:39 -04:00
Brandon Keepers
c91a19b520 Merge remote-tracking branch 'origin/master' into setup-ui
* origin/master: (70 commits)
  Remove all remnants of localtunnel (#644)
  Refer to instances of ApplicationFunction as appFn (#633)
  Fixed jest tests not running due to insecure localhost warning (#640)
  Add typescript option to npx/yarn command (#630)
  chore(test): Convert github tests to TypeScript (#625)
  chore: Extract type declarations for @octokit/webhooks (#626)
  Create CODEOWNERS (#628)
  Bring testing docs in line with probot/template (#627)
  chore(package): update ts-jest to version 23.0.0 (#602)
  chore(test): Convert application tests to TypeScript (#614)
  Clarifies the Probot requires a webhook secret (#621)
  chore(test): Run tslint against tests (#622)
  Tweak formatting of config docs (#603)
  Fix: Improve typing of Context (#617)
  fix: Make cacheErrors option optional (#616)
  7.0.1
  Update ocotokit/rest.js to v15.9.4 (#610)
  fix: Remove extra event setting (#611)
  Update eslint to the latest version 🚀 (#581)
  docs: Fix new contribution grammar (#609)
  ...
2018-08-05 20:35:08 -04:00
Jason Etcovitch
e030579aa6 Remove all remnants of localtunnel (#644) 2018-08-03 12:35:28 -04:00
Ben Scott
d712141868 Refer to instances of ApplicationFunction as appFn (#633)
Stop using the names 'plugin' and 'app' to refer to instances of
ApplicationFunction.

This renames all variable names, but leaves the plugins folder in place,
to be renamed later
2018-08-02 14:47:27 -04:00
Tom Milligan
d40254cee8 Fixed jest tests not running due to insecure localhost warning (#640) 2018-07-27 16:03:55 -07:00
Rahman
80fc41ad14 Add typescript option to npx/yarn command (#630) 2018-07-23 08:10:24 -07:00
Kentaro Matsushita
eb6cea4e63 chore(test): Convert github tests to TypeScript (#625) 2018-07-17 23:02:07 -05:00
Brandon Keepers
59046bb7d8 chore: Extract type declarations for @octokit/webhooks (#626) 2018-07-17 14:38:04 -05:00
Bex Warner
248bf674df Create CODEOWNERS (#628)
* Create CODEOWNERS

* Update CODEOWNERS
2018-07-17 10:05:25 -07:00
Wilhelm Klopp
f3fd6585f1 Bring testing docs in line with probot/template (#627) 2018-07-17 21:01:12 +08:00
greenkeeper[bot]
37fc44440b chore(package): update ts-jest to version 23.0.0 (#602) 2018-07-15 06:26:32 -05:00
Kentaro Matsushita
88cdb2bfa4 chore(test): Convert application tests to TypeScript (#614) 2018-07-15 05:52:28 -05:00
Bex Warner
952f88b5b4 Clarifies the Probot requires a webhook secret (#621)
* Update development.md

* Update configuration.md

* Update configuration.md

* Update development.md
2018-07-13 09:50:42 -07:00
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 v7.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