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.28.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: main
Choose a head ref

Commits on Sep 25, 2023

  1. 3
    Copy the full SHA
    6b67a36 View commit details

Commits on Sep 27, 2023

  1. Copy the full SHA
    fb13dae View commit details

Commits on Sep 30, 2023

  1. fix(deps): update module github.com/ipfs/go-ipfs-api to v0.7.0 (#5247)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 30, 2023
    Copy the full SHA
    eb91865 View commit details

Commits on Oct 1, 2023

  1. Copy the full SHA
    4024050 View commit details
  2. Copy the full SHA
    e1ef690 View commit details

Commits on Oct 2, 2023

  1. Copy the full SHA
    e895801 View commit details
  2. 1
    Copy the full SHA
    0fd5164 View commit details
  3. Copy the full SHA
    40a6fcb View commit details
  4. Copy the full SHA
    e719a1a View commit details
  5. feat: add header to meta (ref #5317)

    xhofe committed Oct 2, 2023
    Copy the full SHA
    9ff83a7 View commit details

Commits on Oct 3, 2023

  1. Copy the full SHA
    3d7f79c View commit details

Commits on Oct 5, 2023

  1. Copy the full SHA
    a008f54 View commit details

Commits on Oct 6, 2023

  1. Copy the full SHA
    1a283bb View commit details

Commits on Oct 8, 2023

  1. Copy the full SHA
    35d6722 View commit details

Commits on Oct 10, 2023

  1. fix(baidu_netdisk): hash and error 2 (#5356)

    * fix(baidu):hash and error:2
    
    * fix:invalid memory address
    foxxorcat authored Oct 10, 2023
    Copy the full SHA
    8ef89ad View commit details
  2. Copy the full SHA
    7600dc2 View commit details
  3. Copy the full SHA
    66e2324 View commit details
  4. Copy the full SHA
    1ebc96a View commit details

Commits on Oct 11, 2023

  1. fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.…

    …9+incompatible (#5141)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 11, 2023
    Copy the full SHA
    69a98ea View commit details

Commits on Oct 12, 2023

  1. fix(115): limit request rate (#5367 close #5275)

    * fix(115):limit request rate
    
    * chore(115): fix unit of `limit_rate`
    
    ---------
    
    Co-authored-by: Andy Hsu <i@nn.ci>
    foxxorcat and xhofe authored Oct 12, 2023
    Copy the full SHA
    b9e192b View commit details

Commits on Oct 14, 2023

  1. feat(cloudreve): support thumbnail (#5373 close #5348)

    * feat(cloudreve): support thumbnail
    
    * chore: remove unnecessary code
    itsHenry35 authored Oct 14, 2023
    Copy the full SHA
    7f73354 View commit details
  2. Copy the full SHA
    94d0287 View commit details

Commits on Oct 18, 2023

  1. Copy the full SHA
    cdfbe6d View commit details

Commits on Oct 19, 2023

  1. Copy the full SHA
    8ef8023 View commit details
  2. Copy the full SHA
    aaffaee View commit details

Commits on Oct 20, 2023

  1. Copy the full SHA
    4fc0a77 View commit details

Commits on Oct 26, 2023

  1. Copy the full SHA
    c0f9c8e View commit details

Commits on Oct 29, 2023

  1. fix(deps): update module golang.org/x/net to v0.17.0 [security] (#5370)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 29, 2023
    Copy the full SHA
    cc86d6f View commit details

Commits on Oct 30, 2023

  1. fix(deps): update golang.org/x/exp digest to 7918f67 (#5366)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 30, 2023
    Copy the full SHA
    4dff494 View commit details
  2. fix(deps): update module github.com/charmbracelet/lipgloss to v0.9.1 (#…

    …5234)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 30, 2023
    Copy the full SHA
    a632596 View commit details

Commits on Nov 4, 2023

  1. Copy the full SHA
    65c5ec0 View commit details

Commits on Nov 5, 2023

  1. Copy the full SHA
    68f440a View commit details

Commits on Nov 6, 2023

  1. Copy the full SHA
    3bbdd4f View commit details
  2. feat: refactor offline download (#5408 close #4108)

    * wip: refactor offline download (#5331)
    
    * base tool
    
    * working: aria2
    
    * refactor: change type of percentage to float64
    
    * wip: adapt aria2
    
    * wip: use items in offline_download
    
    * wip: use tool manager
    
    * wip: adapt qBittorrent
    
    * chore: fix typo
    
    * Squashed commit of the following:
    
    commit 4fc0a77
    Author: Andy Hsu <i@nn.ci>
    Date:   Fri Oct 20 21:06:25 2023 +0800
    
        fix(baidu_netdisk): upload file > 4GB (close #5392)
    
    commit aaffaee
    Author: gmugu <94156510@qq.com>
    Date:   Thu Oct 19 19:17:53 2023 +0800
    
        perf(webdav): support request with cookies (#5391)
    
    commit 8ef8023
    Author: NewbieOrange <NewbieOrange@users.noreply.github.com>
    Date:   Thu Oct 19 19:17:09 2023 +0800
    
        fix(aliyundrive_open): upload progress for normal upload (#5398)
    
    commit cdfbe6d
    Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
    Date:   Wed Oct 18 16:27:07 2023 +0800
    
        fix: hash gcid empty file (#5394)
    
    commit 94d0287
    Author: Andy Hsu <i@nn.ci>
    Date:   Sat Oct 14 13:17:51 2023 +0800
    
        ci: remove `pr-welcome` label when close issue [skip ci]
    
    commit 7f73354
    Author: itsHenry <2671230065@qq.com>
    Date:   Sat Oct 14 13:12:46 2023 +0800
    
        feat(cloudreve): support thumbnail (#5373 close #5348)
    
        * feat(cloudreve): support thumbnail
    
        * chore: remove unnecessary code
    
    commit b9e192b
    Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
    Date:   Thu Oct 12 20:57:12 2023 +0800
    
        fix(115): limit request rate (#5367 close #5275)
    
        * fix(115):limit request rate
    
        * chore(115): fix unit of `limit_rate`
    
        ---------
    
        Co-authored-by: Andy Hsu <i@nn.ci>
    
    commit 69a98ea
    Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Date:   Wed Oct 11 22:01:55 2023 +0800
    
        fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.9+incompatible (#5141)
    
        Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    
    commit 1ebc96a
    Author: Andy Hsu <i@nn.ci>
    Date:   Tue Oct 10 18:32:00 2023 +0800
    
        fix(wopan): fatal error concurrent map writes (close #5352)
    
    commit 66e2324
    Author: Andy Hsu <i@nn.ci>
    Date:   Tue Oct 10 18:23:11 2023 +0800
    
        chore(deps): upgrade dependencies
    
    commit 7600dc2
    Author: Andy Hsu <i@nn.ci>
    Date:   Tue Oct 10 18:13:58 2023 +0800
    
        fix(aliyundrive_open): change default api to raw server (close #5358)
    
    commit 8ef89ad
    Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
    Date:   Tue Oct 10 18:08:27 2023 +0800
    
        fix(baidu_netdisk): hash and `error 2` (#5356)
    
        * fix(baidu):hash and error:2
    
        * fix:invalid memory address
    
    commit 35d6722
    Author: jeffmingup <1960588251@qq.com>
    Date:   Sun Oct 8 19:29:45 2023 +0800
    
        fix(onedrive_app): incorrect api on `_accessToken` (#5346)
    
    commit 1a283bb
    Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
    Date:   Fri Oct 6 16:04:39 2023 +0800
    
        feat(google_drive): add `hash_info`, `ctime`, `thumbnail` (#5334)
    
    commit a008f54
    Author: nkh0472 <67589323+nkh0472@users.noreply.github.com>
    Date:   Thu Oct 5 13:10:51 2023 +0800
    
        docs: minor language improvements (#5329) [skip ci]
    
    * fix: adapt update progress type
    
    * Squashed commit of the following:
    
    commit 65c5ec0
    Author: itsHenry <2671230065@qq.com>
    Date:   Sat Nov 4 13:35:09 2023 +0800
    
        feat(cloudreve): folder size count and switch (#5457 close #5395)
    
    commit a632596
    Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Date:   Mon Oct 30 15:11:20 2023 +0800
    
        fix(deps): update module github.com/charmbracelet/lipgloss to v0.9.1 (#5234)
    
        Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    
    commit 4dff494
    Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Date:   Mon Oct 30 15:10:36 2023 +0800
    
        fix(deps): update golang.org/x/exp digest to 7918f67 (#5366)
    
        Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    
    commit cc86d6f
    Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Date:   Sun Oct 29 14:45:55 2023 +0800
    
        fix(deps): update module golang.org/x/net to v0.17.0 [security] (#5370)
    
        Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    
    commit c0f9c8e
    Author: Andy Hsu <i@nn.ci>
    Date:   Thu Oct 26 19:21:09 2023 +0800
    
        feat: add ignore direct link params (close #5434)
    xhofe authored Nov 6, 2023
    Copy the full SHA
    769281b View commit details
  3. feat: add 115_share driver (#5481 close #5384)

    This update introduces the ability to mount 115 share links.
     Currently, only listing and downloading are supported. Note that login and share link are required for this feature to work.
    
     Close #5384
    SheltonZhu authored Nov 6, 2023
    Copy the full SHA
    da1c7a4 View commit details
  4. 3
    Copy the full SHA
    4355dae View commit details

Commits on Nov 10, 2023

  1. Copy the full SHA
    91f51f1 View commit details

Commits on Nov 12, 2023

  1. fix(mopan): 302 Redirect (#5505 close #5502)

    * fix(mopan):302 Redirect
    
    * fix(mopan): do not forget to close the body
    
    ---------
    
    Co-authored-by: Andy Hsu <i@nn.ci>
    foxxorcat and xhofe authored Nov 12, 2023
    Copy the full SHA
    55a14bc View commit details
  2. fix(deps): update module github.com/aws/aws-sdk-go to v1.46.7 (#5068)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 12, 2023
    Copy the full SHA
    a7421d8 View commit details

Commits on Nov 13, 2023

  1. Copy the full SHA
    3d51845 View commit details

Commits on Nov 16, 2023

  1. chore: remove refs to deprecated io/ioutil (#5519)

    Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
    testwill authored Nov 16, 2023
    Copy the full SHA
    f904596 View commit details

Commits on Nov 18, 2023

  1. Copy the full SHA
    6fc6751 View commit details
  2. fix(local): video file thumbnails not displaying on iOS Safari (#5420)

    * perf(webdav): support for cookies on webdav drive
    
    * fix(local): video file thumbnails not displaying on iOS Safari
    gmugu authored Nov 18, 2023
    Copy the full SHA
    867acca View commit details

Commits on Nov 19, 2023

  1. ci: add short sha to artifact

    xhofe committed Nov 19, 2023
    Copy the full SHA
    8d52836 View commit details
  2. chore: remove useless code

    xhofe committed Nov 19, 2023
    Copy the full SHA
    de9647a View commit details

Commits on Nov 20, 2023

  1. feat: refactor task module

    xhofe committed Nov 20, 2023
    Copy the full SHA
    11a30c5 View commit details

Commits on Nov 21, 2023

  1. Copy the full SHA
    7583c4d View commit details
  2. Copy the full SHA
    b2890f0 View commit details

Commits on Nov 22, 2023

  1. Copy the full SHA
    d7f6613 View commit details

Commits on Nov 23, 2023

  1. feat: add chaoxing and vtencent driver (#5526 close #3347)

    * add chaoxing and vtencent
    
    * add vtencent put file
    
    * add sha1 to transfer files instantly
    
    * simplified upload file code
    
    * setting onlyproxy
    
    * fix get files modifyDate bug
    msterzhang authored Nov 23, 2023
    Copy the full SHA
    1280070 View commit details
Showing 419 changed files with 31,732 additions and 4,066 deletions.
44 changes: 44 additions & 0 deletions .air.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
args_bin = ["server"]
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ."
delay = 0
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = false

[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"

[log]
main_only = false
time = false

[misc]
clean_on_exit = false

[screen]
clear_on_rebuild = false
keep_scroll = true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions & Discussions
url: https://github.com/Xhofe/alist/discussions
url: https://github.com/alist-org/alist/discussions
about: Use GitHub discussions for message-board style questions and discussions.
2 changes: 2 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,8 @@ daysUntilClose: 20
exemptLabels:
- accepted
- security
- working
- pr-welcome
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
8 changes: 4 additions & 4 deletions .github/workflows/auto_lang.yml
Original file line number Diff line number Diff line change
@@ -20,22 +20,22 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest ]
go-version: [ '1.20' ]
go-version: [ '1.21' ]
name: auto generate lang.json
runs-on: ${{ matrix.platform }}
steps:
- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Checkout alist
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: alist

- name: Checkout alist-web
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'alist-org/alist-web'
ref: main
138 changes: 138 additions & 0 deletions .github/workflows/beta_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
name: beta release

on:
push:
branches: [ 'main' ]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: write

jobs:
changelog:
strategy:
matrix:
platform: [ ubuntu-latest ]
go-version: [ '1.21' ]
name: Beta Release Changelog
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create or update ref
id: create-or-update-ref
uses: ovsds/create-or-update-ref-action@v1
with:
ref: tags/beta
sha: ${{ github.sha }}

- name: Delete beta tag
run: git tag -d beta
continue-on-error: true

- name: changelog # or changelogithub@0.12 if ensure the stable result
id: changelog
run: |
git tag -l
npx changelogithub --output CHANGELOG.md
# npx changelogen@latest --output CHANGELOG.md

- name: Upload assets
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG.md
files: CHANGELOG.md
prerelease: true
tag_name: beta

release:
needs:
- changelog
strategy:
matrix:
include:
- target: '!(*musl*|*windows-arm64*|*android*|*freebsd*)' # xgo
hash: "md5"
- target: 'linux-!(arm*)-musl*' #musl-not-arm
hash: "md5-linux-musl"
- target: 'linux-arm*-musl*' #musl-arm
hash: "md5-linux-musl-arm"
- target: 'windows-arm64' #win-arm64
hash: "md5-windows-arm64"
- target: 'android-*' #android
hash: "md5-android"
- target: 'freebsd-*' #freebsd
hash: "md5-freebsd"

name: Beta Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Setup web
run: bash build.sh dev web

- name: Build
uses: go-cross/cgo-actions@v1
with:
targets: ${{ matrix.target }}
musl-target-format: $os-$musl-$arch
out-dir: build
x-flags: |
github.com/alist-org/alist/v3/internal/conf.BuiltAt=$built_at
github.com/alist-org/alist/v3/internal/conf.GitAuthor=Xhofe
github.com/alist-org/alist/v3/internal/conf.GitCommit=$git_commit
github.com/alist-org/alist/v3/internal/conf.Version=$tag
github.com/alist-org/alist/v3/internal/conf.WebVersion=dev
- name: Compress
run: |
bash build.sh zip ${{ matrix.hash }}
- name: Upload assets
uses: softprops/action-gh-release@v2
with:
files: build/compress/*
prerelease: true
tag_name: beta

desktop:
needs:
- release
name: Beta Release Desktop
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
repository: alist-org/desktop-release
ref: main
persist-credentials: false
fetch-depth: 0

- name: Commit
run: |
git config --local user.email "bot@nn.ci"
git config --local user.name "IlaBot"
git commit --allow-empty -m "Trigger build for ${{ github.sha }}"
- name: Push commit
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.MY_TOKEN }}
branch: main
repository: alist-org/desktop-release
50 changes: 33 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -15,31 +15,47 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest]
go-version: [ '1.20' ]
target:
- darwin-amd64
- darwin-arm64
- windows-amd64
- linux-arm64-musl
- linux-amd64-musl
- windows-arm64
- android-arm64
name: Build
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo snap install zig --classic --beta
docker pull crazymax/xgo:latest
go install github.com/crazy-max/xgo@latest
sudo apt install upx
- uses: benjlevesque/short-sha@v3.0
id: short-sha

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Setup web
run: bash build.sh dev web

- name: Build
run: |
bash build.sh dev
uses: go-cross/cgo-actions@v1
with:
targets: ${{ matrix.target }}
musl-target-format: $os-$musl-$arch
out-dir: build
x-flags: |
github.com/alist-org/alist/v3/internal/conf.BuiltAt=$built_at
github.com/alist-org/alist/v3/internal/conf.GitAuthor=Xhofe
github.com/alist-org/alist/v3/internal/conf.GitCommit=$git_commit
github.com/alist-org/alist/v3/internal/conf.Version=$tag
github.com/alist-org/alist/v3/internal/conf.WebVersion=dev
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: alist
path: dist
name: alist_${{ env.SHA }}_${{ matrix.target }}
path: build/*
69 changes: 0 additions & 69 deletions .github/workflows/build_docker.yml

This file was deleted.

9 changes: 7 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -3,17 +3,22 @@ name: auto changelog
on:
push:
tags:
- '*'
- 'v*'

jobs:
changelog:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Delete beta tag
run: git tag -d beta
continue-on-error: true

- run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.MY_TOKEN}}
Original file line number Diff line number Diff line change
@@ -14,4 +14,4 @@ jobs:
actions: 'remove-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: 'working'
labels: 'working,pr-welcome'
Loading