Brandon Keepers
0078c31523
Move default secret so it works for programatic uses
2017-06-27 12:50:21 -04:00
Katrina Owen
fe2ad5da12
Fix typo in deprecation warning
...
The deprecation warning boiled down to: APP_ID is deprecated, set APP_ID instead.
The deprecated environment variable is named INTEGRATION_ID.
2017-06-19 06:00:21 -06:00
Brandon Keepers
98887fb148
Test localtunnel and retry if it failed
2017-06-11 01:06:53 -05:00
Brandon Keepers
d680401279
Move tunnel code into a separate file
2017-06-11 00:22:24 -05:00
Brandon Keepers
fdcc2e949f
Fix env var name for deprecated INTEGRATION_ID
2017-06-09 16:45:35 -05:00
Brandon Keepers
fdfbaeafac
Update name from "GitHub Integrations" to "GitHub Apps"
2017-06-05 21:11:08 -05:00
Brandon Keepers
3cdc44e462
Find private key if it is not set
...
Commander only calls the function if an argument is provided.
2017-04-29 07:50:59 -05:00
Christopher Hiller
a422599f51
add .js ext to files in bin/; closes #129
...
- add missing `semver` dependency
- lint files in `bin/`
- ignore `localtunnel` issue for now
2017-04-26 14:51:23 -07:00
Christopher Hiller
0f14bf3499
add PRIVATE_KEY_PATH env var support; closes #122
...
The loading preference is:
1. CLI flag
2. `PRIVATE_KEY`
3. `PRIVATE_KEY_PATH`
4. Find a `.pem` file in the current working dir
Changes:
- break out PK loading logic into module `lib/private-key.js`
- add more info to error messaging if probot fails to find a PK
- add tests
- add note to deployment docs
2017-04-24 23:02:48 -07:00
Christopher Hiller
8b858aaa64
enable autodiscovery of plugins; closes #99
...
- new behavior: if no plugins are specified, then they are automatically discovered. if plugins are specified, no autodiscovery happens
- a plugin is defined as a module whose name begins with the prefix `probot-`
- move plugin loading/resolving routines into module
- add tests
2017-04-17 01:59:03 -07:00
Brandon Keepers
7d367bda0d
Merge pull request #118 from probot/version-check
...
Ensure node version is satisfied
2017-04-08 17:37:17 -05:00
Brandon Keepers
dba5ba8fbb
Move subdomain config
2017-04-08 17:16:17 -05:00
Brandon Keepers
4ef44acd7a
Add subdomain option
2017-04-08 17:09:03 -05:00
Brandon Keepers
3805b0d4bf
Setup tunnel using localtunnel
2017-04-08 16:52:53 -05:00
Brandon Keepers
9a67cee2c6
Ensure node version is satisfied
2017-04-08 12:46:11 -05:00
Brandon Keepers
4e4ead5074
Remove log
2017-04-08 08:51:01 -05:00
Brandon Keepers
c6c9a152d3
Look for any pem in the cwd
2017-04-08 08:39:04 -05:00
Brandon Keepers
e8639cb172
Stick with PRIVATE_KEY
2017-03-19 11:58:12 -05:00
Brandon Keepers
f39c2f6259
Look for private-key.pem
2017-03-19 11:51:45 -05:00
Brandon Keepers
e472931c02
Still support PRIVATE_KEY env var
2017-03-18 12:42:02 -05:00
Brandon Keepers
89e3310582
Use commander for CLI
2017-03-17 21:04:23 -07:00
Brandon Keepers
8295f51de5
Move dotenv loading to bin
2017-03-14 16:58:50 -05:00
Brandon Keepers
3f0171d0a2
Debug
2017-03-13 16:13:21 -05:00
Brandon Keepers
e66acd40a4
Support loading from script or module
2017-03-11 22:38:58 -06:00
Brandon Keepers
ffbee1c16d
The shell of a robot
2017-03-11 15:58:36 -06:00