Commit Graph

1143 Commits

Author SHA1 Message Date
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 c2f9970ef0 Fixed a possible exception 2015-09-25 17:37:09 +08:00
Wu Cheng-Han 523048f111 Fixed to handle startConnection and finishConnection undefined exceptions 2015-09-25 16:57:18 +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 c4c9c4fed6 Merge branch 'master' of https://github.com/jackycute/HackMD 2015-09-25 11:29:02 +08:00
jackycute 0d8a112942 Update README.md 2015-09-25 10:39:09 +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 1733b6db8a Fixed doc length should only limit when "both the doc length exceed the doc max length" and "the new doc length is more than previous doc" 2015-09-24 11:45:17 +08:00
Wu Cheng-Han f1a0dff9e6 Fixed user might not disconnect from server properly, handle more uncaught exceptions 2015-09-24 11:40:08 +08:00
Wu Cheng-Han 43a175e710 Added cleaner in realtime.js, to clean up users which aren't in any rooms in a interval 2015-09-24 11:38:55 +08:00
Wu Cheng-Han 950d978fe8 Updated realtime.js, use socket.io built-in broadcast function instead self iterate to avoid extra issues 2015-09-24 11:36:41 +08:00
Wu Cheng-Han e6cac820ae Fixed missing config for useCDN in index template 2015-09-24 11:29:09 +08:00
jackycute 05b28044e4 Merge pull request #20 from 193s/pr-01-usecdn
bugfix: useCDN option must be passed to ejs_renderer
2015-09-23 10:24:38 +08:00
Ikumi Shimizu 7fc7325f87 fixed a bug in response.js:useCdn 2015-09-23 10:25:42 +09: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 09a1e662f9 Changed db schema, table "note", column "title", type from "character varying(256)" to "text".
To make very long title possible
2015-09-15 17:37:00 +08:00
Wu Cheng-Han 90ae615236 Updated README.md, update project structure, remove deploy instruction and add get started section 2015-09-15 16:49:23 +08:00
Wu Cheng-Han 69538a26ad Removed server deploy files, logs and backups directories.
Let user choose any daemon tools and paths as they like.
2015-09-15 16:47:03 +08:00
Wu Cheng-Han 54e48d10ff Updated README.md for more setting details 2015-09-15 16:08:50 +08:00