Commit Graph

526 Commits

Author SHA1 Message Date
Cheng-Han, Wu 921b5f4652 Manual patch CodeMirror for highlight only works on top item of the list issue 2016-03-04 23:31:51 +08:00
Cheng-Han, Wu b49d4e2261 Support mermaid in code block diagram and updated all diagram rendering method and styles 2016-03-04 23:26:27 +08:00
Cheng-Han, Wu c43f9784b4 Support YAML meta disable mathjax 2016-03-04 23:20:55 +08:00
Cheng-Han, Wu 109d9881d9 Fixed list_item_open rules of markdown-it rules in syncscoll should now check level number 2016-03-04 23:20:17 +08:00
Cheng-Han, Wu ee5eddaff4 Changed all parsing exception console message type to warning 2016-03-04 23:19:49 +08:00
Cheng-Han, Wu 049eae5024 Fixed filter XSS should allow ordered list specify start number 2016-03-04 23:17:59 +08:00
Cheng-Han, Wu 845ef9bad6 Support export to and import from Google Drive 2016-03-04 23:17:35 +08:00
Cheng-Han, Wu 04eabff3c3 Fixed logout url not correct 2016-03-04 23:11:32 +08:00
Cheng-Han, Wu 1c859248e0 Updated to ignore process image which already wrapped by link node 2016-03-04 23:09:50 +08:00
Cheng-Han, Wu 8b16e0723d Added throttle for checkCursorMenu, gain much better input performance 2016-02-25 13:45:02 +08:00
Cheng-Han, Wu fae3c02bb2 Fixed mathjax queue might parse whole page if pass an empty or single item array 2016-02-24 10:57:33 +08:00
Cheng-Han, Wu daf4c9dcae Fixed mathjax might parse not specified elements and now pass array of elements 2016-02-24 10:35:52 +08:00
Cheng-Han, Wu 1da0b87714 Updated and fixed mathjax parsing, now using full featured plugin 2016-02-24 10:03:35 +08:00
Cheng-Han, Wu c509abbc39 Support kbd tag 2016-02-22 22:42:40 +08:00
Cheng-Han, Wu 175f571a36 Fixed markdown-it include should use minified script 2016-02-22 11:18:55 +08:00
Cheng-Han, Wu 2dc2fbe162 Change markdown engine from remarkable to markdown-it 2016-02-22 08:58:06 +08:00
Cheng-Han, Wu 229740e478 Support mathjax option in YAML metadata 2016-02-21 11:36:44 +08:00
Cheng-Han, Wu d97e435b3b Fixed when change widthInput value not parse correctly which cause tab indent problems 2016-02-18 03:38:09 +08:00
Cheng-Han, Wu b2b1be3dda Support set url path and use relative url, move raphael to bower and fixed minor issue in history 2016-02-16 20:08:44 -08:00
Cheng-Han, Wu db86dc7a48 Support textcomplete in multiple editing 2016-02-16 09:55:51 -06:00
Cheng-Han, Wu 1b059775e5 Fixed editor tab key not handle correctly on multiple lines selections 2016-02-16 09:54:33 -06:00
Cheng-Han, Wu 2501b190ab Updated to support html comment tag in XSS 2016-02-16 09:51:22 -06:00
Cheng-Han, Wu 26c40dca2d Fixed checkCursorTag element not valid 2016-02-15 19:16:48 -06:00
Cheng-Han, Wu 880f6bcf02 Updated to support lang attribute and styles in editor 2016-02-15 19:13:17 -06:00
Cheng-Han, Wu 6967dac0ff Updated syncscroll to lerp on last line 2016-02-11 14:36:05 -06:00
Cheng-Han, Wu 8db142554f Updated rendering operations to improve performance 2016-02-11 14:35:25 -06:00
Cheng-Han, Wu 2a774064af Updated XSS filter options to allow style tag and style attribute 2016-02-11 14:33:21 -06:00
Cheng-Han, Wu 4c4a0e0f3f Fixed prevent XSS might break lots of tags and only need after rendered 2016-02-11 03:45:13 -06:00
Cheng-Han, Wu 176021ccd8 Fixed cursor-tag and cursor-menu might not on correct position 2016-02-11 02:38:19 -06:00
Cheng-Han, Wu 6700f033ab Prevent XSS in markdown rendering 2016-02-11 02:36:52 -06:00
Cheng-Han, Wu fdb9c47354 Fixed lz-string include path typo 2016-02-09 11:20:34 -06:00
Cheng-Han, Wu 0f811797f0 Fixed to keep index.css indent consistent 2016-02-08 23:07:55 -06:00
Cheng-Han, Wu 5aad217d34 Support change keymap and indentation type with size in statusbar 2016-02-08 22:51:07 -06:00
Cheng-Han, Wu acb9dac1b9 Updated to make continue list in todo list default as unchecked 2016-02-08 22:49:35 -06:00
Cheng-Han, Wu eb29e763a4 Removed ui-permission-label href attribute 2016-02-08 22:48:18 -06:00
Cheng-Han, Wu 740fde75d3 Manual patch CodeMirror for some minor issues 2016-02-02 13:56:30 -06:00
Cheng-Han, Wu 44ac1b295c Workaround for cut or paste action might make scrollMap not correct and big documents have poor input performance 2016-02-02 13:56:10 -06:00
Cheng-Han, Wu ce8f9b695c Fixed isInCode and code block textcomplete might not correct 2016-02-01 00:42:30 -06:00
Cheng-Han, Wu dcebc75d39 Updated to support ja, zh-TW, zh-CN font and removed non-latin font in all default styles to allow font fallbacks 2016-01-31 21:19:47 -06:00
Cheng-Han, Wu ff2fc76491 Supported export to gist 2016-01-31 15:42:26 -06:00
Cheng-Han, Wu 3e48d46514 Moved dependency "flowchart" to bower and make it update-to-date 2016-01-31 15:35:17 -06:00
Cheng-Han, Wu eba84527c3 Fixed only "AUTH failed" error message would redirect to 403 2016-01-31 15:33:25 -06:00
Cheng-Han, Wu 2eec0ae35d Improved code block and emojiy textcomplete and match rules 2016-01-31 15:32:35 -06:00
Cheng-Han, Wu eb4cb3f52f Fixed supportCharts name not match real syntax 2016-01-31 15:30:10 -06:00
Cheng-Han, Wu 3c2a2a348b Fixed emojify should exclude parsing svg and catch its exception 2016-01-31 15:29:20 -06:00
Cheng-Han, Wu ba4a7b13b3 Fixed a expression bug in postProcess 2016-01-31 15:28:52 -06:00
Cheng-Han, Wu 47668fe70a Fixed release notes typos 2016-01-31 15:28:35 -06:00
Cheng-Han, Wu e473a4e61b Fixed cursor id not valid to selector 2016-01-22 19:48:07 -06:00
Cheng-Han, Wu 90710bc78b Manual patch remarkable for reductant character of code block in the blockquote 2016-01-22 19:47:26 -06:00
Cheng-Han, Wu 018beab583 Removed unused include 2016-01-21 01:16:53 -06:00
Cheng-Han, Wu 98a8640edb Removed unused include 2016-01-21 00:11:24 -06:00
Wu Cheng-Han 1b2a3108be Marked as 0.3.4 2016-01-19 10:06:22 -06:00
Wu Cheng-Han 7e5bdd0069 Updated copyright year to 2016 2016-01-19 10:05:55 -06:00
Wu Cheng-Han 75548df29e Added support of code block languages autocomplete for charts 2016-01-19 10:01:40 -06:00
Wu Cheng-Han 0dbde6d3d0 Manuel patch CodeMirror for markdown mode 2016-01-19 09:59:52 -06:00
Wu Cheng-Han 96931e6e3a Upgrade all dependencies and fixes afterward issues 2016-01-19 09:57:58 -06:00
Wu Cheng-Han 4073909b16 Added back todo list support in continuelist 2016-01-17 18:06:21 -06:00
Wu Cheng-Han eaa8ccaccb Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor 2016-01-17 14:28:04 -06:00
Wu Cheng-Han ce65e58096 Use minified version script 2016-01-17 11:54:58 -06:00
Wu Cheng-Han bdc064fb79 Revert overwrite hardbreak rule because built-in rule is correct 2016-01-17 11:53:34 -06:00
Wu Cheng-Han 3fdceaaf06 Fixed history not update if note have no content and lz-string version mismatch 2016-01-17 09:59:03 -06:00
Wu Cheng-Han 762bf63581 Removed unused note and set empty on default note, updated features note 2016-01-17 09:57:25 -06:00
Wu Cheng-Han eddff9e863 Added editor placeholder and auto set mode by content existence 2016-01-17 09:56:36 -06:00
Wu Cheng-Han 5c0a36f4d9 Updated external media layouts, too keep its ratio and enlarge to 100% width 2016-01-17 09:55:12 -06:00
Wu Cheng-Han 49c7dded45 Added private permission and clean up codes, solved potential race condition in realtime.js 2016-01-17 09:51:27 -06:00
Wu Cheng-Han 473212676a Fixed importFromUrl should parse by the file extension, and move to-markdown dependency to bower 2016-01-12 08:03:56 -06:00
Wu Cheng-Han 2ecec3b59a Support show last change user with profile and support YAML config inside the note with robots, lang, dir, breaks options 2016-01-12 08:01:42 -06:00
Wu Cheng-Han 1672df3dce Added support of graphviz 2016-01-12 07:56:29 -06:00
Wu Cheng-Han 8af7841de3 Fixed syncscroll might have duplicated and wrong scrollMap if editor not shown 2016-01-12 07:47:02 -06:00
Wu Cheng-Han a2fbafb6aa Fixed some resource including issues 2016-01-12 07:43:44 -06:00
Wu Cheng-Han 42a222a7c8 Added polypill for IE support 2016-01-12 07:37:04 -06:00
Wu Cheng-Han ddd1740f71 Fixed remarkable-regex not support IE, and use counter instead of random on id to avoid collision 2016-01-12 07:34:44 -06:00
Wu Cheng-Han f5010af4f1 Added 404 and 403 status on routes 2015-12-30 00:33:36 -05:00
Wu Cheng-Han 48de9a02a3 Fixed sequence diagram might render multiple times 2015-12-24 01:01:02 -06:00
Wu Cheng-Han 48d5889a30 Added support of slideshare and speakerdeck syntax and autocomplete 2015-12-22 17:51:07 -06:00
Wu Cheng-Han 2ad54c516a Fixed mathjax parser might not render properly 2015-12-22 12:09:34 -06:00
Wu Cheng-Han 9eb23603f4 Added support of toc syntax 2015-12-20 11:28:54 -06:00
Wu Cheng-Han 45ec05e2ed Added extra stylesheet to slide mode 2015-12-18 23:53:01 -06:00
Wu Cheng-Han 32a89e13cd Fixed possible bug in partialUpdate 2015-12-18 10:15:28 -06:00
Wu Cheng-Han 02cd3d633e Updated to show locked-modal instead signin-modal when permission is "locked" 2015-12-18 10:15:16 -06:00
Wu Cheng-Han 21ad5cfd60 Fixed toolbar buttons should prevent default event 2015-12-18 09:44:08 -06:00
Wu Cheng-Han 3d21e6b16d Fixed cursor animation might not correct because the page scroll involved 2015-12-18 09:43:23 -06:00
Wu Cheng-Han 031c96c72d Updated slide mode 2015-12-18 09:40:52 -06:00
Wu Cheng-Han 54b33f181f Fixed dropbox saver url not correct 2015-12-15 23:16:31 -06:00
Wu Cheng-Han a6d1bddf47 Updated other packages to lastest versions 2015-12-15 15:01:13 -06:00
Wu Cheng-Han debcfdef14 Updated some lib versions in cdns 2015-12-10 14:00:25 -06:00
Wu Cheng-Han 4b93d868b0 Fixed internal href should not link out 2015-12-06 11:25:05 -06:00
Wu Cheng-Han 54bfb0acea Fixed cdn import should using relative protocol 2015-11-29 01:11:51 -06:00
Wu Cheng-Han b070de8fa9 Updated and merge reveal.js to use bower 2015-11-29 01:04:20 -06:00
Wu Cheng-Han baed9eb33d Updated for using bower 2015-11-29 01:00:41 -06:00
Wu Cheng-Han 827cb259db Using bower to manage vendor packages 2015-11-29 00:50:53 -06:00
xnum f51b7370f0 Add Slide Mode
using reveal.js
and some part of reveal-md
2015-11-23 20:38:26 +08:00
Wu Cheng-Han f23369ea9f Support specify or continue line number in code blocks 2015-10-22 17:15:44 +08:00
Wu Cheng-Han 2cfcae6db2 Support pinning note in history 2015-10-22 17:09:55 +08:00
Wu Cheng-Han 5ed395122d Support specify code block start line number 2015-10-07 23:04:31 +08:00
Wu Cheng-Han 8a4ad57f6a Fixed cursor style not show properly on insert mode 2015-10-07 23:02:46 +08:00
Wu Cheng-Han 3f64ec79b7 Fixed OT not handle when selection is empty 2015-10-05 14:32:31 +08:00
Wu Cheng-Han bc1f59af65 Marked as 0.3.3 2015-09-27 14:36:08 +08:00
Wu Cheng-Han 332413bcaa Fixed if using splice in loop should always decrement index or might out of array range 2015-09-26 10:25:00 +08:00
Wu Cheng-Han 5f82df7eb2 Added support of export to HTML, and changed the navbar menu for consistency 2015-09-25 19:09:43 +08:00
Wu Cheng-Han 60414febee Changed code block line number gutter rendering method for performance and gain better accessibility 2015-09-25 19:06:27 +08:00
Wu Cheng-Han 4e0a102101 Removed include gist.css, will loaded by gist-embed.js from gist ajax 2015-09-25 19:04:15 +08:00
Wu Cheng-Han 3882f4f044 Updated editor styles 2015-09-25 19:03:04 +08:00
Wu Cheng-Han 93b6288958 Updated editor default theme and some other options 2015-09-25 19:02:51 +08:00
Wu Cheng-Han 8de5404bb1 Added new editor theme: one-dark, updated monokai active line gutter style 2015-09-25 19:01:20 +08:00
Wu Cheng-Han 98ca5cb3df Updated toc-dropdown margin-top 2015-09-25 18:59:15 +08:00
Wu Cheng-Han 0242089e35 Updated cursor css animation and dropdown-menu styles, updated navbar-brand font-weight 2015-09-25 18:58:49 +08:00
Wu Cheng-Han bb8a0da71f Added support of print and unselectable styles, updated vimeo and youtube parsing method for this 2015-09-25 18:55:56 +08:00
Wu Cheng-Han 2493c8f986 Fixed padding of view area in smaller screen 2015-09-25 18:52:06 +08:00
Wu Cheng-Han 2b57b1849f Added support of titleReminder and handle when change occur on offline 2015-09-25 18:48:45 +08:00
Wu Cheng-Han 529c5f6c13 Added support of resizable editor 2015-09-25 18:46:08 +08:00
Wu Cheng-Han b86a695f9c Added support of on changing from view mode to other mode will auto scroll to corresponding position 2015-09-25 18:41:03 +08:00
Wu Cheng-Han 4b81ee9104 Changed permission Editable icon to prevent misunderstanding 2015-09-25 18:38:38 +08:00
Wu Cheng-Han c900703d75 Updated windowResize, page unload, page error and minor some tweaks for performance 2015-09-25 18:37:40 +08:00
Wu Cheng-Han db956cc298 Workaround foldGutter not showing on first view 2015-09-25 18:35:18 +08:00
Wu Cheng-Han b87463ae0d Added timeout on socket 2015-09-25 18:34:34 +08:00
Wu Cheng-Han 3ab04d4f02 Fixed saveInfo and restoreInfo might not get correct window size 2015-09-25 18:34:03 +08:00
Wu Cheng-Han e0ff287652 Fixed toc might not have proper view in some cases 2015-09-25 18:32:33 +08:00
Wu Cheng-Han fb8ead594a Updated resizeView, add or update user cursors to get proper view 2015-09-25 18:30:44 +08:00
Wu Cheng-Han a879b5b5fd Fixed scrollSpy might not set properly on updateView or windowResize 2015-09-25 18:29:01 +08:00
Wu Cheng-Han 4725415acd Changed updateView, now only buildMap on demand 2015-09-25 18:20:06 +08:00
Wu Cheng-Han bb13a98c13 Updated postProcess, link should open in new window or tab 2015-09-25 18:18:21 +08:00
Wu Cheng-Han 2463a5126b Fixed syncScrollToView using wrong variable, added magic number 10 on building scrollMap 2015-09-25 18:17:08 +08:00
Wu Cheng-Han fe3950ec9c Optimized buildMap, now can parse whole doc below 10ms 2015-09-25 18:15:44 +08:00
Wu Cheng-Han 36451ddbe9 Moving markdown parser function from syncscroll.js to extra.js 2015-09-25 18:12:56 +08:00
Wu Cheng-Han 4e358cd6f4 Added back missing list item custom parsing 2015-09-25 18:10:36 +08:00
Wu Cheng-Han fa957db272 Updated updateView, now will updateHistory in editor changes event, support preventSyncScroll and workaround editor might scroll to no where on changes in the doc bottom 2015-09-25 18:05:50 +08:00
Wu Cheng-Han 11c4a0404e Updated updateView, windowResize, cursorActivity, updateHistory to use lodash debounce function, added back missing refreshView function 2015-09-25 18:01:15 +08:00
Wu Cheng-Han 01217c9f4a Added extraTags support for list, and can toggle todo list in the view mode 2015-09-25 17:41:15 +08:00
Wu Cheng-Han bc31e9fe3b Added deduplicatedHeaderId to avoid multiple same header id 2015-09-25 14:27:23 +08:00
Wu Cheng-Han 44cd5d4b56 Fixed for code consistency 2015-09-25 14:22:45 +08:00
Wu Cheng-Han 376a759df7 Changed defaultMode from both to view 2015-09-25 14:10:15 +08:00
Wu Cheng-Han 1da2653a38 Fixed defaultTextHeight from 18 to 20 2015-09-25 14:09:37 +08:00
Wu Cheng-Han 6b383d49bb Fixed scroll to body might not animate 2015-09-25 14:08:02 +08:00
Wu Cheng-Han e64249453f Fixed permission might not update and emit properly 2015-09-25 14:02:34 +08:00
Wu Cheng-Han ab6deb8e2e Fixed when doc reconnect might get wrong OT operation, reorder initialize instructions in proper sequence 2015-09-25 13:59:28 +08:00
Wu Cheng-Han 9acd070581 Fixed socket set wrong cursor data on receive, prevent buildCursor execute on view mode 2015-09-25 13:43:19 +08:00
Wu Cheng-Han f8b029b2f4 Fixed checkCursorTag and checkCursorMenu not calculate doc height properly, fixed jquery-textcomplete support upSideDown 2015-09-25 13:39:08 +08:00
Wu Cheng-Han e08916763e Added statusBar to show cursor position, selections and so on 2015-09-24 14:59:45 +08:00
Wu Cheng-Han 6e40df2887 Updated codemirror to support panel and match-highlighter and revert some unnecessary changes 2015-09-24 13:57:10 +08:00
Wu Cheng-Han 33cdec2fd4 Updated to lock the navbar on changeMode 2015-09-24 13:55:02 +08:00
Wu Cheng-Han c9f35b9aa0 Updated overall font-family, font-size, line-height, letter-spacing and some other minor adjustments 2015-09-24 13:48:12 +08:00
Wu Cheng-Han f239b53972 Added handlebars as dependency 2015-09-24 13:42:53 +08:00
Wu Cheng-Han 92493e307a Fixed OT some uncaught error and exceptions 2015-09-24 11:56:55 +08:00
Wu Cheng-Han c06fb7a526 Fixed index clear history list not working, history list will now be id-unique, fixed typo and styles 2015-09-24 11:55:56 +08:00
Wu Cheng-Han 6bdc63ca60 Fixed github link source 2015-09-24 11:47:46 +08:00
Wu Cheng-Han 5dca516b7f Fixed default.md, features link might get wrong in publish note 2015-09-24 11:46:29 +08:00
Wu Cheng-Han a29cc7ceec Fixed navbar might too tall issue 2015-09-22 12:07:03 +08:00
Wu Cheng-Han b6c758f2fc Added server option "useCdn", use template statement to route resources' source 2015-09-22 12:06:13 +08:00
Wu Cheng-Han 0ad680b80b Added back missing files, closed #18 2015-09-13 19:49:40 +08:00
Wu Cheng-Han c473033f45 Fixed autocomplete for code block should only show up after type at least one char, writeHistory when page unload to avoid some other occasions. 2015-07-17 00:11:10 +08:00
Wu Cheng-Han d14c5bdc9c Added document max length limit, enforceMaxLength on change and show modal when reach the limit. 2015-07-16 22:46:06 +08:00
Wu Cheng-Han f678bf7205 Updated default.md 2015-07-13 09:38:39 +08:00
Wu Cheng-Han 6f079a3c7a Reduced finishChangeDelay from 400ms to 200ms 2015-07-12 21:21:03 +08:00
Wu Cheng-Han bb9deef077 Marked as 0.3.2 2015-07-11 12:52:04 +08:00
Wu Cheng-Han 556338a9c6 Added support of operational transformation 2015-07-11 12:43:08 +08:00
Wu Cheng-Han 4702b83adc Revert index.html select2 cdn back to own server, because we using an older version of it 2015-07-11 12:02:27 +08:00
Wu Cheng-Han 04eef71b11 Change note action "share" to "publish" to avoid misleading 2015-07-06 13:51:55 +08:00
Wu Cheng-Han 85c67212ad Added profile image on onlineList 2015-07-04 22:19:09 +08:00
Wu Cheng-Han 01685c255f Updated codemirror to 5.4.0 2015-07-04 11:31:01 +08:00
Wu Cheng-Han 1d843c8ac2 Added random color option in blockquote tag 2015-07-03 09:14:49 +08:00
Wu Cheng-Han 17f89e9bd3 Optimized syncscroll.js buildMap, make it faster 2015-07-02 20:30:43 +08:00
Wu Cheng-Han f8ef5341c7 Optimized image rendering, avoid duplicated image load when content changed 2015-07-02 20:29:31 +08:00
jackycute 71303791a6 Update index.html
Using protocol-relative url in cdn includes
2015-07-02 10:52:30 +08:00
jackycute 04e57c24fd Update index.html
Using protocol-relative url in cdn includes
2015-07-02 10:51:28 +08:00
jackycute 4d40a1091a Merge pull request #2 from PeterDaveHelloKitchen/cdn
Cdn
2015-07-02 10:44:58 +08:00
Wu Cheng-Han 10c9811fc5 Jump to 0.3.1 2015-07-02 00:10:20 +08:00
Peter Dave Hello 2c99945e24 use greensock-js on cdn 2015-07-01 01:03:57 +08:00
Peter Dave Hello 0631b293a4 use minified handlebars.js on cdn 2015-07-01 00:59:10 +08:00
Peter Dave Hello 233a90ebb2 use minified moment.js on cdn 2015-07-01 00:56:36 +08:00
Peter Dave Hello a404213fbf use js-url on cdn 2015-07-01 00:46:59 +08:00
Peter Dave Hello ba6bf141f4 use minified bootstrap-social on cdn 2015-07-01 00:12:16 +08:00
Peter Dave Hello 32a6869dfe use minified select2 on cdn 2015-07-01 00:11:19 +08:00
Wu Cheng-Han f7f8c901f4 Marked as 0.2.9 2015-06-01 18:04:25 +08:00
Wu Cheng-Han 4e64583a0b Marked as 0.2.8 2015-05-15 12:58:13 +08:00
Wu Cheng-Han 4b0ca55eb7 First commit, version 0.2.7 2015-05-04 15:53:29 +08:00