summaryrefslogtreecommitdiff
path: root/public/js/lib/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix eslint warningsSheogorath2019-05-311-16/+16
| | | | | | | | | | | Since we are about to release it's time to finally fix our linting. This patch basically runs eslint --fix and does some further manual fixes. Also it sets up eslint to fail on every warning on order to make warnings visable in the CI process. There should no functional change be introduced. Signed-off-by: Sheogorath <sheogorath@shivering-isles.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
* Use JavaScript Standard Style (part 2)BoHong Li2017-03-091-65/+68
| | | | Fixed all fail on frontend code.
* Merge branch 'master' into frontend-nextYukai Huang2017-01-211-6/+3
|
* Minor style updateYukai Huang2017-01-141-1/+1
|
* Rename common.js to login.jsYukai Huang2017-01-131-0/+92