Skip to content

feat(drivers/139): optimize login credential flow#9567

Open
UcnacDx2 wants to merge 2 commits into
AlistGo:mainfrom
UcnacDx2:refactor-139-driver-optimized-upstream-20260626
Open

feat(drivers/139): optimize login credential flow#9567
UcnacDx2 wants to merge 2 commits into
AlistGo:mainfrom
UcnacDx2:refactor-139-driver-optimized-upstream-20260626

Conversation

@UcnacDx2

Copy link
Copy Markdown

Summary

  • add 139Yun login initialization with Authorization, mail cookie fast login, and password fallback paths
  • reject Authorization values that include the Basic prefix
  • add opt-in live login coverage driven by environment variables, without storing credentials in tests

Tests

  • go test ./drivers/139
  • go test -vet=off ./drivers/139 ./pkg/cookie
  • Live 139Yun login test with local env vars: password fallback passed, generated Authorization passed, refreshed cookie fast login passed; direct input cookie fast login skipped when RMKEY was absent

Notes

  • Live tests are skipped by default and require ALIST_139_INTEGRATION=1 plus local credentials/cookies.

Copilot AI review requested due to automatic review settings June 26, 2026 09:50

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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