Commit graph

480 commits

Author SHA1 Message Date
Yukai Huang
47b113d9fe Add handlebars script tag 2016-10-13 16:45:52 +08:00
Yukai Huang
ae3e1b972b Fix spellcheck
* also fix spaces width
2016-10-13 16:41:20 +08:00
Yukai Huang
747502e694 Fix HTML exporting 2016-10-13 16:35:43 +08:00
Yukai Huang
d600364933 Fix history deletion 2016-10-13 16:25:38 +08:00
Yukai Huang
f4f2497d23 Expose parseMeta function 2016-10-13 15:59:22 +08:00
Yukai Huang
f678d9b814 Fix cheatsheet rendering
do not process help-modal markdown-body
2016-10-13 15:54:17 +08:00
Yukai Huang
bcb12b9ae7 Remove jquery-scrollspy dependency
scrollspy is bootstrap built-in plugin
2016-10-13 15:30:26 +08:00
Yukai Huang
440ad3506c Fix lastchangeui and moment timestamps 2016-10-13 15:13:03 +08:00
Yukai Huang
4713b4f2aa Fix syncscroll 2016-10-13 14:03:02 +08:00
Yukai Huang
83be3465cc Fix scrollspy 2016-10-13 13:59:34 +08:00
Yukai Huang
773c0ce39e Optimize common assets with CDN
* jquery
* lodash
* socket.io
* boostrap
2016-10-13 11:42:17 +08:00
Yukai Huang
43c9f68b9a Refactor webpack module 2016-10-13 08:56:56 +08:00
Yukai Huang
b90c26fe90 Config CDN for viz.js 2016-10-13 08:56:02 +08:00
Yukai Huang
2f11706dd2 Merge branch 'master' into webpack-frontend 2016-10-12 18:19:08 +08:00
Yukai Huang
d5d9607c17 Fix stylesheet ordering 2016-10-12 18:14:39 +08:00
Wu Cheng-Han
f3d4b55856 Fix getCaretPosition in text complete might get undefined position error 2016-10-12 17:50:01 +08:00
Wu Cheng-Han
12b7646f24 Fix to handle name or color might get undefined error 2016-10-12 17:48:28 +08:00
Yukai Huang
6b6b534866 Merge branch 'master' into webpack-frontend 2016-10-12 17:39:38 +08:00
Yukai Huang
0bf3c63622 Remove slide.ejs style tag 2016-10-12 17:37:21 +08:00
Yukai Huang
2cafe15e85 Enable production assets hash 2016-10-12 17:15:59 +08:00
Yukai Huang
91266f1cad Load more scripts using webpack 2016-10-12 17:03:47 +08:00
Yukai Huang
895bf98b03 Load custom markdown-it-regex plugin with script-loader 2016-10-12 14:37:32 +08:00
Yukai Huang
b73fcfc5c9 Revert 56c5378
viz.js still has problem with split chunk
2016-10-12 14:37:05 +08:00
Yukai Huang
02eef3f68a Load customized vendor script through script-loader 2016-10-12 13:18:29 +08:00
Wu Cheng-Han
f5d471106c Fix history list not parse and bind events properly on change pagination 2016-10-12 13:14:46 +08:00
Wu Cheng-Han
f4fe27e26c Update to make history refresh have better UX and keep the beginning and end of the pagination visible 2016-10-12 13:08:53 +08:00
Yukai Huang
4a6a69e7bc Fix module export 2016-10-11 21:22:05 +08:00
Yukai Huang
6e651c8108 Merge branch 'master' into webpack-frontend 2016-10-11 18:40:23 +08:00
Yukai Huang
21028c5773 Cleanup 2016-10-11 18:06:40 +08:00
Yukai Huang
4a6903c91b Revert customized markdown-it-mathjax plugin 2016-10-11 17:53:46 +08:00
Yukai Huang
56c5378939 Optimize viz.js async rendering through webpack chunk 2016-10-11 17:15:06 +08:00
Wu Cheng-Han
cd9f8fe36b Update to support pagination for history list 2016-10-11 16:48:42 +08:00
Wu Cheng-Han
c06b2f4838 Fix history time should save in UNIX timestamp to avoid time offset issue 2016-10-11 16:46:50 +08:00
Yukai Huang
d3315506dc Remove unused viz.js require 2016-10-11 15:45:14 +08:00
Yukai Huang
06437ccaa9 Manage more packages with npm and webpack 2016-10-11 14:52:45 +08:00
Yukai Huang
9c8752d452 Split common vendor javascript into chunks 2016-10-11 12:30:30 +08:00
Yukai Huang
7086a8c5e7 Fix common.js.example 2016-10-11 11:15:23 +08:00
Wu Cheng-Han
9a15cad42d Mark as 0.4.5 2016-10-11 11:01:05 +08:00
Wu Cheng-Han
795ea21191 Update CodeMirror to 5.19.0 and rename jade to pug 2016-10-10 21:15:29 +08:00
Wu Cheng-Han
fb5d7e4359 Update npm and bower dependencies with related patch 2016-10-10 21:14:28 +08:00
Wu Cheng-Han
e60ee6886d Cancel update history on page unload 2016-10-10 21:04:42 +08:00
Wu Cheng-Han
12d5ed43a7 Update to support delete note 2016-10-10 21:04:24 +08:00
Wu Cheng-Han
68457ed3a2 Update to make history delete and pin function call to new APIs 2016-10-10 21:00:07 +08:00
Wu Cheng-Han
7a46c9fc5c Fix some incorrect redirects 2016-10-10 20:57:17 +08:00
Wu Cheng-Han
36a1900ce3 Update to make note history count in server-side when user logged 2016-10-10 20:55:33 +08:00
Wu Cheng-Han
dc343978eb Fix get or set history on server ajax should not fallback to browser storage to avoid some internet edge cases 2016-10-10 20:50:01 +08:00
Wu Cheng-Han
b6e68b2d36 Fix saveHistoryToStorage not correctly fallback to cookie 2016-10-10 20:49:42 +08:00
Wu Cheng-Han
b54b3cbe69 Add more comments in the code and remove unused code file 2016-10-10 20:48:56 +08:00
Wu Cheng-Han
e4b40d11a2 Update to make editor mode setting to a default variable 2016-10-10 20:47:57 +08:00
Wu Cheng-Han
f6f469d0fe Update to use modified editor markdown mode to make mathjax expression display correctly 2016-10-10 20:47:06 +08:00