Commit Graph

189 Commits

Author SHA1 Message Date
tcbyrd
1bfae8280e Make package.json unique from upstream 2018-01-07 12:30:24 -05:00
Olivier Combe
5546e5c4fc working typescript setup (#375) 2017-12-30 23:14:26 -05:00
Brandon Keepers
0e373a8af5 fix(package): update jest to version 22.0.3 (#378)
Closes #373
2017-12-20 23:08:00 -06:00
tcbyrd
d829a8ac67 Setup typescript compiler options and configure build directory 2017-12-17 19:07:52 -05:00
tcbyrd
358d07a4f0 Add typings and tsconfig 2017-12-17 17:02:49 -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
c2d2da17ee Enable Codecov (#360) 2017-12-05 10:22:40 -05: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
d6129b48fc fix(package): update github to version 12.0.3 (#340)
Closes #243
2017-11-21 12:29:50 -06:00
Jason Etcovitch
9eeac3a57e refactor: switch ejs for hbs 2017-11-21 09:21:39 -05:00
Brandon Keepers
62e984c123 chore: Move index.js into lib/ (#338) 2017-11-20 21:13:18 -06:00
Jason Etcovitch
374ee7dd04 refactor: absorb github-app 2017-11-20 00:11:33 -05:00
Brandon Keepers
5dde8405c5 chore: remove unnecessary test config (#313) 2017-11-02 20:39:12 -05:00
Jason Etcovitch
5d29945dd2 feat: /probot homepage (#279)
* Add /probot route with tests

* Add index route, write tests

* Remove unused arg

* Pass tests

* Tweak HTML string and pkg require

* Add static directory

* Design welcome page

* Rename to probot.html

* Implement EJS

* Remove duplicate load

* Extract default homepage into plugin

* Fix issue after merge conflict

* Refactor app loading

* Remove autoloading of plugings

BREAKING CHANGE: `probot run` without any arguments will no longer autoload apps named `probot-*`.

* Move setup

* Look for `apps` key instead of `plugins`

* Update simulate command

* Simplify resolver

* Remove unused routes variable

* Move views to default path

* Call probot.setup to properly initialize default apps

* Simplify package loading

* Specify extension

* Add links to docs/slack

* Remove stats link

* Add helper to jest ignore

* Fix ejs views error

* Move a require to top of file

* Remove unnecessary (and breaking) test
2017-10-17 09:35:58 -04:00
Gregor
52d6ef5574 chore(package): run "docs" script after semantic-release 2017-10-14 11:45:19 -07:00
Jason Etcovitch
e7a0c5cd80 chore(tests): Migrate to Jest
* Add jest, remove mocha/expect

* Migrate all tests to Jest

* Make test pass

* Move tests into `/test/`

* Update testing docs

* Fix resolver test
2017-10-14 06:02:34 -07:00
Brandon Keepers
dda5df88d8 Refactor app loading (#284)
BREAKING CHANGE: `probot run` without any arguments will no longer autoload apps named `probot-*`.
2017-10-14 05:25:02 -07:00
Brandon Keepers
6d8ddaf3f7 feat: Expose public stats about installations (#181) 2017-10-11 21:09:13 -07:00
Brandon Keepers
c2f0b8d996 chore: update jsdoc to fix error 2017-10-11 20:31:55 -07:00
Brandon Keepers
4b20b6cc80 chore: semantic-release setup 2017-10-11 20:05:47 -07:00
Brandon Keepers
bb8e7136d8 Add eslint-plugin-markdown to lint docs 2017-09-12 07:01:18 -07:00
Brandon Keepers
d2c000ca49 0.11.0 2017-09-05 12:19:46 -05:00
Brandon Keepers
b646154b19 Merge remote-tracking branch 'origin/master' into github-apps
* origin/master: (72 commits)
  Fix title
  Link to testing next
  Install eslint-config-standard to fix error
  Configure greenkeeper-lockfile
  docs(readme): add Greenkeeper badge
  chore(package): update dependencies
  spacing
  other pee robot from #229
  pro the bot
  Move unchanged constants outside of function
  Set LOG_LEVEL=fatal for all tests
  Silence server errors in test with default error handler
  Move to absolute reference
  Fix doc links
  Create stale.yml
  Update changelog for removed deprecations
  Remove deprecated event argument for callback
  Remove deprecated `robot` method from a probot instance
  Update CHANGELOG.md
  Add link to full changelog
  ...
2017-09-05 12:07:44 -05:00
Brandon Keepers
ceb2cf726b Use latest github and github-app releases 2017-09-05 12:05:12 -05:00
Brandon Keepers
41ae301aa4 Install eslint-config-standard to fix error
I was seeing the following error locally and on Travis:
https://travis-ci.org/probot/probot/builds/270683575.

---

standard: Unexpected linter output:

Error: Failed to load plugin import: Cannot find module 'eslint-plugin-import'
Referenced from: /Users/bkeepers/projects/probot/probot/node_modules/standard/eslintrc.json
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.resolve (internal/module.js:18:19)
    at Object.load (/Users/bkeepers/projects/probot/probot/node_modules/eslint/lib/config/plugins.js:134:29)
    at Array.forEach (native)
    at Object.loadAll (/Users/bkeepers/projects/probot/probot/node_modules/eslint/lib/config/plugins.js:162:21)
    at load (/Users/bkeepers/projects/probot/probot/node_modules/eslint/lib/config/config-file.js:541:21)
    at configExtends.reduceRight (/Users/bkeepers/projects/probot/probot/node_modules/eslint/lib/config/config-file.js:424:36)
    at Array.reduceRight (native)
    at applyExtends (/Users/bkeepers/projects/probot/probot/node_modules/eslint/lib/config/config-file.js:408:28)
    at Object.load (/Users/bkeepers/projects/probot/probot/node_modules/eslint/lib/config/config-file.js:566:22)
2017-08-31 23:26:57 -05:00
greenkeeper[bot]
14692dd45b chore(package): update dependencies 2017-09-01 03:46:29 +00:00
Brandon Keepers
d1ba605c29 0.10.0 2017-08-24 15:44:30 -05:00
Bex Warner
6d37ad80da STANDARD LINT ALL OF THE THINGS 2017-08-22 20:06:31 -07:00
Brian Anglin
62eaccee71 Merge pull request #203 from anglinb/webhook_patch
Bumps webhook dep and adds webhookPath config
2017-08-22 14:28:02 -07:00
Jason Etcovitch
083a4f7a7c Add linter extend to package.json 2017-08-21 10:09:32 -07:00
anglinb
d8b42674fd Bumps webhook dep and adds webhookPath config 2017-08-13 19:31:58 -07:00
Brandon Keepers
9aa13bdd52 Bump version to 0.10.0 2017-08-09 15:11:18 -05:00
Brandon Keepers
0f7260d5c6 Update node-github and github-apps deps 2017-08-09 15:11:18 -05:00
Brandon Keepers
a5f6a7a225 0.9.1 2017-08-09 08:37:53 -05:00
Brandon Keepers
93dd936430 0.9.0 2017-08-06 19:59:37 -05:00
Brandon Keepers
767c852553 Use express for http server 2017-08-01 14:12:09 -05:00
Brandon Keepers
28d30d507b 0.8.0 2017-07-27 11:16:42 -05:00
Brandon Keepers
cc619ac522 Publish docs after publishing package 2017-07-27 11:16:36 -05:00
Brandon Keepers
f21679a303 Merge remote-tracking branch 'origin/master' into read-config
* origin/master: (79 commits)
  Fix typo
  Add nodemon option to  development docs
  Document event simulation
  document tailing logs on heroku
  Use commander for simulate command
  Use receive api to deliver event
  Add simulate as a subcommand
  Rename simulate script and fix lint errors
  Update LICENSE
  0.7.5
  chore(CHANGELOG): 0.7.5
  fix: allow to set PRIVATE_KEY with "\\n" characters
  test: allow to set PRIVATE_KEY with "\\n" characters
  Don't capitalize npm
  0.7.4
  Update CHANGLEOG for 0.7.4
  Fix bug introduced in 0.7.3
  Consolidate Robot tests
  Fix changelog for 0.7.3 release
  0.7.3
  ...
2017-07-27 08:11:06 -05:00
Gregor
f0b3f4993f 0.7.5 2017-07-13 08:18:37 -07:00
Brandon Keepers
c4f142e055 0.7.4 2017-06-30 16:00:24 -05:00
Brandon Keepers
0191325657 0.7.3 2017-06-30 15:07:51 -05:00
Brandon Keepers
b4d946f92b Wait for async events to resolve before returning 2017-06-30 12:34:23 -05:00
Brandon Keepers
65e01911f9 0.7.2 2017-06-25 16:24:09 -04:00
Brandon Keepers
2aa5e6f90c Update to github-app depenedency 2017-06-25 16:06:01 -04:00
Brandon Keepers
21de1b2362 0.7.1 2017-06-16 11:20:12 -07:00
Brandon Keepers
b4cdeabfbd 0.7.0 2017-06-15 16:41:55 -07:00
Brandon Keepers
36da7cc42a Remove localtunnel dependency
added in 82f75cb6d2
2017-06-11 19:42:13 -07:00
Brandon Keepers
82f75cb6d2 Fix lint errors 2017-06-11 01:17:47 -05:00
Brandon Keepers
540319c014 Merge remote-tracking branch 'origin/master' into release-0.6.0
* origin/master:
  Use shared es lint config
  Relax node version
  Add serializer for `repository` object
  Fix env var name for deprecated INTEGRATION_ID
  Update name from "GitHub Integrations" to "GitHub Apps"
2017-06-09 18:07:42 -05:00