Max Wu
|
3cc563ec59
|
feat: define vega code block using json overlay mode in editor
to get vega-lite syntax highlighting work
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-27 18:20:41 +08:00 |
Max Wu
|
3a5c6fa5ed
|
feat: use svg for vega-lite renderer
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-27 18:20:41 +08:00 |
Max Wu
|
0a253a4f32
|
feat: upgrade vega to 5.9.1, vega-embed to 6.2.2, vega-lite to 4.4.0
also update the schema link in the features.md
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-27 18:20:41 +08:00 |
Max Wu
|
e33bafd35d
|
Merge pull request #1421 from hackmdio/fix/cannot-download-pdf
Fix server crash when download pdf twice
|
2020-02-27 00:31:51 +08:00 |
BoHong Li
|
b8fb9dbb9e
|
fix: download pdf twice may crash server
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-27 00:02:18 +08:00 |
Max Wu
|
90898e700f
|
Merge pull request #1419 from hackmdio/bugfix/fix-graphviz-error-render
fix: catch viz.js render async error and recreate Viz instance
|
2020-02-26 22:59:14 +08:00 |
Max Wu
|
98fa323b15
|
fix (test): update CSP tests for CDN directives and file hash
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-26 22:36:25 +08:00 |
Max Wu
|
1417f65a22
|
fix: mermaid docs link in features.md
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-26 22:36:25 +08:00 |
Max Wu
|
adf3503c31
|
feat: update CSP nonce for reveal.js 3.9.2 speaker notes feature
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-26 22:36:25 +08:00 |
Max Wu
|
0b9037fb11
|
feat: upgrade reveal.js to 3.9.2
remove headjs dependency after 3.8.0 and update lock file
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-26 22:36:25 +08:00 |
Max Wu
|
72bff3f0b8
|
Merge pull request #1418 from hackmdio/feature/upgrade-mermaid-8.4.8
Feature/upgrade mermaid 8.4.8
|
2020-02-26 16:11:15 +08:00 |
Max Wu
|
40a04f76f8
|
fix: catch viz.js render async error and recreate Viz instance
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-26 16:05:43 +08:00 |
Max Wu
|
919c60c696
|
feat: update lock file for mermaid upgrade
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-26 11:52:09 +08:00 |
Max Wu
|
cdc8581174
|
fix: solve conflict of label class in mermaid and bootstrap
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-26 11:52:09 +08:00 |
Max Wu
|
edd27af26e
|
feat: upgrade mermaid to 8.4.8
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-26 11:52:09 +08:00 |
Max Wu
|
b260093947
|
Merge pull request #1416 from hackmdio/fix/user-type-error
Fix some issues after code refactoring
|
2020-02-26 11:51:06 +08:00 |
BoHong Li
|
da3fd00577
|
refactor: change errorServiceUnavailable function signature to avoid parameter passing error
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-26 11:26:56 +08:00 |
BoHong Li
|
13ed2e6b44
|
refactor: change errorInternalError function signature to avoid parameter passing error
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-26 11:26:01 +08:00 |
BoHong Li
|
8787177991
|
refactor: change errorTooLong function signature to avoid parameter passing error
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-26 11:23:55 +08:00 |
BoHong Li
|
35a2135b36
|
refactor: change errorBadRequest function signature to avoid parameter passing error
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-26 11:22:59 +08:00 |
BoHong Li
|
09a353ffcc
|
refactor: change errorNotFound function signature to avoid parameter passing error
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-26 11:20:42 +08:00 |
BoHong Li
|
6b1ce381df
|
fix: change errorForbidden function signature, add req into function parameter
avoid incorrect function parameter passing
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-26 11:13:45 +08:00 |
BoHong Li
|
7870b82249
|
fix: server throw TypeError when user not sign-in
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-26 10:25:25 +08:00 |
BoHong Li
|
db615e5111
|
fix: page broken when shortId doesn't exists
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-26 10:25:25 +08:00 |
Raccoon
|
05dd6eb739
|
Merge pull request #1415 from hackmdio/bugfix/enable-version-check-only-in-production
Enable version check only in NODE_ENV production
|
2020-02-25 14:28:53 +08:00 |
Yukai Huang
|
59f177d891
|
Enable version check only in NODE_ENV production
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-25 14:06:46 +08:00 |
Raccoon
|
f09b317e63
|
Merge pull request #1410 from hackmdio/feature/drop-yarn
Drop yarn
|
2020-02-24 16:35:56 +08:00 |
Raccoon
|
d22ea95fb6
|
Merge pull request #1399 from hackmdio/feature/version-check
Version check middleware & logging
|
2020-02-24 16:13:50 +08:00 |
Yukai Huang
|
ae40a76c08
|
Drop yarn
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-17 11:41:33 +08:00 |
Max Wu
|
6f78c9ad9a
|
Merge pull request #1273 from hackmdio/feature/support-pandoc-export
Pandoc export
|
2020-02-17 11:35:02 +08:00 |
Yukai Huang
|
d573a4541d
|
Add beta to pandoc dropdown menu
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-17 10:49:56 +08:00 |
Yukai Huang
|
cac7c667d5
|
Update dropdown file format with extension
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-17 10:49:56 +08:00 |
Yukai Huang
|
f1c9ee4c89
|
Fix actioinPandoc
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-10 11:23:52 +08:00 |
Yukai Huang
|
3b2df24b75
|
Change npm package target
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-10 10:58:42 +08:00 |
Yukai Huang
|
9f062fcf8f
|
Update menu item
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-10 10:58:02 +08:00 |
Yukai Huang
|
bb9c43348d
|
Support pandoc export
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-10 10:58:02 +08:00 |
BoHong Li
|
7969d17366
|
fix(noteController): should check permission when user view note
Signed-off-by: BoHong Li <raccoon@hackmd.io>
|
2020-02-07 10:55:50 +08:00 |
Yukai Huang
|
c26a9f10ca
|
Fix missing environment config for version check
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-07 10:55:16 +08:00 |
Max Wu
|
ea52ed8689
|
Merge pull request #1400 from hackmdio/bugfix/emojify-cdn
Support emojify.css with CDN
|
2020-02-06 17:32:29 +08:00 |
Yukai Huang
|
59b31a108d
|
Remove unused markdown-it-emoji
use emoji markdown-it plugin implemented in 2063eb
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-06 16:43:05 +08:00 |
Yukai Huang
|
caf4ac61e5
|
Support emojify.css use cdn
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-06 14:31:25 +08:00 |
Yukai Huang
|
821295ecd3
|
Fix linting errors
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-06 10:46:48 +08:00 |
Yukai Huang
|
8cd9ba2f82
|
Log version check info when app is starting
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-06 10:40:54 +08:00 |
Yukai Huang
|
334c81efe7
|
Save version info in app locals
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-06 10:19:44 +08:00 |
Yukai Huang
|
11265238db
|
Implement version check middleware
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-06 10:19:44 +08:00 |
Yukai Huang
|
eefcf28fcf
|
Merge pull request #1398 from hackmdio/jackycute-flip-buttons
fix: flip the view and edit header buttons
|
2020-02-05 20:39:44 +08:00 |
Max Wu
|
9935df1c19
|
fix: flip the view and edit header buttons
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
2020-02-05 20:29:38 +08:00 |
Max Wu
|
4eb6bac62a
|
Merge pull request #1355 from hackmdio/feature/multilang-spellcheck
Multilanguage spellchecker
|
2020-02-05 19:16:10 +08:00 |
Yukai Huang
|
dc873e0d28
|
Display active spell check lang
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-05 18:49:41 +08:00 |
Yukai Huang
|
34a69c401c
|
Fix check overlay not refreshed
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
|
2020-02-05 18:34:03 +08:00 |