Commit Graph

15 Commits

Author SHA1 Message Date
Yukai Huang 6bffadaf38
Don't generate jwt token for guest
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-09 21:41:21 +08:00
Yukai Huang c8462c72b3 Export pdf with puppeteer
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-09 21:27:22 +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
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 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 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
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 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 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
BoHong Li 82cade2b87
refactor: noteActions
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:03 +08:00
BoHong Li 7f9970449a
refactor: showPublishNote
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:03 +08:00
BoHong Li 66edff87c5
refactor: show note
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:03 +08:00