Commit graph

389 commits

Author SHA1 Message Date
Wu Cheng-Han
5287d46931 Optimize hackmd resource packing and load orders 2016-11-26 23:18:51 +08:00
Wu Cheng-Han
8c10c393ce Fix possible meta XSS in history list [Security Issue] 2016-11-26 22:56:03 +08:00
Wu Cheng-Han
9d4ede4cff Fix possible XSS in yaml-metadata and turn using ejs escape syntax than external lib [Security Issue] 2016-11-26 22:55:31 +08:00
Wu Cheng-Han
b43e63dd21 Update to support go in code block syntax highlighting 2016-11-26 22:48:20 +08:00
Wu Cheng-Han
79d5b2c37f Fix slide might able to add unsafe attribute on section tag which cause XSS [Security Issue] 2016-11-26 22:46:58 +08:00
Wu Cheng-Han
f86a9e0c4b Fix slide might trigger script when processing markdown which cause XSS [Security Issue] 2016-11-26 22:46:08 +08:00
Wu Cheng-Han
64d1d2c04b Fix published note won't scroll to hash on load 2016-11-26 19:46:20 +08:00
Wu Cheng-Han
80ee507951 Fix mathjax with blockquote might have race condition 2016-11-18 12:19:05 +08:00
Wu Cheng-Han
09e6596074 Update to support haskell syntax highlighting in code block 2016-11-18 12:17:37 +08:00
Peter Dave Hello
f8eb8fc9d8 Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
Wu Cheng-Han
793aef0e2e Fix syntax highlighting not apply correctly in slides 2016-11-07 21:27:58 +08:00
Yukai Huang
0bc90258bf Add google font css for exported html 2016-11-03 14:54:24 +08:00
Max Wu
11faadb684 Merge pull request #242 from Yukaii/webpack-stylesheet
Use webpack to bundle stylesheet
2016-11-03 14:17:10 +08:00
Wu Cheng-Han
734d475c0e Fix server reconnect might not resend pending operations 2016-11-03 14:04:53 +08:00
Yukai Huang
f1f8846b0a Config extra entry for html.min.css 2016-11-02 18:01:26 +08:00
Yukai Huang
3e23009663 Require slide mode stylesheets 2016-11-02 11:59:45 +08:00
Yukai Huang
58fedb01fa Require pretty stylesheets 2016-11-02 11:55:08 +08:00
Yukai Huang
55ddddd84b Require cover stylesheets 2016-11-02 11:26:25 +08:00
Yukai Huang
7a052b0dad Require index stylesheets 2016-11-02 11:26:06 +08:00
Wu Cheng-Han
25fa503981 Fix viewAjaxCallback might be called on null 2016-11-01 15:04:48 +08:00
Wu Cheng-Han
ba2bfa2188 Update to support summary tag 2016-10-29 23:43:58 +08:00
Wu Cheng-Han
a8bce53c47 Fix viewAjaxCallback not able to be assigned 2016-10-29 23:33:58 +08:00
Wu Cheng-Han
a563a15bab Fix generateCleanHTML not remove smoothhashscroll attribute properly 2016-10-29 23:33:16 +08:00
Wu Cheng-Han
dae141a9d3 Fix possible unclose HTML and leaked html tags when fail to parse diagrams 2016-10-26 01:30:17 +08:00
Wu Cheng-Han
a42845cfc0 Update to retry when anytime the socket io disconnect 2016-10-23 21:43:18 +08:00
Wu Cheng-Han
3db1214ecf Fix socket io doc event should setDoc when revision mismatch and no outstanding operation 2016-10-23 20:17:33 +08:00
Wu Cheng-Han
5ad7d61499 Fix passing markdown-it-emoji incorrect parameter type 2016-10-23 16:46:34 +08:00
Max Wu
5236e568e7 Merge pull request #229 from PeterDaveHello/patch-1
Update locale.js
2016-10-23 16:31:47 +08:00
Wu Cheng-Han
67786a8aab Fix code block syntax highlighting might not process properly because the HTML is escaped 2016-10-23 16:30:09 +08:00
Peter Dave Hello
b039913506 Update locale.js
Should change the lang been selected in the lang select/option menu.
2016-10-23 11:38:17 +08:00
Wu Cheng-Han
27bc94744d Fix index.js isValidURL is not defined error 2016-10-22 15:48:28 +08:00
Wu Cheng-Han
d4bb87b8ec Fix ReferenceError of scollToTop and scollToBottom in index.js 2016-10-22 15:42:56 +08:00
Wu Cheng-Han
894a7fc8e5 Fix gapi not able to reference callback function onGoogleClientLoaded 2016-10-20 12:22:59 +08:00
Wu Cheng-Han
7ebc84bec0 Try to remove unused front-end dependency 2016-10-19 22:14:32 +08:00
Wu Cheng-Han
d70d0318e5 Fix to use bower version emojify.js 2016-10-19 22:12:12 +08:00
Wu Cheng-Han
5640de8c77 Update to make history not depends on extra 2016-10-19 22:10:33 +08:00
Wu Cheng-Han
866c10d942 Update to make pretty use same method as slide to unescape markdown content 2016-10-19 22:09:15 +08:00
Wu Cheng-Han
d44e830366 Update emoji parser using markdown-it-emoji instead of emojify to solve issue #217 2016-10-18 16:50:58 +08:00
Wu Cheng-Han
eb724b05a7 Optimize finishView selector performance by avoid using universal selector, fix finishView code indentation and remove empty line 2016-10-18 12:15:35 +08:00
Wu Cheng-Han
843f025cb5 Fix finishView mermaid might select and replace whole markdown-body issue 2016-10-18 12:14:17 +08:00
Wu Cheng-Han
e311a1f620 Fix code block which in deeper level will not be parsed issue 2016-10-18 00:14:50 +08:00
Wu Cheng-Han
e097622098 Change to raise socket io reconnection attempts and make editor only available after refresh event received 2016-10-17 18:11:28 +08:00
Wu Cheng-Han
70a52e2eae Remove auto linkify image since it might print out unwanted url and it can be achieved by reference syntax, issue #214 2016-10-17 18:03:26 +08:00
Wu Cheng-Han
fe912f73ec Fix code block highlighting html not escaped when no languages specified 2016-10-17 17:54:58 +08:00
Wu Cheng-Han
912063bee4 Fix client socket on delete event might not delete corresponding history record correctly 2016-10-14 17:39:52 +08:00
Wu Cheng-Han
211d25253e Update to support wrap syntax for code block 2016-10-14 17:35:35 +08:00
Yukai Huang
4c1109b70b Move gist-embed to CDN 2016-10-14 09:56:19 +08:00
Wu Cheng-Han
ef5524be91 Fix sync scroll not handle properly on area resize 2016-10-14 00:25:08 +08:00
Yukai Huang
e4515958cd Fix require ordering 2016-10-14 00:02:55 +08:00
Yukai Huang
b5f42807b9 Fix ownership display 2016-10-13 23:29:25 +08:00