mirror of
https://github.com/zhigang1992/probot.git
synced 2026-06-15 02:18:58 +08:00
* 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
32 lines
1.5 KiB
Handlebars
32 lines
1.5 KiB
Handlebars
<!DOCTYPE html>
|
|
<html lang="en" class="height-full">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Setup {{#if pkg.name }}{{ pkg.name }}{{else}}Your App{{/if}} | built with Probot</title>
|
|
<link rel="icon" href="/probot/static/probot-head.png">
|
|
<link rel="stylesheet" href="/probot/static/primer.css">
|
|
</head>
|
|
<body class="height-full bg-gray-light">
|
|
<div class="d-flex flex-column flex-justify-center flex-items-center text-center height-full">
|
|
<img src="/probot/static/robot.svg" alt="Probot Logo" width="100" class="mb-6">
|
|
<div class="box-shadow rounded-2 border p-6 bg-white">
|
|
<div class="text-center">
|
|
<h1 class="alt-h3 mb-2">Congrats! You have successfully installed your app!
|
|
<br>
|
|
Checkout <a href="https://probot.github.io/docs/webhooks/">Recieving webhooks</a> and <a href="https://probot.github.io/docs/github-api/">Interacting with GitHub</a> to learn more!</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mt-4">
|
|
<h4 class="alt-h4 text-gray-light">Need help?</h4>
|
|
<div class="d-flex flex-justify-center mt-2">
|
|
<a href="https://probot.github.io/docs/" class="btn btn-outline mr-2">Documentation</a>
|
|
<a href="https://probot-slackin.herokuapp.com/" class="btn btn-outline">Chat on Slack</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|