Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix broken unicode urls | Sheogorath | 2018-06-26 | 1 | -1/+1 |
| | | | | | | | | | | It wasn't possible to create unicode based URLs in freeurl mode, because the noteid used for the websocket connection is double escaped. When we decode it and let socketio-client reencode it, we get the real shortid/noteid and can find the note in the database and open the connection. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix all newly introduced linting issues | Sheogorath | 2018-06-23 | 1 | -10/+10 |
| | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix liniting and optimize some functions | Sheogorath | 2018-06-23 | 2 | -43/+72 |
| | | | | | | | | | 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 | 3 | -0/+175 |
| | | | | Signed-off-by: Edgar Zanella Alvarenga <e@vaz.io> | ||||
* | Removing google drive integration | Sheogorath | 2018-05-16 | 3 | -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> | ||||
* | Allow the usage of the esc-key by codemirror | Sheogorath | 2018-02-24 | 1 | -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> | ||||
* | Allow more detailed configuration of upload mime types | Sheogorath | 2018-01-20 | 1 | -1/+3 |
| | | | | | | Fixes #637 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | :sparkles: Implemented dark theme. | Edoardo Odorico | 2018-01-05 | 2 | -1/+3 |
| | | | | Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com> | ||||
* | Corrected some grammatical issues | Oliver Herrmann | 2017-10-30 | 1 | -3/+3 |
| | | | Obviously caught up in a bad translation and didn't particularly make sense for native english speakers. | ||||
* | Fix home and end keys behavior for windows | Wu Cheng-Han | 2017-09-27 | 1 | -0/+2 |
| | |||||
* | Manage syncscroll / currentMode in appState | Yukai Huang | 2017-05-07 | 3 | -14/+25 |
| | |||||
* | Move syncsroll under lib | Yukai Huang | 2017-05-07 | 1 | -0/+368 |
| | |||||
* | Extract modeType | Yukai Huang | 2017-05-07 | 1 | -0/+11 |
| | |||||
* | Expose internal editor config variable | Yukai Huang | 2017-05-07 | 1 | -0/+1 |
| | |||||
* | Load statusbar template by string-loader | Yukai Huang | 2017-05-07 | 2 | -34/+61 |
| | |||||
* | Move updateStatusBar method into editor class | Yukai Huang | 2017-03-28 | 2 | -0/+28 |
| | |||||
* | Fix listener “this” context | Yukai Huang | 2017-03-28 | 1 | -1/+1 |
| | |||||
* | Promisify getStatusBarTemplate method | Yukai Huang | 2017-03-28 | 1 | -26/+28 |
| | |||||
* | Extract selection update from updateStatusbar | Yukai Huang | 2017-03-28 | 1 | -1/+2 |
| | |||||
* | Impl multiple codemirror event listener | Yukai Huang | 2017-03-28 | 1 | -0/+13 |
| | |||||
* | Update to generate front-end constants on server startup | Wu Cheng-Han | 2017-03-20 | 2 | -11/+15 |
| | | | | To avoid extra webpacking on changing configs and follow the 12 factor app | ||||
* | Fix variable exporting error | Yukai Huang | 2017-03-13 | 1 | -3/+1 |
| | |||||
* | Merge branch 'master' into cm-refactor | Yukai Huang | 2017-03-13 | 2 | -79/+82 |
|\ | |||||
| * | Use JavaScript Standard Style (part 2) | BoHong Li | 2017-03-09 | 2 | -79/+82 |
| | | | | | | | | Fixed all fail on frontend code. | ||||
* | | Use JavaScript standard style | Yukai Huang | 2017-03-09 | 3 | -541/+568 |
| | | |||||
* | | Extract editor related code | Yukai Huang | 2017-03-08 | 2 | -0/+505 |
| | | | | | | | | - in public/js/lib/editor/index.js | ||||
* | | Extract UI jquery node | Yukai Huang | 2017-03-07 | 1 | -0/+84 |
|/ | |||||
* | Merge branch 'master' into frontend-next | Yukai Huang | 2017-01-21 | 1 | -6/+3 |
| | |||||
* | Minor style update | Yukai Huang | 2017-01-14 | 1 | -1/+1 |
| | |||||
* | Add default value for config | Yukai Huang | 2017-01-13 | 1 | -6/+6 |
| | |||||
* | Rename common.js to login.js | Yukai Huang | 2017-01-13 | 1 | -0/+92 |
| | |||||
* | Move config variable to lib/config | Yukai Huang | 2017-01-13 | 1 | -0/+19 |