Commit graph

281 commits

Author SHA1 Message Date
Wu Cheng-Han aaf32dc4bf Update to support Greek and Portuguese locales 2016-10-02 10:34:10 +08:00
Wu Cheng-Han 748957dc9e Update help modal cheatsheet font styles to make it more clear on spaces 2016-09-18 17:05:07 +08:00
Wu Cheng-Han b7200d7910 Fix the include order to avoid Reference Errors 2016-09-18 16:50:35 +08:00
Wu Cheng-Han 23008bc1e1 Update to support wiki markup syntax highlighting in view using prism 2016-09-18 16:42:27 +08:00
Wu Cheng-Han 42145e4019 Update to support tiddlywiki and mediawiki syntax highlighting in editor 2016-09-18 16:40:51 +08:00
Wu Cheng-Han 3840308ab6 Update edit and publish icon and change toggle icon to make it straightforward, and add shortcut key reminder in modes' title 2016-09-18 16:32:26 +08:00
Wu Cheng-Han 9d71adc05c Add support of shortcut keys for changeMode 2016-09-18 16:30:08 +08:00
Wu Cheng-Han 4cc00c6c40 Update to support French, Deutsch, Japanese and Spanish locales 2016-09-16 22:29:13 +08:00
Wu Cheng-Han b9c59c454d Add support of i18n with related patches and support "en" and "zh" locales for now 2016-08-19 11:49:24 +08:00
Wu Cheng-Han 058c35730b Update to hide scrollbar (but scrollable) in the slide mode 2016-08-15 11:30:12 +08:00
Wu Cheng-Han b4ad011dc1 Fix toc id naming to avoid overlap with user toc 2016-08-15 11:27:32 +08:00
Wu Cheng-Han a013c9d3bc Update slide mode to show extra info and support url actions and support disqus via yaml-metadata 2016-08-15 11:25:27 +08:00
Wu Cheng-Han e12fae6999 Fix header nav bar rwd detect element should use div tag or it might glitch the layout 2016-08-15 11:02:47 +08:00
Wu Cheng-Han 3bcb36b46c Improve index layout and UX with UI adjustments and better wording 2016-08-15 10:56:14 +08:00
Wu Cheng-Han be81ee22ec Update slide mode, now respect all meta settings and update default styles 2016-08-14 15:02:05 +08:00
Wu Cheng-Han 881e92b05a Update to make help modal and text complete hint using consistent reminder text 2016-08-01 16:00:37 +08:00
Wu Cheng-Han b367e110b6 Update to support slideOptions in the YAML metadata 2016-08-01 00:08:22 +08:00
Wu Cheng-Han 8fcde970ab Update bower dependencies and cdn version 2016-07-30 12:22:16 +08:00
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 23c53f3d15 Update to support slide type in publish note and download html style 2016-07-30 11:07:47 +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 cb75424f8e Update gist-embed to 2.5 and using bower to manage it 2016-07-13 10:40:34 +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 d39f1fc700 Update to make slide mode support all extra syntax and change it's rendering engine 2016-07-02 16:09:26 +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 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 73f6d383b5 Add minimumCompatibleVersion and update refresh modal to show more detail informations 2016-06-17 16:31:36 +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 2bff75a9f4 Update highlight.js to version 9.4.0 and use bower dependency 2016-06-04 10:50:53 +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 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 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 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 bce92d06df Fix help-modal cheatsheet typo 2016-05-27 13:37:58 +08:00
Cheng-Han, Wu 6405bb5056 Add support of google signin 2016-05-21 22:48:00 +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
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 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 c4b754e53b Add avatar to History page. 2016-05-12 15:21:05 -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
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 17d2249ec3 Define snippet import modal 2016-05-09 22:37:51 -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
Jannik Lorenz 55a1ba0699
Fix google drive config 2016-04-23 14:34:15 +02:00
Jannik Lorenz d7648e9cea
Hide Dropbox and Google Drive in Import/ Export when disabled 2016-04-23 12:58:24 +02:00
Jannik Lorenz fa50745a8d
Show Sign In button only when enabled 2016-04-23 01:15:52 +02:00
Cheng-Han, Wu 14c6778715 Fix home href link should specify root path 2016-04-22 10:43:30 +08:00
Cheng-Han, Wu b40bf3aef7 Update to support octicon and change header anchor styles 2016-04-20 18:22:18 +08:00
Cheng-Han, Wu b823ed1d7c Fix that error page no need to load foot template 2016-04-20 18:17:09 +08:00
Cheng-Han, Wu 15b5252fcb Fix raphael source file name 2016-04-20 18:16:30 +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 e613aeba75 Updated to support ionicons 2016-04-20 16:28:18 +08:00
Cheng-Han, Wu 3f153515f4 Updated to support mermaid and moment use cdn source 2016-04-20 16:24:02 +08:00
Cheng-Han, Wu e729166c32 Updated to support container syntax and styles 2016-03-15 10:56:53 +08:00
Cheng-Han, Wu 218761d6a1 Updated to support mathjax without cdn 2016-03-15 10:53:45 +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 1da0b87714 Updated and fixed mathjax parsing, now using full featured plugin 2016-02-24 10:03:35 +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 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 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 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 5aad217d34 Support change keymap and indentation type with size in statusbar 2016-02-08 22:51:07 -06:00
Cheng-Han, Wu eb29e763a4 Removed ui-permission-label href attribute 2016-02-08 22:48:18 -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 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 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 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 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 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 45ec05e2ed Added extra stylesheet to slide mode 2015-12-18 23:53:01 -06:00
Wu Cheng-Han 031c96c72d Updated slide mode 2015-12-18 09:40:52 -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 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
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 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 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 8de5404bb1 Added new editor theme: one-dark, updated monokai active line gutter style 2015-09-25 19:01:20 +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 529c5f6c13 Added support of resizable editor 2015-09-25 18:46:08 +08:00
Wu Cheng-Han 4b81ee9104 Changed permission Editable icon to prevent misunderstanding 2015-09-25 18:38:38 +08:00
Wu Cheng-Han f239b53972 Added handlebars as dependency 2015-09-24 13:42:53 +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 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 556338a9c6 Added support of operational transformation 2015-07-11 12:43:08 +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 1d843c8ac2 Added random color option in blockquote tag 2015-07-03 09:14:49 +08:00
Wu Cheng-Han 10c9811fc5 Jump to 0.3.1 2015-07-02 00:10:20 +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