Commit Graph

896 Commits

Author SHA1 Message Date
tcbyrd
eabdfbec5b Placeholder any type 2018-01-27 18:26:06 -05:00
tcbyrd
044bb742e4 Merge async error handler 2018-01-27 18:25:52 -05:00
tcbyrd
6763956669 Merge branch 'master' into typescript-init
Merge changes from 5.0

Remove merge markers
2018-01-27 18:24:46 -05:00
tcbyrd
d2fbb0fbb2 Adding some types for Installation, Account, and Repository 2018-01-15 14:51:16 -05:00
tcbyrd
0972145e87 Revert package.json 2018-01-14 22:49:51 -05:00
tcbyrd
8320d4b415 Move sentry and stats plugins to TS 2018-01-14 22:46:26 -05:00
tcbyrd
018c9fb5fc ignore coverage folder on npm 2018-01-07 12:36:39 -05:00
tcbyrd
1bfae8280e Make package.json unique from upstream 2018-01-07 12:30:24 -05:00
tcbyrd
7ef5857cc8 ignore src and test on npm 2018-01-07 12:26:06 -05:00
Olivier Combe
5546e5c4fc working typescript setup (#375) 2017-12-30 23:14:26 -05:00
tcbyrd
b38a97a700 Force Appveyor to use the project's tsconfig 2017-12-17 20:44:48 -05:00
tcbyrd
48b3e0692f Setup tsc on Appveyor 2017-12-17 20:21:18 -05:00
tcbyrd
0396ecedd2 Add typescript compiler to travis 2017-12-17 20:19:31 -05:00
tcbyrd
cfcc87e525 Run the test against the transpiled file 2017-12-17 19:11:39 -05:00
tcbyrd
adff1e4cc5 default.js -> default.ts
Changing the name and adding basic types for express
2017-12-17 19:11:06 -05:00
tcbyrd
b59ff3e088 index.js -> index.ts
Only renaming the file for now to ensure tranpilation to es5 syntax.
2017-12-17 19:09:50 -05:00
tcbyrd
d829a8ac67 Setup typescript compiler options and configure build directory 2017-12-17 19:07:52 -05:00
tcbyrd
c92ce20e60 Add build directory to gitignore 2017-12-17 17:04:05 -05:00
tcbyrd
358d07a4f0 Add typings and tsconfig 2017-12-17 17:02:49 -05:00
Jason Etcovitch
60c1b2b245 docs: Link to GHE docs (#370) 2017-12-13 12:19:08 -05:00
Jason Etcovitch
7bef6a7bf9 chore: Add serializer tests (#369) 2017-12-13 11:13:46 -05:00
Lucas Nicodemus
7d2a284461 docs: Improve Now documentation with scaling and aliases (#367) v4.0.0 2017-12-13 09:10:46 -06:00
Lucas Nicodemus
976af759fb docs: Add NODE_ENV to Zeit Now boot command (#365) 2017-12-08 09:05:55 -06:00
Lucas Nicodemus
6042678970 docs: Reflect now.sh private key issue (#364) 2017-12-08 02:53:02 -05:00
Brandon Keepers
6aa3a2f7b2 feat: Add support for experimental webhook proxy (#359)
Usage:

    $ WEBHOOK_PROXY_URL=http://github-webhook-proxy.herokuapp.com/abcxyz npm start
2017-12-07 12:30:18 -06:00
Jason Etcovitch
68ef6c08d4 Add example to README (#361) 2017-12-06 00:29:39 -05:00
Jason Etcovitch
c2d2da17ee Enable Codecov (#360) 2017-12-05 10:22:40 -05:00
Jason Etcovitch
92c5c52e66 Implement GHE Support (#331)
* Add GHE_URL host option to GitHubApi

* Absorb github-app repo

* Implement new github-app setup

* Basic tests for GHE support

* Add docs

* Switch GHE_URL for GHE_HOST

* Make the tests pass by moving things

* Fix sentry test
2017-11-30 13:02:58 -05:00
Brandon Keepers
27b7c8d406 refactor: Extract Sentry logging to a built-in plugin (#353) 2017-11-27 20:57:52 -06:00
Brandon Keepers
b4751760ec Log full requests as trace (#352) 2017-11-27 20:52:30 -06:00
Brandon Keepers
e35028890a Improve GitHub logging (#351)
* Extract github client extensions into module

* Add logging to extended GitHub client

* Update test to check output

* Inline GitHub App methods

* Update node-github links

* Remove src, which does not show up with LOG_FORMAT=simple anyway

* Fix lint errors
2017-11-27 10:18:58 -06:00
Jamie Jones
a7596e24d2 General cleanup (#350)
* re-order args for `bin/probot-run.js`
 - Local tunnel/internal properties are grouped together and appear first
  - GitHub App args are now grouped together and come second

* standardize on block comment spacing in `lib/robot.js`
  - open comment is flush
  - all subsequent lines are indented by 1-space
2017-11-26 21:42:04 -05:00
Brandon Keepers
01b347c9c4 doc: Logging (#348) 2017-11-25 22:44:32 -06:00
Brandon Keepers
1e2551853e feat: Add request/response logging (#322)
BREAKING CHANGE:
- Default log level is now `INFO` instead of `DEBUG`
2017-11-25 22:16:54 -06:00
Brandon Keepers
b5d05b3913 fix: Improve log messages for localtunnel (#349) 2017-11-25 22:03:31 -06:00
Jason Etcovitch
a1831021ec Fix two 404s to the API docs (#344) 2017-11-21 22:55:09 -05:00
Brandon Keepers
c5a0c5956c Add context.log to add event context to each log message (#321)
* Add logger on context.log

* Update robot.log instances in docs

* Add more event context
2017-11-21 12:31:55 -06:00
Brandon Keepers
d6129b48fc fix(package): update github to version 12.0.3 (#340)
Closes #243
2017-11-21 12:29:50 -06:00
Brandon Keepers
c05d36757a chore(packaging): Remove semantic-release from CI (#341) 2017-11-21 12:29:09 -06:00
Jason Etcovitch
9eeac3a57e refactor: switch ejs for hbs 2017-11-21 09:21:39 -05:00
Brandon Keepers
f8abe25d83 fix: Move unhandled rejection listener to cli scripts (#339) v3.0.3 2017-11-20 21:32:56 -06:00
Brandon Keepers
62e984c123 chore: Move index.js into lib/ (#338) 2017-11-20 21:13:18 -06:00
Dylan
5993a289cf Add option to develop Probot on Glitch (#306)
docs: Add "Remix on Glitch" button for hello world example
2017-11-20 00:23:42 -05:00
Jason Etcovitch
374ee7dd04 refactor: absorb github-app 2017-11-20 00:11:33 -05:00
Jason Etcovitch
dbdf9a55e0 chore: Setup Appveyor (#334)
* Add appveyor.yml
* Add AppVeyor badge to README
2017-11-19 23:57:37 -05:00
Brandon Keepers
83b7454f74 docs: Replace examples with include from website (#327) 2017-11-12 14:11:40 -06:00
Brandon Keepers
5dde8405c5 chore: remove unnecessary test config (#313) 2017-11-02 20:39:12 -05:00
Olivier Combe
f508dfa2cb fix: use posix join for context.config to fix issue on Windows (#311) v3.0.2 2017-11-02 08:09:56 -05:00
Olivier Combe
833a34e62b fix: use lowercase username for localtunnel (#310) v3.0.1 2017-10-31 07:57:05 -05:00
summerhopes
d65c23810e docs(typo): Fix typo in CONTRIBUTING 2017-10-30 11:45:04 -04:00