Commit graph

365 commits

Author SHA1 Message Date
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
Cheng-Han, Wu 3424cdd771 Add support of embed pdf 2016-06-21 21:44:06 +08:00
Cheng-Han, Wu 558304ff62 Update to support new metadata: title, description, tags and google-analytics (GA) and refactor render publish slide response function 2016-06-21 21:42:03 +08:00
Cheng-Han, Wu ad6982e77e Remove robot meta on note edit page and html template, add prevent crawling header to enhance note privacy 2016-06-21 21:37:56 +08:00
Cheng-Han, Wu 949f26a0d1 Remove donation button in refresh modal 2016-06-17 16:52:00 +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 a1198339db Update syncscroll throttle to gain better and smoother UX 2016-06-17 16:28:57 +08:00
Cheng-Han, Wu 3680988058 Update slide-example.md 2016-06-17 16:28:48 +08:00
Cheng-Han, Wu 71f61b7f84 Update all client dependencies and cdn versions, workaround sequence-diagram svg to be resizable 2016-06-17 16:27:37 +08:00
Cheng-Han, Wu 5d03109827 Update modal styles to fill larger screens 2016-06-17 16:19:16 +08:00
Cheng-Han, Wu df68347d64 Update header dropdown class to make it scrollable on smaller viewport height 2016-06-17 16:18:01 +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 56b4739e6d Add back missing support of image size in 0.4.2 2016-06-17 16:04:58 +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 3498b9fae9 Workaround CodeMirror won't draw selections outside of the viewport which will cause cursor related element blinking on scrolling 2016-06-17 15:55:51 +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 2bff75a9f4 Update highlight.js to version 9.4.0 and use bower dependency 2016-06-04 10:50:53 +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 223d685a7c Improve history clearDuplicatedHistory performance 2016-06-02 01:06:35 +08:00
Cheng-Han, Wu b9060395ca Fix home button link broken in header template 2016-06-01 22:26:54 +08:00
Cheng-Han, Wu c439797efd Mark as 0.4.2 2016-06-01 20:44:19 +08:00
Cheng-Han, Wu ee3c6b5485 Fix in firefox other client's cursor might disappear or move out of bound 2016-06-01 14:38:59 +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 fb70833bc5 Update CodeMirror to version 5.15.3 2016-06-01 14:37:28 +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 27e17d7772 Add release-notes as pure markdown file and remove old release notes section on index 2016-05-30 12:45:13 +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 16990e35a2 Update slide template using ejs instead of mustache to reduce similar package dependency 2016-05-29 17:54:24 +08:00
Cheng-Han, Wu c73c32d127 Update to replace animation acceleration library from gsap to velocity 2016-05-29 17:49:29 +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 20fbc9957f Update project title 2016-05-28 01:51:45 +08:00
Cheng-Han, Wu e52937df50 Update project infos, reclaim authors and add authors list 2016-05-28 01:49:15 +08:00
Cheng-Han, Wu 5819e4007f Fix when scroll animate duration greater than debounce will cause scrolling flicking 2016-05-28 00:31:43 +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 bce92d06df Fix help-modal cheatsheet typo 2016-05-27 13:37:58 +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 954137b760 Update resizable handle and sync scrolling toggle styles 2016-05-27 00:11:32 +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 6405bb5056 Add support of google signin 2016-05-21 22:48:00 +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 5bb4423309 Fix to handle if last change user profile photo is null 2016-05-16 13:54:00 +08:00
Cheng-Han, Wu c8560ec5fb Fix to handle if user avatar photo is null 2016-05-16 13:47:35 +08:00
Cheng-Han, Wu 438cedf882 Fix for help modal css style conflicts 2016-05-15 13:05:31 +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 aa34faf8ab Fix some code styles and user avatar style for PR #122 2016-05-15 12:31:16 +08:00
Cheng-Han, Wu 4058306d4e Add back missing code for 1f4e1f09b6 2016-05-15 12:30:28 +08:00
Max Wu 86b7304746 Merge pull request #122 from jccrofty30/avatar_on_history
Add avatar to History page.
2016-05-15 12:24:33 +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 bdc3a29157 Fix signin template logic for PR #121 2016-05-15 12:22:07 +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 73835763c6 Merge PR #118 2016-05-15 10:58:41 +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
Cheng-Han, Wu 217e683422 Merge PR #101 2016-05-15 09:56:01 +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 c4b754e53b Add avatar to History page. 2016-05-12 15:21:05 -04:00
Jason Croft ba0a8f584a Filter out projects that don't have snippets enabled. 2016-05-12 14:26:55 -04:00
Jason Croft e65d43bd81 Merge remote-tracking branch 'origin/master' into gitlab_snippets
# Conflicts:
#	bower.json
#	public/views/body.ejs
2016-05-12 12:32:10 -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 de998c4a0f Check to make sure GitLab is configured before showing import option. 2016-05-11 21:12:48 -04:00
Jason Croft a3876dfc92 Start extending to support GitLab authentication.
Add necessary dependency.
Add baseURL parameter for self-hosted GitLab
Add necessary require.
Add block for GitLab auth.
Fix typo
Update font-awesome dependency for GitLab icon.
Use a color closer to GitLab orange.
More direct TODO
2016-05-11 21:02:53 -04:00
Jason Croft 9f401b3fa8 Fully-fleshed snippetImportModal 2016-05-11 17:05:53 -04:00
Jason Croft 3dd3e6bc35 Allow importing from GitLab snippet 2016-05-11 17:05:25 -04:00
Cheng-Han, Wu 4aa4e3eacc Add help and help modal with contacts, documents, cheatsheet 2016-05-11 14:37:54 +08:00
Cheng-Han, Wu 79b37c4fb2 Update font-awesome to 4.6.2 2016-05-11 14:33:12 +08:00
Cheng-Han, Wu a1cbdb6de7 Try to fix potential toolbar layout glitch 2016-05-11 11:47:39 +08:00
Jason Croft 70f6e5bc2c Define events for snippet actions 2016-05-09 22:38:13 -04:00
Jason Croft 17d2249ec3 Define snippet import modal 2016-05-09 22:37:51 -04:00
Jason Croft 476cabd109 Attach to snippet classes. 2016-05-09 17:07:02 -04:00
Jason Croft 277bf60a2e Add GitLab options. 2016-05-09 17:06:44 -04:00
Jason Croft 079822dfec Start extending to support GitLab authentication.
Add necessary dependency.
Add baseURL parameter for self-hosted GitLab
Add necessary require.
Add block for GitLab auth.
Fix typo
Update font-awesome dependency for GitLab icon.
Use a color closer to GitLab orange.
More direct TODO
2016-05-09 16:27:35 -04:00
Cheng-Han, Wu 8e8a5e1ecb Fix possible glitch of layout 2016-05-09 17:52:03 +08:00
Cheng-Han, Wu 7aa21c8f19 Fix missusing for CodeMirror.Pass 2016-04-28 11:10:09 +08:00