2881 Commits

Author SHA1 Message Date
Raccoon
fd5fe5212b
fix updateHistory argument typing
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:23 +08:00
Raccoon
7827554bd9
ts: lib/note/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:22 +08:00
Raccoon
3393c83cfa
ts: lib/note/noteActions.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:22 +08:00
Raccoon
5b75f482f0
ts: lib/imageRouter/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:22 +08:00
Raccoon
352758c2a0
ts: lib/imageRouter/lutim.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:22 +08:00
Raccoon
710620a920
ts: lib/imageRouter/minio.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:22 +08:00
Raccoon
87e2a25f9a
ts: lib/imageRouter/s3.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:22 +08:00
Raccoon
4cfa5a1bf4
ts: lib/imageRouter/s3.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:22 +08:00
Raccoon
5416bafa2b
ts: lib/imageRouter/minio.ts
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:22 +08:00
Raccoon
dbf140544a
ts: lib/imageRouter/lutim.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
307b6c5d85
allowSyntheticDefaultImports
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
e97c2821fa
ts: lib/imageRouter/imgur.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
8222f1fad9
ts: lib/imageRouter/filesystem.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
8ae51aadef
ts: lib/imageRouter/azure.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
231672d455
ts: lib/middleware/tooBusy.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
cf630ede21
ts: lib/middleware/redirectWithoutTrailingSlashes.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
68439de268
ts: lib/middleware/codiMDVersion.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
758ffd462a
ts: lib/middleware/checkURIValid.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:21 +08:00
Raccoon
6469ac8b9d
ts: lib/history/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:20 +08:00
Raccoon
0387f67a50
let app can run use ts
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:20 +08:00
Raccoon
bf1ca53c65
fix: type check error
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:20 +08:00
Raccoon
92c0575977
ts: lib/homepage/index.ts
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:20 +08:00
Raccoon
45def871a6
temp comment pandoc (ts error)
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:20 +08:00
Raccoon
3bd9808f74
add typescript
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:20 +08:00
Raccoon
282fcab4f7
Merge pull request #1694 from hackmdio/chore/github-actions
Run CI with GitHub Actions
2021-06-16 18:24:40 +08:00
Yukai Huang
dcfdb0129c
Remove travis CI config
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-06-10 12:52:13 +08:00
Yukai Huang
24323975c7
Fix doctoc workflow
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-06-10 12:51:47 +08:00
Yukai Huang
71dce28c04
Add doctoc check
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-06-10 12:44:46 +08:00
Yukai Huang
34f502c166
Add test and build actions
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-06-10 12:31:58 +08:00
Raccoon
8c20d9f625
Merge pull request #1685 from hackmdio/feature/upgrade-flowchart.js-1.15.0
Upgrade flowchart.js to version 1.15.0
2021-05-25 14:39:49 +08:00
Raccoon
b27f1474bc
Merge pull request #1684 from hackmdio/feature/support-mhchem-mathjax
Add TeX mhchem extensions for MathJax
2021-05-25 14:39:32 +08:00
Raccoon
599fd41c83
Merge pull request #1683 from hackmdio/bugfix/fix-image-upload-s3-config
Fix S3 client config passing for image upload
2021-05-19 15:42:31 +08:00
Max Wu
b6837f1a82 feat: upgrade flowchart.js to version 1.15.0
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-18 10:56:06 +08:00
Max Wu
a913c61828 feat: bump package-lock codimd version
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-18 10:56:06 +08:00
Max Wu
e9293b0c30 feat: add TeX mhchem extensions for MathJax
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 23:45:12 +08:00
Max Wu
a41c4db0c2 fix: S3 client config passing for image upload
ref issue: https://github.com/aws/aws-sdk-js-v3/issues/1396

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 19:03:25 +08:00
Raccoon
54f6e55b71
Merge pull request #1679 from hackmdio/bugfix/fix-no-referrer-for-return-url
Handle when request url has no valid referer
2021-05-13 12:56:42 +08:00
Raccoon
3af5408d58
Merge pull request #1680 from hackmdio/bugfix/fix-export-user-data-filename-zero
Avoid append zero suffix on exporting user data
2021-05-13 12:56:04 +08:00
Max Wu
db5fc5075a fix: avoid append zero suffix on exporting user data
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 11:57:13 +08:00
Max Wu
5e709653ab fix: handle when request url has no valid referer
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 11:53:03 +08:00
Yukai Huang
37b656df93
Merge pull request #1678 from hackmdio:release/2.4.1
Release 2.4.1
2.4.1
2021-05-11 20:03:28 +08:00
Yukai Huang
57f5134d9f
Bump package.json version
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-11 19:53:36 +08:00
Yukai Huang
8a38a60714 Merge branch 'master' into develop 2021-05-11 19:26:49 +08:00
Yukai Huang
2e468db210
Merge pull request #1677 from hackmdio/release/2.4.0
Release 2.4.0
2.4.0
2021-05-11 19:24:04 +08:00
Yukai Huang
792f70504a
Update release for 2.4.0
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-11 18:52:55 +08:00
Max Wu
6585976e4d
Merge pull request #1588 from tamo/google-oauth-verified 2021-05-11 17:41:33 +08:00
Yukai Huang
ee1230b6f4
Merge pull request #1532 from freitagsrunde/feature/customTocLevel
Set TOC depth freely for every note by using YAML metadata or an option within `[toc]`
2021-05-11 17:30:31 +08:00
Yukai Huang
cab80c105d
Merge pull request #1676 from hackmdio/bugfix/parseNoteIdByAlias-id-resolve
Fix parseNoteId bug
2021-05-11 17:18:23 +08:00
Yukai Huang
98bf5a6148
Fix async series been interrupted by parse alias
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-11 16:51:27 +08:00
Yukai Huang
0c3171b17d
Merge pull request #1570 from hackmdio/bugfix/update-history-usage
Use encoded noteId when calling updateHistory
2021-05-11 16:27:50 +08:00