Commit graph

156 commits

Author SHA1 Message Date
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
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
9e365b7c12 Update header toolbar menu to remove beta section and add extra section 2016-07-02 16:18:10 +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
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
09fb120967 Update to support toggle editor theme and spellcheck in status bar 2016-06-21 21:45:45 +08:00
Cheng-Han, Wu
3424cdd771 Add support of embed pdf 2016-06-21 21:44:06 +08:00
Cheng-Han, Wu
a6a107eab9 Update to remove data lines attributes in the patialUpdate to gain better performance 2016-06-17 16:33:01 +08:00
Cheng-Han, Wu
73f6d383b5 Add minimumCompatibleVersion and update refresh modal to show more detail informations 2016-06-17 16:31:36 +08:00
Cheng-Han, Wu
03e68f92eb Fix locked or private permission should block any operation if owner is null 2016-06-17 16:29:45 +08:00
Cheng-Han, Wu
cb1e00d1d1 Add support of exporting raw html 2016-06-17 16:17:37 +08:00
Cheng-Han, Wu
4d24476316 Add revision modal with UIs and support to mark patch diff texts 2016-06-17 16:15:53 +08:00
Cheng-Han, Wu
d742b332eb Rearrange some code execute to make sure loaded is asset in correct position 2016-06-17 15:59:50 +08:00
Cheng-Han, Wu
a9fc8d0dff Update to bring up view rendering earlier on first loading 2016-06-17 15:59:25 +08:00
Cheng-Han, Wu
fe249c01f5 Fix updatePermission before loaded might cause duplicate view rendering 2016-06-17 15:58:51 +08:00
Cheng-Han, Wu
cca567453d Fix on paste long document to editor might cause scroll not syncing 2016-06-17 15:58:23 +08:00
Cheng-Han, Wu
2c58b05d05 Revert f32dee3796, because workaround has better performance and they might needed in some cases 2016-06-17 15:57:34 +08:00
Cheng-Han, Wu
30c8420e30 Revert 85e00cb2ef, it's needed for checking if cursor related element reach the viewport edge 2016-06-17 15:55:27 +08:00
Cheng-Han, Wu
fb87de74a5 Update to make cursortag default as hover mode to prevent tag overlay other lines 2016-06-17 15:52:11 +08:00
Cheng-Han, Wu
85e00cb2ef Remove doc top offset workaround for checkCursorTag and checkCursorMenu which cause cursors floating around 2016-06-04 10:49:53 +08:00
Cheng-Han, Wu
43ad625b82 Remove autoSyncscroll on updateView to avoid lost scroll position on other client editing 2016-06-04 10:49:30 +08:00
Cheng-Han, Wu
5c8df4a7a1 Fix to make socket keep retry after disconnect on server maintenance 2016-06-04 10:49:10 +08:00
Cheng-Han, Wu
dcc5ef2df6 Remove unnecessary editor refresh workaround because it already get fixed 2016-06-02 01:06:55 +08:00
Cheng-Han, Wu
f32dee3796 Remove checkEditorScrollbar workaround since CodeMirror 5.15.3 already fixed this issue, refer to CodeMirror #3896 2016-06-01 14:37:51 +08:00
Cheng-Han, Wu
16d5e3ea80 Add maintenance mode and update to gracefully exit process on signal 2016-06-01 14:18:54 +08:00
Cheng-Han, Wu
da45b7dc10 Improve resize performance and fix resize syncscroll not accurate 2016-05-30 11:38:27 +08:00
Cheng-Han, Wu
2c60f0dd67 Improve syncscroll performance and accuracy with few UX tweaks 2016-05-29 13:58:32 +08:00
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