Commit graph

859 commits

Author SHA1 Message Date
Wu Cheng-Han
197292ba66 Fix some missing resources packing loaders and test regex in webpack 2016-11-26 23:21:02 +08:00
Wu Cheng-Han
da42f735d9 Fix missing chunks for index page in webpack config 2016-11-26 23:19:34 +08:00
Wu Cheng-Han
5287d46931 Optimize hackmd resource packing and load orders 2016-11-26 23:18:51 +08:00
Wu Cheng-Han
3fbfdb7db8 Optimize index page resources packing and loads 2016-11-26 23:13:02 +08:00
Wu Cheng-Han
71a356552f Update to auto generate meta description based on content in publish note and slide 2016-11-26 23:04:29 +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
9383df59c9 Update socket.io to 1.6.0 2016-11-26 22:40:50 +08:00
Wu Cheng-Han
1ba46c95fb Update to separate polypill for IE to a template 2016-11-26 22:38:18 +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
f387bb312f Try to replace engine.io to uws in socket.io for better performance 2016-11-18 12:18:29 +08:00
Wu Cheng-Han
09e6596074 Update to support haskell syntax highlighting in code block 2016-11-18 12:17:37 +08:00
Wu Cheng-Han
c671d54d67 Add dmp worker to leverage CPU intensive calculation to child process 2016-11-18 12:09:58 +08:00
Wu Cheng-Han
55ae64035b Merge branch 'master' of https://github.com/jackycute/HackMD 2016-11-18 12:08:01 +08:00
Wu Cheng-Han
c58162a2e7 Revert "Add workers for notes to leverage CPU intensive work loading"
This reverts commit 4ccfdfa538.
2016-11-16 13:58:59 +08:00
Wu Cheng-Han
7adb78aba8 Revert "Add workers for history to leverage CPU intensive work loading"
This reverts commit b5920fbbd1.
2016-11-16 13:58:54 +08:00
Max Wu
e2d821a309 Merge pull request #250 from PeterDaveHello/fix-file-permission
Remove uesless executable permission for static files
2016-11-14 21:16:29 +08:00
Peter Dave Hello
f8eb8fc9d8 Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
Max Wu
ad9b8eab31 Merge pull request #249 from tomwyckhuys/patch-1
Update nl.json
2016-11-14 20:27:33 +08:00
Tom Wyckhuys
f20d17ec8c Update nl.json
Fixed typo in the Dutch translation: "geuschiedenis" into "geschiedenis"
2016-11-14 13:04:46 +01:00
Wu Cheng-Han
c5de552988 Fix index social foot style 2016-11-07 21:31:21 +08:00
Wu Cheng-Han
b9c4af8a65 Add to throw error when server not ready after db synced 2016-11-07 21:31:11 +08:00
Wu Cheng-Han
b5920fbbd1 Add workers for history to leverage CPU intensive work loading 2016-11-07 21:30:53 +08:00
Wu Cheng-Han
4ccfdfa538 Add workers for notes to leverage CPU intensive work loading 2016-11-07 21:30:40 +08:00
Wu Cheng-Han
793aef0e2e Fix syntax highlighting not apply correctly in slides 2016-11-07 21:27:58 +08:00
Max Wu
8c5a5a0712 Merge pull request #243 from Yukaii/google-font-optional-cdn
Google font optional cdn
2016-11-04 13:08:59 +08:00
Wu Cheng-Han
2167570c11 Fix slide highlighting styles not apply properly and add missing styles dependency of prism in html export 2016-11-04 13:04:00 +08:00
Yukai Huang
0bc90258bf Add google font css for exported html 2016-11-03 14:54:24 +08:00
Yukai Huang
0b45312834 Add font css to templates 2016-11-03 14:51:28 +08:00
Yukai Huang
d4429aa42d Rename google font css 2016-11-03 14:51:04 +08:00
Wu Cheng-Han
ee96d88e81 Remove html.min.css since it will be built via webpack afterwards 2016-11-03 14:43:53 +08:00
Yukai Huang
0ef34ee9f1 Seperate cdn/local google font css 2016-11-03 14:20:35 +08:00
Yukai Huang
18011f06de Add fonts 2016-11-03 14:20:35 +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
689b1dc4d6 Add optimize-css webpack plugin 2016-11-03 13:59:25 +08:00
Yukai Huang
da9fe2b2b5 Do not use hash for html.min.css 2016-11-02 21:49:31 +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
Yukai Huang
971bfe29f8 Config webpack css hash in production 2016-11-02 11:25:21 +08:00
Yukai Huang
cd5977cd5f Update editorconfig 2016-11-02 08:36:35 +08:00
Yukai Huang
03772fe887 Refactor webpack production config 2016-11-02 08:36:18 +08:00
Wu Cheng-Han
e427709042 Merge branch 'master' of https://github.com/jackycute/HackMD 2016-11-01 15:05:11 +08:00