Commit graph

3199 commits

Author SHA1 Message Date
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
f6f469d0fe Update to use modified editor markdown mode to make mathjax expression display correctly 2016-10-10 20:47:06 +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
a090008d4a Update to make OT socket io handle error better, use delay to avoid wrong reversion on client 2016-10-10 20:40:45 +08:00
Wu Cheng-Han
73a8a6c32a Fix OT socket io reconnect should resend last operation 2016-10-10 20:39:02 +08:00
Wu Cheng-Han
11a8c0f9cf Workaround cheerio text method shouldn't preserve html tags on fetching note title 2016-10-10 20:38:14 +08:00
Wu Cheng-Han
7e7919ce86 Fix broken link id reference 2016-10-10 20:34:53 +08:00
Wu Cheng-Han
55ac4dcccb Update to allow CORS as API on revision actions 2016-10-10 20:33:48 +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
1cae0c5b7f Update to prevent duplicate socket push in queue in order to lower down server loading 2016-10-10 20:25:48 +08:00
Wu Cheng-Han
d23ced1fba Update to move authorship calculation code to note model and support update authorship after making revision of docs 2016-10-10 20:23:33 +08:00
Wu Cheng-Han
a5e6b5dd3b Update to support Ukrainian locale 2016-10-10 19:48:05 +08:00
Max Wu
dae4f1eed1 Merge pull request #197 from Kietzmann/patch-1
Created Ukrainian Localization
2016-10-10 19:45:13 +08:00
Dmytro Kytsmen
c1107d499c Created Ukrainian Localization 2016-10-10 14:30:03 +03:00
Max Wu
a5c97b6c81 Merge pull request #196 from PeterDaveHelloKitchen/image-optimize
optimize png images using zopflipng
2016-10-10 17:10:19 +08:00
Wu Cheng-Han
4c9dc5fa1f Add support of Italian, Turkish, Russian, Dutch, Croatian, Polish locales 2016-10-10 16:29:40 +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
20f2e27350 Cover page is now working 2016-10-10 10:14:17 +08:00
Yukai Huang
8cd1cf30a5 Include jquery by script tag for now 2016-10-10 10:13:40 +08:00
Yukai Huang
082178d535 Slide mode is now working 2016-10-10 08:25:35 +08:00
Yukai Huang
e10203b7e9 More function expose workaround for reveal-markdown.js 2016-10-10 08:24:58 +08:00
Yukai Huang
70c20aadda Remove redundant entry point 2016-10-10 07:58:42 +08:00
Peter Dave Hello
83ae4751f4 optimize png images using zopflipng 2016-10-10 00:53:54 +08:00
Yukai Huang
a258897884 Revert some bower assets 2016-10-09 21:43:41 +08:00
Yukai Huang
8f9afa42d5 Fix history and edit mode change 2016-10-09 21:35:24 +08:00
Yukai Huang
2ccaf71191 Update common.js.example 2016-10-09 21:34:40 +08:00
Yukai Huang
8a254ea4f1 Fix scrollToTop/Buttom in preview
workaround
2016-10-09 21:14:18 +08:00
Yukai Huang
53b5cbb893 Finish public note view js loading 2016-10-09 21:09:22 +08:00
Yukai Huang
5355da0960 Workaround for circular require 2016-10-09 21:08:33 +08:00
Max Wu
917537ddbf Merge pull request #194 from bSzala/master
Add Polish translation
2016-10-09 19:53:55 +08:00
Yukai Huang
d0997ed0c1 Config TextExtract plugin and change build folder 2016-10-09 18:22:31 +08:00
Yukai Huang
28858288fb Fix more js errors 2016-10-09 17:55:07 +08:00
Yukai Huang
3e2905be13 Revert to customized codemirror 2016-10-09 17:54:51 +08:00
Yukai Huang
196d546f7e Fix pdfobject require 2016-10-09 10:51:39 +08:00
Yukai Huang
67d118782d Fix function export 2016-10-09 08:15:37 +08:00
Yukai Huang
7e6b9f776f Revert customized ot library and fix dependency 2016-10-09 08:15:23 +08:00
Yukai Huang
845e9342c5 Add highlight.js and prism styles 2016-10-09 07:54:52 +08:00
Bartlomiej Szala
a47a73d35b Add Polish translation 2016-10-08 19:32:42 +02:00
Yukai Huang
8e2b03cfd6 Config bootstrap with webpack 2016-10-08 23:04:19 +08:00
Yukai Huang
2b678c1f12 Make editor variable global 2016-10-08 23:03:33 +08:00
Yukai Huang
963a435ae1 Resolve dependency module requiring
* es5 style module exports
* remove script tag require
* webpack config ProvidePlugin

Note that this commit only fix JavaScript module loading runtime error.
2016-10-08 20:02:30 +08:00
Yukai Huang
0be342c44d Fix mutiple socket.on handling 2016-10-08 19:58:26 +08:00
Yukai Huang
ebee5a8d05 Use xss in script tag 2016-10-08 19:57:50 +08:00