* Add button to setup GitHub app
* Add app.yml
* Add some comments to app.yml
* Associate events with permissions
* Allow configuring app with manifest
* Hacky version of callback URL for configuring app
* Remove manifest stuff for now
* Return nil if private key is not found
* Move setup stuff to a separate plugin
* Revert changes to default plugin
* Remove FIXME
* Revert changes to default template
* Use separate template for setup
* Fix lint warnings
* Convert test helper to typescript
* Initial test for setup app
* Require tests files to match `.test.(js|ts)`
* Account for multiple protocols in x-forwarded-proto
* Wrap pem in quotes
* Collapse class into request method for now
* run `refresh` after updating .env on Glitch
* Extract update-dotenv to a node module
* Create a smee url if one does not exist
* Hacky version of serving up the manifest
* WIP Manifest with code
* add comments for plan + figure out port
* using user-agent header for review lab
* add success view to redirect to after installation
* api is actually on github
* start making post
* fix quoting issue on POST
* everything is off review lab and on dotcom
* working version of app manifest flow
* Start trying to write tests against setup
* more refactor into thingerator; basic tests; write plans for other tests
* merge better..
* ok atom conflict handling broke
* hack the tests back together
* pass the tests 👊🏼
* moar test
* make it open in a new tab for Wil 💖
* make boolean work
* clean up logic, move messgae, just return html url not response
* clean up tests 👷🏾♀️
* rename Brandon's thingerator to manifest-creation
* 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
* origin/master:
maximize cat gifage
create new error instead of eslint disable
confirmed my localdev is is 😵
tetsing if a standard error fails on CI
STANDARD LINT ALL OF THE THINGS
update plugin usage
Add support for update-docs and new-issue-welcome
* origin/master:
The Slack chat channel on the Internet machine
Clean up link to slack channel
Add link to slack channel
Adds a line break
add test to ensure deprecation occurs
add version for deprecation to console.warn and inline comment
it's on the same tab
annoying space 💢
bot -> app
0 -> 1 silly markdown
Create CONTRIBUTING.md
Add linter extend to package.json
clarify REST API
use settings.yml
Update development.md
Fix urls to example apps
Fix link to example GitHub profile
Bumps webhook dep and adds webhookPath config
* origin/master: (65 commits)
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
Update changelog
Raise errors by default
Raise errors in tests
Wait for async events to resolve before returning
Fix lint errors
Expose method to create robot
Test with taking an argument and not
Ensure * event still works
Make Robot self-sustaining
Allow creating robot without a logger
Fix typo
Move default secret so it works for programatic uses
Test for manually delivering events
Define receive method for manually delivering events
...
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
- 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