Commit Graph

9 Commits

Author SHA1 Message Date
Brandon Keepers
2530f3469a Merge remote-tracking branch 'origin/master' into typescript-init
* origin/master:
  Docs: Missing `break` statement in "Early exit" example (#538)
  chore: Commit version number, remove snapshot tests (#535)
  docs: Add docs on unauthenticated events and a log warning (#536)
  fix: Allow listening to `installation.deleted` event and other events
that don't include an installation id (#475)
2018-05-20 10:33: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
tcbyrd
30af8747c2 Refactor imports and exports and fix tests
Convert the rest of the files in `/src` and disable allowJs

Move everything to named exports

Update bin to use named exports

Make all tests js and use named exports
2018-02-25 20:42:25 -05:00
tcbyrd
f2266abb5f Convert all the things!
Most of this is pulled over from @philschatz:
https://github.com/probot/probot/compare/master...philschatz:typescript

Some of the async tests are still failing, but lots of forward progress
to get all the core files converted to TS.
2018-02-17 23:23:17 -05:00
Olivier Combe
5546e5c4fc working typescript setup (#375) 2017-12-30 23:14:26 -05: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
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
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
5dde8405c5 chore: remove unnecessary test config (#313) 2017-11-02 20:39:12 -05:00