Commit graph

292 commits

Author SHA1 Message Date
Wu Cheng-Han 12b7646f24 Fix to handle name or color might get undefined error 2016-10-12 17:48:28 +08:00
Wu Cheng-Han f5d471106c Fix history list not parse and bind events properly on change pagination 2016-10-12 13:14:46 +08:00
Wu Cheng-Han f4fe27e26c Update to make history refresh have better UX and keep the beginning and end of the pagination visible 2016-10-12 13:08:53 +08:00
Wu Cheng-Han cd9f8fe36b Update to support pagination for history list 2016-10-11 16:48:42 +08:00
Wu Cheng-Han c06b2f4838 Fix history time should save in UNIX timestamp to avoid time offset issue 2016-10-11 16:46:50 +08:00
Wu Cheng-Han 9a15cad42d Mark as 0.4.5 2016-10-11 11:01:05 +08:00
Wu Cheng-Han 795ea21191 Update CodeMirror to 5.19.0 and rename jade to pug 2016-10-10 21:15:29 +08:00
Wu Cheng-Han fb5d7e4359 Update npm and bower dependencies with related patch 2016-10-10 21:14:28 +08:00
Wu Cheng-Han e60ee6886d Cancel update history on page unload 2016-10-10 21:04:42 +08:00
Wu Cheng-Han 12d5ed43a7 Update to support delete note 2016-10-10 21:04:24 +08:00
Wu Cheng-Han 68457ed3a2 Update to make history delete and pin function call to new APIs 2016-10-10 21:00:07 +08:00
Wu Cheng-Han 7a46c9fc5c Fix some incorrect redirects 2016-10-10 20:57:17 +08:00
Wu Cheng-Han 36a1900ce3 Update to make note history count in server-side when user logged 2016-10-10 20:55:33 +08:00
Wu Cheng-Han dc343978eb Fix get or set history on server ajax should not fallback to browser storage to avoid some internet edge cases 2016-10-10 20:50:01 +08:00
Wu Cheng-Han b6e68b2d36 Fix saveHistoryToStorage not correctly fallback to cookie 2016-10-10 20:49:42 +08:00
Wu Cheng-Han b54b3cbe69 Add more comments in the code and remove unused code file 2016-10-10 20:48:56 +08:00
Wu Cheng-Han e4b40d11a2 Update to make editor mode setting to a default variable 2016-10-10 20:47:57 +08:00
Wu Cheng-Han 550746b70e Update default indent to use spaces instead of tabs 2016-10-10 20:46:06 +08:00
Wu Cheng-Han 1d1eedce7e Improve syntax highlighting performance by moving it to finish view 2016-10-10 20:45:49 +08:00
Wu Cheng-Han 521f76f7ad Update to make OT error, client reconnect handling better and refactor client "doc" event 2016-10-10 20:44:45 +08:00
Wu Cheng-Han c9f5cd49b0 Fix potential error 2016-10-10 20:42:40 +08:00
Wu Cheng-Han 72d7ba0f31 Update to remind note max length limit on the status bar length div 2016-10-10 20:33:17 +08:00
Wu Cheng-Han 3175616573 Update to support showing owner on the infobar 2016-10-10 20:32:20 +08:00
Wu Cheng-Han 7a85d62b77 Remove unused code 2016-10-10 20:26:12 +08:00
Wu Cheng-Han bf4c6d021c Extract config.js from common.js to make client setting file clean and also make upgrade easier 2016-10-10 16:25:51 +08:00
Yukai Huang 0e63fe1fa0 Create example config 2016-10-05 10:58:05 +08:00
Yukai Huang ca59d86628 Remove config files from version control 2016-10-05 10:57:10 +08:00
Laura Kyle c43f068f6c Change wording of placeholder text 2016-10-02 21:39:45 -04:00
Wu Cheng-Han 21afa2de14 Fix undefined variable typo 2016-09-18 17:05:55 +08:00
Wu Cheng-Han 9b5856fff0 Fix text complete extra tags for blockquote and referral shouldn't match after the target search and referral regex now need two spaces when after some text 2016-09-18 17:05:29 +08:00
Wu Cheng-Han 93ec43c3dc Fix revision viewer might not update after data init, try to use editor operation queue to enhance updateView performance 2016-09-18 17:04:33 +08:00
Wu Cheng-Han 38b1477736 Fix syncscroll.js and index.js have circular dependency cause Reference Errors 2016-09-18 16:51:19 +08:00
Wu Cheng-Han c2f0943b49 Fix bug that when window close will make ajax fail and cause cookies set to wrong state 2016-09-18 16:42:59 +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 591134007c Update to support shortcuts which can add or delete symbol surround text 2016-09-18 16:35:24 +08:00
Wu Cheng-Han f1c9874ed0 Update to support save mode to url and parse mode from url 2016-09-18 16:33:33 +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 b708a72873 Fix the element selector in smoothHashScroll might contain special characters and cause the Syntax error 2016-09-18 16:28:07 +08:00
Wu Cheng-Han c22791610c Fix scripts load order to prevent reference error, using query callback to prevent google api call before loaded 2016-09-18 16:27:21 +08:00
Wu Cheng-Han 4421c8ede7 Improve authorship markers update performance and use CodeMirror built-in operation queue to avoid making DOM busy 2016-09-18 16:22:50 +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 87f4d05e8e Update to use proper way to render view and fix upload image error should response with code 2016-08-19 11:31:23 +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 29d198def9 Update slide ready and change event to improve performance 2016-08-15 11:28:48 +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 fddc2ab38b Fix textcomplete of extra tags for blockquote not match space character in the between 2016-08-15 11:02:11 +08:00
Wu Cheng-Han ecd7218917 Update to support data uri in src attribute of image tag 2016-08-15 11:00:02 +08:00