Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Refactor/typescript 4 #1696

Open
wants to merge 167 commits into
base: develop
Choose a base branch
from
Open

WIP: Refactor/typescript 4 #1696

wants to merge 167 commits into from

Commits on Jun 16, 2021

  1. add typescript

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3bd9808 View commit details
    Browse the repository at this point in the history
  2. temp comment pandoc (ts error)

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    45def87 View commit details
    Browse the repository at this point in the history
  3. ts: lib/homepage/index.ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    92c0575 View commit details
    Browse the repository at this point in the history
  4. fix: type check error

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    bf1ca53 View commit details
    Browse the repository at this point in the history
  5. let app can run use ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    0387f67 View commit details
    Browse the repository at this point in the history
  6. ts: lib/history/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6469ac8 View commit details
    Browse the repository at this point in the history
  7. ts: lib/middleware/checkURIValid.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    758ffd4 View commit details
    Browse the repository at this point in the history
  8. ts: lib/middleware/codiMDVersion.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    68439de View commit details
    Browse the repository at this point in the history
  9. ts: lib/middleware/redirectWithoutTrailingSlashes.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    cf630ed View commit details
    Browse the repository at this point in the history
  10. ts: lib/middleware/tooBusy.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    231672d View commit details
    Browse the repository at this point in the history
  11. ts: lib/imageRouter/azure.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8ae51aa View commit details
    Browse the repository at this point in the history
  12. ts: lib/imageRouter/filesystem.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8222f1f View commit details
    Browse the repository at this point in the history
  13. ts: lib/imageRouter/imgur.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    e97c282 View commit details
    Browse the repository at this point in the history
  14. allowSyntheticDefaultImports

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    307b6c5 View commit details
    Browse the repository at this point in the history
  15. ts: lib/imageRouter/lutim.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    dbf1405 View commit details
    Browse the repository at this point in the history
  16. ts: lib/imageRouter/minio.ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    5416baf View commit details
    Browse the repository at this point in the history
  17. ts: lib/imageRouter/s3.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    4cfa5a1 View commit details
    Browse the repository at this point in the history
  18. ts: lib/imageRouter/s3.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    87e2a25 View commit details
    Browse the repository at this point in the history
  19. ts: lib/imageRouter/minio.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    710620a View commit details
    Browse the repository at this point in the history
  20. ts: lib/imageRouter/lutim.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    352758c View commit details
    Browse the repository at this point in the history
  21. ts: lib/imageRouter/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    5b75f48 View commit details
    Browse the repository at this point in the history
  22. ts: lib/note/noteActions.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3393c83 View commit details
    Browse the repository at this point in the history
  23. ts: lib/note/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    7827554 View commit details
    Browse the repository at this point in the history
  24. fix updateHistory argument typing

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    fd5fe52 View commit details
    Browse the repository at this point in the history
  25. ts: lib/errorPage/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d379bc7 View commit details
    Browse the repository at this point in the history
  26. ts: lib/realtime/processQueue.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    52b4d13 View commit details
    Browse the repository at this point in the history
  27. ts: lib/realtime/realtimeCleanDanglingUserJob.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    0f8b126 View commit details
    Browse the repository at this point in the history
  28. ts: lib/realtime/realtimeSaveRevisionJob.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    b38915d View commit details
    Browse the repository at this point in the history
  29. ts: lib/realtime/realtimeUpdateDirtyNoteJob.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d7dc137 View commit details
    Browse the repository at this point in the history
  30. ts: lib/realtime/realtimeClientConnection.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d97fe35 View commit details
    Browse the repository at this point in the history
  31. ts: lib/realtime/processQueue.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    f21b234 View commit details
    Browse the repository at this point in the history
  32. ts: lib/realtime/realtimeClientConneciton.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    16618e1 View commit details
    Browse the repository at this point in the history
  33. ts: lib/realtime/realtime.ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    7cea9a2 View commit details
    Browse the repository at this point in the history
  34. ts: lib/status/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    efcaba9 View commit details
    Browse the repository at this point in the history
  35. ts: lib/user/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    ced6f7f View commit details
    Browse the repository at this point in the history
  36. ts: lib/web/middleware/checkVersion.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    82ddb43 View commit details
    Browse the repository at this point in the history
  37. ts: lib/worker/dmpWorker.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    e0322f0 View commit details
    Browse the repository at this point in the history
  38. ts: lib/utils.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    952a166 View commit details
    Browse the repository at this point in the history
  39. ts: lib/string.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    238bf1c View commit details
    Browse the repository at this point in the history
  40. ts: lib/routes.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    e5e40d0 View commit details
    Browse the repository at this point in the history
  41. ts: lib/response.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    06a48e1 View commit details
    Browse the repository at this point in the history
  42. ts: lib/metrics.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    b98e0c3 View commit details
    Browse the repository at this point in the history
  43. ts: lib/letter-avatars.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    7a6b2ef View commit details
    Browse the repository at this point in the history
  44. ts: lib/csp.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8ea1eb2 View commit details
    Browse the repository at this point in the history
  45. ts: lib/csp.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    385ef69 View commit details
    Browse the repository at this point in the history
  46. ts: lib/logger.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    2a376db View commit details
    Browse the repository at this point in the history
  47. ts: lib/config/utils.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    294283f View commit details
    Browse the repository at this point in the history
  48. ts: lib/config/utils.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8028e2c View commit details
    Browse the repository at this point in the history
  49. ts: lib/config/environment.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    b78cfc3 View commit details
    Browse the repository at this point in the history
  50. ts: lib/config/enum.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3b52b19 View commit details
    Browse the repository at this point in the history
  51. ts: lib/config/dockerSecret.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    10e77f3 View commit details
    Browse the repository at this point in the history
  52. ts: lib/config/defaultSSL.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8d8d3f4 View commit details
    Browse the repository at this point in the history
  53. ts: lib/config/default.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    39c5636 View commit details
    Browse the repository at this point in the history
  54. ts: lib/config/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6696a0a View commit details
    Browse the repository at this point in the history
  55. ts: lib/config/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    5ba1a41 View commit details
    Browse the repository at this point in the history
  56. ts: lib/auth/utils.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    b4f59ed View commit details
    Browse the repository at this point in the history
  57. ts: lib/auth/bitbucket/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d17c550 View commit details
    Browse the repository at this point in the history
  58. ts: lib/auth/dropbox/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    1ec3c0d View commit details
    Browse the repository at this point in the history
  59. ts: lib/auth/email/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    89e0190 View commit details
    Browse the repository at this point in the history
  60. ts: lib/auth/facebook/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    4c157d7 View commit details
    Browse the repository at this point in the history
  61. ts: lib/auth/github/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8309800 View commit details
    Browse the repository at this point in the history
  62. ts: lib/auth/gitlab/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    ce73196 View commit details
    Browse the repository at this point in the history
  63. ts: lib/auth/google/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    edc1a9d View commit details
    Browse the repository at this point in the history
  64. ts: lib/auth/ldap/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6d920c0 View commit details
    Browse the repository at this point in the history
  65. ts: lib/auth/mattermost/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    0faebff View commit details
    Browse the repository at this point in the history
  66. ts: lib/auth/twitter/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    b94c130 View commit details
    Browse the repository at this point in the history
  67. ts: lib/auth/saml/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    436a603 View commit details
    Browse the repository at this point in the history
  68. ts: lib/auth/openid/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8facb03 View commit details
    Browse the repository at this point in the history
  69. ts: lib/auth/oauth2/strategy.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    ce5800b View commit details
    Browse the repository at this point in the history
  70. ts: lib/auth/oauth2/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    937b75d View commit details
    Browse the repository at this point in the history
  71. ts: lib/auth/auth/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    4b311b6 View commit details
    Browse the repository at this point in the history
  72. ts: all migrations

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    147c200 View commit details
    Browse the repository at this point in the history
  73. ts: lib/auth/facebook/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    ebd8156 View commit details
    Browse the repository at this point in the history
  74. ts: lib/auth/twitter/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    9a8d039 View commit details
    Browse the repository at this point in the history
  75. ts: lib/auth/twitter/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    30c5197 View commit details
    Browse the repository at this point in the history
  76. ts: lib/auth/mattermost/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    a4c8a26 View commit details
    Browse the repository at this point in the history
  77. ts: lib/auth/dropbox/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    1af9e91 View commit details
    Browse the repository at this point in the history
  78. change default sequelizerc

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6a30382 View commit details
    Browse the repository at this point in the history
  79. ts: lib/models/author.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    79a427e View commit details
    Browse the repository at this point in the history
  80. ts: lib/models/user.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    492a7ac View commit details
    Browse the repository at this point in the history
  81. ts: lib/models/revision.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8d248ff View commit details
    Browse the repository at this point in the history
  82. ts: lib/models/note.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    bc8ad1c View commit details
    Browse the repository at this point in the history
  83. ts: lib/models/index.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8ba97c3 View commit details
    Browse the repository at this point in the history
  84. migrate to use ot.js

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    b0b079a View commit details
    Browse the repository at this point in the history
  85. migrate to use ot.js - fix test

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    99e38d4 View commit details
    Browse the repository at this point in the history
  86. ts: realtimeClientConnection.ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    e29eec0 View commit details
    Browse the repository at this point in the history
  87. fix: realtime ts lint

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3017710 View commit details
    Browse the repository at this point in the history
  88. fix minio ts error

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    11fd1e7 View commit details
    Browse the repository at this point in the history
  89. ts to es2019

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    70ed184 View commit details
    Browse the repository at this point in the history
  90. test case use dist build

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    da08b36 View commit details
    Browse the repository at this point in the history
  91. enable noImplicitReturns

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    725ba14 View commit details
    Browse the repository at this point in the history
  92. add lint

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    4d2579f View commit details
    Browse the repository at this point in the history
  93. fix: incorrect logic

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    48b7837 View commit details
    Browse the repository at this point in the history
  94. fix all eslint error

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    5128815 View commit details
    Browse the repository at this point in the history
  95. upgrade sequelize

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    a10263b View commit details
    Browse the repository at this point in the history
  96. ot server patch

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    74f9e57 View commit details
    Browse the repository at this point in the history
  97. limit model should be .js files

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    f04e632 View commit details
    Browse the repository at this point in the history
  98. move app.js to lib/

    update
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6f93e43 View commit details
    Browse the repository at this point in the history
  99. fix: public path

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    67491af View commit details
    Browse the repository at this point in the history
  100. use new parameter in hsts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    0191964 View commit details
    Browse the repository at this point in the history
  101. upgrade winston

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    72ca90a View commit details
    Browse the repository at this point in the history
  102. adjust logger

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6d512c0 View commit details
    Browse the repository at this point in the history
  103. upgrade morgan to 1.10

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8fb31bd View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    41f0e61 View commit details
    Browse the repository at this point in the history
  105. fix: i18n path

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    f73e72b View commit details
    Browse the repository at this point in the history
  106. enable esModuleInterop

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    aaf019e View commit details
    Browse the repository at this point in the history
  107. refactor logger export

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d1a440e View commit details
    Browse the repository at this point in the history
  108. refactor: use config insted of * as config

    config
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    db55d00 View commit details
    Browse the repository at this point in the history
  109. refactor: use strong type in models

    export missing
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    638a887 View commit details
    Browse the repository at this point in the history
  110. test: fix test case

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    ff90fd0 View commit details
    Browse the repository at this point in the history
  111. remove * as models

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6e8ff98 View commit details
    Browse the repository at this point in the history
  112. format

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    cb1f263 View commit details
    Browse the repository at this point in the history
  113. fix: heroku

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    05cd6dd View commit details
    Browse the repository at this point in the history
  114. fix: docker

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3494922 View commit details
    Browse the repository at this point in the history
  115. fix: guest note not save

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    375de57 View commit details
    Browse the repository at this point in the history
  116. lint: lib/auth/email/index.ts

    remove unused vars
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    adc0a62 View commit details
    Browse the repository at this point in the history
  117. lint: lib/auth/ldap.index.ts

    remove unused vars
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    8f0337a View commit details
    Browse the repository at this point in the history
  118. lint: lib/auth/openid/index.ts

    unused vars
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    08fb685 View commit details
    Browse the repository at this point in the history
  119. lint: lib/auth/saml/index.ts

    remove unused vars
    
    lib/auth/saml
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    a965ba8 View commit details
    Browse the repository at this point in the history
  120. lint: lib/string.ts

    add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    dded39c View commit details
    Browse the repository at this point in the history
  121. lint: lib/letter-avatars.ts

    add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    5a7c38c View commit details
    Browse the repository at this point in the history
  122. lint: lib/response.ts

    - add typing for req.user.id
    - add typing annotate in response.ts and fix type error in errorPage/index.ts
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    ba8b1f1 View commit details
    Browse the repository at this point in the history
  123. lint: lib/status/index.ts

    add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    7429d5e View commit details
    Browse the repository at this point in the history
  124. lint: lib/csp.ts

    add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    90ab2d0 View commit details
    Browse the repository at this point in the history
  125. lint: lib/middleware

    add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    f08097f View commit details
    Browse the repository at this point in the history
  126. lint: lib/imageRouter

    - add typing annotate
    - remove unused vars
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    eaf54c4 View commit details
    Browse the repository at this point in the history
  127. lib/homepage/index.ts

    lint: lib/homepage/index.ts
    
    - add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6d70f79 View commit details
    Browse the repository at this point in the history
  128. lint: lib/history/index.ts

    - add History typing
    - add typing annotate in history/index.ts
    - fix incorrect argument when update history in newNote
    
    history
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    738a4b4 View commit details
    Browse the repository at this point in the history
  129. lint: lib/services/note.ts

    - add typing annotate in checkAllNotesRevision and
    saveAllNotesRevision
    - passing string in error constructor in app.ts
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    016e169 View commit details
    Browse the repository at this point in the history
  130. 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 <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    a5376a4 View commit details
    Browse the repository at this point in the history
  131. lint: lib/utils.ts

    - install @types/mime-types
    - add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    bc41704 View commit details
    Browse the repository at this point in the history
  132. refactor: lib/models

    - move all interfaces to baseModel.ts
    - remove unused import
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d6c9c66 View commit details
    Browse the repository at this point in the history
  133. lint: lib/auth/oauth2/strategy.ts

    - add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    c7f712d View commit details
    Browse the repository at this point in the history
  134. lint lib/auth/index.ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d19908d View commit details
    Browse the repository at this point in the history
  135. lint lib/config

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    e6b9ab0 View commit details
    Browse the repository at this point in the history
  136. lint: lib/models

    - add more typing annotate
    - install @types/cheerio
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    7dbb1ef View commit details
    Browse the repository at this point in the history
  137. lint: lib/realtime

    - add JobWorker type
    - add typing annotate in:
      - realtimeUpdateDirtyNoteJob
      - realtimeSaveRevisionJob
      - realtimeClientConnection
      - processQueue
    
    lint: lib/realtime/realtimeCleanDanglingUserJob.ts
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    10e5cd8 View commit details
    Browse the repository at this point in the history
  138. lint: lib/note/noteAction.ts

    - install @types/markdown-pdf
    - add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    ee04b2f View commit details
    Browse the repository at this point in the history
  139. lint: lib/note/index.ts

    - add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    534492e View commit details
    Browse the repository at this point in the history
  140. web/middleware/checkVersion.ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    0427b1b View commit details
    Browse the repository at this point in the history
  141. lint: lib/utils.ts

    - add options.dialect in MySequelize type
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    fc2658b View commit details
    Browse the repository at this point in the history
  142. lint: lib/realtime/realtime.ts

    - add typing annotate
    - install @types/socket.io, @types/randomcolor, @types/passport.socketio
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    2944da0 View commit details
    Browse the repository at this point in the history
  143. lint: lib/user/index.ts

    - add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    7e963e7 View commit details
    Browse the repository at this point in the history
  144. lint: lib/realtime/realtimeClientConnection

    - add socket type
    - add user status and cursor data
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    a095cd3 View commit details
    Browse the repository at this point in the history
  145. realtime RealtimeUserData

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    ab2ed4a View commit details
    Browse the repository at this point in the history
  146. Configuration menu
    Copy the full SHA
    dee7bf2 View commit details
    Browse the repository at this point in the history
  147. lint: lib/realtime/realtime

    - add more typing annotate
    - add some references to models
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    13e64b0 View commit details
    Browse the repository at this point in the history
  148. add .eslintignore file

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    6d04d60 View commit details
    Browse the repository at this point in the history
  149. lib/auth/oauth2/strategy.ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    075a8f9 View commit details
    Browse the repository at this point in the history
  150. lint: lib/note/noteActions.ts

    - reactive pandoc
    - add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    9ef827f View commit details
    Browse the repository at this point in the history
  151. lint: lib/workers/dmpWorker.ts

    - add diff-match-patch typing
    - add typing annotate
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3eca238 View commit details
    Browse the repository at this point in the history
  152. lint: lib/models/note.ts

    - add Authorship type
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    c7b0362 View commit details
    Browse the repository at this point in the history
  153. lint: lib/models/note.ts

    - add cursor and user stats type
    
    lint: lib/models/note.ts
    
    - add missing relation fields
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    73e322f View commit details
    Browse the repository at this point in the history
  154. fix: cursor data and user status

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    97b6c1e View commit details
    Browse the repository at this point in the history
  155. fix: process queue default value not accept

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    1f26f6a View commit details
    Browse the repository at this point in the history
  156. refactor: simplefy processQueue.ts

    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3bfbcb2 View commit details
    Browse the repository at this point in the history
  157. chore: add strictBindCallApply, preserveConstEnums, noImplicitThis, s…

    …trictFunctionTypes
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3c370fe View commit details
    Browse the repository at this point in the history
  158. lint: lib/realtime

    - add RealtimeModule type
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d656d63 View commit details
    Browse the repository at this point in the history
  159. lint: lib/realtime/realtime.ts

    - add socker.request
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    847acda View commit details
    Browse the repository at this point in the history
  160. lint: lib/realtime/realtime.ts

    - add ot typing
    
    Signed-off-by: Raccoon <[email protected]>
    a60814billy committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    f35d684 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2021

  1. upgrade to webpack 5

    a60814billy committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    d2eed82 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2021

  1. Configuration menu
    Copy the full SHA
    4dfb6e9 View commit details
    Browse the repository at this point in the history
  2. upgrade babel to 7

    a60814billy committed Jul 31, 2021
    Configuration menu
    Copy the full SHA
    e0835bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed80cb2 View commit details
    Browse the repository at this point in the history
  4. convert frontend to ts

    a60814billy committed Jul 31, 2021
    Configuration menu
    Copy the full SHA
    2135fb0 View commit details
    Browse the repository at this point in the history
  5. move all files to .ts

    a60814billy committed Jul 31, 2021
    Configuration menu
    Copy the full SHA
    e4855cd View commit details
    Browse the repository at this point in the history
  6. refactor

    a60814billy committed Jul 31, 2021
    Configuration menu
    Copy the full SHA
    f83b4b7 View commit details
    Browse the repository at this point in the history