2952 Commits

Author SHA1 Message Date
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
48b7837348
fix: incorrect logic
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
725ba147d3
enable noImplicitReturns
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:30 +08:00
Raccoon
da08b3686a
test case use dist build
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:30 +08:00
Raccoon
70ed184d14
ts to es2019
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:30 +08:00
Raccoon
11fd1e72a1
fix minio ts error
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:30 +08:00
Raccoon
301771037c
fix: realtime ts lint
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:30 +08:00
Raccoon
e29eec0196
ts: realtimeClientConnection.ts
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:30 +08:00
Raccoon
99e38d4cda
migrate to use ot.js - fix test
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:30 +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
8ba97c36df
ts: lib/models/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:29 +08:00
Raccoon
bc8ad1cbff
ts: lib/models/note.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:29 +08:00
Raccoon
8d248ff09c
ts: lib/models/revision.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:29 +08:00
Raccoon
492a7ac446
ts: lib/models/user.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:29 +08:00
Raccoon
79a427e616
ts: lib/models/author.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:29 +08:00
Raccoon
6a30382c1b
change default sequelizerc
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:29 +08:00
Raccoon
1af9e912c6
ts: lib/auth/dropbox/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:29 +08:00
Raccoon
a4c8a26ae9
ts: lib/auth/mattermost/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:29 +08:00
Raccoon
30c5197794
ts: lib/auth/twitter/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:28 +08:00
Raccoon
9a8d0391fc
ts: lib/auth/twitter/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:28 +08:00
Raccoon
ebd815662f
ts: lib/auth/facebook/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:28 +08:00
Raccoon
147c20064f
ts: all migrations
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:28 +08:00
Raccoon
4b311b6ab2
ts: lib/auth/auth/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:28 +08:00
Raccoon
937b75db85
ts: lib/auth/oauth2/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:28 +08:00
Raccoon
ce5800b533
ts: lib/auth/oauth2/strategy.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:28 +08:00
Raccoon
8facb03745
ts: lib/auth/openid/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:28 +08:00
Raccoon
436a603d08
ts: lib/auth/saml/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:27 +08:00
Raccoon
b94c13059e
ts: lib/auth/twitter/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:27 +08:00
Raccoon
0faebff221
ts: lib/auth/mattermost/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:27 +08:00
Raccoon
6d920c0e4a
ts: lib/auth/ldap/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:27 +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
ce7319661a
ts: lib/auth/gitlab/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:27 +08:00
Raccoon
83098002d3
ts: lib/auth/github/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:27 +08:00
Raccoon
4c157d7cfe
ts: lib/auth/facebook/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:27 +08:00
Raccoon
89e01907eb
ts: lib/auth/email/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
1ec3c0d3e9
ts: lib/auth/dropbox/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
d17c550002
ts: lib/auth/bitbucket/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
b4f59ed9bc
ts: lib/auth/utils.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
5ba1a41c6d
ts: lib/config/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
6696a0ab74
ts: lib/config/index.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
39c5636b25
ts: lib/config/default.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
8d8d3f4c41
ts: lib/config/defaultSSL.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
10e77f34a5
ts: lib/config/dockerSecret.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:26 +08:00
Raccoon
3b52b19dc9
ts: lib/config/enum.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:25 +08:00
Raccoon
b78cfc3d96
ts: lib/config/environment.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:25 +08:00
Raccoon
8028e2c910
ts: lib/config/utils.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:25 +08:00
Raccoon
294283f64f
ts: lib/config/utils.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:25 +08:00
Raccoon
2a376db0fc
ts: lib/logger.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-16 18:35:25 +08:00