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.49.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.50.0
Choose a head ref
  • 2 commits
  • 15 files changed
  • 1 contributor

Commits on Aug 15, 2025

  1. feat: add tag backup and fix bugs (#9265)

    * feat(label): enhance label file binding and router setup (feat/add-tag-backup)
    
    - Add `GetLabelsByFileNamesPublic` to retrieve labels using file names.
    - Refactor router setup for label and file binding routes.
    - Improve `toObjsResp` for efficient label retrieval by file names.
    - Comment out unnecessary user ID parameter in `toObjsResp`.
    
    * feat(label): enhance label file binding and router setup
    
    - Add `GetLabelsByFileNamesPublic` for label retrieval by file names.
    - Refactor router setup for label and file binding routes.
    - Improve `toObjsResp` for efficient label retrieval by file names.
    - Comment out unnecessary user ID parameter in `toObjsResp`.
    
    * refactor(db): comment out debug print in GetLabelIds (#feat/add-tag-backup)
    
    - Comment out debug print statement in GetLabelIds to clean up logs.
    - Enhance code readability by removing unnecessary debug output.
    
    * feat(label-file-binding): add batch creation and improve label ID handling
    
    - Introduced `CreateLabelFileBinDingBatch` API for batch label binding.
    - Added `collectLabelIDs` helper function to handle label ID parsing.
    - Enhanced label ID handling to support varied delimiters and input formats.
    - Refactored `CreateLabelFileBinDing` logic for improved code readability.
    - Updated router to include `POST /label_file_binding/create_batch`.
    okatu-loli authored Aug 15, 2025
    Configuration menu
    Copy the full SHA
    aea3ba1 View commit details
    Browse the repository at this point in the history
  2. fix: webdav error location (#9266)

    * feat: improve WebDAV permission handling and user role fetching
    
    - Added logic to handle root permissions in WebDAV requests.
    - Improved the user role fetching mechanism.
    - Enhanced path checks and permission scopes in role_perm.go.
    - Set FetchRole function to avoid import cycles between modules.
    
    * fix(webdav): resolve connection reset issue by encoding paths
    
    - Adjust path encoding in webdav.go to prevent connection reset.
    - Utilize utils.EncodePath for correct path formatting.
    - Ensure proper handling of directory paths with trailing slash.
    
    * fix(webdav): resolve connection reset issue by encoding paths
    
    - Adjust path encoding in webdav.go to prevent connection reset.
    - Utilize utils.FixAndCleanPath for correct path formatting.
    - Ensure proper handling of directory paths with trailing slash.
    
    * fix: resolve webdav handshake error in permission checks
    
    - Updated role permission logic to handle bidirectional subpaths.
    - This adjustment fixes the issue where remote host terminates the
      handshake due to improper path matching.
    
    * fix: resolve webdav handshake error in permission checks (fix/fix-webdav-error)
    
    - Updated role permission logic to handle bidirectional subpaths,
      fixing handshake termination by remote host due to path mismatch.
    - Refactored function naming for consistency and clarity.
    - Enhanced filtering of objects based on user permissions.
    
    * fix: resolve webdav handshake error in permission checks
    
    - Updated role permission logic to handle bidirectional subpaths,
      fixing handshake termination by remote host due to path mismatch.
    - Refactored function naming for consistency and clarity.
    - Enhanced filtering of objects based on user permissions.
    okatu-loli authored Aug 15, 2025
    Configuration menu
    Copy the full SHA
    fcfb336 View commit details
    Browse the repository at this point in the history
Loading