Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add autocomplete for highlight.js languages into codemirror | Sheogorath | 2018-10-10 | 1 | -1/+2 |
| | | | | | | | | | | Right now we support code highlighting for rust, but it doesn't appear in autocomplete of codemirror, because codemirror is not aware of it. This patch lets highlightjs simply tell codemirror, what it supports and adds this to the autocomplete list. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix #986 : Visibility is now transmitted with gitlab V4 api | Cédric Couralet | 2018-10-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com> | ||||
* | Add possibility to choose between version v3 or v4 for the gitlab api. | Cédric Couralet | 2018-07-31 | 1 | -6/+11 |
| | | | | | | | | Apart from the uri versioning, one big change is the snippet visibility post data (visibility_level -> visibility) Default gitlab api version to v4 Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com> | ||||
* | Fix liniting and optimize some functions | Sheogorath | 2018-06-23 | 1 | -4/+2 |
| | | | | | | | | | First fixed some linting issues. Also optimized some functions to be undoable with one ctrl+z. This should also speedup some operations Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Add a toolbar to Codemirror editor | Edgar Zanella Alvarenga | 2018-06-19 | 1 | -0/+9 |
| | | | | Signed-off-by: Edgar Zanella Alvarenga <e@vaz.io> | ||||
* | Removing google drive integration | Sheogorath | 2018-05-16 | 1 | -104/+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> | ||||
* | Fix night mode button after restore | Sheogorath | 2018-03-25 | 1 | -0/+1 |
| | | | | | | | | | | | The night mode toggle doesn't get the right state after restore from local storage. This results in the need to toggle twice to disable night mode. This patch adds the needed class so the toggleNightMode function gets the right state on execution. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Persist nightmode so we can re-enable it | Sheogorath | 2018-03-23 | 1 | -3/+18 |
| | | | | | | | | | Right now the night mode is possible to set by a toggle in the menu bar but needs to be re-enabled on every document switch, reload, etc.. This is super annoying so we should keep this state in local storage or a cookie. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | don't require referer to find note id in socket.io connections (fixes #623) | Stefan Bühler | 2018-02-05 | 1 | -0/+3 |
| | | | | Signed-off-by: Stefan Bühler <buehler@cert.uni-stuttgart.de> | ||||
* | :sparkles: Implemented dark theme. | Edoardo Odorico | 2018-01-05 | 1 | -0/+15 |
| | | | | Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com> | ||||
* | Manage syncscroll / currentMode in appState | Yukai Huang | 2017-05-07 | 1 | -34/+33 |
| | |||||
* | Move syncsroll under lib | Yukai Huang | 2017-05-07 | 1 | -1/+1 |
| | |||||
* | Remove CodeMirror-other-cursors dom creation | Yukai Huang | 2017-05-07 | 1 | -3/+0 |
| | | | | Since it’s done via hackmdio/CodeMirror#1 | ||||
* | Change more global var to global | Yukai Huang | 2017-05-07 | 1 | -87/+87 |
| | |||||
* | Extract modeType | Yukai Huang | 2017-05-07 | 1 | -11/+1 |
| | |||||
* | Change some global variables to local | Yukai Huang | 2017-05-07 | 1 | -31/+31 |
| | |||||
* | Fix indentation | Yukai Huang | 2017-05-07 | 1 | -6/+6 |
| | |||||
* | Expose internal editor config variable | Yukai Huang | 2017-05-07 | 1 | -4/+3 |
| | |||||
* | Update to support code block syntax highlighting of gherkin | Wu Cheng-Han | 2017-05-05 | 1 | -1/+1 |
| | |||||
* | Fix indentations | Yukai Huang | 2017-03-28 | 1 | -52/+48 |
| | |||||
* | Drop global variable ui exposing | Yukai Huang | 2017-03-28 | 1 | -2/+0 |
| | |||||
* | Update to es6 module import style | Yukai Huang | 2017-03-28 | 1 | -7/+6 |
| | |||||
* | Update cm instance in changes event argument | Yukai Huang | 2017-03-28 | 1 | -1/+1 |
| | |||||
* | Move updateStatusBar method into editor class | Yukai Huang | 2017-03-28 | 1 | -27/+7 |
| | |||||
* | Add cm instance to cursorActivity argument | Yukai Huang | 2017-03-28 | 1 | -2/+2 |
| | |||||
* | Update focus argument with cm instance | Yukai Huang | 2017-03-28 | 1 | -1/+1 |
| | |||||
* | Rewrite cursorActivity with multi listener style | Yukai Huang | 2017-03-28 | 1 | -17/+17 |
| | | | | - adjust function order to prevent standard lint failure | ||||
* | Extract selection update from updateStatusbar | Yukai Huang | 2017-03-28 | 1 | -25/+31 |
| | |||||
* | Impl multiple codemirror event listener | Yukai Huang | 2017-03-28 | 1 | -9/+9 |
| | |||||
* | Change minor TODO to FIXME | Yukai Huang | 2017-03-28 | 1 | -2/+2 |
| | |||||
* | Update to add abc in support charts of textcomplete | Wu Cheng-Han | 2017-03-26 | 1 | -1/+1 |
| | |||||
* | Fix text complete of extra tags for list not triggered properly | Wu Cheng-Han | 2017-03-23 | 1 | -14/+14 |
| | |||||
* | Fix google drive file picker not initialize properly | Wu Cheng-Han | 2017-03-23 | 1 | -1/+3 |
| | |||||
* | Fix front-end index.js code styles | Wu Cheng-Han | 2017-03-22 | 1 | -24/+34 |
| | |||||
* | Merge pull request #387 from hackmdio/cm-refactor | Max Wu | 2017-03-14 | 1 | -560/+45 |
|\ | | | | | Extract CodeMirror instance | ||||
| * | Fix variable exporting error | Yukai Huang | 2017-03-13 | 1 | -0/+3 |
| | | |||||
| * | Merge branch 'master' into cm-refactor | Yukai Huang | 2017-03-13 | 1 | -3107/+2980 |
| |\ | |||||
| * | | Extract editor related code | Yukai Huang | 2017-03-08 | 1 | -569/+31 |
| | | | | | | | | | | | | - in public/js/lib/editor/index.js | ||||
* | | | Fix rendering might result XSS attribute on self closing tag [Security Issue] | Wu Cheng-Han | 2017-03-14 | 1 | -0/+2 |
| |/ |/| | |||||
* | | Use JavaScript Standard Style (part 2) | BoHong Li | 2017-03-09 | 1 | -3635/+3488 |
|/ | | | | Fixed all fail on frontend code. | ||||
* | Fix not determine OT have pending operations properly | Wu Cheng-Han | 2017-02-18 | 1 | -5/+10 |
| | |||||
* | Fix to keep selections on save and restore info | Wu Cheng-Han | 2017-02-18 | 1 | -1/+4 |
| | |||||
* | Fix missing type declaration in text complete strategy | Wu Cheng-Han | 2017-02-03 | 1 | -1/+1 |
| | |||||
* | Merge pull request #341 from nvsofts/fix_bom_utf8 | Max Wu | 2017-02-03 | 1 | -2/+2 |
|\ | | | | | Removed UTF-8 BOM in download function | ||||
| * | Removed UTF-8 BOM in download function | NV | 2017-02-03 | 1 | -2/+2 |
| | | |||||
* | | Fix missing type declaration | Wu Cheng-Han | 2017-02-03 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' into es6-integration | Yukai Huang | 2017-01-21 | 1 | -0/+1 |
|\ | |||||
| * | Fix meta error not clear on before rendering | Wu Cheng-Han | 2017-01-21 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'master' into frontend-next | Yukai Huang | 2017-01-21 | 1 | -0/+4 |
|\| | |||||
| * | Update to prevent all empty link change hash | Wu Cheng-Han | 2017-01-16 | 1 | -0/+4 |
| | |