Commit Graph

25 Commits

Author SHA1 Message Date
Yukai Huang 497abc8bca
Enforce PG ssl require mode
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-02-28 11:20:39 +08:00
BoHong Li a2b9fa9a65
fix: change heroku and scalingo config schema for 2.0.0
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 23:05:55 +08:00
BoHong Li 79fe4f7259
fix: add heroku port environment variables binding
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 20:59:30 +08:00
BoHong Li 6f3292c8a3
fix: migrate heroku DATABASE_URL environment variable
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 20:10:28 +08:00
BoHong Li 48582617ad
doc: remove HMD related and remove docs
All docs migrate to online documentation now and store in `codimd-docs`

Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 18:35:25 +08:00
YusukeIwaki 83fe0815d5 Add environment variables definition for Heroku deploy.
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
2019-12-28 22:23:20 +09:00
Yukai Huang 3bffa18771
Remove BUILD_ASSETS env
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-20 10:32:40 +08:00
t.goto af6bbb4041 Remove unnecessaries
Signed-off-by: t.goto <tomoyan777@gmail.com>
2019-08-14 08:33:59 +09:00
Max Wu 8947c89da5 Update links of Gitter, POEditor and Travis CI 2019-07-28 19:00:17 +08:00
Sheogorath 9981a6c8ba
Fix wrong domain in app.json
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-02 14:27:59 +01:00
Sheogorath 4b060c7dba
Rebrand HackMD to CodiMD
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-24 13:24:12 +02:00
Sheogorath ad69c5017b
Removing google drive integration
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>
2018-05-16 01:34:55 +02:00
Sheogorath 30b5ff0d96
Add session data to env vars
Currently the session secret can only be set by config.json or docker
secrets. This creates a problem on Heroku hosted instances that can not
set a session secret.

Since we automatically generate them on startup this results in an
logout of all users on every config change in Heroku.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-29 19:34:32 +02:00
Christoph Witzany 5cda55086a Add mattermost authentication 2017-10-31 10:34:51 +01:00
geekyd d63e6780eb Adds PDF export via config 2017-10-25 19:19:37 +05:30
Literallie 6bdc90d6ff
Add env vars for extra HSTS options 2017-10-13 01:42:05 +02:00
Literallie 1634d5c567
Add on/off env var for HSTS 2017-10-13 01:42:05 +02:00
Yukai Huang a2f4d88019 Remove redundant HMD_PORT config from app.json 2017-05-14 19:07:56 +08:00
Yukai Huang be7335e92a Remove postdeploy migration 2017-05-07 19:07:03 +08:00
Wu Cheng-Han dde6e622a4 Fix front-end constants generation not getting config properly 2017-03-23 20:00:48 +08:00
Wu Cheng-Han 506a381eca Add config option for gitlab api scope and auto adapt gitlab snippet feature on it 2017-03-14 18:04:23 +08:00
bananaappletw 6db5152808 Add missing HMD_ALLOW_ORIGIN variable 2016-12-24 22:17:04 +08:00
Yukai Huang 975b1f248f Add libvips heroku buildpack 2016-11-17 16:24:30 +08:00
Yukai Huang bd7efb8096 Add more config variable 2016-10-16 11:41:11 +08:00
Yukai Huang 9f63581c61 Config heroku deployment 2016-10-16 11:20:29 +08:00