Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #8 from PythonSmall-Q/PythonSmall-Q-patch-2
Browse files Browse the repository at this point in the history
Python small q patch 2
  • Loading branch information
PythonSmall-Q committed Oct 2, 2023
2 parents 31987e6 + 4511180 commit 260c35e
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 综合 Bug 反馈
description: 有功能有问题
labels: bug, needs-triage
assignees: langningchen
assignees: PythonSmall-Q
title: "[Bug]"
body:
- type: checkboxes
Expand All @@ -11,7 +11,7 @@ body:
options:
- label: 我已确认了XMOJ增强脚本已为最新版,且最新版未修复这个 Bug 。
required: true
- label: 我已在 [Issues 页面](https://github.com/langningchen/XMOJ-Script/issues) 中搜索,确认了这一 Bug 未被提交过。
- label: 我已在 [Issues 页面](https://github.com/PythonSmall-Q/XMOJ-Script/issues) 中搜索,确认了这一 Bug 未被提交过。
required: true
- type: textarea
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 提问
url: https://github.com/langningchen/XMOJ-Script/discussions/categories/q-a
url: https://github.com/PythonSmall-Q/XMOJ-Script/discussions/categories/q-a
about: 我不想提交反馈,只是想问一些问题
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 新功能提案
description: 对已有功能的大幅度修改,或添加一个新内容或选项
labels: enhancement, needs-triage
assignees: langningchen
assignees: PythonSmall-Q
title: "[Feature Request]"
body:
- type: checkboxes
Expand All @@ -11,7 +11,7 @@ body:
options:
- label: 我已确认了XMOJ增强脚本已为最新版,且最新版未实现这一功能。
required: true
- label: 我已在 [Issues 页面](https://github.com/langningchen/XMOJ-Script/issues) 中搜索,确认了这一提案未被提交过。
- label: 我已在 [Issues 页面](https://github.com/PythonSmall-Q/XMOJ-Script/issues) 中搜索,确认了这一提案未被提交过。
required: true
- type: textarea
attributes:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/AutoLabelIssue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ jobs:
cd ./Update
npm install
node ./AutoLabel.js ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.
27 changes: 0 additions & 27 deletions .github/workflows/Daily.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: f871a3498aa79883e7f4f0fbe8a465a4
projectName: xmoj-script-web
accountId: 89969bdf9d5ab8202f8ad8b8ae2c40b8
projectName: xmoj-script
directory: .
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v2
Expand Down
10 changes: 10 additions & 0 deletions Update.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,16 @@
"Description": "Update XMOJ.user.js"
}
]
},
"0.3.197": {
"UpdateDate": 1696237931701,
"Prerelease": true,
"UpdateContents": [
{
"PR": 8,
"Description": "Python small q patch 2"
}
]
}
}
}
4 changes: 2 additions & 2 deletions XMOJ.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 小明的OJ增强脚本
// @version 0.3.196
// @version 0.3.197
// @description 小明的OJ增强脚本
// @author @PythonSmall-Q & langningchen
// @namespace https://github/PythonSmall-Q
Expand Down Expand Up @@ -330,7 +330,7 @@ GM_registerMenuCommand("重置数据", () => {
});

let SearchParams = new URLSearchParams(location.search);
let ServerURL = (UtilityEnabled("DebugMode") ? "https://langningchen.github.io/XMOJ-Script" : "https://web.xmoj-bbs.tech")
let ServerURL = (UtilityEnabled("DebugMode") ? "https://pythonsmall-q.github.io/XMOJ-Script/" : "https://web.seanoj.edu.eu.org")
let CurrentUsername = document.querySelector("#profile").innerText;
CurrentUsername = CurrentUsername.replaceAll(/[^a-zA-Z0-9]/g, "");
let IsAdmin = AdminUserList.indexOf(CurrentUsername) !== -1;
Expand Down

0 comments on commit 260c35e

Please sign in to comment.