Commit Graph

122 Commits

Author SHA1 Message Date
Cheng-Han, Wu 5c861fd51e Update docs and textcomplete rules for image syntax with size specified 2016-05-27 13:39:54 +08:00
Cheng-Han, Wu 56840e784f Update textcomplete rules to support more conditions and fix hint typo 2016-05-27 13:38:59 +08:00
Cheng-Han, Wu d90acf88e3 Update and fix editor might not sync scrolling from edit mode to both mode 2016-05-27 02:04:38 +08:00
Cheng-Han, Wu e9b0ce8e04 Update to improve sync scroll to edit performance and fix sync scroll behavior on many situations 2016-05-27 00:12:07 +08:00
Cheng-Han, Wu b28750f256 Update to improve syncscroll performance and add toggle for sync scrolling 2016-05-26 13:17:00 +08:00
Cheng-Han, Wu bf1dc237a9 Add support of sync scrolling to edit area 2016-05-25 13:25:05 +08:00
Cheng-Han, Wu 97befb6238 Fix on paste or cut text might trigger syncscroll 2016-05-16 23:02:59 +08:00
Cheng-Han, Wu eb5873a94d Update to move gitlab api path to sub path and fix its find user method for PR #121 2016-05-16 18:16:45 +08:00
Cheng-Han, Wu 9e75c5cdf4 Fix export snippet should check data before sending request and fix some code styles 2016-05-15 13:01:41 +08:00
Cheng-Han, Wu 4058306d4e Add back missing code for 1f4e1f09b6 2016-05-15 12:30:28 +08:00
Cheng-Han, Wu 1f4e1f09b6 Add some reminder for snippet before modal ajax 2016-05-15 12:22:51 +08:00
Cheng-Han, Wu 8a01b7242c Merge branch 'gitlab_snippets' of https://github.com/jccrofty30/hackmd into jccrofty30-gitlab_snippets
# Conflicts:
#	lib/response.js
2016-05-15 11:02:15 +08:00
Cheng-Han, Wu a70ebf7762 Update to move dropbox app key setting to common.js and will auto load client-side related scripts 2016-05-15 10:54:24 +08:00
Jason Croft 930afdc337 Show only projects where user is creator, has project access >= 20, or has group access. 2016-05-13 10:32:30 -04:00
Jason Croft edcb766b63 Apply "snippets_enabled only" logic to import modal.
Better parsing for snippet import.
Add python filetype.
2016-05-13 10:00:34 -04:00
Jason Croft ba0a8f584a Filter out projects that don't have snippets enabled. 2016-05-12 14:26:55 -04:00
Jason Croft 30e602a740 Enable snippet exporting. 2016-05-12 12:28:08 -04:00
Jason Croft c16345ab12 Can now select from available projects and snippets to build import URL. 2016-05-12 11:19:14 -04:00
Jason Croft 3dd3e6bc35 Allow importing from GitLab snippet 2016-05-11 17:05:25 -04:00
Jason Croft 70f6e5bc2c Define events for snippet actions 2016-05-09 22:38:13 -04:00
Jason Croft 476cabd109 Attach to snippet classes. 2016-05-09 17:07:02 -04:00
Cheng-Han, Wu 7aa21c8f19 Fix missusing for CodeMirror.Pass 2016-04-28 11:10:09 +08:00
Cheng-Han, Wu efb188c9c1 Fix code styles 2016-04-24 12:30:16 +08:00
Cheng-Han, Wu 0bb3e53d58 Change fullScreen toggle to F10
because Mac OS X default might overwrite F11 and F12 behaviors
2016-04-24 12:29:55 +08:00
Cheng-Han, Wu b1187a2014 Fix some indentation 2016-04-24 11:03:57 +08:00
Cheng-Han, Wu 42ac80eb0e Fix other CodeMirror.Pass usage 2016-04-24 10:49:22 +08:00
Zankio 3aa9204e57 Fix Esc in Vim mode 2016-04-23 23:35:23 +08:00
Cheng-Han, Wu f693399c76 Fix view scroll position might lost when editor changes the last line and might get wrong knob position 2016-04-20 22:34:52 +08:00
Cheng-Han, Wu 7e69bfc40b Merge client index.js settings to common.js 2016-04-20 18:20:43 +08:00
Cheng-Han, Wu 0fb70a1487 Support experimental spell checking feature (en-US only), can be enabled by the YAML meta option 2016-04-20 18:09:36 +08:00
Cheng-Han, Wu 692903f1a1 Support import from gist, fix some minor typo and issues 2016-04-20 18:06:36 +08:00
Cheng-Han, Wu 49b51e478f Refactor server with Sequelize ORM, refactor server configs, now will show note status (created or updated) and support docs (note alias) 2016-04-20 18:03:55 +08:00
Cheng-Han, Wu b347ea5414 Workaround editor might have wrong doc height and wrong simple scroll bar knob position when editor height changed 2016-04-20 16:17:24 +08:00
Cheng-Han, Wu b996f801cc Updated to add statusPanel variable 2016-04-20 16:16:46 +08:00
Cheng-Han, Wu 3718238277 Fixed editor changes will cause syncScrollToView 2016-04-20 16:16:07 +08:00
Cheng-Han, Wu 85078fd328 Fixed minor bugs 2016-03-16 12:46:29 +08:00
Cheng-Han, Wu a55ece023a Improved checkCursorMenu and checkCursorTag performance and fully rewrite its position method for UX and verified 2016-03-15 11:12:45 +08:00
Cheng-Han, Wu ea703145c5 Fixed editor should not try to programmatically focus on mobile without click, touch or mouse events 2016-03-15 11:10:58 +08:00
Cheng-Han, Wu 40f9206190 Fixed mobile layout issues and improved editor layout styles 2016-03-15 11:10:08 +08:00
Cheng-Han, Wu b5d9d28f2e Updated to handle Mac shortcut keys of "Cmd-Left" and "Cmd-Right" 2016-03-15 11:05:05 +08:00
Cheng-Han, Wu 25dd400708 Improved overall textcomplete performance and more cases and UX handling 2016-03-15 11:04:45 +08:00
Cheng-Han, Wu 88e6e8522f Updated to support containers syntax textcomplete 2016-03-15 11:01:01 +08:00
Cheng-Han, Wu 526f5c7e2e Improved update last info methods, only change DOM when necessary 2016-03-15 10:45:02 +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 845ef9bad6 Support export to and import from Google Drive 2016-03-04 23:17:35 +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 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 1b059775e5 Fixed editor tab key not handle correctly on multiple lines selections 2016-02-16 09:54:33 -06:00
Cheng-Han, Wu 26c40dca2d Fixed checkCursorTag element not valid 2016-02-15 19:16:48 -06:00