Skip to content

Add 115 QR Code#76

Open
BrandonStudio wants to merge 1 commit intoOpenListTeam:mainfrom
BrandonStudio:dev/115qr
Open

Add 115 QR Code#76
BrandonStudio wants to merge 1 commit intoOpenListTeam:mainfrom
BrandonStudio:dev/115qr

Conversation

@BrandonStudio
Copy link
Contributor

This PR adds support for 115 QR Code login method (the old 115 driver, not 115 open), and does the following

  • Refactor QR Code
  • Update dev method
  • Update dependencies*

This complement the missing part of the doc
https://github.com/OpenListTeam/OpenList-Docs/blob/02874847fca52e4ab6b72d4d6158deccf24d8630/pages/guide/drivers/115.md?plain=1#L99-L112

However, the behaviour is slightly different from the original Alist Docs.
The original Alist Docs API (hosted on api.alistgo.com, source code unavailable) returns the QR Code that is directly indicated as TV, whereas the implementation of this PR could only retrieve the web-based QR code.
I have not found a way to get the TV QR code (package capturing probably required).

*Dependency update note

The dependencies (package-lock.json) have to be updated because of the following errors during npm ci:

$ npm ci
npm error code EUSAGE
npm error
npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm error
npm error Missing: @img/sharp-darwin-arm64@0.33.5 from lock file
npm error Missing: @img/sharp-darwin-x64@0.33.5 from lock file
npm error Missing: @img/sharp-libvips-darwin-arm64@1.0.4 from lock file
npm error Missing: @img/sharp-libvips-darwin-x64@1.0.4 from lock file
npm error Missing: @img/sharp-libvips-linux-arm@1.0.5 from lock file
npm error Missing: @img/sharp-libvips-linux-arm64@1.0.4 from lock file
npm error Missing: @img/sharp-libvips-linux-s390x@1.0.4 from lock file
npm error Missing: @img/sharp-libvips-linux-x64@1.0.4 from lock file
npm error Missing: @img/sharp-libvips-linuxmusl-arm64@1.0.4 from lock file
npm error Missing: @img/sharp-libvips-linuxmusl-x64@1.0.4 from lock file
npm error Missing: @img/sharp-linux-arm@0.33.5 from lock file
npm error Missing: @img/sharp-linux-arm64@0.33.5 from lock file
npm error Missing: @img/sharp-linux-s390x@0.33.5 from lock file
npm error Missing: @img/sharp-linux-x64@0.33.5 from lock file
npm error Missing: @img/sharp-linuxmusl-arm64@0.33.5 from lock file
npm error Missing: @img/sharp-linuxmusl-x64@0.33.5 from lock file
npm error Missing: @img/sharp-wasm32@0.33.5 from lock file
npm error Missing: @img/sharp-win32-ia32@0.33.5 from lock file
npm error Missing: @emnapi/runtime@1.8.1 from lock file
npm error Missing: @cloudflare/workerd-darwin-64@1.20250617.0 from lock file
npm error Missing: @cloudflare/workerd-darwin-arm64@1.20250617.0 from lock file
npm error Missing: @cloudflare/workerd-linux-64@1.20250617.0 from lock file
npm error Missing: @cloudflare/workerd-linux-arm64@1.20250617.0 from lock file
npm error
npm error Clean install a project
npm error
npm error Usage:
npm error npm ci
npm error
npm error Options:
npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm error [--no-bin-links] [--no-fund] [--dry-run]
npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm error [--workspaces] [--include-workspace-root] [--install-links]
npm error
npm error aliases: clean-install, ic, install-clean, isntall-clean
npm error
npm error Run "npm help ci" for more info

- Refactor QR Code
- Update dev method
- Update dependencies (see PR description for details)
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