summaryrefslogtreecommitdiff
path: root/public/js/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-05-16Removing google drive integrationSheogorath3-6/+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>
2018-02-24Allow the usage of the esc-key by codemirrorSheogorath1-3/+3
This change allows all input modes of codemirror to use the information from an input esc-key and make this way vim and sublime more functional. To prevent this change from breaking the return from the fullscreen mode, it catches the esc-key in this case. Hopefully this is an acceptable solution. As before the vim-mode is handled different in fulltext-mode as it is esc-key heavy. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-20Allow more detailed configuration of upload mime typesSheogorath1-1/+3
Fixes #637 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-05:sparkles: Implemented dark theme.Edoardo Odorico2-1/+3
Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
2017-10-30Corrected some grammatical issuesOliver Herrmann1-3/+3
Obviously caught up in a bad translation and didn't particularly make sense for native english speakers.
2017-09-27Fix home and end keys behavior for windowsWu Cheng-Han1-0/+2
2017-05-07Manage syncscroll / currentMode in appStateYukai Huang3-14/+25
2017-05-07Move syncsroll under libYukai Huang1-0/+368
2017-05-07Extract modeTypeYukai Huang1-0/+11
2017-05-07Expose internal editor config variableYukai Huang1-0/+1
2017-05-07Load statusbar template by string-loaderYukai Huang2-34/+61
2017-03-28Move updateStatusBar method into editor classYukai Huang2-0/+28
2017-03-28Fix listener “this” contextYukai Huang1-1/+1
2017-03-28Promisify getStatusBarTemplate methodYukai Huang1-26/+28
2017-03-28Extract selection update from updateStatusbarYukai Huang1-1/+2
2017-03-28Impl multiple codemirror event listenerYukai Huang1-0/+13
2017-03-20Update to generate front-end constants on server startupWu Cheng-Han2-11/+15
To avoid extra webpacking on changing configs and follow the 12 factor app
2017-03-13Fix variable exporting errorYukai Huang1-3/+1
2017-03-09Use JavaScript standard styleYukai Huang3-541/+568
2017-03-09Use JavaScript Standard Style (part 2)BoHong Li2-79/+82
Fixed all fail on frontend code.
2017-03-08Extract editor related codeYukai Huang2-0/+505
- in public/js/lib/editor/index.js
2017-03-07Extract UI jquery nodeYukai Huang1-0/+84
2017-01-14Minor style updateYukai Huang1-1/+1
2017-01-13Add default value for configYukai Huang1-6/+6
2017-01-13Rename common.js to login.jsYukai Huang1-0/+92
2017-01-13Move config variable to lib/configYukai Huang1-0/+19