xmoj-script 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/.github/.config.yml +21 -0
  2. package/.github/ISSUE_TEMPLATE/bug.yml +30 -0
  3. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  4. package/.github/ISSUE_TEMPLATE/docs.yml +25 -0
  5. package/.github/ISSUE_TEMPLATE/feature.yml +25 -0
  6. package/.github/dependabot.yml +12 -0
  7. package/.github/labeler.yml +12 -0
  8. package/.github/pull_request_template.md +10 -0
  9. package/.github/workflows/AutoLabelIssue.yml +24 -0
  10. package/.github/workflows/AutoLablePR.yml +23 -0
  11. package/.github/workflows/CodeQL.yml +29 -0
  12. package/.github/workflows/Daily.yml +23 -0
  13. package/.github/workflows/DependencyScan.yml +13 -0
  14. package/.github/workflows/Prerelease.yml +43 -0
  15. package/.github/workflows/Release.yml +45 -0
  16. package/.github/workflows/UpdateToRelease.yml +30 -0
  17. package/.github/workflows/UpdateVersion.yml +26 -0
  18. package/.gitmodules +3 -0
  19. package/.vscode/settings.json +148 -0
  20. package/404.html +362 -0
  21. package/AddonScript.js +10 -0
  22. package/CNAME +1 -0
  23. package/CODE_OF_CONDUCT.md +218 -0
  24. package/Compare.md +21 -0
  25. package/Images/1.png +0 -0
  26. package/Images/10.png +0 -0
  27. package/Images/11.png +0 -0
  28. package/Images/12.png +0 -0
  29. package/Images/13.png +0 -0
  30. package/Images/14.png +0 -0
  31. package/Images/15.png +0 -0
  32. package/Images/16.png +0 -0
  33. package/Images/17.png +0 -0
  34. package/Images/2.png +0 -0
  35. package/Images/3.png +0 -0
  36. package/Images/4.png +0 -0
  37. package/Images/5.png +0 -0
  38. package/Images/6.png +0 -0
  39. package/Images/7.png +0 -0
  40. package/Images/8.png +0 -0
  41. package/Images/9.png +0 -0
  42. package/LICENSE +674 -0
  43. package/README.md +86 -0
  44. package/SECURITY.md +12 -0
  45. package/Update/AutoLabel.js +179 -0
  46. package/Update/GetVersion.js +20 -0
  47. package/Update/UpdateToRelease.js +73 -0
  48. package/Update/UpdateVersion.js +80 -0
  49. package/Update/package.json +7 -0
  50. package/Update.json +702 -0
  51. package/XMOJ.png +0 -0
  52. package/XMOJ.user.js +4490 -0
  53. package/backend/.github/.config.yml +21 -0
  54. package/backend/.github/ISSUE_TEMPLATE/bug.yml +30 -0
  55. package/backend/.github/ISSUE_TEMPLATE/config.yml +5 -0
  56. package/backend/.github/ISSUE_TEMPLATE/feature.yml +25 -0
  57. package/backend/.github/dependabot.yml +12 -0
  58. package/backend/.github/labeler.yml +14 -0
  59. package/backend/LICENSE +661 -0
  60. package/backend/README.md +3 -0
  61. package/backend/Source/BBSSpider.js +50 -0
  62. package/backend/Source/Database.ts +188 -0
  63. package/backend/Source/Initial.sql +95 -0
  64. package/backend/Source/Output.ts +14 -0
  65. package/backend/Source/Process.ts +1227 -0
  66. package/backend/Source/Result.ts +24 -0
  67. package/backend/Source/XMOJ-bbs.code-workspace +11 -0
  68. package/backend/Source/index.ts +31 -0
  69. package/backend/bun.lockb +0 -0
  70. package/backend/package.json +19 -0
  71. package/backend/wrangler.toml +17 -0
  72. package/eula.md +121 -0
  73. package/favicon.ico +0 -0
  74. package/index.html +947 -0
  75. package/package.json +22 -0
  76. package/robots.txt +2 -0
  77. package/sitemap-live/0.xml +26 -0
  78. package/sitemap.xml +6 -0
