mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 13:24:26 -05:00
ad69c5017b
It's sad but it's not working. For multiple releases this should be already broken which shows how often it's used. As there is also a security issue related to that, it's better to remove the feature completely. Whoever wants to rewrite it, feel free to go. This commit removes the Google Drive integration from HackMD's Frontend editor and this way removes the need to provide any API key and Client ID in the frontend. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
159 lines
5.3 KiB
JSON
159 lines
5.3 KiB
JSON
{
|
|
"name": "HackMD",
|
|
"description": "Realtime collaborative markdown notes on all platforms",
|
|
"keywords": [
|
|
"Collaborative",
|
|
"Markdown",
|
|
"Notes"
|
|
],
|
|
"website": "https://hackmd.io",
|
|
"repository": "https://github.com/hackmdio/hackmd",
|
|
"logo": "https://github.com/hackmdio/hackmd/raw/master/public/hackmd-icon-1024.png",
|
|
"success_url": "/",
|
|
"env": {
|
|
"BUILD_ASSETS": {
|
|
"description": "Our build script variable",
|
|
"value": "true"
|
|
},
|
|
"NPM_CONFIG_PRODUCTION": {
|
|
"description": "Let npm also install development build tool",
|
|
"value": "false"
|
|
},
|
|
"DB_TYPE": {
|
|
"description": "Specify database type. See sequelize available databases. Default using postgres",
|
|
"value": "postgres"
|
|
},
|
|
"HMD_SESSION_SECRET": {
|
|
"description": "Secret used to secure session cookies.",
|
|
"required": false
|
|
},
|
|
"HMD_HSTS_ENABLE": {
|
|
"description": "whether to also use HSTS if HTTPS is enabled",
|
|
"required": false
|
|
},
|
|
"HMD_HSTS_MAX_AGE": {
|
|
"description": "max duration, in seconds, to tell clients to keep HSTS status",
|
|
"required": false
|
|
},
|
|
"HMD_HSTS_INCLUDE_SUBDOMAINS": {
|
|
"description": "whether to tell clients to also regard subdomains as HSTS hosts",
|
|
"required": false
|
|
},
|
|
"HMD_HSTS_PRELOAD": {
|
|
"description": "whether to allow at all adding of the site to HSTS preloads (e.g. in browsers)",
|
|
"required": false
|
|
},
|
|
"HMD_DOMAIN": {
|
|
"description": "domain name",
|
|
"required": false
|
|
},
|
|
"HMD_URL_PATH": {
|
|
"description": "sub url path, like `www.example.com/<URL_PATH>`",
|
|
"required": false
|
|
},
|
|
"HMD_ALLOW_ORIGIN": {
|
|
"description": "domain name whitelist (use comma to separate)",
|
|
"required": false,
|
|
"value": "localhost"
|
|
},
|
|
"HMD_PROTOCOL_USESSL": {
|
|
"description": "set to use ssl protocol for resources path (only applied when domain is set)",
|
|
"required": false
|
|
},
|
|
"HMD_URL_ADDPORT": {
|
|
"description": "set to add port on callback url (port 80 or 443 won't applied) (only applied when domain is set)",
|
|
"required": false
|
|
},
|
|
"HMD_FACEBOOK_CLIENTID": {
|
|
"description": "Facebook API client id",
|
|
"required": false
|
|
},
|
|
"HMD_FACEBOOK_CLIENTSECRET": {
|
|
"description": "Facebook API client secret",
|
|
"required": false
|
|
},
|
|
"HMD_TWITTER_CONSUMERKEY": {
|
|
"description": "Twitter API consumer key",
|
|
"required": false
|
|
},
|
|
"HMD_TWITTER_CONSUMERSECRET": {
|
|
"description": "Twitter API consumer secret",
|
|
"required": false
|
|
},
|
|
"HMD_GITHUB_CLIENTID": {
|
|
"description": "GitHub API client id",
|
|
"required": false
|
|
},
|
|
"HMD_GITHUB_CLIENTSECRET": {
|
|
"description": "GitHub API client secret",
|
|
"required": false
|
|
},
|
|
"HMD_GITLAB_BASEURL": {
|
|
"description": "GitLab authentication endpoint, set to use other endpoint than GitLab.com (optional)",
|
|
"required": false
|
|
},
|
|
"HMD_GITLAB_CLIENTID": {
|
|
"description": "GitLab API client id",
|
|
"required": false
|
|
},
|
|
"HMD_GITLAB_CLIENTSECRET": {
|
|
"description": "GitLab API client secret",
|
|
"required": false
|
|
},
|
|
"HMD_GITLAB_SCOPE": {
|
|
"description": "GitLab API client scope (optional)",
|
|
"required": false
|
|
},
|
|
"HMD_MATTERMOST_BASEURL": {
|
|
"description": "Mattermost authentication endpoint",
|
|
"required": false
|
|
},
|
|
"HMD_MATTERMOST_CLIENTID": {
|
|
"description": "Mattermost API client id",
|
|
"required": false
|
|
},
|
|
"HMD_MATTERMOST_CLIENTSECRET": {
|
|
"description": "Mattermost API client secret",
|
|
"required": false
|
|
},
|
|
"HMD_DROPBOX_CLIENTID": {
|
|
"description": "Dropbox API client id",
|
|
"required": false
|
|
},
|
|
"HMD_DROPBOX_CLIENTSECRET": {
|
|
"description": "Dropbox API client secret",
|
|
"required": false
|
|
},
|
|
"HMD_DROPBOX_APP_KEY": {
|
|
"description": "Dropbox app key (for import/export)",
|
|
"required": false
|
|
},
|
|
"HMD_GOOGLE_CLIENTID": {
|
|
"description": "Google API client id",
|
|
"required": false
|
|
},
|
|
"HMD_GOOGLE_CLIENTSECRET": {
|
|
"description": "Google API client secret",
|
|
"required": false
|
|
},
|
|
"HMD_IMGUR_CLIENTID": {
|
|
"description": "Imgur API client id",
|
|
"required": false
|
|
},
|
|
"HMD_ALLOW_PDF_EXPORT": {
|
|
"description": "Enable or disable PDF exports",
|
|
"required": false
|
|
}
|
|
},
|
|
"addons": [
|
|
"heroku-postgresql"
|
|
],
|
|
"buildpacks": [
|
|
{
|
|
"url": "https://github.com/alex88/heroku-buildpack-vips"
|
|
},
|
|
{
|
|
"url": "https://github.com/heroku/heroku-buildpack-nodejs"
|
|
}
|
|
]
|
|
}
|