Commit graph

453 commits

Author SHA1 Message Date
Yukai Huang
196d546f7e Fix pdfobject require 2016-10-09 10:51:39 +08:00
Yukai Huang
67d118782d Fix function export 2016-10-09 08:15:37 +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
8e2b03cfd6 Config bootstrap with webpack 2016-10-08 23:04:19 +08:00
Yukai Huang
2b678c1f12 Make editor variable global 2016-10-08 23:03:33 +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
0be342c44d Fix mutiple socket.on handling 2016-10-08 19:58:26 +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
Yukai Huang
93f3664c88 Add missing vendor code hard to deal with 2016-10-08 08:13:40 +08:00
Yukai Huang
0e63fe1fa0 Create example config 2016-10-05 10:58:05 +08:00
Yukai Huang
ca59d86628 Remove config files from version control 2016-10-05 10:57:10 +08:00
Laura Kyle
c43f068f6c Change wording of placeholder text 2016-10-02 21:39:45 -04:00
Wu Cheng-Han
aaf32dc4bf Update to support Greek and Portuguese locales 2016-10-02 10:34:10 +08:00
Wu Cheng-Han
21afa2de14 Fix undefined variable typo 2016-09-18 17:05:55 +08:00
Wu Cheng-Han
9b5856fff0 Fix text complete extra tags for blockquote and referral shouldn't match after the target search and referral regex now need two spaces when after some text 2016-09-18 17:05:29 +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
93ec43c3dc Fix revision viewer might not update after data init, try to use editor operation queue to enhance updateView performance 2016-09-18 17:04:33 +08:00
Wu Cheng-Han
a9d7d7438f Fix sequence-diagram-min.js.map for source file reference and source file not found error 2016-09-18 17:03:17 +08:00
Wu Cheng-Han
6a641ab2bb Fix text might get cutoff again for IE and Edge series 2016-09-18 16:51:48 +08:00
Wu Cheng-Han
38b1477736 Fix syncscroll.js and index.js have circular dependency cause Reference Errors 2016-09-18 16:51:19 +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
c2f0943b49 Fix bug that when window close will make ajax fail and cause cookies set to wrong state 2016-09-18 16:42:59 +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
591134007c Update to support shortcuts which can add or delete symbol surround text 2016-09-18 16:35:24 +08:00
Wu Cheng-Han
f1c9874ed0 Update to support save mode to url and parse mode from url 2016-09-18 16:33:33 +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
b708a72873 Fix the element selector in smoothHashScroll might contain special characters and cause the Syntax error 2016-09-18 16:28:07 +08:00
Wu Cheng-Han
c22791610c Fix scripts load order to prevent reference error, using query callback to prevent google api call before loaded 2016-09-18 16:27:21 +08:00
Wu Cheng-Han
4421c8ede7 Improve authorship markers update performance and use CodeMirror built-in operation queue to avoid making DOM busy 2016-09-18 16:22:50 +08:00
Wu Cheng-Han
4cc00c6c40 Update to support French, Deutsch, Japanese and Spanish locales 2016-09-16 22:29:13 +08:00
Pablo Guerrero
20fecf28f6 Update features.md 2016-09-11 23:19:05 +02:00
Pablo Guerrero
963bb7049f Update features.md 2016-09-09 23:44:20 +02:00
Pablo Guerrero
c639ed9487 Update features.md 2016-09-09 22:42:12 +02:00
Pablo Guerrero
7725f7e6ca Update features.md 2016-09-09 22:08:17 +02: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
87f4d05e8e Update to use proper way to render view and fix upload image error should response with code 2016-08-19 11:31:23 +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
29d198def9 Update slide ready and change event to improve performance 2016-08-15 11:28:48 +08:00
Wu Cheng-Han
8124d6f2d6 Update features.md with latest changes 2016-08-15 11:28:05 +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
Wu Cheng-Han
e12fae6999 Fix header nav bar rwd detect element should use div tag or it might glitch the layout 2016-08-15 11:02:47 +08:00
Wu Cheng-Han
fddc2ab38b Fix textcomplete of extra tags for blockquote not match space character in the between 2016-08-15 11:02:11 +08:00
Wu Cheng-Han
93ff287799 Fix text-shadow for text antialiased might cause IE or Edge text cutoff 2016-08-15 11:01:00 +08:00
Wu Cheng-Han
ecd7218917 Update to support data uri in src attribute of image tag 2016-08-15 11:00:02 +08:00
Wu Cheng-Han
3bcb36b46c Improve index layout and UX with UI adjustments and better wording 2016-08-15 10:56:14 +08:00
Wu Cheng-Han
cf290e86e1 Update XSS policy to allow iframe and link with custom protocol 2016-08-14 18:32:22 +08:00
Wu Cheng-Han
f11cab7b45 Update slide font styles 2016-08-14 18:28:36 +08:00
Wu Cheng-Han
bc2663fc75 Fix typo line break in features.md 2016-08-14 18:28:00 +08:00
Wu Cheng-Han
152585f96b Update markdown styles, follow github styles and font family 2016-08-14 18:27:20 +08:00
Wu Cheng-Han
be81ee22ec Update slide mode, now respect all meta settings and update default styles 2016-08-14 15:02:05 +08:00
Wu Cheng-Han
e08152ed03 Update toc styles to make toc menu always accessible without scrolling 2016-08-14 11:24:04 +08:00
Wu Cheng-Han
9c89876263 Revert d85dd19816, which breaks slide preview layout 2016-08-14 11:21:45 +08:00
Wu Cheng-Han
f35aa94b41 Mark as 0.4.4 2016-08-02 17:17:33 +08:00
Wu Cheng-Han
67474aa1d4 Update realtime check and refresh event, compress data using LZString UTF16 to minimize network delay 2016-08-02 17:16:01 +08:00
Wu Cheng-Han
f49fc192f6 Workaround vim mode might overwrite copy keyMap on Windows 2016-08-02 10:54:50 +08:00
Wu Cheng-Han
4de73477b4 Fix TOC might not update after changeMode 2016-08-02 10:54:20 +08:00
Wu Cheng-Han
b6aa045997 Update to add expand and collapse toggle for TOC, keep showing second level TOC if there is only one first level TOC 2016-08-02 10:54:03 +08:00
Wu Cheng-Han
881e92b05a Update to make help modal and text complete hint using consistent reminder text 2016-08-01 16:00:37 +08:00
Wu Cheng-Han
46ccf2d0a3 Update docs for customize slides and new YAML metadata 2016-08-01 00:08:44 +08:00
Wu Cheng-Han
b367e110b6 Update to support slideOptions in the YAML metadata 2016-08-01 00:08:22 +08:00
Wu Cheng-Han
ac087f0e90 Update workaround for slide, need to trigger it in other thread via setTimeout 2016-07-30 21:07:48 +08:00
Wu Cheng-Han
d85dd19816 Update slide rendering to reduce DOM wrap and avoid duplicate rendering slides 2016-07-30 20:33:32 +08:00
Wu Cheng-Han
eab984deff Workaround slides, overview been cutoff and text became blurry in Firefox 47+ 2016-07-30 20:19:20 +08:00
Wu Cheng-Han
1490eafdd2 Update CodeMirror to version 5.17.1 2016-07-30 12:25:24 +08:00
Wu Cheng-Han
8fcde970ab Update bower dependencies and cdn version 2016-07-30 12:22:16 +08:00
Wu Cheng-Han
65cff038a3 Update bootstrap to 3.3.7 and jQuery to 3.1.0 with related patches 2016-07-30 12:19:42 +08:00
Wu Cheng-Han
3a5bda3067 Fix idle.js not change isAway property on onAway and onAwayBack events 2016-07-30 11:32:19 +08:00
Wu Cheng-Han
f69a5361cb Update to make random color more discrete 2016-07-30 11:31:29 +08:00
Wu Cheng-Han
a8c12d0d21 Update user color style in online user list to make it super obvious 2016-07-30 11:30:12 +08:00
Wu Cheng-Han
a14e7953b5 Add support of showing authorship in editor and adjust related styles 2016-07-30 11:28:24 +08:00
Wu Cheng-Han
23c53f3d15 Update to support slide type in publish note and download html style 2016-07-30 11:07:47 +08:00
Wu Cheng-Han
8791447ef9 Update to support slide preview in both mode 2016-07-30 11:07:08 +08:00
Wu Cheng-Han
246c9da574 Fix spellcheck settings from cookies might not a boolean in string type 2016-07-30 11:00:00 +08:00
Wu Cheng-Han
b8ff9112ef Fix cookies might not in boolean type cause page refresh loop 2016-07-30 10:59:51 +08:00
Wu Cheng-Han
423dccae0e Update spell checker to ignore non-english or numeric alphabets 2016-07-13 10:43:19 +08:00
Wu Cheng-Han
cb75424f8e Update gist-embed to 2.5 and using bower to manage it 2016-07-13 10:40:34 +08:00
Wu Cheng-Han
3c7d39c52d Fix missing parameter in slide.js 2016-07-02 17:08:55 +08:00
Wu Cheng-Han
9e365b7c12 Update header toolbar menu to remove beta section and add extra section 2016-07-02 16:18:10 +08:00
Wu Cheng-Han
e8f59c1df8 Update to add viewAjaxCallback on every parts that use ajax loading 2016-07-02 16:16:22 +08:00
Wu Cheng-Han
4734d0ebe1 Add callback feature for gist-embed to be called after ajax complete 2016-07-02 16:15:56 +08:00
Wu Cheng-Han
da7b6a340d Reduce realtime timeout and heartbeat interval to handle stale clients quicker 2016-07-02 16:15:05 +08:00
Wu Cheng-Han
1df5b4ce49 Fix retryOnDisconnect and timer not clean up after reconnected 2016-07-02 16:13:34 +08:00
Wu Cheng-Han
a7773be949 Remove unsupported part of yaml-metadata in docs 2016-07-02 16:12:05 +08:00
Wu Cheng-Han
d39f1fc700 Update to make slide mode support all extra syntax and change it's rendering engine 2016-07-02 16:09:26 +08:00
Wu Cheng-Han
160b51d16a Update to prevent mermaid start on load 2016-07-02 16:03:00 +08:00
Wu Cheng-Han
af576bd31f Add new high resolution icon 2016-07-02 15:57:46 +08:00
Wu Cheng-Han
d7d83c102b Mark as 0.4.3 2016-06-28 09:38:31 +08:00
Cheng-Han, Wu
357ad0b535 Fix history filter tags and search keyword might not apply after refresh 2016-06-26 23:38:28 +08:00
Cheng-Han, Wu
83d8142045 Update to extend login info cookies to 365 days to reduce reductant page refresh 2016-06-26 23:37:59 +08:00
Cheng-Han, Wu
65b91e0b66 Update to handle on view have smaller scrollHeight than editor's shouldn't syncScrollToView after changes 2016-06-21 21:48:02 +08:00
Cheng-Han, Wu
3454819522 Update to annotate scrollbar position of revision mark text 2016-06-21 21:47:11 +08:00
Cheng-Han, Wu
f1db5c96f3 Fix to remove part class in list item or it will be included in buildMap process 2016-06-21 21:46:27 +08:00
Cheng-Han, Wu
f454994daa Fix features.md externals protocol and typo 2016-06-21 21:46:14 +08:00
Cheng-Han, Wu
09fb120967 Update to support toggle editor theme and spellcheck in status bar 2016-06-21 21:45:45 +08:00
Cheng-Han, Wu
6577313925 Remove metadata spellcheck support 2016-06-21 21:44:26 +08:00