Yukai Huang
e315127d31
Merge branch 'master' into feature/slides-timer
2019-06-26 11:39:22 +08:00
Yukai Huang
d5a5ebc4d0
Merge branch 'master' into feature/slides-spotlight
2019-06-26 11:39:19 +08:00
Raccoon
d4aea92488
Merge pull request #1226 from evilscientress/feature/flowchart.js-v1.12.0-update
...
updated flowchart.js to v1.12.0 closing #1225
2019-06-24 11:51:41 +08:00
Jenny Danzmayr
df101168d4
updated flowchart.js to v1.12.0
...
Signed-off-by: Jenny Danzmayr <mail@evilscientress.at>
2019-06-24 05:13:13 +02:00
BoHong Li
b41de7820c
doc: change travis-ci badge to travis-ci.com
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-28 10:03:46 +08:00
BoHong Li
2f8f912565
ci: update
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 18:35:35 +08:00
BoHong Li
3d48eb67fb
ci: update
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 18:29:30 +08:00
BoHong Li
a1836b3c28
doc: update toc
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:56:50 +08:00
BoHong Li
a1bb450f47
ci: refind config
2019-05-27 17:53:10 +08:00
BoHong Li
cc5aaa1228
chore: cleanup jsonlint output, only show filename and error
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:08 +08:00
BoHong Li
6b549d3642
fix: move babel-polyfill to dependency
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:08 +08:00
BoHong Li
a6036cb70b
refactor: back to use js-standard
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:08 +08:00
BoHong Li
1ac6434ab7
refactor(realtime): parseNoteIdFromSocket to async-await style function
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:08 +08:00
BoHong Li
17e82c11c9
refactor(realtime): connection flow to queue
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:07 +08:00
BoHong Li
0b03b8e9ba
refactor(realtime): ifMayEdit
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:07 +08:00
BoHong Li
e773182db0
refactor(realtime): updateNote
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:07 +08:00
BoHong Li
2dedc84e28
refactor(realtime): extract "save note as revision" to job
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:06 +08:00
BoHong Li
ab37a33e0b
refactor(realtime): add test case for clean dangling user
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:06 +08:00
BoHong Li
d8b18ee241
refactor(realtime): disconnect flow
...
1. use queue for queueing disconnect request
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:06 +08:00
BoHong Li
f892c68e30
refactor(realtime): update dirty note job
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:06 +08:00
BoHong Li
0352057c8b
refactor(realtime): extract "update dirty note" to new job
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:05 +08:00
BoHong Li
702fc48fa8
refactor(realtime): extract "SocketClient" to separate class "RealtimeClientConnection"
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:05 +08:00
BoHong Li
f317171aa0
refactor(realtime): extract user event "permission" to SocketClient
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:05 +08:00
BoHong Li
968c12ff6c
refactor(realtime: extract user event "delete" to SocketClient
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:04 +08:00
BoHong Li
79666aeec3
refactor(realtime): separate test case to individually file
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:04 +08:00
BoHong Li
b17f417af4
feat(realtime): add queue for connect and disconnect queue
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:04 +08:00
BoHong Li
ff72d99269
refactor(realtime): extract user event "online users" to SocketClient
...
1. extract user event "online users" to SocketClient
2. add test case for that
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:04 +08:00
BoHong Li
c4276e1c28
refactor(realtime): extract user event "online users" to SocketClient
...
1. extract user event "online users" to SocketClient
2. add test case for that
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:03 +08:00
BoHong Li
b33c91f41d
refactor(realtime): extract user event "version" to SocketClient
...
1. extract user event "version" to SocketClient
2. add test case for that
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:03 +08:00
BoHong Li
3259bd0f11
refactor(realtime): extract user event "cursor" related
...
1. move "cursor focus", "cursor activity", "cursor blur" event handler to SocketClient
2. add test case for that
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:03 +08:00
BoHong Li
8171860d47
refactor(realtime): extract user event "disconnect" to ClientSocket
...
1. extract user event "disconnect" to ClientSocket
2. add test case
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:02 +08:00
BoHong Li
48cebc0ccc
refactor(realtime): extract "refresh" and "user status" to class
...
1. extract client socket event handler "refresh" and "user status"
to SocketClient class
2. add testcase for this changes
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:02 +08:00
BoHong Li
85fc2297ac
fix(realtime): compatible extractNoteIdFromSocket failed
...
fixed url parsed method and add testcase for extractNoteIdFromSocket
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:02 +08:00
BoHong Li
bfb0a66c32
feat: add nyc for unit test code coverage
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:02 +08:00
BoHong Li
5575e08485
refactor: remove compression, response compression is responsibility of load balancer
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:01 +08:00
BoHong Li
0bed306ba9
refactor: Extract createHttpServer Function and Replace Temp with Query
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:01 +08:00
BoHong Li
8f9cfeec77
remove postintall script
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:01 +08:00
Jong-Kai Yang
4c44c7260f
Update README.md
2019-05-23 17:06:52 -07:00
Max Wu
5a73db42a9
Update README.md
2019-05-12 21:36:36 -04:00
Max Wu
defa6c823a
Add Gitter channel to README.md
2019-05-12 21:35:43 -04:00
Jong-Kai Yang
dd02fc3dad
Update README.md
2019-05-06 22:49:44 -07:00
GHOUL Nadir
779fa59dbb
Adding an error code to the `{"status":"forbidden"}` response
...
Signed-off-by: Ghoul Nadir <nadir.ghoul@outlook.com>
2019-05-04 00:18:28 +02:00
Raccoon
65d8fd2613
Merge pull request #1205 from pan93412/develop_translation
...
translation: Fix some translations in zh-TW
2019-05-01 23:03:05 +08:00
pan93412
6f5ed461e2
translation: Fix some translations in zh-TW
...
Signed-off-by: pan93412 <pan93412@gmail.com>
2019-05-01 18:52:40 +08:00
Raccoon
440661f1ce
Merge pull request #1196 from toshi0123/fix_avoiding_crash
...
Fix avoiding crash if URL is invalid
2019-04-30 18:40:18 +08:00
Jong-Kai Yang
5606380235
Update README.md
2019-04-27 18:03:20 -07:00
Jong-Kai Yang
8ffb91a41d
Update README.md
2019-04-27 18:01:11 -07:00
Jong-Kai Yang
61733002c8
Update README.md
2019-04-27 17:54:53 -07:00
Jong-Kai Yang
57672a65c0
Update README.md
2019-04-23 19:58:54 -07:00
Jong-Kai Yang
45bb2c8592
Update README.md
2019-04-23 18:33:44 -07:00