55 Commits

Author SHA1 Message Date
Raccoon
2944da0415
lint: lib/realtime/realtime.ts
- add typing annotate
- install @types/socket.io, @types/randomcolor, @types/passport.socketio

Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:37 +08:00
Raccoon
ee04b2fb74
lint: lib/note/noteAction.ts
- install @types/markdown-pdf
- add typing annotate

Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:36 +08:00
Raccoon
7dbb1efbd2
lint: lib/models
- add more typing annotate
- install @types/cheerio

Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:36 +08:00
Raccoon
bc417043ed
lint: lib/utils.ts
- install @types/mime-types
- add typing annotate

Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:35 +08:00
Raccoon
a5376a472a
lint: lib/auth/utils.ts
- install @types/express-session for req.session
- add returnTo into sessionData
- add typing annotate in passportGeneralCallback and remove unused var

Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:35 +08:00
Raccoon
8fb31bd018
upgrade morgan to 1.10
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:32 +08:00
Raccoon
72ca90aae2
upgrade winston
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:32 +08:00
Raccoon
a10263b13e
upgrade sequelize
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:31 +08:00
Raccoon
5128815543
fix all eslint error
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:31 +08:00
Raccoon
4d2579f114
add lint
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:31 +08:00
Raccoon
b0b079a33a
migrate to use ot.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:30 +08:00
Raccoon
edc1a9d800
ts: lib/auth/google/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:27 +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
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
3bd9808f74
add typescript
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:20 +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
Yukai Huang
f564a010fb
Bump cm to 5.57.7
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 11:21:22 +08:00
Yukai Huang
0b9dd91822
Update cm deps
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:55 +08:00
Yukai Huang
cdb18a31fe
Update deps
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:53 +08:00
Yukai Huang
0fb184c2d8
Merge branch 'master' into develop 2021-01-26 01:58:26 +08:00
Max Wu
a1e3768f98 fix: avoid insert embed tag on the main thread which cause Safari on Big Sur freezing
upgrade pdfobject to version 2.2.4

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-01-21 14:23:45 +08:00
Yukai Huang
534b2c61b9
Bump package/package.lock version
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-01-04 17:45:40 +08:00
Yukai Huang
378fb7dcce
Bump mermaid to 8.6.4
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-01-04 14:15:33 +08:00
Yukai Huang
30e83538e6
Bump version in package.json
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-12-31 11:46:29 +08:00
Yukai Huang
4d027119f6
Merge branch 'master' into develop
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-12-25 16:28:10 +08:00
Yukai Huang
8e3432a3e8
Merge pull request #1637 from hackmdio/bugfix/bump-vega-deps
Bump vega dependencies
2020-12-25 16:21:26 +08:00
Yukai Huang
312dffe21d
Bump vega deps
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-12-22 17:45:53 +08:00
Yukai Huang
7a88f9d95a
Check upload image mime type
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-12-22 16:48:13 +08:00
Yukai Huang
cebd5e7da9
Merge pull request #1574 from santigl/spellcheck-en-gb-dict
Spellcheck: add en_GB dictionary
2020-09-10 16:14:04 +08:00
Yukai Huang
d89caac21a
Bump codemirror version to 5.49.8
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-08-14 12:12:24 +08:00
Santiago Gil
1585abdb84 Spellcheck: add en_GB dictionary
Signed-off-by: Santiago Gil <santix91@gmail.com>
2020-08-13 23:02:13 +01:00
James Tsai
cf1a25a627 Fix package-lock dependencies config
Signed-off-by: James Tsai <jamesscamel@gmail.com>
2020-07-27 18:01:10 +08:00
James Tsai
66d53956c4 Add delete note api
Signed-off-by: James Tsai <jamesscamel@gmail.com>
2020-07-27 18:01:10 +08:00
Yukai Huang
793b8436a4
Bump package.json version
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-20 09:56:00 +08:00
Yukai Huang
b29d2c0a31 Implement cspreview renderer
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:14:10 +08:00
Raccoon
e9cf0431d4
Merge branch 'develop' into feat/mindmap 2020-07-09 15:48:28 +08:00
Raccoon
720348a84b
chore: bump 2.1.0
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-05-18 21:12:42 +08:00
tarlety
09eb8556db
Exporting metrics for node.js, express, router, and codimd realtime status.
1. **/metrics/router** : exporting node.js/express Prometheus metrics by
[prometheus-api-metrics](https://www.npmjs.com/package/prometheus-api-metrics)

2. **/metrics/codimd** : exporting codimd realtime status (/status) as
Prometheus metrics

Signed-off-by: tarlety <tarlety@gmail.com>
2020-05-01 22:17:22 +08:00
BinotaLIU
527c3ae7d9
remove scrypt && install scrypt-kdf
Signed-off-by: BinotaLIU <me@binota.org>
2020-04-20 00:04:12 +08:00
Raccoon
2fe10a78b7
chore: change aws-sdk to @aws-sdk/client-s3-node, reduced module size
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-04-12 02:24:35 +08:00
Raccoon
a048b587af
chore: move frontend package to devDependencies
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-04-12 02:21:22 +08:00
Raccoon
fb02ee3922
feat: add mindmap-lib support
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-04-11 23:49:47 +08:00
BoHong Li
439e3bde32
fix: cannot upload image via imgur
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-04-05 15:06:32 +08:00
BoHong Li
d152e8a7ec
chore: dump version to 2.0.0
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-03 00:00:02 +08:00
Max Wu
69a0cb5054
Merge pull request #1428 from hackmdio/feature/plantuml-codemirror-grammer
Bump codemirror version to 5.49.5
2020-02-29 20:00:08 +08:00
Max Wu
451a02fff3 feat: upgrade markdown-it to 10.0.0 for supporting em in strong tag
for example: ex***amp***le
e519e6ac19
83ed53e12a

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-29 19:31:50 +08:00
Yukai Huang
e3e42f4f7d
Bump codemirror version to 5.49.5
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-29 19:28:46 +08:00
Yukai Huang
6ef0d8698a
Install leaflet library
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-27 21:51:07 +08:00