Commit Graph

169 Commits

Author SHA1 Message Date
Yukai Huang 142b4c6771 Move highlight.js to CDN 2016-10-14 09:21:41 +08:00
Yukai Huang 47b113d9fe Add handlebars script tag 2016-10-13 16:45:52 +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 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 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 b90c26fe90 Config CDN for viz.js 2016-10-13 08:56:02 +08:00
Yukai Huang d5d9607c17 Fix stylesheet ordering 2016-10-12 18:14:39 +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 02eef3f68a Load customized vendor script through script-loader 2016-10-12 13:18:29 +08:00
Yukai Huang 6e651c8108 Merge branch 'master' into webpack-frontend 2016-10-11 18:40:23 +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
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
Wu Cheng-Han fb5d7e4359 Update npm and bower dependencies with related patch 2016-10-10 21:14:28 +08:00
Wu Cheng-Han 12d5ed43a7 Update to support delete note 2016-10-10 21:04:24 +08:00
Wu Cheng-Han 7e7919ce86 Fix broken link id reference 2016-10-10 20:34:53 +08:00
Wu Cheng-Han 3175616573 Update to support showing owner on the infobar 2016-10-10 20:32:20 +08:00
Wu Cheng-Han a5e6b5dd3b Update to support Ukrainian locale 2016-10-10 19:48:05 +08:00
Wu Cheng-Han 4c9dc5fa1f Add support of Italian, Turkish, Russian, Dutch, Croatian, Polish locales 2016-10-10 16:29:40 +08:00
Wu Cheng-Han bf4c6d021c Extract config.js from common.js to make client setting file clean and also make upgrade easier 2016-10-10 16:25:51 +08:00
Yukai Huang 20f2e27350 Cover page is now working 2016-10-10 10:14:17 +08:00
Yukai Huang 082178d535 Slide mode is now working 2016-10-10 08:25:35 +08:00
Yukai Huang 70c20aadda Remove redundant entry point 2016-10-10 07:58:42 +08:00
Yukai Huang a258897884 Revert some bower assets 2016-10-09 21:43:41 +08:00
Yukai Huang 53b5cbb893 Finish public note view js loading 2016-10-09 21:09:22 +08:00
Yukai Huang d0997ed0c1 Config TextExtract plugin and change build folder 2016-10-09 18:22:31 +08:00
Yukai Huang 3e2905be13 Revert to customized codemirror 2016-10-09 17:54:51 +08:00
Yukai Huang 7e6b9f776f Revert customized ot library and fix dependency 2016-10-09 08:15:23 +08:00
Yukai Huang 845e9342c5 Add highlight.js and prism styles 2016-10-09 07:54:52 +08:00
Yukai Huang 963a435ae1 Resolve dependency module requiring
* es5 style module exports
* remove script tag require
* webpack config ProvidePlugin

Note that this commit only fix JavaScript module loading runtime error.
2016-10-08 20:02:30 +08:00
Yukai Huang ebee5a8d05 Use xss in script tag 2016-10-08 19:57:50 +08:00
Yukai Huang 8e11c19bed Move out script tag and use js instead 2016-10-08 08:13:40 +08:00
Wu Cheng-Han aaf32dc4bf Update to support Greek and Portuguese locales 2016-10-02 10:34:10 +08:00
Wu Cheng-Han 748957dc9e Update help modal cheatsheet font styles to make it more clear on spaces 2016-09-18 17:05:07 +08:00
Wu Cheng-Han b7200d7910 Fix the include order to avoid Reference Errors 2016-09-18 16:50:35 +08:00
Wu Cheng-Han 23008bc1e1 Update to support wiki markup syntax highlighting in view using prism 2016-09-18 16:42:27 +08:00
Wu Cheng-Han 42145e4019 Update to support tiddlywiki and mediawiki syntax highlighting in editor 2016-09-18 16:40:51 +08:00
Wu Cheng-Han 3840308ab6 Update edit and publish icon and change toggle icon to make it straightforward, and add shortcut key reminder in modes' title 2016-09-18 16:32:26 +08:00
Wu Cheng-Han 9d71adc05c Add support of shortcut keys for changeMode 2016-09-18 16:30:08 +08:00
Wu Cheng-Han 4cc00c6c40 Update to support French, Deutsch, Japanese and Spanish locales 2016-09-16 22:29:13 +08:00
Wu Cheng-Han b9c59c454d Add support of i18n with related patches and support "en" and "zh" locales for now 2016-08-19 11:49:24 +08:00
Wu Cheng-Han 058c35730b Update to hide scrollbar (but scrollable) in the slide mode 2016-08-15 11:30:12 +08:00
Wu Cheng-Han b4ad011dc1 Fix toc id naming to avoid overlap with user toc 2016-08-15 11:27:32 +08:00
Wu Cheng-Han a013c9d3bc Update slide mode to show extra info and support url actions and support disqus via yaml-metadata 2016-08-15 11:25:27 +08:00