summaryrefslogtreecommitdiff
path: root/public/js/lib/common/constant.ejs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add config option for cookie SameSite policyErik Michelson2020-08-271-0/+2
| | | | Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* linkifyHeaderStyle needs no string-ification; is already str.hoijui2019-10-301-1/+1
| | | | | Co-Authored-By: Yukai Huang <yukaihuangtw@gmail.com> Signed-off-by: hoijui <hoijui.quaero@gmail.com>
* Allow to generate lower case header references through the confighoijui2019-10-221-0/+2
| | | | | | | | | | | | | This makes the references consistent/compatible with GitHub, GitLab, Pandoc and many other tools. This behavior can be enabled in config.json with: ``` "linkifyHeaderStyle": "gfm" ``` Signed-off-by: hoijui <hoijui.quaero@gmail.com>
* Removing google drive integrationSheogorath2018-05-161-2/+0
| | | | | | | | | | | | | | | 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>
* Allow more detailed configuration of upload mime typesSheogorath2018-01-201-1/+3
| | | | | | Fixes #637 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Update to generate front-end constants on server startupWu Cheng-Han2017-03-201-0/+8
To avoid extra webpacking on changing configs and follow the 12 factor app