Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AlistGo/alist
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.52.0
Choose a base ref
...
head repository: AlistGo/alist
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.53.0
Choose a head ref
  • 8 commits
  • 21 files changed
  • 5 contributors

Commits on Sep 4, 2025

  1. Refactor (storage): Comment out the path validation logic (#9308)

    - Comment out the error return logic for paths with "/"
    - Remove storage path restrictions to allow for flexible handling of root paths
    okatu-loli authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    2310748 View commit details
    Browse the repository at this point in the history
  2. fix(ssologin): missing role in SSO auto-registration and minor callba…

    …ck issue (#9305)
    
    * fix(ssologin): return after error response
    
    * fix(ssologin): set default role for SSO user creation
    sakkyoi authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    930f9f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2025

  1. feat: Support 123pan safebox (#9311)

    * feat(meta): Added a SafePassword field
    
    - Added the SafePassword field to meta.go
    - Revised the field format to align with the code style
    - The SafePassword field is used to supplement the extended functionality
    
    * feat(driver): Added support for safe unlocking logic
    
    - Added safe file unlocking logic in `driver.go`, returning an error if unlocking fails.
    - Introduced the `safeBoxUnlocked` variable of type `sync.Map` to record the IDs of unlocked files.
    - Enhanced error handling logic to automatically attempt to unlock safe files and re-retrieve the file list.
    - Added the `IsLock` field to file types in `types.go` to identify whether they are safe files.
    - Added a constant definition for the `SafeBoxUnlock` interface address in `util.go`.
    - Added the `unlockSafeBox` method to unlock a safe with a specified file ID via the API.
    - Optimized the file retrieval logic to automatically call the unlock method when the safe is locked.
    
    * Refactor (driver): Optimize lock field type
    
    - Changed the `IsLock` field type from `int` to `bool` for better semantics.
    - Updated the check logic to use direct Boolean comparisons to improve code readability and accuracy.
    okatu-loli authored Sep 5, 2025
    Configuration menu
    Copy the full SHA
    fcbc79c View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2025

  1. feat(drivers): add MediaFire driver support (#9319)

    - Implement complete MediaFire storage driver
    - Add authentication via session_token and cookie
    - Support all core operations: List, Get, Link, Put, Copy, Move, Remove, Rename, MakeDir
    - Include thumbnail generation for media files
    - Handle MediaFire's resumable upload API with multi-unit transfers
    - Add proper error handling and progress reporting
    
    Closes 请求支持Mediafire #7869
    
    Co-authored-by: Da3zKi7 <da3zki7@duck.com>
    Da3zKi7 and Da3zKi7 authored Sep 11, 2025
    Configuration menu
    Copy the full SHA
    d002603 View commit details
    Browse the repository at this point in the history
  2. feat(driver): add Gofile storage driver (#9318)

    Add support for Gofile.io cloud storage service with full CRUD operations.
    Features:
    - File and folder listing
    - Upload and download functionality
    - Create, move, rename, copy, and delete operations
    - Direct link generation for file access
    - API token authentication
    The driver implements all required driver interfaces and follows
    the existing driver patterns in the codebase.
    Chesyre authored Sep 11, 2025
    Configuration menu
    Copy the full SHA
    28a8428 View commit details
    Browse the repository at this point in the history
  3. refactor (auth): Optimize permission path processing logic (#9320)

    - Changed permission path collection from map to slice to improve code readability
    - Removed redundant path checks to improve path addition efficiency
    - Restructured the loop logic for path processing to simplify the path permission assignment process
    okatu-loli authored Sep 11, 2025
    Configuration menu
    Copy the full SHA
    6e7c7d1 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2025

  1. fix(drivers): add session renewal cron for MediaFire driver (#9321)

    - Implement automatic session token renewal every 6-9 minutes
    - Add validation for required SessionToken and Cookie fields in Init
    - Handle session expiration by calling renewToken on validation failure
    - Prevent storage failures due to MediaFire session timeouts
    
    Fixes session closure issues that occur after server restarts or extended periods.
    
    Co-authored-by: Da3zKi7 <da3zki7@duck.com>
    Da3zKi7 and Da3zKi7 authored Sep 12, 2025
    Configuration menu
    Copy the full SHA
    16cce37 View commit details
    Browse the repository at this point in the history
  2. feat: Check usage before deleting storage (#9322)

    * feat(storage): Added role and user path checking functionality
    
    - Added `GetAllRoles` function to retrieve all roles
    - Added `GetAllUsers` function to retrieve all users
    - Added `firstPathSegment` function to extract the first segment of a path
    - Checks whether a storage object is used by a role or user, and returns relevant information for unusing it
    
    * fix(storage): Fixed a potential null value issue with not checking firstMount.
    
    - Added a check to see if `firstMount` is null to prevent logic errors.
    - Adjusted the loading logic of `GetAllRoles` and `GetAllUsers` to only execute when `firstMount` is non-null.
    - Fixed the `usedBy` check logic to ensure that an error message is returned under the correct conditions.
    - Optimized code structure to reduce unnecessary execution paths.
    okatu-loli authored Sep 12, 2025
    Configuration menu
    Copy the full SHA
    e1800f1 View commit details
    Browse the repository at this point in the history
Loading