@@ -0,0 +1,21 @@
1
+ # Configuration for welcome - https://github.com/XMOJ-Script-dev
2
+
3
+ # Configuration for new-issue-welcome - https://github.com/XMOJ-Script-dev
4
+
5
+ # Comment to be posted to on first time issues
6
+ newIssueWelcomeComment: >
7
+ Thanks for opening your first issue here! 欢迎你第一次来到这里开Issue!
8
+
9
+ # Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
10
+
11
+ # Comment to be posted to on PRs from first time contributors in your repository
12
+ newPRWelcomeComment: >
13
+ Thanks for opening this pull request! Please check out our contributing guidelines. 欢迎你像我们做出贡献!
14
+
15
+ # Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
16
+
17
+ # Comment to be posted to on pull requests merged by a first time user
18
+ firstPRMergeComment: >
19
+ Congrats on merging your first pull request! We here at behaviorbot are proud of you! 哇!你的PR审核通过了!祝贺你!
20
+
21
+ # It is recommended to include as many gifs and emojis as possible!
@@ -0,0 +1,30 @@
1
+ name: 综合 Bug 反馈
2
+ description: 有功能有问题
3
+ labels: bug, needs-triage
4
+ assignees: PythonSmall-Q, boomzero, shihongxi
5
+ title: "[Bug]"
6
+ body:
7
+ - type: checkboxes
8
+ attributes:
9
+ label: 检查项
10
+ description: 请逐个检查下列项目,并勾选确认。
11
+ options:
12
+ - label: 我已确认了XMOJ增强脚本已为最新版,且最新版未修复这个 Bug 。
13
+ required: true
14
+ - label: 我已在 [Issues 页面](https://github.com/XMOJ-Script-dev/XMOJ-Script/issues) 中搜索,确认了这一 Bug 未被提交过。
15
+ required: true
16
+ - type: textarea
17
+ attributes:
18
+ label: 描述
19
+ description: 详细描述该 Bug 的具体表现。
20
+ validations:
21
+ required: true
22
+ - type: textarea
23
+ attributes:
24
+ label: 重现步骤
25
+ description: 详细描述要怎么操作才能再次触发这个 Bug 。
26
+ - type: textarea
27
+ attributes:
28
+ label: 控制台错误信息
29
+ description: 粘贴控制台错误信息,如果没有错误请忽略
30
+ placeholder: 请按F12并选择控制台/Console,并将其中的错误信息粘贴至此处
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: 提问
4
+ url: https://github.com/XMOJ-Script-dev/XMOJ-Script/discussions/categories/q-a
5
+ about: 我不想提交反馈,只是想问一些问题
@@ -0,0 +1,25 @@
1
+ name: 新功能提案
2
+ description: 对已有功能的大幅度修改,或添加一个新内容或选项
3
+ labels: enhancement, needs-triage
4
+ assignees: PythonSmall-Q, boomzero, shihongxi
5
+ title: "[Feature Request]"
6
+ body:
7
+ - type: checkboxes
8
+ attributes:
9
+ label: 检查项
10
+ description: 请逐个检查下列项目,并勾选确认。
11
+ options:
12
+ - label: 我已确认了XMOJ增强脚本已为最新版,且最新版未实现这一功能。
13
+ required: true
14
+ - label: 我已在 [Issues 页面](https://github.com/XMOJ-Script-dev/XMOJ-Script/issues) 中搜索,确认了这一提案未被提交过。
15
+ required: true
16
+ - type: textarea
17
+ attributes:
18
+ label: 描述
19
+ description: 详细描述你想添加的功能具体是怎样的。
20
+ validations:
21
+ required: true
22
+ - type: textarea
23
+ attributes:
24
+ label: 原因
25
+ description: 详细描述你为什么需要这项功能。
@@ -0,0 +1,12 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "npm"
4
+ directory: "/Server"
5
+ target-branch: "dev"
6
+ schedule:
7
+ interval: "weekly"
8
+ - package-ecosystem: "github-actions"
9
+ directory: "/"
10
+ target-branch: "dev"
11
+ schedule:
12
+ interval: "weekly"
@@ -0,0 +1,14 @@
1
+ user-script:
2
+ - XMOJ.user.js
3
+ website:
4
+ - index.html
5
+ - robots.txt
6
+ - '*.html'
7
+ update-script:
8
+ - Update/**
9
+ server:
10
+ - Server/**
11
+ GitHub-related:
12
+ - '.github/**'
13
+ addon-script:
14
+ - AddonScript.js