Skip to content

v1.7.6#83

Merged
MooreFoss merged 10 commits into
mainfrom
dev
Jun 16, 2026
Merged

v1.7.6#83
MooreFoss merged 10 commits into
mainfrom
dev

Conversation

@MooreFoss

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 16, 2026 12:11
@MooreFoss
MooreFoss merged commit 0b57e8c into main Jun 16, 2026
19 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the 1.7.6 release artifacts and documentation, while also adjusting local/server upstream integration for 课堂签到(iclass) and 自动评教(SPOC) to reflect updated upstream endpoints and query behavior.

Changes:

  • Update signin timestamp + submit endpoints (use /eschool/... and switch to :8347 when in WebVPN/VPN context) and add/adjust tests.
  • Simplify evaluation course fetching (remove xnxq/sfyp filtering), infer evaluated state via upstream ypjcs, and update tests accordingly.
  • Refresh docs + feature pages (incl. LibBook docs) and bump version metadata to 1.7.6; remove “签到” entry from Advanced features UI and add a regression test.

Reviewed changes

Copilot reviewed 36 out of 36 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
shared/src/jvmTest/kotlin/cn/edu/ubaa/api/LocalEvaluationRealIntegrationTest.kt Adds a gated real integration test for fetching evaluation list in local direct mode.
shared/src/commonTest/kotlin/cn/edu/ubaa/api/LocalSigninApiBackendTest.kt Updates expected iclass submit URL and adds a WebVPN-mode test asserting :8347 usage.
shared/src/commonTest/kotlin/cn/edu/ubaa/api/LocalEvaluationServiceBackendTest.kt Updates mock expectations for minimal filters, ypjcs-based evaluated marking, and subjective answer submission behavior.
shared/src/commonTest/kotlin/cn/edu/ubaa/api/LocalCgyyApiBackendTest.kt Aligns WebVPN-mode expectations with “CGYY stays direct”, and extends mock wiring for isolated client creation.
shared/src/commonMain/kotlin/cn/edu/ubaa/api/local/LocalSigninApi.kt Routes timestamp/signin-submit to mode-dependent base (:8081 vs :8347) and updates submit path to /eschool/....
shared/src/commonMain/kotlin/cn/edu/ubaa/api/local/LocalEvaluationService.kt Removes xnxq/sfyp filtering, marks evaluated by ypjcs, and avoids submitting option IDs for subjective questions.
server/src/test/kotlin/cn/edu/ubaa/signin/SigninClientTest.kt Adds a test ensuring submit goes to /eschool/... after resolving loginName.
server/src/main/kotlin/cn/edu/ubaa/signin/SigninClient.kt Centralizes timestamp/signin-submit URL selection via signinCheckinUrl and updates submit path to /eschool/....
server/src/main/kotlin/cn/edu/ubaa/evaluation/EvaluationService.kt Removes xnxq/sfyp flow, fetches courses with default upstream query, and uses ypjcs to mark evaluated.
server/src/main/kotlin/cn/edu/ubaa/evaluation/EvaluationClient.kt Removes fetchCurrentXnxq, relaxes optional query parameters, and makes reviseQuestionnairePattern optional based on msid.
README.md Updates feature list and repo tree to match current capabilities/structure.
iosApp/iosApp.xcodeproj/project.pbxproj Bumps iOS marketing version to 1.7.6.
gradle.properties Bumps project.version to 1.7.6.
docs/tech/testing.md Updates local/CI docs validation guidance and highlights bhpan task risk boundaries.
docs/tech/state-storage.md Adds libbook to server-side cache documentation and links LibBookService.
docs/tech/shared-api.md Adds LibBook API/DTO references and clarifies version-check compatibility fields.
docs/tech/server-routes.md Documents /api/v1/libbook/* routes and references LibBookRoutes.
docs/tech/release-deployment.md Updates Web Wasm release description and removes stale upload workflow references.
docs/tech/modules.md Expands module/source set description and documents buildSrc bhpan tasks.
docs/tech/connection-modes.md Clarifies per-platform mode availability and documents CGYY direct-URL exception.
docs/tech/configuration.md Updates BuildKonfig field naming and documents additional server env vars and current workflows.
docs/tech/architecture.md Adds buildSrc to the architecture overview and clarifies Android shell responsibilities.
docs/index.md Updates landing copy to include libbook and corrects mode availability statement for Web/Wasm.
docs/features/libbook.md Adds a new LibBook feature page with routes, risks, and source anchors.
docs/features/index.md Adds libbook to feature index and updates todo aggregation description.
docs/features/cgyy.md Adds explicit write-operation caution and documents CGYY direct-URL behavior in WebVPN mode.
docs/features/auth-and-connection.md Clarifies that Web/Wasm only exposes server relay mode.
docs/announcements/index.md Updates example link domain to www.buaa.team.
docs/announcements/history.md Adds the 2026-06-03 announcement entry.
docs/announcements/2026-06-03-001.md Adds a new announcement page about relay-mode instability.
docs/.vitepress/config.mts Adds sidebar entry for the LibBook feature page.
docs/_audit/source-inventory.md Replaces older inventory with updated Chinese audit summary and removes stale workflow references.
docs/_audit/2026-06-08-full-repo-docs-review.md Adds a detailed repository-wide docs review report and verification notes.
composeApp/src/commonTest/kotlin/cn/edu/ubaa/ui/AdvancedFeaturesScreenTest.kt Adds a regression test asserting Advanced features no longer includes “signin”.
composeApp/src/commonMain/kotlin/cn/edu/ubaa/ui/screens/menu/AdvancedFeaturesScreen.kt Removes “signin” item from Advanced features and exposes item list for testing.
composeApp/src/commonMain/kotlin/cn/edu/ubaa/ui/navigation/MainAppScreen.kt Removes navigation wiring for the removed Advanced “signin” entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 21 to 25
* 1. 初始化评教系统会话(CAS认证)
* 2. 获取当前学期代码
* 3. 获取所有评教任务
* 4. 对每个任务,获取问卷列表
* 5. 对每个问卷,分别获取未评教课程(sfyp=0)和已评教课程(sfyp=1)
* 2. 获取所有评教任务
* 3. 对每个任务,获取问卷列表
* 4. 对每个问卷,按上游默认条件获取最新待评课程
* 6. 返回汇总后的课程列表和进度信息
Comment on lines 224 to 228
private suspend fun fetchCourses(
rwid: String,
wjid: String,
xnxq: String,
msid: String,
sfyp: String,
): List<JsonObject> {
return try {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants