Sukka
ae6984714d
fix: remove default polyfill ( #6130 close #6100 )
...
* refactor(setting): replace `polyfill.io``
* fix: remove default polyfill
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-03-02 15:36:28 +08:00
itsHenry
d0f88bd1cb
feat: s3 server support ( #6088 close #5186 )
...
Currently tested: List, Get, Remove
2024-03-02 15:35:10 +08:00
wolfsilver
f8b1f87a5f
fix: support for Microsoft WebDAV ( #6133 close #6104 )
...
* Add support for Microsoft WebDAV
* add import
2024-03-02 14:59:55 +08:00
Kevin Z
71e4e1ab6e
fix(chaoxing): json cannot unmarshal content.uploadDate ( close #6119 in #6124 )
2024-03-01 13:37:09 +08:00
Andy Hsu
7e6522c81e
ci: build ffmpeg image with dev version
2024-02-24 18:10:45 +08:00
Andy Hsu
94a80bccfe
fix(feiji): unable to get link ( close #6082 )
2024-02-24 18:04:08 +08:00
renovate[bot]
e66abb3f58
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.24 ( #5873 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 20:56:14 +08:00
Andy Hsu
742335f80e
fix: don't push docker on pr due to security
2024-02-23 15:42:52 +08:00
不插电
f1979a8bbc
feat(search): search with meilisearch ( #6060 )
...
* feat(search): search with meilisearch.
* feat(search): meilisearch supports auto update.
* chores: remove utils.Log.
* fix(search): the null pointer caused by deleting non-existing file/folder indexes.
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-02-23 15:37:40 +08:00
Mars160
1f835502ba
feat: support customize dsn for mysql and pg ( #6031 )
...
* support for unixsocket to connect to mysql
* feat: customize dsn for mysql and pg
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-02-23 15:28:48 +08:00
Andy Hsu
424ab2d0c0
ci: remove docker latest tag on dev
2024-02-21 15:50:05 +08:00
Andy Hsu
858ba19670
ci: also push docker to hub for pr
2024-02-21 14:58:45 +08:00
Mmx
0c7e47a76c
feat: add docker image with pre-installed ffmpeg ( #6054 )
...
* build: add dockerfile for ffmpeg version
* ci: add docker image with ffmpeg release
* fix: donnot push on docker build test
2024-02-21 14:04:22 +08:00
不插电
53926d5cd0
fix(search): duplicate folder on autoupdate ( #6063 close #6062 )
...
* fix(search): the problem of not returning in time when index does not support auto update.
* fix(search): the problem of duplicate indexing of folders.
2024-02-20 19:12:07 +08:00
Andy Hsu
47f4b05517
feat(sftp): allow ignore symlink error ( close #6026 )
2024-02-15 18:54:19 +08:00
123pan
6d85f1b0c0
fix(123): User-Agent and rate limit ( #6012 )
...
* 修复标签
* 新增接口限流器。防止云盘云端把Alist当做攻击,封禁Alist客户端
---------
Co-authored-by: 风信子 <fengxinzi@xaidc.com >
2024-02-09 14:45:44 +08:00
ArcticLampyrid
e49fda3e2a
fix: WebDAV's creation date should use RFC3339 format ( #6015 close #5878 )
2024-02-08 19:22:29 +08:00
Andy Hsu
da5e35578a
fix: embed all files of dist
2024-02-03 19:44:50 +08:00
foxxorcat
812f58ae6d
fix(mopan): client version is too low ( #5987 )
...
* fix(mopan): download err ` client version is too low`
* feat(mopan):support sms login
* refactor(quqi): upload use s3
2024-02-02 21:04:43 +08:00
睿音
9bd3c87bcc
fix(ldap): exiting by peer exception occurred during the TLS connection( #5977 )
2024-02-01 10:43:08 +08:00
Jing
c82866975e
fix: error on repeated reading static ( #5957 )
...
* Update static.go
* rm initial value of static
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-01-30 21:21:53 +08:00
shouko
aef952ae68
feat(dropbox): add root_namespace_id to access teams folder ( #5929 )
...
* feat(dropbox): add root_namespace_id to access teams folder
* fix(dropbox): get_current_account API request
* feat(dropbox): extract root_namespace_id properly
* style: format code
2024-01-24 17:03:50 +08:00
Echo Response
9222510d8d
feat(quqi): add download link with cdn ( #5938 )
...
* feat(quqi): add download link by cdn
* fix(quqi): cookie error when login with phone number
2024-01-24 16:47:49 +08:00
Echo Response
d88b54d98a
fix(quqi): empty file link for non vip user ( #5926 )
...
* fix(quqi): error returned when uploading a file that existed
* fix empty download link for no vip user
* fix cannot parse request result
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-01-21 15:28:52 +08:00
Echo Response
85a28d9822
fix(quqi): error on uploading an existing file ( #5920 )
2024-01-20 21:22:50 +08:00
Andy Hsu
4f7761fe2c
fix: set progress to 100 when it's NaN ( close #5906 )
2024-01-20 13:06:46 +08:00
Echo Response
a8c900d09e
fix(quqi): file extension duplication when rename and some missing form parameters ( #5910 )
...
* feat: add `quqi` driver
* change signature of request function
* specific header for every storage
* todo: real upload
* fix upload method
* fix incorrect parameters for some request function calls
* refine some form parameters to avoid potential problems
* fix file extension duplication in rename function
* improve the error message in login function
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-01-19 13:57:31 +08:00
None
8bccb69e8d
fix(google_photo): add support for streaming video, range requests ( #5905 )
...
* Update util.go
Return mediaMetadata
* Update driver.go
Using width and height
2024-01-19 13:02:05 +08:00
Andy Hsu
0f29a811bf
fix: s3 upload exceeded total allowed configured MaxUploadParts ( close #5909 )
2024-01-19 12:05:10 +08:00
Echo Response
442c2f77ea
feat: add quqi driver ( #5899 close #5251 )
...
* feat: add `quqi` driver
* change signature of request function
* specific header for every storage
* todo: real upload
* fix upload method
* fix incorrect parameters for some request function calls
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-01-19 10:59:56 +08:00
Andy Hsu
ce06f394f1
fix: missing salt of guest user ( close #5737 )
2024-01-17 14:15:34 +08:00
Shelton Zhu
e3e790f461
feat(115): add QR code source selection ( #5891 )
...
* feat(115): add QR code source selection
closed #5386
* feat(115_share): add QR code source selection
2024-01-16 15:59:44 +08:00
SoY0ung
f0e8c0e886
fix(chaoxing): JSON parsing error in content field ( #5877 )
...
* fix(chaoxing):fix JSON parsing error in `content` field
* fix(chaoxing): optimizing `UnmarshalJSON` implementation
* fix(chaoxing): use `objectID` when is empty
2024-01-14 12:53:31 +08:00
renovate[bot]
86b35ae5cf
fix(deps): update module golang.org/x/oauth2 to v0.16.0 ( #5865 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 11:54:35 +08:00
renovate[bot]
4930f85b90
fix(deps): update module golang.org/x/crypto to v0.18.0 ( #5863 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:56:19 +08:00
renovate[bot]
85fe65951d
fix(deps): update golang.org/x/exp digest to 0dcbfd6 ( #5862 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:39:16 +08:00
renovate[bot]
1381e8fb27
fix(deps): update module github.com/aws/aws-sdk-go to v1.49.18 ( #5848 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:24:20 +08:00
Andy Hsu
292bbe94ee
fix(feijipan): incorrect address of download link ( close #5859 )
2024-01-11 10:16:14 +08:00
Andy Hsu
bb6747de4e
docs: add feijipan to Readme
2024-01-11 10:15:16 +08:00
Andy Hsu
555ef0eb1a
feat: add feijipan driver ( close #5856 )
2024-01-10 16:58:10 +08:00
秋秋
bff56ffd0f
ci: add android target to release build ( #5844 )
...
* build: build android
Signed-off-by: lateautumn233 <lateautumn233@foxmail.com >
* ci: add `android` target to release build
Signed-off-by: lateautumn233 <lateautumn233@foxmail.com >
---------
Signed-off-by: lateautumn233 <lateautumn233@foxmail.com >
2024-01-09 19:00:11 +08:00
Andy Hsu
34b73b94f7
feat(local): allow specifying the recycle bin path ( close #5832 )
2024-01-09 18:51:21 +08:00
renovate[bot]
434892f135
fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v3 ( #5800 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 17:14:31 +08:00
Mmx
e6e2d03ba1
perf: make docker release 10 times faster ( #5803 )
...
* build: improve multistage docker build
* build: add dockerfile for ci
* build: add BuildDockerMultiplatform function in build.sh for ci
* ci: change build method
* build: add missing mod download command to the Dockerfile
* build: revert changes made ffmpeg installed
* build: use musl build for docker release
* ci: apply to dev version
* fix: don't login on pr
* fix: don't build_docker_with_aria2 on pr
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-01-05 15:52:30 +08:00
renovate[bot]
28bb3f6310
fix(deps): update module golang.org/x/image to v0.15.0 ( #5825 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-05 15:35:41 +08:00
renovate[bot]
fb729c1846
fix(deps): update module github.com/aws/aws-sdk-go to v1.49.15 ( #5816 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-05 15:34:16 +08:00
Rammiah
4448e08f5b
fix(net): Buf use Mutex ( #5823 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2024-01-05 12:20:08 +08:00
Andy Hsu
8020d42b10
fix: panic due to send on closed channel ( close #5729 )
2024-01-05 11:41:53 +08:00
Andy Hsu
9d5fb7f595
feat: add ILanzou driver ( #5810 close #5715 )
...
* wip: basic request and login
* feat: impl list
* feat: impl link
* feat: impl mkdir, move, rename, delete
* feat: impl upload
* docs: add iLanzou to readme
2024-01-04 22:03:15 +08:00
Andy Hsu
126cfe9f93
fix(vtencent): only show 50 files ( close #5805 )
2024-01-04 21:54:39 +08:00
renovate[bot]
fd96a7ccf4
fix(deps): update golang.org/x/exp digest to be819d1 [skip ci] ( #5807 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-04 21:02:22 +08:00
renovate[bot]
03b9b9a119
chore(deps): update docker/setup-qemu-action action to v3 ( #5798 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 14:51:54 +08:00
renovate[bot]
03dbdfc0dd
chore(deps): update docker/setup-buildx-action action to v3 ( #5797 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 14:46:37 +08:00
renovate[bot]
2683621ed7
chore(deps): update docker/metadata-action action to v5 [skip ci] ( #5795 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 14:46:09 +08:00
renovate[bot]
be537aa49b
chore(deps): update docker/login-action action to v3 [skip ci] ( #5794 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 14:45:53 +08:00
renovate[bot]
6f742a68cf
chore(deps): update docker/build-push-action action to v5 [skip ci] ( #5793 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 14:45:32 +08:00
renovate[bot]
97a4b8321d
chore(deps): update actions/upload-artifact action to v4 ( #5792 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 14:44:59 +08:00
renovate[bot]
8c432d3339
chore(deps): update actions/checkout action to v4 ( #5788 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:43:22 +08:00
renovate[bot]
ff25e51f80
chore(deps): update actions/setup-go action to v5 ( #5789 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:43:08 +08:00
renovate[bot]
88831b5d5a
fix(deps): update module golang.org/x/oauth2 to v0.15.0 [skip ci] ( #5785 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 15:44:45 +08:00
renovate[bot]
b97c9173af
fix(deps): update module golang.org/x/image to v0.14.0 [skip ci] ( #5784 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 15:42:38 +08:00
renovate[bot]
207c7e05fe
fix(deps): update module github.com/spf13/cobra to v1.8.0 [skip ci] ( #5783 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 15:42:17 +08:00
renovate[bot]
7db27e6da8
fix(deps): update module golang.org/x/time to v0.5.0 [skip ci] ( #5786 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 15:41:52 +08:00
foxxorcat
b5cc90cb5a
fix(115): support null UserAgent ( #5787 )
2024-01-02 15:41:32 +08:00
renovate[bot]
8a427ddc49
fix(deps): update module github.com/go-webauthn/webauthn to v0.10.0 [skip ci] ( #5782 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 14:54:38 +08:00
renovate[bot]
c36644a172
fix(deps): update module github.com/go-resty/resty/v2 to v2.11.0 ( #5781 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 14:27:08 +08:00
renovate[bot]
45b1ff4a24
fix(deps): update module github.com/charmbracelet/bubbles to v0.17.1 [skip ci] ( #5775 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 14:24:56 +08:00
renovate[bot]
a4a9675616
fix(deps): update module github.com/charmbracelet/bubbletea to v0.25.0 [skip ci] ( #5776 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 14:12:54 +08:00
renovate[bot]
8531b23382
fix(deps): update module github.com/deckarep/golang-set/v2 to v2.6.0 [skip ci] ( #5778 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 14:12:33 +08:00
renovate[bot]
2c15349ce4
fix(deps): update module github.com/gin-contrib/cors to v1.5.0 [skip ci] ( #5779 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 14:12:13 +08:00
renovate[bot]
5afd65b65c
fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.10+incompatible ( #5447 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 22:19:25 +08:00
renovate[bot]
e2434029f9
fix(deps): update module github.com/maruel/natural to v1.1.1 [skip ci] ( #5771 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 22:18:51 +08:00
renovate[bot]
bdf7abe717
fix(deps): update module github.com/aws/aws-sdk-go to v1.49.13 [skip ci] ( #5774 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 22:18:13 +08:00
renovate[bot]
2c8d003c2e
fix(deps): update module github.com/djherbis/times to v1.6.0 [skip ci] ( #5422 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 22:17:44 +08:00
renovate[bot]
a006f57637
fix(deps): update module google.golang.org/appengine to v1.6.8 [skip ci] ( #5772 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 21:42:43 +08:00
renovate[bot]
be5d94cd11
fix(deps): update module golang.org/x/crypto to v0.17.0 [security] ( #5768 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 21:42:03 +08:00
renovate[bot]
977b3cf9ab
fix(deps): update golang.org/x/exp digest to 02704c9 [skip ci] ( #5769 )
...
* fix: missing modified in validate regexp
* fix(deps): update golang.org/x/exp digest to 02704c9
---------
Co-authored-by: Andy Hsu <i@nn.ci >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 19:57:04 +08:00
renovate[bot]
182aacd309
fix(deps): update module github.com/gorilla/websocket to v1.5.1 [skip ci] ( #5770 )
...
* fix: missing modified in validate regexp
* fix(deps): update module github.com/gorilla/websocket to v1.5.1
---------
Co-authored-by: Andy Hsu <i@nn.ci >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 19:55:31 +08:00
Andy Hsu
57bac9e0d2
fix: some missing regexp lib modified
2024-01-01 18:44:59 +08:00
Andy Hsu
478470f609
feat!: replace regex package ( close #5755 )
2023-12-31 15:03:25 +08:00
xiaofei
6b8f35e7fa
feat(alipan): replace domain ( #5751 close #5747 )
2023-12-31 14:29:14 +08:00
Guobao
697a0ed2d3
feat: add ldap login support ( #5706 )
...
* feat: add ldap login support
* fix: ldap permission config group
2023-12-31 13:46:13 +08:00
foxxorcat
299bfb4d7b
feat(115): support 302 redirect ( #5733 )
2023-12-25 11:28:57 +08:00
Feng.YJ
3eca38e599
feat: add support for client-side discoverable WebAuthn login ( #5722 )
...
* Add support for client-side discoverable in begin login
Use `(*webauthn.WebAuthn).BeginDiscoverableLogin()` to handle client-side discoverable login.
* Upgrade github.com/go-webauthn/webauthn to v0.10.0
Upgrade [go-webauthn/webauthn](github.com/go-webauthn/webauthn) library to latest.
The convenient finish login function (as FinishDiscoverableLogin) for discoverable functions has been added in the v0.9.0. [^1]
---
[^1]: https://github.com/go-webauthn/webauthn/releases/tag/v0.9.0
* Add support for client-side discoverable in validating login
Use `(*webauthn.WebAuthn).FinishDiscoverableLogin()` to handle client-side discoverable login.
> **NOTE**:
- The first param `rawID` in this callback function is unnecessary to check, it's handled by the third-party webauthn library later.
- `userHandle` param is equal to the ID returned by (User).WebAuthnID() function.
2023-12-24 15:21:17 +08:00
Andy Hsu
ab216ed170
fix(onedrive): rename object in root folder ( close #5468 )
2023-12-17 22:58:26 +08:00
Andy Hsu
e91c42c9dc
fix(alist_v3): timeout on upload ( close #5465 )
2023-12-17 15:45:27 +08:00
tonsr
54f7b21a73
fix(123): api sign error ( #5689 close #5083 )
...
* fix:123 driver connect error
* feat: calculate sign with pure go
---------
Co-authored-by: tangminghao <tangminghao@hxzn.com >
Co-authored-by: Andy Hsu <i@nn.ci >
2023-12-17 15:21:32 +08:00
linepro6
de56f926cf
feat(139): support new personal cloud api ( #5690 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-12-16 16:56:45 +08:00
Andy Hsu
6d4ab57a0e
build: enable cgo for win/arm64 [skip ci]
2023-12-15 18:22:16 +08:00
Andy Hsu
734d4b0354
ci: add darwin/arm64 target to dev build
2023-12-15 17:07:02 +08:00
foxxorcat
74b20dedc3
fix: retry multipart file reset ( #5693 close #5628 )
2023-12-14 21:31:36 +08:00
Andy Hsu
83c2269330
fix(qbit): seed time doesn't take effect ( close #5663 )
2023-12-11 15:20:29 +08:00
Andy Hsu
296be88b5f
fix: incorrect key of oidc username ( close #5670 )
2023-12-10 13:17:56 +08:00
Andy Hsu
026e944cbb
feat: add task info to resp of add task api ( close #5579 )
2023-12-03 14:44:20 +08:00
Andy Hsu
8bdfc7ac8e
fix(offline_download): don't wait for transfer task ( close #5595 )
2023-12-03 14:20:01 +08:00
Andy Hsu
e4a6b758dc
docs: remove jetbrains in special sponsor [skip ci]
2023-12-03 12:57:35 +08:00
Andy Hsu
66b7fe1e1b
fix: task cannot be retried manually ( close #5599 )
2023-11-30 20:44:05 +08:00
Andy Hsu
f475eb4401
fix: incorrect go-version on auto-lang
2023-11-30 12:37:25 +08:00
Andy Hsu
b99e709bdb
fix(teambition): international upload ( close #5360 )
2023-11-29 22:51:03 +08:00
Kuingsmile
f4dcf4599c
fix: add error handling for webdav mkcol according to RFC 4918 ( #5581 )
...
* feat: add error handling for mkcol method in webdav.go
* feat: update rfc reference
* fix: fix issue with uncorrect error handling
2023-11-27 18:53:52 +08:00
Andy Hsu
54e75d7287
feat: enabled sign_all by default
2023-11-25 20:27:23 +08:00
Andy Hsu
d142fc3449
ci: upgrade golang version
2023-11-25 16:09:38 +08:00
Andy Hsu
f23567199b
chore: go mod tidy
2023-11-25 15:12:25 +08:00
Andy Hsu
1420492d81
ci: go get after replacing go mod
2023-11-25 15:11:29 +08:00
Andy Hsu
b88067ea2f
ci: fix docker build error: 'pread64' undeclared here
2023-11-25 14:42:33 +08:00
Andy Hsu
d5f381ef6f
chore: upgrade golang version
2023-11-25 14:22:13 +08:00
Andy Hsu
68af284dad
fix: task popped but not execute ( close #5565 )
2023-11-25 14:15:17 +08:00
Andy Hsu
d26887d211
fix: content-type conflicts with #5420
2023-11-24 19:22:19 +08:00
Andy Hsu
3f405de6a9
feat: customize allow origins, headers and methods
2023-11-24 19:18:34 +08:00
Andy Hsu
6100647310
fix: reflected XSS vulnerability plist api
2023-11-24 16:46:48 +08:00
Andy Hsu
34746e951c
feat(offline_download): add simple http tool ( close #4002 )
2023-11-24 16:26:05 +08:00
Andy Hsu
b6134dc515
feat: allow keep files in offline download ( close #4678 )
2023-11-24 15:02:36 +08:00
Andy Hsu
d455a232ef
fix(vtencent): hack file with size 0 but actual size is not 0
...
- allow use another proxy for vtencent and chaoxing
2023-11-23 22:35:07 +08:00
textrix
fe34d30d17
feat(crypt): add show hidden option ( #5554 )
2023-11-23 21:50:16 +08:00
BlueSkyXN
0fbb986ba9
fix(aliyundrive_open): mitigation measures for 15-minute limit ( #5560 close #5547 )
...
* fix(aliyundrive_open):Mitigation measures for AliOpen's 15-minute limit.
I conducted small-scale tests, which seem to have no significant negative impact. If the 15-minute issue still occurs, further measures will be needed. Methods like local proxy can be attempted.
* chore(aliyundrive_open): change cache of the link to 1 minute
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-11-23 21:49:16 +08:00
zhangxiang
1280070438
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
2023-11-23 21:40:16 +08:00
Andy Hsu
d7f66138eb
docs: add sponsor VidHub [skip ci]
2023-11-22 15:09:39 +08:00
Andy Hsu
b2890f05ab
feat: retry all failed task ( close #5242 )
2023-11-21 15:54:42 +08:00
Andy Hsu
7583c4d734
feat: customize workers and retry of task ( close #5493 fix #5274 )
2023-11-21 15:51:57 +08:00
Andy Hsu
11a30c5044
feat: refactor task module
2023-11-20 18:01:51 +08:00
Andy Hsu
de9647a5fa
chore: remove useless code
2023-11-19 20:05:09 +08:00
Andy Hsu
8d5283604c
ci: add short sha to artifact
2023-11-19 15:21:25 +08:00
MuGu
867accafd1
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
2023-11-18 22:36:41 +08:00
Andy Hsu
6fc6751463
feat: support using external dist files ( close #5531 )
2023-11-18 19:56:22 +08:00
guangwu
f904596cbc
chore: remove refs to deprecated io/ioutil ( #5519 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com >
2023-11-16 05:16:15 -06:00
Andy Hsu
3d51845f57
feat: invalidate old token after changing the password ( close #5515 )
2023-11-13 15:22:42 +08:00
renovate[bot]
a7421d8fc2
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>
2023-11-12 15:14:27 +08:00
foxxorcat
55a14bc271
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 >
2023-11-12 15:13:55 +08:00
Andy Hsu
91f51f17d0
feat(webdav): add tls_insecure_skip_verify field ( close #5490 )
2023-11-10 15:38:23 +08:00
Andy Hsu
4355dae491
fix: incorrect content-type of apk files ( close #5385 )
2023-11-06 18:20:25 +08:00
sheltonzhu
da1c7a4c23
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
2023-11-06 16:58:57 +08:00
Andy Hsu
769281bd40
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 4fc0a77565
Author: Andy Hsu <i@nn.ci >
Date: Fri Oct 20 21:06:25 2023 +0800
fix(baidu_netdisk): upload file > 4GB (close #5392 )
commit aaffaee2b5
Author: gmugu <94156510@qq.com >
Date: Thu Oct 19 19:17:53 2023 +0800
perf(webdav): support request with cookies (#5391 )
commit 8ef8023c20
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 cdfbe6dcf2
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com >
Date: Wed Oct 18 16:27:07 2023 +0800
fix: hash gcid empty file (#5394 )
commit 94d028743a
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 7f7335435c
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 b9e192b29c
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 69a98eaef6
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 1ebc96a4e5
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 66e2324cac
Author: Andy Hsu <i@nn.ci >
Date: Tue Oct 10 18:23:11 2023 +0800
chore(deps): upgrade dependencies
commit 7600dc28df
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 8ef89ad0a4
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 35d672217d
Author: jeffmingup <1960588251@qq.com >
Date: Sun Oct 8 19:29:45 2023 +0800
fix(onedrive_app): incorrect api on `_accessToken` (#5346 )
commit 1a283bb272
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 a008f54f4d
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 65c5ec0c34
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 a6325967d0
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 4dff49470a
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 cc86d6f3d1
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 c0f9c8ebaf
Author: Andy Hsu <i@nn.ci >
Date: Thu Oct 26 19:21:09 2023 +0800
feat: add ignore direct link params (close #5434 )
2023-11-06 16:56:55 +08:00
sheltonzhu
3bbdd4fa89
fix(115): fix driver package import and variable ( #5482 )
...
names
2023-11-06 16:53:57 +08:00
foxxorcat
68f440abdb
fix(weiyun): unmarshal overflow ( #5459 )
2023-11-05 22:41:14 +08:00
itsHenry
65c5ec0c34
feat(cloudreve): folder size count and switch ( #5457 close #5395 )
2023-11-04 13:35:09 +08:00
renovate[bot]
a6325967d0
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>
2023-10-30 15:11:20 +08:00
renovate[bot]
4dff49470a
fix(deps): update golang.org/x/exp digest to 7918f67 ( #5366 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-30 15:10:36 +08:00
renovate[bot]
cc86d6f3d1
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>
2023-10-29 14:45:55 +08:00
Andy Hsu
c0f9c8ebaf
feat: add ignore direct link params ( close #5434 )
2023-10-26 19:21:09 +08:00
Andy Hsu
4fc0a77565
fix(baidu_netdisk): upload file > 4GB ( close #5392 )
2023-10-20 21:06:25 +08:00
gmugu
aaffaee2b5
perf(webdav): support request with cookies ( #5391 )
2023-10-19 19:17:53 +08:00
NewbieOrange
8ef8023c20
fix(aliyundrive_open): upload progress for normal upload ( #5398 )
2023-10-19 19:17:09 +08:00
foxxorcat
cdfbe6dcf2
fix: hash gcid empty file ( #5394 )
2023-10-18 16:27:07 +08:00
Andy Hsu
94d028743a
ci: remove pr-welcome label when close issue [skip ci]
2023-10-14 13:17:51 +08:00
itsHenry
7f7335435c
feat(cloudreve): support thumbnail ( #5373 close #5348 )
...
* feat(cloudreve): support thumbnail
* chore: remove unnecessary code
2023-10-14 13:12:46 +08:00
foxxorcat
b9e192b29c
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 >
2023-10-12 20:57:12 +08:00
renovate[bot]
69a98eaef6
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>
2023-10-11 22:01:55 +08:00
Andy Hsu
1ebc96a4e5
fix(wopan): fatal error concurrent map writes ( close #5352 )
2023-10-10 18:32:00 +08:00
Andy Hsu
66e2324cac
chore(deps): upgrade dependencies
2023-10-10 18:23:11 +08:00
Andy Hsu
7600dc28df
fix(aliyundrive_open): change default api to raw server ( close #5358 )
2023-10-10 18:13:58 +08:00
foxxorcat
8ef89ad0a4
fix(baidu_netdisk): hash and error 2 ( #5356 )
...
* fix(baidu):hash and error:2
* fix:invalid memory address
2023-10-10 18:08:27 +08:00
jeffmingup
35d672217d
fix(onedrive_app): incorrect api on _accessToken ( #5346 )
2023-10-08 19:29:45 +08:00
foxxorcat
1a283bb272
feat(google_drive): add hash_info, ctime, thumbnail ( #5334 )
2023-10-06 16:04:39 +08:00
nkh0472
a008f54f4d
docs: minor language improvements ( #5329 ) [skip ci]
2023-10-05 13:10:51 +08:00
Andy Hsu
3d7f79cba8
docs: change domain of contributors image [skip ci]
2023-10-03 17:34:24 +08:00
Andy Hsu
9ff83a7950
feat: add header to meta (ref #5317 )
2023-10-02 16:43:29 +08:00
Andy Hsu
e719a1a456
feat(sso): custom username key for OIDC ( close #5169 )
2023-10-02 14:42:40 +08:00
Andy Hsu
40a6fcbdff
ci: do not stale issue with working or pr-welcome label [skip ci]
2023-10-02 14:13:11 +08:00
Andy Hsu
0fd51646f6
feat(onedrive): custom host for download link ( close #5310 )
2023-10-02 14:07:47 +08:00
Andy Hsu
e8958019d9
fix(115): allow use proxy directly ( close #5324 )
2023-10-02 14:00:13 +08:00
URenko
e1ef690784
fix(terabox): encode parameters for filemanager api ( #5308 )
2023-10-01 16:58:29 +08:00
LaoShui
4024050dd0
chore: fix typo ( #5316 )
2023-10-01 16:58:00 +08:00
renovate[bot]
eb918658f0
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>
2023-09-30 22:58:19 +08:00
Nick Wang
fb13dae136
feat(crypt): optional pre-generated thumbnails ( #5284 )
2023-09-27 13:57:10 +08:00
Andy Hsu
6b67a36d63
fix(terabox): auto refresh JsToken ( close #5277 )
2023-09-25 16:38:05 +08:00
Andy Hsu
a64dd4885e
fix(139): fixed time zone ( close #5263 )
2023-09-22 16:54:16 +08:00
Andy Hsu
0f03a747d8
ci: cancel previous workflow run
2023-09-22 16:53:07 +08:00
itsHenry
30977cdc6d
feat: sso compatibility mode ( #5260 )
2023-09-22 16:45:51 +08:00
Andy Hsu
106cf720c1
fix(baidu_netdisk): retry logic in request ( close #5262 )
2023-09-22 16:27:44 +08:00
Andy Hsu
882112ed1c
feat: add hash_info field to /fs/get ( close #5259 )
2023-09-22 15:20:04 +08:00
Ovear
2a6ab77295
fix(115): data race in Link ( #5253 )
2023-09-21 13:39:07 +08:00
Andy Hsu
f0981a0c8d
chore(virtual): implement the driver interface with result
2023-09-20 09:02:56 +08:00
renovate[bot]
57eea4db17
fix(deps): update module github.com/go-resty/resty/v2 to v2.8.0 ( #5244 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 08:51:34 +08:00
renovate[bot]
234852ca61
fix(deps): update module github.com/pkg/sftp to v1.13.6 ( #5041 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 20:02:42 +08:00
renovate[bot]
809105b67e
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.10 ( #5232 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 15:57:29 +08:00
renovate[bot]
02e8c31506
fix(deps): update golang.org/x/exp digest to 9212866 ( #5205 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-16 23:21:42 +08:00
tcbx99
19b39a5c04
fix(onedrive): overwrite upload big file ( close #5217 in #5218 )
...
See https://learn.microsoft.com/zh-cn/onedrive/developer/rest-api/api/driveitem_createuploadsession
2023-09-14 13:38:07 +08:00
Andy Hsu
28e2731594
fix: clear cache recursively on deleting the folder ( close #5209 )
2023-09-13 16:06:17 +08:00
Andy Hsu
b1a279cbcc
feat(139): implement MoveResult interface ( close #5130 )
2023-09-13 15:56:13 +08:00
Andy Hsu
352a6a741a
feat(webdav): support copy directly without task ( close #5206 )
2023-09-13 15:45:57 +08:00
renovate[bot]
109015567a
fix(deps): update module golang.org/x/oauth2 to v0.12.0 ( #5058 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 12:52:48 +08:00
Andy Hsu
9e0fa77ca2
feat: add 123 link driver ( close #4924 )
2023-09-10 16:50:10 +08:00
Andy Hsu
335b11c698
chore: implement the driver interface with obj return [skip ci]
2023-09-08 15:25:49 +08:00
Andy Hsu
8e433355e6
fix(terabox): missing JsToken field on request ( close #5189 )
2023-09-08 15:18:56 +08:00
Andy Hsu
3504f017b9
fix(upload): memory leak on form upload as task ( close #5185 )
2023-09-07 15:51:52 +08:00
Andy Hsu
cd2f8077fa
chore: enable all pprof handle on debug
2023-09-07 14:56:50 +08:00
Andy Hsu
d5b68a91d2
fix(webdav): optimize HEAD request ( close #5182 )
2023-09-06 16:32:51 +08:00
Andy Hsu
623c7dcea5
fix(189pc): get real link after redirect
2023-09-06 16:02:28 +08:00
foxxorcat
ecbd6d86cd
fix(lanzou): sub file in share folder need pwd ( #5184 )
2023-09-06 14:48:12 +08:00
foxxorcat
7200344ace
feat: adapt hash feature for some drivers ( #5180 )
...
* feat(pikpak,thunder): adaptation gcid hash
* chore(weiyun): add note
* feat(baidu_netdisk): adaptation rapid
* feat(baidu_photo): adaptation hash
* feat(189pc): adaptation rapid
* feat(mopan):adaptation ctime
* feat(139):adaptation hash and ctime
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-09-06 14:46:35 +08:00
Sean
b313ac4daa
fix(crypt): fix 139cloud hack ( #5178 )
...
(cherry picked from commit 18bf64af47e58cc69cdd2e598de9c19538a7bf78)
2023-09-06 14:12:01 +08:00
Andy Hsu
f2f312b43a
fix: http response body not close on status >= 400 ( close #5163 )
2023-09-05 15:46:16 +08:00
Andy Hsu
6f6d20e1ba
fix: force_https not take effect on noRoute ( close #5167 )
2023-09-05 13:05:46 +08:00
Andy Hsu
3231c3d930
perf(db): release database before exit
2023-09-05 13:04:27 +08:00
fregie
b604e21c69
feat(webdav): support http chunked request ( close #5161 in #5162 )
...
But we do not recommend not adding the content-length header when putting files
2023-09-05 13:03:29 +08:00
Andy Hsu
3c66db9845
ci: split release actions
2023-09-03 22:57:18 +08:00
Andy Hsu
f6ab1f7f61
perf(ftp): non use SIZE FTP command ( close #5150 )
2023-09-03 18:47:32 +08:00
Sean
8e40465e86
fix(aliyundrive_open): date format on uploading ( #5151 )
...
(cherry picked from commit 88f815979ac91caa8bc425a2ff9a18bbd8a2e736)
2023-09-03 18:12:05 +08:00
Sean
37dffd0fce
feat(crypt): customize filename_encoding ( #5148 )
...
close #5109
close #5080
2023-09-03 18:06:44 +08:00
Sean
e7c0d94b44
fix: form upload when ticked As A Task ( #5145 )
2023-09-03 15:40:40 +08:00
renovate[bot]
8102142007
fix(deps): update github.com/orzogc/fake115uploader digest to 58f9eb7 ( #5133 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 14:50:06 +08:00
renovate[bot]
7c6dec5d47
fix(deps): update module 115driver to v1.0.16 ( close #5117 in #5120 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-01 14:31:47 +08:00
Andy Hsu
dd10c0c5d0
chore(aliyundrive_open): print resp content on refresh token ( close #5129 )
2023-08-31 18:43:25 +08:00
Andy Hsu
34fadecc2c
fix(ftp): dead lock on Read ( close #5128 )
2023-08-31 15:10:47 +08:00
renovate[bot]
cb8867fcc1
fix(deps): update module github.com/google/uuid to v1.3.1 ( #5066 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 19:30:41 +08:00
Kuingsmile
092ed06833
feat(uss): add AntiTheftChainToken field ( #5115 )
...
* feat(uss): add AntiTheftChainToken; fix link func
* feat(uss): optimize _upt generation
2023-08-30 15:16:26 +08:00
Sean
6308f1c35d
fix: updateTime, createTime and HashInfo ( #5111 )
2023-08-29 13:31:24 +08:00
Andy Hsu
ce10c9f120
fix: temp file not close and incorrect WebPutAsTask
2023-08-28 18:18:02 +08:00
Andy Hsu
6c4736fc8f
fix: allow no Last-Modified on upload api
2023-08-28 16:42:03 +08:00
Andy Hsu
b301b791c7
fix(local): set create and modified time for new file ( close #4938 )
2023-08-27 23:05:13 +08:00
Andy Hsu
19d34e2eb8
feat: receive lastModified from upload api
2023-08-27 23:03:09 +08:00
Sean
a3748af772
feat: misc improvements about upload/copy/hash ( #5045 )
...
general: add createTime/updateTime support in webdav and some drivers
general: add hash support in some drivers
general: cross-storage rapid-upload support
general: enhance upload to avoid local temp file if possible
general: replace readseekcloser with File interface to speed upstream operations
feat(aliyun_open): same as above
feat(crypt): add hack for 139cloud
Close #4934
Close #4819
baidu_netdisk needs to improve the upload code to support rapid-upload
2023-08-27 21:14:23 +08:00
jimyag
9b765ef696
chore: remove README.md executable permission ( close #5097 in #5100 )
2023-08-27 14:35:03 +08:00
foxxorcat
8f493cccc4
fix(mopan): parameter error ( #5091 )
2023-08-25 14:10:05 +08:00
Myth
31a033dff1
fix(lanzou): download cannot find data ( #5088 )
2023-08-24 21:56:20 +08:00
renovate[bot]
8c3337b88b
fix(deps): update module golang.org/x/image to v0.11.0 ( #5044 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 15:01:11 +08:00
renovate[bot]
7238243664
fix(deps): update module golang.org/x/crypto to v0.12.0 [skip ci] ( #5043 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 14:43:59 +08:00
renovate[bot]
ba2b15ab24
fix(deps): update module golang.org/x/net to v0.14.0 [skip ci] ( #5051 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 14:43:07 +08:00
renovate[bot]
28dc8822b7
fix(deps): update module github.com/u2takey/ffmpeg-go to v0.5.0 [skip ci] ( #5042 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-20 13:10:01 +08:00
foxxorcat
358c5055e9
fix(lanzou): download not find file sgin ( close #5046 in #5048 )
2023-08-20 13:08:57 +08:00
renovate[bot]
b6cd40e6d3
chore(deps): update actions-cool/issues-helper action to v3.5.2 [skip ci] ( #5033 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 14:20:55 +08:00
renovate[bot]
7d96d8070d
fix(deps): update github.com/winfsp/cgofuse digest to f87f5db [skip ci] ( #4908 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 14:19:30 +08:00
renovate[bot]
d482fb5f26
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.327 [skip ci] ( #4395 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 14:18:08 +08:00
renovate[bot]
60402ce1fc
fix(deps): update module github.com/deckarep/golang-set/v2 to v2.3.1 [skip ci] ( #4925 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 14:15:22 +08:00
Andy Hsu
1e3950c847
fix: copy tasks using multi-thread downloader can't be canceled ( #5028 )
...
#4981 related
2023-08-19 14:06:59 +08:00
renovate[bot]
ed550594da
fix(deps): update golang.org/x/exp digest to d852ddb ( #4910 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-18 19:34:38 +08:00
Andy Hsu
3bbae29f93
feat(cloudreve): add custom user-agent ( close #5020 )
2023-08-17 19:41:21 +08:00
renovate[bot]
3b74f8cd9a
fix(deps): update module github.com/sheltonzhu/115driver to v1.0.15 ( #4926 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 15:33:46 +08:00
Andy Hsu
e9bdb91e01
fix: ignore salt on marshal model.User
2023-08-16 13:31:15 +08:00
itsHenry
1aa024ed6b
feat: support webauthn login ( #4945 )
...
* feat: support webauthn login
* manually merge
* fix: clear user cache after updating authn
* decrease db size of Authn
* change authn type to text
* simplify code structure
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-08-14 22:54:38 +08:00
Andy Hsu
13e8d36e1a
fix(aliyundrive_open): use RawStdEncoding for base64
2023-08-13 20:52:38 +08:00
Andy Hsu
5606c23768
perf(copy): use multi-thread downloader ( close #5000 )
2023-08-13 15:31:49 +08:00
dependabot[bot]
0b675d6c02
chore(deps): bump github.com/libp2p/go-libp2p to 0.27.8 ( #4978 )
...
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.26.3 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases )
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md )
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.26.3...v0.27.8 )
---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-11 22:57:42 +08:00
foxxorcat
c1db3a36ad
feat: upload progress recovery ( #4987 )
...
* feat(189pc):upload progress recovery
* fix:some err
* feat(baidu_netdisk,baidu_photo):upload progress recovery
* feat(mopan):upload progress recovery
* feat(baidu_netdisk):custom upload api
2023-08-11 14:23:30 +08:00
Andy Hsu
c59dbb4f9e
fix(local): files get deleted when copied to other storage ( close #4983 )
2023-08-10 16:42:09 +08:00
foxxorcat
df6b306fce
perf(drivers): fs operations and cache ( #4965 )
...
* perf(baidu_photo):multi-thread upload
* perf(baidu_netdisk):multi-thread upload and cache optimization
* fix:LimitWriter
* fix(weiyun):only one login is allowed
* feat(189pc):multi threaded upload
* feat(baidu_netdisk):multi threaded upload
* feat(baidu_photo):multi threaded upload
* feat(weiyun):multi threaded upload
* perf(aliyundriver_open):optimize upload code and optimize cache
* fix(weiyun):invalid directory ID
* fix(baidu_netdisk):modified time
* fix(baidu_netdisk,baidu_photo):upload slice error
* perf(baidu_netdisk):cancel unnecessary retries
* fix(limitWriter):must return a non-nil error if it returns n < len(p)
* fix(aliyundrive_open):Name and Filename only use one
* perf(mopan):multi-thread upload
2023-08-09 16:13:09 +08:00
Andy Hsu
9d45718e5f
fix: model.Link marshal error ( close #4971 )
...
ignore unsupported filed of `model.Link`
2023-08-09 14:04:31 +08:00
Andy Hsu
b91ed7a78a
fix(aliyundrive_open): retry refresh token if sub not match
2023-08-08 22:08:05 +08:00
Andy Hsu
95386d777b
feat(aliyundrive_open): record token exchange
2023-08-08 20:38:13 +08:00
Andy Hsu
635809c376
feat(cmd): list all storages command ( close #4960 )
2023-08-08 16:15:45 +08:00
Andy Hsu
af6bb2a6aa
docs: ignore network reason for bug report [skip ci]
2023-08-08 14:54:32 +08:00
Andy Hsu
a797494aa3
fix: missed update user's password
2023-08-07 18:51:54 +08:00
Andy Hsu
353dd7f796
ci: mark non-prerelease when upload assets
2023-08-07 16:23:36 +08:00
Andy Hsu
1c00d64952
feat: rehash password with a unique salt for each user
2023-08-07 15:46:19 +08:00
Andy Hsu
ff5cf3f4fa
feat: allow use token to access WebDAV
2023-08-07 14:38:50 +08:00
Andy Hsu
5b6b2f427a
feat(cmd): add show token command
2023-08-07 13:49:23 +08:00
Sean
7877184bee
feat(baidu_netdisk): add retry to most operations ( close #4863 in #4939 )
2023-08-07 13:44:28 +08:00
Andy Hsu
e9cb37122e
chore(cmd): change come output for admin command
2023-08-06 23:02:22 +08:00
Andy Hsu
a425392a2b
feat(cmd): set or random new password for admin
2023-08-06 22:34:02 +08:00
Andy Hsu
75acbcc115
perf: sha256 for user's password ( close #3552 )
2023-08-06 22:09:17 +08:00
Andy Hsu
30415cefbe
perf: delete user cache after cancel 2FA
2023-08-06 20:47:58 +08:00
panici
1d06a0019f
feat(search): paging and scope ( close #4381 in #4930 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-08-06 15:13:23 +08:00
Andy Hsu
3686075a7f
ci: change auto commit user [skip ci]
2023-08-05 16:32:06 +08:00
Andy Hsu
6c1c7e5cc0
fix(wopan): missing familyID on mkdir ( close #4927 )
2023-08-04 22:26:56 +08:00
Andy Hsu
c4f901b201
fix: undeclared identifier kIOMainPortDefault on darwin/arm64
2023-08-04 21:23:58 +08:00
Andy Hsu
4b7acb1389
feat(ci): add multiple ARM targets prebuilt ( close #4243 )
2023-08-04 20:57:56 +08:00
Sean
15b7169df4
perf: multi-thread downloader, Content-Disposition ( #4921 )
...
general: enhance multi-thread downloader with cancelable context, immediately stop all stream processes when canceled;
feat(crypt): improve stream closing;
general: fix the bug of downloading files becomes previewing stream on modern browsers;
Co-authored-by: Sean He <866155+seanhe26@users.noreply.github.com >
Co-authored-by: Andy Hsu <i@nn.ci >
2023-08-04 15:29:54 +08:00
Andy Hsu
861948bcf3
revert: "ci: auto gofmt for pull request" [skip ci]
...
This reverts commit 8b353da0d2 .
2023-08-04 13:25:23 +08:00
Bnq Dzj
e5ffd39cf2
feat: add 123Pan Share driver ( close #4853 in #4898 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-08-03 15:01:43 +08:00
Andy Hsu
8b353da0d2
ci: auto gofmt for pull request [skip ci]
2023-08-03 14:49:22 +08:00
foxxorcat
49bde82426
perf(189pc): empty file upload and cache optimization ( #4913 )
...
- login captcha error
- cache optimization
- upload empty file
2023-08-03 14:08:40 +08:00
foxxorcat
3e285aaec4
feat: add weiyun support ( close #4802 in #4883 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-08-02 21:39:59 +08:00
Andy Hsu
355fc576b1
issue: add config to bug report template [skip ci]
2023-08-02 21:05:50 +08:00
Andy Hsu
a69d72aa20
feat(aliyundrive_open): support resource drive ( close #4889 )
2023-08-02 15:50:01 +08:00
renovate[bot]
e5d123c5d3
fix(deps): update module golang.org/x/image to v0.10.0 [skip ci] ( #4902 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 15:38:10 +08:00
renovate[bot]
220eb33f88
fix(deps): update module golang.org/x/net to v0.13.0 [skip ci] ( #4903 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 15:16:39 +08:00
Andy Hsu
5238850036
docs: sync README [skip ci]
2023-08-02 15:15:48 +08:00
renovate[bot]
81ac963567
fix(deps): update module github.com/ipfs/go-ipfs-api to v0.6.1 [skip ci] ( #4882 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 15:01:25 +08:00
Sean
3c21a9a520
feat: Crypt driver, improve http/webdav handling ( #4884 )
...
this PR has several enhancements, fixes, and features:
- [x] Crypt: a transparent encryption driver. Anyone can easily, and safely store encrypted data on the remote storage provider. Consider your data is safely stored in the safe, and the storage provider can only see the safe, but not your data.
- [x] Optional: compatible with [Rclone Crypt](https://rclone.org/crypt/ ). More ways to manipulate the encrypted data.
- [x] directory and filename encryption
- [x] server-side encryption mode (server encrypts & decrypts all data, all data flows thru the server)
- [x] obfuscate sensitive information internally
- [x] introduced a server memory-cached multi-thread downloader.
- [x] Driver: **Quark** enabled this feature, faster load in any single thread scenario. e.g. media player directly playing from the link, now it's faster.
- [x] general improvement on HTTP/WebDAV stream processing & header handling & response handling
- [x] Driver: **Mega** driver support ranged http header
- [x] Driver: **Quark** fix bug of not closing HTTP request to Quark server while user end has closed connection to alist
## Crypt, a transparent Encrypt/Decrypt Driver. (Rclone Crypt compatible)
e.g.
Crypt mount path -> /vault
Crypt remote path -> /ali/encrypted
Aliyun mount paht -> /ali
when the user uploads a.jpg to /vault, the data will be encrypted and saved to /ali/encrypted/xxxxx. And when the user wants to access a.jpg, it's automatically decrypted, and the user can do anything with it.
Since it's Rclone Crypt compatible, users can download /ali/encrypted/xxxxx and decrypt it with rclone crypt tool. Or the user can mount this folder using rclone, then mount the decrypted folder in Linux...
NB. Some breaking changes is made to make it follow global standard, e.g. processing the HTTP header properly.
close #4679
close #4827
Co-authored-by: Sean He <866155+seanhe26@users.noreply.github.com >
Co-authored-by: Andy Hsu <i@nn.ci >
2023-08-02 14:40:36 +08:00
Andy Hsu
1dc1dd1f07
feat(aliyundrive_open): support livp format file download ( close #4890 )
2023-08-01 21:50:25 +08:00
foxxorcat
c9ea9bce81
feat(lanzou): support login with account ( close #4880 in #4885 )
2023-08-01 19:44:57 +08:00
foxxorcat
9f08353d31
feat(baidu_photo): optional delete album origin file ( close #4872 in #4875 )
2023-07-31 18:29:45 +08:00
Andy Hsu
ce0c3626c2
ci: remove working label on issue closed
2023-07-31 16:54:00 +08:00
foxxorcat
06f46206db
fix(baidu_photo): album download ( close #4603 in #4871 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-07-31 16:27:16 +08:00
Andy Hsu
579f0c06af
ci: delete file after decompression
...
fix: no space left on device
2023-07-30 18:25:52 +08:00
Andy Hsu
b12d92acc9
perf(baidu_netdisk): optimize memory allocate
2023-07-29 17:12:43 +08:00
Andy Hsu
e700ce15e5
fix: missed progress in upload task
2023-07-29 17:09:26 +08:00
renovate[bot]
7dbef7d559
chore(deps): update actions-cool/issues-helper action to v3.5.1 ( #4855 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-28 16:16:42 +08:00
Andy Hsu
7e9cdd8b07
fix(aliyundrive_open): fail limit on concurrently call ( #4851 )
2023-07-28 15:55:39 +08:00
meozky
cee6bc6b5d
fix(terabox): slice out of range ( close #4858 in #4860 )
2023-07-28 15:52:20 +08:00
Andy Hsu
cfd23c05b4
fix(139): upload empty file ( close #4711 )
2023-07-27 19:26:22 +08:00
Andy Hsu
0c1acd72ca
fix: link cache not deleted after overwriting file ( close #4852 )
2023-07-27 19:07:53 +08:00
Andy Hsu
e2ca06dcca
docs: update go version
2023-07-27 18:32:33 +08:00
Andy Hsu
0828fd787d
chore: update placeholder of version in bug_report issue template
2023-07-27 18:31:16 +08:00
Andy Hsu
2e23ea68d4
fix(aliyundrive_open): increase limit interval ( close #4851 )
2023-07-27 18:26:11 +08:00
Bnq Dzj
4afa822bec
fix(123): Use APP-side API ( close #4834 in #4856 )
2023-07-27 15:51:59 +08:00
Andy Hsu
f2ca9b40db
fix(qbittorrent): incorrect field type ( close #4843 )
2023-07-25 13:31:41 +08:00
Andy Hsu
4c2535cb22
fix(115): user-agent lost on upload ( close #4831 )
2023-07-23 15:18:33 +08:00
Andy Hsu
d4ea8787c9
fix(123): upload file size that less than 16 MB ( close #4816 )
2023-07-21 14:35:18 +08:00
Rui Tang
a4de04528a
fix(123): auth-key verification ( close #4811 in #4814 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-07-21 14:33:45 +08:00
renovate[bot]
f60aae7499
chore(deps): update actions-cool/issues-helper action to v3.5.0 ( #4801 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 13:55:16 +08:00
WintBit
de8f9e9eee
feat: SSO auto register ( close #4692 in #4795 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-07-20 16:30:30 +08:00
Ikko Eltociear Ashimine
cace9db12f
docs: add Japanese README [skip ci] ( #4798 )
2023-07-19 14:05:41 +08:00
Andy Hsu
ec2fb82836
chore: update special sponsors [skip ci]
2023-07-18 15:26:03 +08:00
Andy Hsu
afcfbf02ea
chore: go mod tidy
2023-07-16 15:12:38 +08:00
renovate[bot]
cad04e07dd
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.9 [skip ci] ( #4750 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 15:06:49 +08:00
renovate[bot]
30f732138c
fix(deps): update module github.com/sirupsen/logrus to v1.9.3 [skip ci] ( #4668 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 15:06:16 +08:00
renovate[bot]
04034bd03b
fix(deps): update module github.com/jlaffaye/ftp to v0.2.0 [skip ci] ( #4455 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 15:05:46 +08:00
Andy Hsu
6ec9a8d4c7
fix(aliyundrive_open): the temp file is not delete ( close #4777 )
2023-07-16 15:01:22 +08:00
Andy Hsu
3f7882b467
feat(aliyundrive_open): rapid upload ( close #4766 )
2023-07-15 19:33:46 +08:00
Andy Hsu
a4511c1963
refactor: change hash function
2023-07-15 16:29:44 +08:00
Andy Hsu
9d1f122717
fix(local): thumbnail rotated if exist orientation tag ( close #4749 )
2023-07-15 14:31:03 +08:00
Andy Hsu
5dd73d80d8
fix(123): remove stream upload method ( close #4772 )
2023-07-14 19:12:18 +08:00
Andy Hsu
fce872bc1b
feat(123): thumbnail support ( #3953 )
2023-07-14 14:43:40 +08:00
Andy Hsu
df6c4c80c2
fix(123): update app-version ( close #4758 )
2023-07-14 14:17:29 +08:00
Andy Hsu
d2ff040cf8
feat(s3): add SessionToken field ( close #4761 )
2023-07-13 15:58:19 +08:00
foxxorcat
a31af209cc
fix(pikpak): hash calculation and fast upload judgment ( #4745 fix #1081 )
2023-07-11 22:19:21 +08:00
Andy Hsu
3f8b3da52b
feat(server): add HEAD method support ( close #4740 )
2023-07-11 13:47:49 +08:00
Andy Hsu
6887f14ec6
feat(pikpak): allow disable media link ( close #4735 )
2023-07-11 13:40:58 +08:00
Andy Hsu
3e0de5eaac
fix(deps): adapt module github.com/caarlos0/env/v9 ( #4728 )
2023-07-10 22:06:50 +08:00
Andy Hsu
61101a60f4
fix(s3): unable to copy empty folder ( close #4620 )
2023-07-10 14:55:19 +08:00
foxxorcat
3529023bf9
fix(mopan): size field type( close #4734 in #4736 )
2023-07-10 14:25:27 +08:00
renovate[bot]
d1d1a089a4
fix(deps): update module github.com/caarlos0/env/v7 to v9 ( #4728 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 18:15:04 +08:00
Andy Hsu
fa66358b1e
fix(sftp): read target obj of symlink file ( close #4713 )
2023-07-09 14:42:57 +08:00
Andy Hsu
2b533e4b91
feat: allow customize perm of unix file ( close #4709 )
2023-07-08 20:17:05 +08:00
renovate[bot]
d3530a8d80
fix(deps): update module golang.org/x/image to v0.9.0 ( #4725 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-08 19:21:15 +08:00
renovate[bot]
6052eb3512
fix(deps): update module golang.org/x/oauth2 to v0.10.0 ( #4522 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-08 15:44:42 +08:00
Andy Hsu
d17f7f7cad
fix(123): judge status on get redirect_url ( close #4718 )
2023-07-07 19:55:37 +08:00
Andy Hsu
8bdc67ec3d
fix(webdav): return 404 if error happened on handlePropfind
2023-07-05 13:52:21 +08:00
Andy Hsu
4fabc27366
fix(aliyundrive_open): panic if driver not init
2023-07-05 13:51:46 +08:00
Andy Hsu
e4c7b0f17c
fix: https port is not effective
2023-07-05 13:02:52 +08:00
Andy Hsu
5e8bfb017e
fix(123): add Referer to request ( close #4631 )
2023-07-04 18:36:46 +08:00
Andy Hsu
7d20a01dba
feat!: support listen to the unix ( close #4671 )
...
Starting from this commit, the HTTP server related config all move to the scheme
2023-07-04 17:56:02 +08:00
Andy Hsu
59dbf4496f
feat(offline_download): try to init client if not ready ( close #4674 )
2023-07-03 22:57:42 +08:00
vickunwu
12f40608e6
fix(oidc): use TOTP as state verification to replace the static 'state' parameter ( #4665 )
2023-07-03 22:41:08 +08:00
Andy Hsu
89832c296f
fix: judge can proxy with ext ( close #4688 )
2023-07-03 20:41:37 +08:00
foxxorcat
f09bb88846
fix(thunder): upload issues ( close #4663 in #4667 )
2023-06-29 13:21:30 +08:00
foxxorcat
c518f59528
feat: add MoPan driver ( close #4325 in #4659 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-06-28 14:53:43 +08:00
walloo
e9c74f9959
fix: regexp rename error ( close #4644 in #4653 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-06-26 15:15:57 +08:00
wenmig
21b8e7f6e5
fix(aliyundrive_share): add limit rate and lift rate limit restrictions ( #4587 )
2023-06-26 14:49:21 +08:00
Andy Hsu
2ae9cd8634
fix(dropbox): failed get link in #4639
...
close https://github.com/alist-org/alist/commit/cfee536b96f38e5ba3f3575fab4e89f6c0e1bc5b#commitcomment-119404554
2023-06-25 17:07:31 +08:00
wenmig
cfee536b96
feat: add Dropbox driver ( #4639 close #4590 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-06-23 17:36:40 +08:00
william
1c8fe3b24c
fix(aliyundrive_open): adaptive part size adjustment ( #4609 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-06-23 14:25:30 +08:00
Andy Hsu
84e23c397d
fix(baidu_netdisk): rollback #3652 ( close #4628 )
2023-06-21 18:37:25 +08:00
Andy Hsu
f7baec2e65
feat: add WoPan driver ( close #4541 )
2023-06-17 20:20:00 +08:00
wenmig
378bab32f1
chore(aliyundrive_share): increase the limit of the list api ( #4588 )
2023-06-17 20:10:34 +08:00
Andy Hsu
6cd8151cad
fix(aliyundrive_open): change default oauth_token_url
2023-06-16 15:03:27 +08:00
Andy Hsu
541449e10f
docs: add special sponsor [skip ci]
2023-06-14 05:42:21 +08:00
Andy Hsu
ca5a53fc24
fix(aliyundrive_open): openFile/list rate limit
2023-06-11 18:18:09 +08:00
BoYanZh
f646d2a699
feat!: listen to both http & https ( #4536 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-06-11 18:17:37 +08:00
Andy Hsu
363e036bf0
chore: fix typo [skip ci]
2023-06-10 22:25:35 +08:00
Andy Hsu
e23f00f349
fix(139): avoid panic due to Authorization for emptiness
2023-06-10 00:12:04 +08:00
Andy Hsu
9600267bda
ci: add linux-musl-amd64/arm64 to dev build
2023-06-09 23:43:52 +08:00
Andy Hsu
a66b0e0151
feat(139): auto extract account from Authorization
2023-06-09 23:41:41 +08:00
Andy Hsu
3bfa00d5d2
fix(189pc): add REQID header
2023-06-09 23:33:12 +08:00
Andy Hsu
6cbd2532cc
fix(139): modify the authentication mode
2023-06-09 23:02:02 +08:00
hunshcn
47976af0d3
feat: set ProxyFromEnvironment for default http client ( #4546 )
2023-06-09 22:08:54 +08:00
Andy Hsu
4dca52be85
fix(s3): optional add filename to disposition ( close #4538 )
2023-06-06 22:47:27 +08:00
Andy Hsu
62bb09300d
chore: fix typo [skip ci]
2023-06-06 19:34:10 +08:00
Andy Hsu
f9e067abec
feat: support delayed start ( #4532 )
2023-06-05 16:00:31 +08:00
Andy Hsu
1e62666406
feat(baidu_netdisk): allow custom crack ua
2023-06-04 15:57:41 +08:00
Andy Hsu
0e0cdf15ef
chore: change daysUntilClose [skip ci]
2023-06-03 21:15:52 +08:00
Andy Hsu
b124fdc092
perf(baidu): avoid refreshing the token on every startup
2023-06-02 18:31:42 +08:00
renovate[bot]
5141b3c165
fix(deps): update module github.com/gin-gonic/gin to v1.9.1 [security] [skip ci] ( #4521 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-02 18:31:14 +08:00
Mg Pig
881d6e271e
feat: add OIDC single sign-on ( #4496 )
...
close #3914
close #4315
2023-06-02 18:22:07 +08:00
Andy Hsu
bd2418c438
feat(deps): update alpine to 3.18
2023-05-28 19:30:42 +08:00
KAAAsS
8421c72c5c
fix(seafile): driver panic while downloading or uploading file ( #4491 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-28 16:45:46 +08:00
KAAAsS
a80e21997c
feat(cloudreve): auto remove trailing slash in address ( #4492 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-28 16:18:09 +08:00
Andy Hsu
4369cbbac3
fix(alist_v3): missed Content-Length on upload ( close #4457 )
2023-05-27 20:23:36 +08:00
zqxiaojin
89f76d7899
feat: add UC driver ( close #1127 in #4459 )
...
Co-authored-by: lj98568 <lj98568@alibaba-inc.com >
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-27 19:36:14 +08:00
foxxorcat
ef68f84787
fix(baidu_photo): legal album title check ( close #4479 in #4487 )
2023-05-27 17:07:57 +08:00
foxxorcat
2c1f70fbe9
fix(189pc): large file upload error ( close #4417 in #4438 )
2023-05-27 14:28:58 +08:00
Andy Hsu
b2f5757f8d
fix(copy): copy from driver that return writer ( close #4291 )
2023-05-26 21:57:43 +08:00
plzzzzg
6b97b4eb20
feat(s3): set content type from stream when uploading ( #4460 )
...
Co-authored-by: guopeilun <guopl@flatincbr.com >
2023-05-24 18:02:49 +08:00
renovate[bot]
645c10c11f
fix(deps): update module github.com/sirupsen/logrus to v1.9.2 ( #4402 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 22:15:32 +08:00
Noah Hsu
571bcf07b0
fix(alias): add api prefix for proxy url ( close #4392 )
2023-05-19 00:12:57 +08:00
Noah Hsu
63de65be45
fix: increase timeout for http_client ( close #4409 )
2023-05-18 23:32:05 +08:00
XYUU
a3446720a2
fix: make TlsInsecureSkipVerify enable for all request ( #4386 )
2023-05-14 17:05:47 +08:00
Andy Hsu
3c4c2ad4e0
feat(teambition): support s3 upload method ( close #4365 )
2023-05-13 23:06:25 +08:00
Andy Hsu
077a525961
fix(189): adapt new login method ( close #4378 )
2023-05-13 17:28:40 +08:00
Andy Hsu
5be79eb26e
feat: add robots.txt setting ( close #4303 )
2023-05-12 16:53:15 +08:00
renovate[bot]
ddc19ab699
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.8 [skip ci] ( #4322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 16:34:25 +08:00
renovate[bot]
ddfca5a29b
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.262 ( #3285 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 16:25:30 +08:00
william
c19166be1c
feat(google_drive): support sa ( close #3132 in #4360 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-12 14:47:50 +08:00
Andy Hsu
daad61443c
feat(local): support thumbnail cache ( close #4216 )
2023-05-11 19:57:24 +08:00
Andy Hsu
4b0c01158d
fix: panic on nil pointer
2023-05-11 19:44:44 +08:00
Andy Hsu
f97f1d532e
fix(webdav): don't retry for put if body isn't seeker ( close #4149 close #4238 )
2023-05-11 18:57:35 +08:00
Andy Hsu
e15755fef0
fix(189): enable TlsInsecureSkipVerify ( close #4355 )
2023-05-11 18:48:31 +08:00
安稳
ea88998325
docs: add help message for mount path ( #4364 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-11 18:40:56 +08:00
LMXiao
74d971aa8a
docs: fix git address [skip ci] ( #4366 )
2023-05-11 15:05:33 +08:00
安稳
d41d868a8d
fix(baidu_photo): change folder name length limit ( close #4351 in #4353 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-09 20:44:57 +08:00
renovate[bot]
555cc26cbf
fix(deps): update module golang.org/x/crypto to v0.9.0 ( #4350 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 20:28:52 +08:00
renovate[bot]
ab4215080b
fix(deps): update module golang.org/x/net to v0.10.0 ( #4347 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 16:31:17 +08:00
Xi Wuuuuuuuuuuuu~~~~~~~~~~~~~~~
9502f5acd7
fix(cloudreve): skip init login when using cookie ( #4341 )
2023-05-08 19:25:36 +08:00
Xi Wuuuuuuuuuuuu~~~~~~~~~~~~~~~
b03879403f
feat(cloudreve): support use cookie to login ( close #4324 in #4339 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-08 15:19:51 +08:00
Andy Hsu
ee4ac81677
fix(webdav): can't rename on infini-cloud ( close #4333 )
2023-05-08 14:21:12 +08:00
Andy Hsu
b69fc8c306
ci: increase daysUntilClose to avoid use stale-bot [skip ci]
2023-05-07 21:07:31 +08:00
陈佳
ee6c31332d
feat(drivers): ipfs api ( #4265 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-05 17:42:22 +08:00
Andy Hsu
9fa16bd5fc
ci: use github helper to close stale issue
2023-05-05 16:29:59 +08:00
Andy Hsu
c77ed5fcb0
feat(aliyundrive_open): limit rate for List and Link ( close #4290 )
2023-05-02 22:06:03 +08:00
Andy Hsu
822be17fb9
feat(aliyundrive_open): add expiration for link ( close #4061 )
2023-05-02 16:12:40 +08:00
Andy Hsu
7e3b13ea2d
fix: fs/list interface conversion from copy alias ( close #4279 )
2023-05-01 15:45:45 +08:00
hsluoyz
f8fb48fb32
fix: cannot connect to Casdoor SSO ( close #4266 in #4274 )
2023-05-01 15:32:34 +08:00
Noah Hsu
4bf46268da
feat(alias): support thumbnail ( close #4256 )
2023-04-28 00:17:15 +08:00
Noah Hsu
b7ea73b3c2
fix(aliyundrive_open): can't refresh token if access_token is empty ( #4255 )
2023-04-28 00:01:47 +08:00
Andy Hsu
9fbc54314d
chore(aliyundrive_open): change base url
2023-04-27 16:38:40 +08:00
Andy Hsu
cf8ab29a17
feat: optional allow be mounted ( close #4218 )
2023-04-27 16:33:01 +08:00
Andy Hsu
51cadd2d49
fix: ignore handle in json ( close #4251 close #4252 )
2023-04-27 15:39:32 +08:00
longxu0509
2bae8e129e
feat: add Casdoor single sign-on ( #4222 )
2023-04-26 16:01:40 +08:00
Andy Hsu
9d55ad3af6
fix(123): get download url ( close #4244 )
2023-04-26 15:06:24 +08:00
Andy Hsu
36cd504783
fix(alist_v3): missed meta_password update
...
fix: https://github.com/alist-org/alist/commit/adb0739dfed02a6c421bb0209e6856e73330bd6c#commitcomment-110328033
2023-04-24 20:56:46 +08:00
foxxorcat
49f13b9b90
fix(baidu_photo): upload file has web prefix ( close #4233 in #4235 )
2023-04-24 19:13:33 +08:00
Andy Hsu
adb0739dfe
feat!(alist_v3): support username & password login ( close #4226 )
...
Breaking changes:
- rename access_token to token
- rename old password to meta_password
2023-04-23 17:48:26 +08:00
Brian
340cb940e3
fix(qbittorrent): set autoTMM ( #4217 )
2023-04-22 13:33:54 +08:00
Andy Hsu
8711f2a1c5
feat(quark): shard request file ( close #4175 )
2023-04-17 15:33:38 +08:00
Andy Hsu
7f35aab071
revert(quark): remove preset range header
2023-04-17 14:39:21 +08:00
Andy Hsu
ecd167d2f9
feat(quark): add preset range header ( close #4166 )
2023-04-16 19:26:03 +08:00
varg1714
220fd30830
fix: the recursive subdirectory moving bug ( #4171 )
2023-04-16 16:08:12 +08:00
Andy Hsu
5cba10446e
fix(123): adapt new upload method ( close #4141 )
2023-04-14 15:48:39 +08:00
Andy Hsu
a9bdb15205
ci: fix golang version in auto_lang [skip ci]
2023-04-14 13:49:13 +08:00
Andy Hsu
c5f6a90f54
fix(quark): download file size limit ( close #4140 )
2023-04-14 13:47:05 +08:00
varg1714
46f9aefb04
feat: empty folder clear API [ckip ci] ( #4132 )
...
* 增加清理空文件夹API
* 修复嵌套文件夹删除Bug
Author: varg247 <varg247@gmail.com >
---------
Co-authored-by: varg247 <varg247@qq.com >
2023-04-13 15:39:21 +08:00
Andy Hsu
fdcad9c154
fix(123): incorrect endpoint ( close #4046 )
2023-04-12 23:04:12 +08:00
Andy Hsu
027025361a
ci: fixed version of alpine
2023-04-12 16:01:49 +08:00
Andy Hsu
f1245153b9
chore(deps): upgrade to go@1.20
2023-04-12 15:42:27 +08:00
Andy Hsu
570b8be022
fix(onedrive): error check in upBig
2023-04-11 22:52:42 +08:00
Andy Hsu
86a773674a
feat(task): print stack trace if panic
2023-04-11 15:16:57 +08:00
Andy Hsu
75fd0ee185
feat(s3): optional remove bucket name from path ( close #4069 )
2023-04-09 19:25:52 +08:00
Andy Hsu
cc43238bd1
fix(alias): disable log completely ( #4054 )
2023-04-09 15:46:26 +08:00
Andy Hsu
c0a6beecea
fix(alias): panic on nil pointer ( close #4093 )
2023-04-09 14:06:04 +08:00
renovate[bot]
c77eebb035
fix(deps): update module golang.org/x/image to v0.7.0 ( #4065 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 21:51:51 +08:00
renovate[bot]
b1efb86b28
fix(deps): update module golang.org/x/net to v0.9.0 [skip ci] ( #4066 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 21:20:19 +08:00
renovate[bot]
0707449c8f
fix(deps): update module golang.org/x/crypto to v0.8.0 [skip ci] ( #4076 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 21:18:39 +08:00
Andy Hsu
0f8a84f67e
perf(alias): disabled log on fs call ( close #4054 )
2023-04-07 00:02:07 +08:00
renovate[bot]
a475783b00
fix(deps): update module github.com/spf13/cobra to v1.7.0 [skip ci] ( #4041 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 21:41:41 +08:00
Andy Hsu
67413015e8
ci: use non-upx prebuilt for windows by default
2023-04-06 21:38:57 +08:00
renovate[bot]
3a311a47af
fix(deps): update module github.com/upyun/go-sdk/v3 to v3.0.4 ( #4039 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 17:10:31 +08:00
Andy Hsu
9ccd802126
fix(123): api prefix changed ( close #4038 )
2023-04-04 16:39:56 +08:00
Andy Hsu
0acba7cd22
perf(123): reduce login count
2023-04-03 11:24:29 +08:00
Night Space
3cdb8e7a81
fix(trainbit): incorrect filename display ( #4027 )
2023-04-02 21:13:20 +08:00
Andy Hsu
d3efee2ea1
fix(s3): increase PartSize if filesize > 50000MB ( close #4017 )
2023-04-02 16:09:27 +08:00
NewbieOrange
4ec274e748
fix(aliyundrive_open): refresh upload url if expired ( #3999 close #3823 )
...
* fix(aliyundrive_open): refresh upload url for large files
* fix(aliyundrive_open): retry upload on url expiry
* fix(aliyundrive_open): ignore 409 error
* feat(aliyundrive): cleanup upload retry logic
* feat(util): add multireadable io utility
* feat(aliyundrive_open): make upload fully stream
* feat(aliyundrive_open): refresh upload url every 20 puts
* fix(aliyundrive_open): part info panic
* chore: change refresh upload url strategy
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-04-01 14:54:29 +08:00
Andy Hsu
3b07c72f88
fix(proxy): ignore Referer if got redirect ( close #3996 )
2023-03-31 20:29:55 +08:00
Wuxuan
0c5820a98f
docs(aliyundrive_open): revised the sentence that may cause ambiguity ( #3989 )
2023-03-29 20:26:21 +08:00
Andy Hsu
86beadc0ed
fix: missed sign with enable sign_all ( close #3957 )
2023-03-26 16:19:01 +08:00
Andy Hsu
be62d64dba
chore: cancel 2fa succeed tips
2023-03-25 18:36:13 +08:00
BaiYi
112363031a
feat: add fine-grained control for link signing ( #3924 )
...
* Determine whether the URL requires Sign
* Add File and Mem based KV
NOT TESTED: TokenKV Function
* Change Token KV func to common func.
Add File based KV func
* Remove KV, Remove Token
I found that the original Sign function is enough to complete the link signature, and only need to add simple configuration items to meet the requirements.
* Add IsStorageSigned func to judge if Signing is enabled in the storage settings.
It should be working now.
* Add a SIGN button to the management panel.
* Add enable_sign to the basic storage struct.
Can enable sign for every driver now.
Bug: When sign enabled, in download page, Copy link doesn't contain a sign.
(Not done yet)
* Fix a bug from commit 8f6c25f.
Response of fsread function does not contain sign.
* Optimize code and follow advices.
- Add back public/dist/README.md
- Enable sign when DownProxyUrl is enabled
- Merge needSign() to isEncrypt() in fsread.go
* simplify code
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-03-24 22:44:33 +08:00
Andy Hsu
48dc3552a6
fix(url_tree): incorrect tree structure
2023-03-24 20:34:03 +08:00
Brian
663814c9ef
fix(url_tree): fix test url [skip ci] ( #3940 )
2023-03-24 20:26:00 +08:00
Andy Hsu
bd892e6a63
feat(drivers): new driver UrlTree ( close #3268 in #3933 )
...
* feat(drivers): new driver `urls` (close #3268 )
* chore: rename
* support customize basic info or get from url
* dfs tree to calculate folder size
* go mod tidy
* add help message
2023-03-24 15:13:54 +08:00
sheltonzhu
4fd2c09845
fix(115): download issue due to ua ( close #3931 in #3932 )
2023-03-23 22:57:44 +08:00
XZB-1248
0eab31bdf5
fix(local): filename with whitespace issue ( #3928 )
...
* fix(local): filename whitespace problem
* fix(deps): remove deprecated package io/ioutil
---------
Co-authored-by: XZB <i@1248.ink >
2023-03-23 15:18:37 +08:00
zhengxiexie
c6af22b97e
feat: add thumbnail to fs/get api ( #3927 )
2023-03-23 13:59:39 +08:00
安静书生
b2a5110672
feat(onedrive): support application authorization method ( #3906 )
2023-03-23 13:26:03 +08:00
Andy Hsu
c628992ea6
ci: add log required on question label [skip ci]
2023-03-22 14:03:04 +08:00
Brian
c65d868e09
fix(baidu_share): large file download ( #3887 close #3876 )
...
* fix(baidushare): large file download
* refactor: optimize client
2023-03-20 17:46:15 +08:00
Andy Hsu
aeb48b2ecc
perf(aliyundrive_open): don't refresh token on init if token valid
2023-03-20 15:00:02 +08:00
Andy Hsu
cefec1a663
style: sort imports
2023-03-20 14:59:01 +08:00
panici
e7ad830aa8
fix(cloudreve): captcha code ocr ( #3889 close #3662 )
2023-03-19 20:30:39 +08:00
renovate[bot]
b27eed265a
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.7 [skip ci] ( #3874 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 20:26:48 +08:00
Night Space
3abe26473c
fix(trainbit): decode html code ( #3883 )
2023-03-19 15:25:06 +08:00
Night Space
023107226c
fix(trainbit): remove unnecessary operation ( #3881 )
2023-03-18 13:52:36 +08:00
Andy Hsu
8b109cfe40
fix(smb): byte alignment ( close #3868 )
2023-03-17 16:32:34 +08:00
Andy Hsu
b48e97d406
chore: fix release name [skip ci]
2023-03-16 22:47:01 +08:00
renovate[bot]
6c91cfeb90
chore(deps): update actions/setup-go action to v4 ( #3858 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 18:28:51 +08:00
renovate[bot]
bfd1f25972
fix(deps): update module github.com/deckarep/golang-set/v2 to v2.3.0 [skip ci] ( #3852 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 15:58:02 +08:00
Brian
8c0defce09
feat(task): add clear succeeded and retry ( #3856 close #3776 )
2023-03-16 15:56:27 +08:00
Andy Hsu
a1e88cfa05
fix(teambition): empty token for upload ( close #3854 )
2023-03-15 14:56:41 +08:00
Andy Hsu
443f5ffbcc
feat(alias): auto flatten if only one root
2023-03-14 20:25:52 +08:00
Andy Hsu
b8bc94306d
fix(alias): check obj exist for every storage (fix d9795ff)
2023-03-14 20:11:25 +08:00
Andy Hsu
d9795ff22f
feat(alias): support proxy and direct together
2023-03-14 13:46:27 +08:00
XZB-1248
c4108007cd
fix: spaces in filename will be replaced with plus sign ( #3841 )
...
Co-authored-by: XZB <i@1248.ink >
2023-03-14 12:27:42 +08:00
Brian
f3db23a41e
feat(qbittorrent): add offline download seed time ( #3842 close #3588 )
2023-03-14 12:13:23 +08:00
sheltonzhu
4741a75c92
feat(115): update upload api to v4.0 add pagesize option ( #3840 close #3753 )
2023-03-13 20:02:52 +08:00
Andy Hsu
301756ba03
feat(drivers): alias a new storage with multi path ( close #3248 )
2023-03-13 15:35:37 +08:00
Night Space
3b2703a5e5
feat(drivers): add the support for Trainbit ( #3813 )
...
* feat: add the support for Trainbit
read only
* feat: add the support for Trainbit
modify the structure of code
allow to create folder, move, rename and remove
* feat: add the support for Trainbit
allow to upload file
* feat: add the support for Trainbit
get token from page
* feat: add the support for Trainbit
display progress of updating
* feat: add the support for Trainbit
fix bug of time zone
* feat: add the support for Trainbit
fix the bug of filename
2023-03-12 22:18:55 +08:00
Brian
2a601f06cb
feat(drivers): add BaiduYun share link support ( #3801 )
...
新增百度网盘分享链接挂载
2023-03-12 14:00:11 +08:00
NewbieOrange
adc3a56552
feat(aliyundrive): make checksum cancellable ( #3814 )
2023-03-12 13:59:40 +08:00
hcrgm
4d9a29bddd
feat(ftp): support seek/range request ( #3811 )
2023-03-11 21:02:47 +08:00
hcrgm
666e02f0c3
fix(storage): explicitly set storages' status to disabled ( #3810 )
2023-03-11 20:45:35 +08:00
Ke Xu
6aaec19c1c
feat: allow override startup command for Docker image ( #3800 )
...
This is to enable the use case where the stock Docker image is used with
different flags. E.g. `docker run xhofe/alist:latest ./alist server --data=mydata`
This was the behavior until PR#2818 changed it. This would make the image more usable.
2023-03-11 15:33:59 +08:00
varg1714
1091e1b740
feat: file aggregation and regular rename api ( #3788 )
...
* 增加文件聚合接口,将给定文件夹下所有文件移动到目标文件夹。
* 增加文件正则重命名接口。
---------
Co-authored-by: varg247 <varg247@qq.com >
2023-03-10 19:01:49 +08:00
fregie
d06c605421
fix: smb drive lastConnTime data race ( #3787 close #3782 )
2023-03-10 15:59:53 +08:00
Andy Hsu
43de823058
fix: path IsApply check ( close #3784 )
2023-03-09 21:03:56 +08:00
Wuxuan
02d0aef611
feat(aliyundrive_open): add internal upload (aliyun ECS for Beijing area only) ( #3775 )
2023-03-09 20:48:30 +08:00
Andy Hsu
5596661ce8
feat(aliyundrive_open): optional delete file directly ( close #3769 )
2023-03-08 19:19:13 +08:00
Andy Hsu
2379cb8d67
style: go mod tidy
2023-03-08 19:08:11 +08:00
Andy Hsu
8c0ebe0841
revert: "fix(deps): update module gorm.io/gorm to v1.24.6 ( #3684 )" ( close #3746 )
...
This reverts commit c595fd7f94 .
2023-03-08 19:07:04 +08:00
renovate[bot]
fd868bac84
fix(deps): update module github.com/caarlos0/env/v7 to v7.1.0 ( #3763 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 16:21:43 +08:00
Andy Hsu
ebcbb29a0f
feat: ping api ( close #3752 )
2023-03-07 19:05:52 +08:00
Andy Hsu
00ff0a43a7
feat(cmd): disable a storage with specific mountPath ( close #3564 )
2023-03-07 19:01:40 +08:00
Andy Hsu
3d3f23ec9e
fix: upload check if disable sub folder ( close #3741 )
2023-03-07 14:13:39 +08:00
NewbieOrange
d484219c48
fix(security): compare auth token in constant time ( #3740 close #3739 )
2023-03-06 23:41:06 +08:00
itsHenry
dd4c97393e
feat: show sso settings at a more reasonable sort ( #3735 )
2023-03-06 20:59:45 +08:00
Andy Hsu
07b8ff25a7
ci: auto release desktop
2023-03-06 18:05:57 +08:00
renovate[bot]
0d5c3c5080
fix(deps): update module github.com/deckarep/golang-set/v2 to v2.2.0 [skip ci] ( #3727 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-06 17:54:17 +08:00
LisonFan
75b4429f73
feat(quark): enable NoOverwriteUpload ( #3720 )
2023-03-05 18:00:00 +08:00
Andy Hsu
34ef6bd18d
feat(115): enable NoOverwriteUpload [skip ci] ( close #3669 )
2023-03-05 17:59:19 +08:00
Andy Hsu
c915313ec9
feat: rename then delete if storage doesn't support overwrite upload ( close #3643 )
2023-03-05 15:36:12 +08:00
Andy Hsu
12a095a1d6
fix: slice bounds out of range on CanAccess check
2023-03-05 15:29:53 +08:00
Andy Hsu
dc000f640a
feat: optional log to std
2023-03-05 15:07:06 +08:00
renovate[bot]
aa1c5b2be3
fix(deps): update module golang.org/x/crypto to v0.7.0 [skip ci] ( #3717 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 14:32:41 +08:00
renovate[bot]
1d4ec3c50d
fix(deps): update module golang.org/x/net to v0.8.0 [skip ci] ( #3715 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 14:32:26 +08:00
renovate[bot]
ebfeef52f4
fix(deps): update module golang.org/x/image to v0.6.0 [skip ci] ( #3714 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 13:52:53 +08:00
renovate[bot]
c595fd7f94
fix(deps): update module gorm.io/gorm to v1.24.6 ( #3684 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 19:15:50 +08:00
renovate[bot]
421052f88a
fix(deps): update github.com/t3rm1n4l/go-mega digest to a01a2cd ( #3665 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 19:03:38 +08:00
itsHenry
603681fbe6
feat: rebuild Single sign-on system ( #3649 close #3571 )
...
* rebuild single sign on system
* perf: use cache
* fix: codefactor check
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-03-02 17:55:33 +08:00
Andy Hsu
f442185aa5
perf(123): optimize login error
2023-02-28 21:17:15 +08:00
Andy Hsu
ca9e739465
fix: hide apply to sub path without enable ( close #3661 )
2023-02-28 18:43:52 +08:00
Admire
53a1c4283b
fix(baidu_netdisk): maybe optimize crack api ( #3652 )
...
User-Agent to netdisk and remove origin=dlna(is baned)
2023-02-28 18:27:07 +08:00
Karbob
93dd768234
fix(webdav): disabled is not working in webdav ( #3659 )
...
A disabled user with webdav permission can use webdav normally, which is not allowed.
2023-02-28 18:26:13 +08:00
Andy Hsu
c9c4d6bc7e
fix!(local): perm on mkdir ( close #3626 )
2023-02-26 21:25:32 +08:00
Andy Hsu
81e10f8939
ci: set prerelease before the build completes
2023-02-25 18:06:35 +08:00
Andy Hsu
4dd753de52
fix(aliyundrive_open): missed expire_sec while get link ( close #3610 )
2023-02-25 17:54:36 +08:00
Andy Hsu
79df63d319
chore(aliyundrive): change alert info
2023-02-25 14:28:27 +08:00
Andy Hsu
ec54831162
fix: only refresh token while do request ( close #3591 )
2023-02-24 20:31:12 +08:00
Andy Hsu
c8f3e8ab4d
feat!: skip tls insecure verify by default
2023-02-23 22:33:54 +08:00
Andy Hsu
4be8524d80
feat: add alert for driver
2023-02-23 22:03:11 +08:00
Andy Hsu
0d3146b51d
fix(webdav): disable put with empty path ( close #3569 )
2023-02-23 21:19:50 +08:00
Andy Hsu
f95d843969
feat(aliyundrive): add url_expire_sec for video preview ( close #3522 )
2023-02-23 20:50:31 +08:00
Andy Hsu
28aee8c493
feat: add aliyundrive open driver ( #3437 )
...
close #3533
close #3521
close #3459
close #3375
* feat: add aliyundrive open driver
* feat: adapt alist api
* fix: trailing spaces
* feat(aliyundrive_open): video preview api
2023-02-23 20:45:57 +08:00
Andy Hsu
de3ea82eb9
ci: add closeComment for stale
2023-02-22 22:17:33 +08:00
renovate[bot]
268ba3d069
fix(deps): update module github.com/gin-gonic/gin to v1.9.0 [skip ci] ( #3551 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 21:24:35 +08:00
GodFinal
309d6558fb
feat(local): add thumbnail for video with ffmpeg ( #3556 )
...
* feat(local): add ffmpeg
* fix: missed `+`
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-22 21:19:42 +08:00
Andy Hsu
c08fdfc868
fix: missed assignment [skip ci]
2023-02-22 20:20:28 +08:00
Andy Hsu
1b28e6af3e
ci: replace issues-helper with stale for inactive check
2023-02-22 20:07:18 +08:00
Andy Hsu
8655e33e60
fix: incorrect api if not set site_url ( 6c2f348)
2023-02-21 19:57:50 +08:00
Andy Hsu
50579fef84
fix: cancel api replace to avoid missing host
2023-02-21 19:45:09 +08:00
Andy Hsu
e39299bfe2
fix(local): missed type of MkdirPerm ( 923937b)
2023-02-21 17:45:15 +08:00
kdxcxs
d1ab2443f1
feat(qbittorrent): delete tags when deleting qbittorrent tasks ( #3546 )
...
* feat & refactor(qbittorrent/client): support `deleteFiles` arg for `Client.Delete()` method
* feat(qbittorrent/client): also delete tags in `Client.Delete()`
2023-02-21 16:45:41 +08:00
renovate[bot]
658cf368bb
fix(deps): update github.com/t3rm1n4l/go-mega digest to b87ebf5 ( #3539 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-21 16:43:37 +08:00
Andy Hsu
fd36ce59f6
fix(onedrive): either id or path in parentReference must be specified ( close #3028 )
2023-02-21 16:19:46 +08:00
Andy Hsu
95b3b87672
feat(sftp): support range header
2023-02-20 16:57:52 +08:00
Andy Hsu
0d07d81802
feat(smb): support range header ( close #3192 )
2023-02-20 16:46:38 +08:00
Andy Hsu
923937b530
feat(local): custom mkdir perm ( close #3196 )
2023-02-20 16:20:36 +08:00
Andy Hsu
09492193c4
fix(alist_v3): api error pass ( close #3326 )
2023-02-20 16:15:52 +08:00
Andy Hsu
40b26a81a0
fix!: change default epub viewer ( close #3519 )
2023-02-20 16:08:10 +08:00
renovate[bot]
4293a0ba8c
fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.5.0 [skip ci] ( #3525 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 16:06:35 +08:00
Andy Hsu
6c2f3486fc
fix!: reverse proxy to sub-directory ( #3483 )
...
from this commit, if you want reverse proxy to sub-directory like `alist` with `nginx`, you need config:
```nginx
location /alist/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
proxy_redirect off;
proxy_pass http://127.0.0.1:5244/alist/ ;
# the max size of file to upload
client_max_body_size 20000m;
}
```
2023-02-18 19:03:07 +08:00
kdxcxs
3c7512f64a
fix(qbittorrent): fix two file transferring related bugs [skip ci] ( #3501 )
...
* fix(qbittorrent): delete qbittorrent task before transferring
* fix(qbittorrent): parse the path correctly when the torrent contains folders
2023-02-18 18:54:51 +08:00
renovate[bot]
84219d3d70
fix(deps): update module gorm.io/driver/mysql to v1.4.7 [skip ci] ( #3495 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 18:13:41 +08:00
renovate[bot]
05d3727335
fix(deps): update module golang.org/x/image to v0.5.0 [security skip ci] ( #3489 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 18:13:22 +08:00
仝华帅
ee77c3b113
fix: friendly tip for initial logging in [skip ci] ( #3406 )
...
* refactor: friendly tip for initial logging in
* fix CodeFactor issue
more info pls refer to: https://segmentfault.com/a/1190000043031147
2023-02-18 17:53:11 +08:00
renovate[bot]
fcaf485e0b
fix(deps): update module gorm.io/driver/postgres to v1.4.8 [skip ci] ( #3496 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 17:52:03 +08:00
renovate[bot]
bd83469bb1
fix(deps): update module golang.org/x/net to v0.7.0 [security skip ci] ( #3502 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 17:51:33 +08:00
BaimoQilin
90f111b24f
docs: translate title [skip ci] ( #3498 )
...
* Update README_cn.md
* Update README_cn.md
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-18 17:50:42 +08:00
foxxorcat
7d1034c569
fix(aliyundrive): error occurred when running multiple instances at the same time ( #3448 )
...
* fix(aliyundrive):an error occurred when running multiple instances at the same time
* Update util.go
fix(aliyunpan):clear retry count
2023-02-16 22:12:19 +08:00
Andy Hsu
236c17176c
fix(123): adapt new file list api ( close #3464 )
2023-02-16 22:09:45 +08:00
Andy Hsu
6ee4c10e8f
chore(onedrive)!: change default redirect_uri [skip ci]
2023-02-16 21:37:20 +08:00
AkashiCoin
3798634028
fix(pikpak_share): change media url to content url ( close #3273 ) ( #3441 )
2023-02-16 15:42:11 +08:00
Andy Hsu
567ba5ccd4
feat(aliyundrive_share): aliyun office preview ( close #3408 )
2023-02-15 16:52:24 +08:00
Andy Hsu
ae2ee1821a
chore: change qBittorrent setting [skip ci]
2023-02-15 16:51:29 +08:00
Andy Hsu
805b1e4fa3
fix: different url encoding ( close #3423 )
2023-02-15 16:20:30 +08:00
kdxcxs
d92c10da56
fix(qbittorrent): fix multiple bugs for qbittorrent download ( close #3413 in #3427 )
...
* fix(qbittorrent): wait for qbittorrent to parse torrent and create task
#3413
* fix(qbittorrent): check task state correctly
* fix(qbittorrent): fix path sent to `op.Put()`
2023-02-15 15:58:31 +08:00
Andy Hsu
6659f6d367
fix: windows arm64 build [skip ci]
2023-02-14 20:28:05 +08:00
Andy Hsu
fe416ba15c
feat!: close sign_all by default
2023-02-14 19:20:15 +08:00
Andy Hsu
de66708b24
fix(aliyundrive): device session signature error ( #3398 )
...
* fix signature
* fix: indent-error-flow [skip ci]
2023-02-14 19:17:21 +08:00
Andy Hsu
2ca3e0b8bc
fix(123): incorrect download url ( close #3385 )
2023-02-14 15:47:41 +08:00
Andy Hsu
ae04a0a760
chore: go mod tidy
2023-02-14 15:30:33 +08:00
kdxcxs
c28168c970
feat: support qbittorrent ( close #3087 in #3333 )
...
* feat(qbittorrent): authorization and logging in support
* feat(qbittorrent/client): support `AddFromLink`
* refactor(qbittorrent/client): check authorization when getting a new client
* feat(qbittorrent/client): support `GetInfo`
* test(qbittorrent/client): update test cases
* feat(qbittorrent): init qbittorrent client on bootstrap
* feat(qbittorrent): support setting webui url via gin
* feat(qbittorrent/client): support deleting
* feat(qbittorrent/client): parse `TorrentStatus` enum when unmarshalling json in `GetInfo()`
* feat(qbittorrent/client): support getting files by id
* feat(qbittorrent): support adding qbittorrent tasks via gin
* refactor(qbittorrent/client): return a `Client` interface in `New()` instead of `*client`
* refactor: task handle
* chore: fix typo
* chore: change path
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-14 15:20:45 +08:00
foxxorcat
46b2ed2507
fix(aliyundriver):x-device-id error code ( #3390 )
...
* fix(aliyundriver):x-drvice-id error code
* fix(aliyunpan):session signature error
* fix typo
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-14 14:11:07 +08:00
NewbieOrange
22843ffc70
fix(fs): copy file if symlink failed ( #3368 )
2023-02-13 14:41:35 +08:00
NewbieOrange
e1b6368343
feat(aliyundrive): zero copy for local file uploads ( #3359 )
2023-02-12 16:13:57 +08:00
NewbieOrange
62dae50d70
feat(fs): create symbolic link instead of copy local files ( close #2186 in #3354 )
2023-02-12 16:03:11 +08:00
Andy Hsu
43a8ed472b
fix: can't login by github after disable guest ( close #3314 )
2023-02-09 20:12:04 +08:00
Andy Hsu
d87878c232
ci: cancel win/arm64 on dev build [skip ci]
2023-02-09 20:05:00 +08:00
Noah Hsu
ab7dee49b0
feat: add windows/arm64 target ( close #3308 )
2023-02-09 19:52:40 +08:00
renovate[bot]
dca115506d
fix(deps): update module golang.org/x/crypto to v0.6.0 [skip ci] ( #3315 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 16:17:10 +08:00
renovate[bot]
be17fba0c6
fix(deps): update module golang.org/x/net to v0.6.0 [skip ci] ( #3316 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 16:16:43 +08:00
renovate[bot]
cd58aa5efe
fix(deps): update module gorm.io/driver/mysql to v1.4.6 ( #3311 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 16:00:08 +08:00
renovate[bot]
946833d2cc
fix(deps): update module golang.org/x/image to v0.4.0 ( #3323 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 15:59:31 +08:00
renovate[bot]
eb42d09849
chore(deps): update docker/build-push-action action to v4 ( #3200 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 22:22:33 +08:00
renovate[bot]
9d00492750
fix(deps): update module gorm.io/driver/postgres to v1.4.7 ( #3312 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 22:20:04 +08:00
renovate[bot]
b6711d6ab9
chore(deps): update actions-cool/issues-helper action to v3.4.0 ( #3279 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 22:12:02 +08:00
BoYanZh
7bc46de8aa
feat: settings for tls insecure skip verify ( close #3306 in #3307 )
2023-02-08 22:01:26 +08:00
Noah Hsu
a4f4fb2d73
chore(deps): upgrade github.com/caarlos0/env
2023-02-07 19:55:55 +08:00
Noah Hsu
a181b56ea7
feat: optional forward direct link params ( close #3123 )
2023-02-07 16:39:14 +08:00
Noah Hsu
d0b743d955
fix(onedrive): downloadUrl missed on personal account ( close #3276 )
2023-02-07 16:16:29 +08:00
Noah Hsu
a985b748e9
fix: allow_indexed check ( close #3291 )
2023-02-07 15:14:39 +08:00
Andy Hsu
44cb8aaafe
feat: only log to std on debug/dev mode
2023-02-05 09:17:37 +08:00
Andy Hsu
51f5d1b3c4
fix(local): set perm 0777 for folder ( close #2996 )
2023-02-04 12:11:13 +08:00
Andy Hsu
36e0d6f787
perf(onedrive): optimize request parameter ( close #3178 )
2023-02-04 11:53:13 +08:00
Andy Hsu
3d0065bdcf
feat!: allow disable user ( close #3241 )
...
From this commit, the guest user will be disabled by default
2023-02-04 11:44:17 +08:00
renovate[bot]
7bf8071095
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.194 ( #2940 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-04 11:24:47 +08:00
renovate[bot]
30d39f8e10
fix(deps): update module gorm.io/gorm to v1.24.5 ( #3231 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-04 11:22:39 +08:00
aimuz
20d3ef7de6
fix(139): check http code & increase chunk size ( #3224 )
...
* fixed: 大文件上传导致连接重置
Signed-off-by: aimuz <mr.imuz@gmail.com >
* revert Dockerfile
---------
Signed-off-by: aimuz <mr.imuz@gmail.com >
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-04 11:20:13 +08:00
Code2qing
86e5dae4d1
fix(aliyundrive_share): no permission after share_id change ( #3246 )
2023-02-04 11:10:28 +08:00
Andy Hsu
d89b1d4871
fix(baidu_baidu_netdisk): override for create ( close #3242 )
2023-02-03 18:10:39 +08:00
Zayia
080e6fb22a
fix(google_drive): allow download abuse file ( #3217 )
...
通过添加参数acknowledgeAbuse=true,对疑似风险文件直接下载
2023-02-01 19:43:36 +08:00
Wuxuan
e1cd71616d
feat(aliyundrive): internal upload (aliyun ECS for Beijing area only) ( #3188 )
...
Co-authored-by: wangwuxuan2011 <git@wangwuxuan.cn >
2023-01-30 11:18:08 +08:00
Noah Hsu
c92e11dad5
ci: auto build docker with aria2
2023-01-27 15:16:00 +08:00
Noah Hsu
b52e8747fa
fix(alist_v3): incorrect dir on remove ( close #3154 )
2023-01-27 14:51:56 +08:00
xsgy
14305748f0
fix(lanzou): files cannot be uploaded to the specified directory ( #3157 )
...
* Update driver.go
* fix(Lanzou):files cannot be uploaded to the specified directory
Solve the problem that files cannot be uploaded to the specified directory
2023-01-27 14:46:54 +08:00
Noah Hsu
44f8112e53
fix(s3): ignore current folder in contents ( close #3137 )
2023-01-25 19:58:00 +08:00
renovate[bot]
6a90b1d40a
fix(deps): update module github.com/caarlos0/env/v6 to v7 ( #3117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-23 20:02:09 +08:00
Noah Hsu
b42ec3e810
fix: relative path judgment ( close #3130 )
2023-01-23 15:52:46 +08:00
panici
28875ce304
fix(alist_v3): incorrect src_dir on move and copy ( close #3121 pr #3124 )
...
* fix(alist_v3):add dir check(close #3121 )
* Update driver.go
Co-authored-by: Noah Hsu <i@nn.ci >
2023-01-22 18:52:54 +08:00
Noah Hsu
9b99e8ab70
fix(search): allow indexed check ( close #3103 )
2023-01-19 17:00:49 +08:00
Noah Hsu
98872a8fdb
fix: cancel EXCLUSIVE mode on sqlite3
...
because it will result in failure to get admin's info
2023-01-19 16:49:43 +08:00
Noah Hsu
ce4a295008
fix!: check https with X-Forwarded-Proto
...
not read old setting `api_url` and `base_path` from this commit
2023-01-19 12:16:42 +08:00
xsgy
bc1babb5b5
fix(lanzou): shortened filename when uploading files ( #3099 )
2023-01-19 12:05:14 +08:00
Noah Hsu
d61242d85d
feat: add wma to default audio types ( close #3088 )
2023-01-18 10:50:28 +08:00
Noah Hsu
99d7105357
fix: move virtual files to end ( close #3052 )
2023-01-18 10:23:54 +08:00
BoYanZh
be8a9c5f07
fix: mark progress as done after clear ( #3086 )
2023-01-18 09:39:32 +08:00
Wuxuan
530e74c70b
fix: avoid regular expression match current directory ( #3078 )
...
* fix: avoid regular expression match current directory
* fix: optimize and regexp exclude slash
Co-authored-by: wuxuan <refused@wuxuan.eu.org >
2023-01-17 21:54:25 +08:00
Gao Mingfei
0a337756ba
fix(quark): upload file integer divide by zero panic. ( close #3076 pr #3077 )
2023-01-17 18:02:06 +08:00
Noah Hsu
26fe0a7684
feat: customize index max depth
...
Because some driver's issue may cause infinite loop
2023-01-17 17:33:18 +08:00
Aoang
9c7e451c03
perf: optimize sqlite3 ( #3074 )
...
- use journal mode to WAL
- set locking mode to EXCLUSIVE
- set auto vacuum
ref:
- https://www.sqlite.org/pragma.html#pragma_journal_mode
- https://www.sqlite.org/pragma.html#pragma_locking_mode
- https://www.sqlite.org/pragma.html#pragma_auto_vacuum
2023-01-17 17:06:11 +08:00
Noah Hsu
8df1455f25
workflow: add tips for Reproduction
2023-01-17 16:34:56 +08:00
Noah Hsu
9d9377f65d
fix(local): incorrect path of thumbnail (for 6453ae0)
2023-01-16 20:02:30 +08:00
Noah Hsu
8b523fab8b
revert: add Getter interface back
2023-01-16 19:55:43 +08:00
Noah Hsu
6453ae0968
fix(search): empty parent where update ( close #2810 )
2023-01-16 17:33:24 +08:00
清靈語
1cfd47a258
feat: install tzdata in the docker image ( #3056 )
...
* disable caching of repository metadata and installation of tzdata
* add TZ variable example
2023-01-16 13:43:15 +08:00
BoYanZh
8e2069c554
fix: db non full-text import error ( #3055 )
2023-01-15 23:49:23 +08:00
Noah Hsu
6b8778a63c
fix: don't save if refresh token is empty ( close #2957 )
2023-01-14 20:33:07 +08:00
Zexi
aaa8c440fe
fix(seafile): token refresh ( #3010 )
...
* docs: add Seafile support
* fix: Seafile token refresh
2023-01-13 21:20:21 +08:00
panici
2dc5dec83c
feat: add Cloudreve driver ( close #2658 in #2997 )
...
* feat: add cloudreve support
add cloudreve support
(#2658 )
* docs(README): add suppuort cloudreve
* fix(cloudreve): add cookie refresh
Co-authored-by: panici <zhangjun@zjdeMacBook-Pro.local >
2023-01-12 19:57:43 +08:00
Code2qing
1eca2b83ed
perf(terabox): optimize prompt message ( #3002 )
...
* perf(terabox):prompt login status when init the driver
* docs:add Terabox
* perf(terabox):prompt area is not available
* style(terabox): del else
2023-01-12 19:40:38 +08:00
Zexi
48e6f3bb23
feat: add Seafile driver ( #2964 )
...
* feat: add Seafile driver
* docs: add Seafile support
* refactor: optimization
* fix: close redirect on `move` and `rename`
Co-authored-by: Noah Hsu <i@nn.ci >
2023-01-10 20:51:42 +08:00
BoYanZh
0ad9e17196
feat: lazy index creation on searcher init ( #2962 )
2023-01-09 14:09:21 +08:00
wangwuxuan2011
9398cdaac1
fix(s3): allow http/https headers to be attached from CustomHost ( #2959 )
...
* add(s3):Allow http/https headers to be attached to CustomHost
* optimize
Co-authored-by: wangwuxuan <wangwuxuan@163.com >
Co-authored-by: Noah Hsu <i@nn.ci >
2023-01-08 21:47:45 +08:00
foxxorcat
2f19d4a834
perf(lanzou): optimize the use of list cache ( #2956 )
...
* fix:local sort not cache
* perf(lanzou): Optimize the use of list cache
2023-01-08 21:31:35 +08:00
aimuz
99a186d01b
fix(139): upload failed ( #2950 )
...
fix: The file size is exceeded and cannot be uploaded
fix: File name has special characters, signature fails
improve: optimize memory usage
Signed-off-by: aimuz <mr.imuz@gmail.com >
Signed-off-by: aimuz <mr.imuz@gmail.com >
2023-01-08 16:31:00 +08:00
wangwuxuan2011
40ef233d24
fix(USS): resolve driver problem ( #2942 )
...
* remove:"Endpoint" and "CustomHost" are the same thing, remove "CustomHost"
* fix: file download url error
* fix: too many file get list error
Co-authored-by: wangwuxuan <wangwuxuan@163.com >
2023-01-08 16:30:05 +08:00
foxxorcat
7c3ea193ff
fix(lanzou):webdav unable to download and upload ( close #2700 )
...
* fix(lanzou):Unable to get folder
* fix(lanzou):webdav unable to download and upload. (close 2700)
2023-01-08 15:37:39 +08:00
BoYanZh
7902b646ff
feat: add database non full text index ( close #2916 )
2023-01-07 01:40:49 +08:00
BoYanZh
1c453ae147
feat: add a switch to enable auto update index ( close #2930 )
2023-01-07 00:59:30 +08:00
BoYanZh
cf5714ba73
fix(smb): use correct path ( #2933 )
...
There is no need to add a `.` prefix as there is no leading `/` in paths
2023-01-07 00:47:08 +08:00
foxxorcat
d655340634
fix(lanzou): cookie type failed to get file ( #2926 )
2023-01-06 18:08:40 +08:00
renovate[bot]
8d4ac031c3
chore(deps): update module github.com/aws/aws-sdk-go to v1.44.174 [skip ci] ( #2920 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-06 15:36:33 +08:00
foxxorcat
a1ded3a339
refactor(baidu_photo): optimize code ( close #2911 pr #2924 )
2023-01-06 15:36:05 +08:00
Noah Hsu
4a0e47dbac
fmt: go mod tidy
2023-01-05 19:34:18 +08:00
renovate[bot]
510d266da8
chore(deps): update module github.com/aws/aws-sdk-go to v1.44.173 [skip ci] ( #2832 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:32:58 +08:00
renovate[bot]
35dfb36884
chore(deps): update module gorm.io/driver/mysql to v1.4.5 [skip ci] ( #2881 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:31:47 +08:00
renovate[bot]
b88f4d2ba6
chore(deps): update module gorm.io/driver/sqlite to v1.4.4 [skip ci] ( #2869 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:31:28 +08:00
renovate[bot]
50318da879
chore(deps): update module gorm.io/driver/postgres to v1.4.6 [skip ci] ( #2867 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:18:42 +08:00
renovate[bot]
575487a0e2
chore(deps): update module gorm.io/gorm to v1.24.3 [skip ci] ( #2870 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:18:15 +08:00
renovate[bot]
69d3ccaed2
chore(deps): update module golang.org/x/net to v0.5.0 [skip ci] ( #2908 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:17:41 +08:00
renovate[bot]
170859a112
chore(deps): update module golang.org/x/crypto to v0.5.0 [skip ci] ( #2905 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:16:56 +08:00
renovate[bot]
7fdcb106a5
chore(deps): update module golang.org/x/image to v0.3.0 [skip ci] ( #2906 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 17:49:45 +08:00
AkashiCoin
14d4ddb752
fix(mysql): change mysql against mode ( close #2903 close #2844 pr #2904 )
2023-01-05 17:11:58 +08:00
zxdstyle
428e59a844
fix(uss): close of closed channel ( close #2847 #2896 )
...
* fix(uss): close of closed channel
* fix(uss): close of closed channel
Co-authored-by: zxdstyle <xiangdong.zhu@maitang001.com >
2023-01-04 21:43:47 +08:00
Code2qing
1c8d895fc0
feat(terabox): add terabox driver ( close #2825 close #2678 #2849 )
2022-12-31 16:44:20 +08:00
Code2qing
fbf3fb825b
fix(baidu_netdisk): file copy and file upload [skip ci] ( #2848 )
2022-12-31 16:43:22 +08:00
Noah Hsu
16e07ae016
fix(s3): set default root path ( close #2834 )
2022-12-30 14:53:01 +08:00
Noah Hsu
d1b9db38c7
feat(docker): add docker-compose file ( close #2067 )
2022-12-30 14:25:22 +08:00
Noah Hsu
395f0fc5f3
fix(docker): use root user as default
2022-12-30 14:21:39 +08:00
BoYanZh
143e4cd077
fix: mysql FULLTEXT search ( #2840 )
2022-12-30 14:20:04 +08:00
Noah Hsu
f777a2fab4
fix: version doesn't update
2022-12-30 01:24:37 +08:00
renovate[bot]
dad3012ec3
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.169 ( #2816 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-29 21:22:50 +08:00
Noah Hsu
d45209edb2
fix: /entrypoint.sh permission denied
2022-12-29 17:16:30 +08:00
Noah Hsu
e89489453d
fix: cache nil value for meta
2022-12-28 17:44:34 +08:00
DDS-Tomo
ed6c8194a7
feat: add PUID, PGID, Umask settings to docker image ( close #2525 pr #2818 )
...
Co-authored-by: DDSRem <1448139087@qq.com >
2022-12-28 17:18:27 +08:00
itsHenry
83fe17c6ec
feat: support github login ( #2639 )
...
* Support Github Login
* improve according to codefactor
* fix due to last updates
* optimization
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-27 22:11:22 +08:00
renovate[bot]
c00dcc8f39
fix(deps): update module github.com/gin-gonic/gin to v1.8.2 ( #2785 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-25 18:20:24 +08:00
Noah Hsu
e118f4a3b9
feat: update index by req.Paths
2022-12-24 20:23:04 +08:00
renovate[bot]
5e28d0f96a
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.167 ( #2781 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 16:14:20 +08:00
BoYanZh
3af23f6792
feat: batch reload all storages ( close #2762 pr #2775 )
2022-12-21 19:21:18 +08:00
BoYanZh
3a41b929c9
fix: pgsql search [skip ci] ( close #2761 pr #2774 )
2022-12-21 19:19:37 +08:00
Noah Hsu
105f22969c
feat: support cancel for some drivers ( close #2717 )
2022-12-21 15:03:09 +08:00
renovate[bot]
e4a88a7c13
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.164 ( #2773 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 12:04:32 +08:00
Noah Hsu
b0255040c6
chore: fix typo
2022-12-20 20:07:19 +08:00
Noah Hsu
f1e842e12a
feat: customize settings layout ( close #2765 )
2022-12-20 20:04:37 +08:00
Noah Hsu
d756cf3e9f
fix(local): disable copying or moving to subfolders ( close #2760 )
2022-12-20 16:27:04 +08:00
EzraRT
146619134d
feat: customize proxy ignore headers ( close #2763 pr #2766 )
...
* clean referer when use proxy
* feat: customize proxy ignore headers
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-20 16:08:32 +08:00
renovate[bot]
372030071e
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.163 [skip ci] ( #2738 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 15:13:14 +08:00
foxxorcat
62a06fa0f9
feat: optimize file operation interface ( #2757 )
...
* feat: optimize file operation interface
* chore: fix typo
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-20 15:02:40 +08:00
BoYanZh
e2bcca2fbd
feat: static files for embed viewers ( #2739 )
2022-12-19 13:34:06 +08:00
BoYanZh
4568af9542
feat: better static file Cache-Control ( #2751 )
2022-12-19 13:32:00 +08:00
Noah Hsu
b50d486a63
fix: sub path check if subPath = /
2022-12-18 21:28:38 +08:00
BoYanZh
0ae3fc608b
feat: export all cmd ( #2746 )
2022-12-18 19:53:39 +08:00
foxxorcat
6024e8d832
refactor: split the db package hook and cache to the op package ( #2747 )
...
* refactor:separate the setting method from the db package to the op package and add the cache
* refactor:separate the meta method from the db package to the op package
* fix:setting not load database data
* refactor:separate the user method from the db package to the op package
* refactor:remove user JoinPath error
* fix:op package user cache
* refactor:fs package list method
* fix:tile virtual paths (close #2743 )
* Revert "refactor:remove user JoinPath error"
This reverts commit 4e20daaf9e700da047000d4fd4900abbe05c3848.
* clean path directly may lead to unknown behavior
* fix: The path of the meta passed in must be prefix of reqPath
* chore: rename all virtualPath to mountPath
* fix: `getStoragesByPath` and `GetStorageVirtualFilesByPath`
is_sub_path:
/a/b isn't subpath of /a/bc
* fix: don't save setting if hook error
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-18 19:51:20 +08:00
EthanZhu
f38f4f401b
fix(139): modify chunk size to avoid large file upload failure ( close #2744 close #2682 pr #2745 )
2022-12-18 17:48:09 +08:00
BoYanZh
3b2ae85009
chore: only ignore root dirs ( #2741 )
2022-12-18 16:48:32 +08:00
baysonfox
faf4150d1e
docs: fix badges on README.md and README_cn.md [skip ci] ( #2749 )
2022-12-18 16:48:03 +08:00
foxxorcat
fb64f00640
refactor: obj name mapping and internal path processing ( #2733 )
...
* refactor:Prepare to remove the get interface
* feat:add obj Unwarp interface
* refactor:obj name mapping and program internal path processing
* chore: fix typo
* feat: unwrap get
* fix: no use op.Get to get parent id
* fix: set the path uniformly
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-17 19:49:05 +08:00
AkashiCoin
3d336b328a
feat: add pikpak share driver ( close #2728 pr #2731 )
2022-12-16 19:10:19 +08:00
renovate[bot]
f9cf29e0b6
fix(deps): update module golang.org/x/crypto to v0.4.0 ( #2638 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:08:52 +08:00
renovate[bot]
cbd038f30f
fix(deps): update module golang.org/x/net to v0.4.0 ( #2608 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:05:20 +08:00
renovate[bot]
2aeb75a779
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.6 ( #2727 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:05:06 +08:00
renovate[bot]
2f8eaf6bea
fix(deps): update module github.com/pquerna/otp to v1.4.0 ( #2708 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:15:59 +08:00
renovate[bot]
fb7a5dec1b
fix(deps): update module golang.org/x/image to v0.2.0 ( #2601 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:15:19 +08:00
renovate[bot]
e61bac039a
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.161 ( #2595 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:14:56 +08:00
BoYanZh
b3be9ef428
feat(search): use FULLTEXT index ( close #2716 pr #2726 )
2022-12-16 16:51:36 +08:00
BoYanZh
5a6b600ace
feat: show gorm log on debug/dev mode ( #2720 )
2022-12-15 17:48:52 +08:00
BoYanZh
e58ca686e3
feat: cache static files ( #2715 )
2022-12-15 17:48:29 +08:00
BoYanZh
6f4b1ba4b3
feat: log to stdout & file ( #2709 )
2022-12-14 13:19:08 +08:00
BoYanZh
cdc45630ae
fix: whereInParent when parent = "/" ( #2706 )
2022-12-14 10:37:09 +08:00
BoYanZh
7947ff1ae4
feat: limit max connection count ( #2701 )
2022-12-14 10:33:58 +08:00
foxxorcat
33bae52fa1
refactor: optimize driver initialization need to manually deserialize and assign values, and remove redundant driver registration parameters ( #2691 )
...
* refactor: optimize driver initialization need to manually deserialize and assign values, and remove redundant driver registration parameters
* fix typo
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-13 18:03:30 +08:00
Noah Hsu
3ee45c69a7
fix(baidu_netdisk): encode path for create ( close #2690 )
2022-12-13 17:57:41 +08:00
BoYanZh
179d285564
feat: optimize database search ( #2687 )
...
* feat: remove index on `SearchNode.Name`
As we do not use s% on name column, index there does not work
* fix: init index after init data
Or on the first run, it will log 'init index error: readObjectStart: expect { or n, but found , error found in #0 byte of ...||..., bigger context ...||...'
* fix: match parent more precisely
It will match `/a/bc` if we search in `/a/b` originally.
But it is not backward compatible by adding a suffix `/`
to all the data in parent field
2022-12-12 20:20:01 +08:00
BoYanZh
a2e8e96c71
feat: respond static file on loading storages ( #2686 )
2022-12-12 20:17:58 +08:00
Noah Hsu
5043815d48
fix(search): don't delete virtual folder while update indexes ( close #2677 )
2022-12-11 14:59:58 +08:00
BoYanZh
1640f06e13
feat(search): multiple keywords split by space ( #2669 )
2022-12-10 19:28:34 +08:00
BoYanZh
62ea93837c
feat: alist v3 index permission ( #2653 )
...
* feat: alist v3 index permission
* fix allowIndexed check
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-10 19:03:09 +08:00
Noah Hsu
446f82888c
fix(local): add sign to thumbnail ( close #2536 close #2650 )
2022-12-09 10:08:31 +08:00
BoYanZh
6f1aeb47fd
feat: index enhancement ( close #2632 pr #2636 )
...
* feat: index paths as setting
* feat: clear index (#2632 )
* feat: check indexMQ more frequently
2022-12-09 10:02:13 +08:00
Noah Hsu
1f7c1b4f43
fix(cors): allow all methods ( close #2640 )
2022-12-08 11:35:21 +08:00
BoYanZh
3fa0217c4b
feat(alist-v3): support write ( close #2626 pr #2635 )
2022-12-07 19:02:28 +08:00
Noah Hsu
2dd30f2b77
feat(search): support with password
2022-12-07 10:45:02 +08:00
BoYanZh
6e23c8b4c0
feat: partial update index ( close #2593 close #2621 pr #2624 )
2022-12-07 10:41:52 +08:00
BoYanZh
72aa63adce
fix: skip virtual driver on building index ( close #2604 pr #2617 )
2022-12-06 20:43:32 +08:00
Noah Hsu
e65e8be59e
fix(search): missed base_path of user for parent ( close #2611 )
2022-12-06 17:28:39 +08:00
BoYanZh
7aa4dfb240
feat: use natural sort in SortFiles ( #2612 )
2022-12-06 17:28:18 +08:00
CN-traveler
bd324233a0
fix: can't paste image while report bug ( #2597 ) [skip ci]
2022-12-06 09:19:49 +08:00
Noah Hsu
f1a9b68022
fix(index): update indexes in database
2022-12-05 20:23:37 +08:00
Noah Hsu
dda1da4576
fix(index): nil pointer call
2022-12-05 20:22:35 +08:00
Noah Hsu
5b7aa9c1cf
feat: allow all cors headers ( close #2571 )
2022-12-05 20:05:20 +08:00
Noah Hsu
a28aaceaad
chore(ci): only build on main branch
2022-12-05 19:52:02 +08:00
renovate[bot]
2bb200af87
fix(deps): update modules by renovate[bot]
...
fix(deps): update module github.com/sheltonzhu/115driver to v1.0.13 (#2413 ) [skip ci]
fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.4.3 (#2526 ) [skip ci]
fix(deps): update module golang.org/x/image to v0.1.0 (#2587 ) [skip ci]
chore: go mod tidy
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 19:50:49 +08:00
Noah Hsu
97f1efbb72
feat!: disable --force-bin-dir if --data is abs
...
related issues: #2580 #2542
after this commit, the `--force-bin-dir` would take no effect if `--data` is absolute path
2022-12-05 18:32:48 +08:00
Noah Hsu
bf8b6f4c2c
feat: customize ignore paths of indexes
2022-12-05 16:45:11 +08:00
Noah Hsu
bd33c200dc
feat: optimize index build
2022-12-05 16:07:36 +08:00
Noah Hsu
bc6baf1be0
fix(ci): sort lang json file
2022-12-05 14:40:46 +08:00
BoYanZh
dc8d5106f9
feat: auto fix address in alist & smb storages ( #2582 )
2022-12-05 13:31:34 +08:00
BoYanZh
8c0dfe2f3d
feat: Search enhancement ( #2562 )
...
* feat: ignore AList storage on indexing
* fix: remove unused err in `walkFn`
* chore(ci): fix auto_lang trigger and run it
* feat: batch index
* feat: quit index & init index
* feat: set DocType for bleve data
* fix: build index cleanup check origin err
2022-12-05 13:28:39 +08:00
Noah Hsu
4e1be9bee6
fix: async init aria2 to optimize start duration
2022-12-04 00:00:40 +08:00
BoYanZh
4c5285e094
chore(ci): format lang file ( #2558 )
2022-12-03 12:19:10 +08:00
Ovear
0838feeb82
fix:introduce buffered response writer for webdav, fix status/error return failed. ( #2544 )
...
* fix: introduce buffered response writer for webdav, fix webdav status/error return failed.
* fix: bypass buffered writer for GET/HEAD/POST requests
2022-12-02 17:59:59 +08:00
浅秋枫影
ae791c8634
fix: hide check in canAccess ( #2556 )
...
修复 meta.Password 和 meta.Hide 都为空的情况下,会导致无权限访问
2022-12-02 17:44:29 +08:00
BoYanZh
09f480318c
fix: unify settings string ( #2555 )
2022-12-02 17:42:42 +08:00
BoYanZh
4c5be5f07f
feat: only show CanAccess search results ( #2548 )
...
* feat: only show `CanAccess` search results
* have done in frontend
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-02 10:09:39 +08:00
Ovear
9c1ffdbb82
fix(aliyundrive): return error if got wrong http code ( #2543 )
2022-12-01 21:48:19 +08:00
Noah Hsu
18a63e34dd
fix(task): memory alignment for curID ( close #2541 )
2022-12-01 13:16:31 +08:00
Noah Hsu
ff0bcfef8a
feat: optional sign all files
2022-11-30 22:10:07 +08:00
Noah Hsu
4980b71ba3
fix: add hide check to canAccess ( close #2532 )
2022-11-30 22:01:33 +08:00
Noah Hsu
b5bf5f4325
fix: check if the req path is relative path ( close #2531 )
2022-11-30 21:38:00 +08:00
SiHuaN
f9788ea7cf
feat(webdav): delete privacy header and optimize 302 ( #2534 )
...
* fix: delete set-cookie from sharepoint webdav response header
* fix: avoid two redirects when using webdav
* fix: return the correct Content-Type instead of just `application/octet-stream`
* feat: webdav backend localOnly -> proxyOnly
2022-11-30 20:52:33 +08:00
Noah Hsu
83644dab85
fix: mapping filename in GetName
...
some missed filename mapping
2022-11-30 20:46:54 +08:00
itsHenry
d94cf72da2
fix(local): webp image decode while generate thumbnail ( close #2484 pr #2520 )
...
* Fix that webp thumb in local storage won't load
* Simplify code
Co-authored-by: Noah Hsu <i@nn.ci >
2022-11-29 09:47:40 +08:00
Noah Hsu
e98561ceb1
fix: filename char mapping while build index
2022-11-28 21:08:11 +08:00
Noah Hsu
76f37373e0
fix: settings map read and write concurrently
2022-11-28 16:54:03 +08:00
Simon
61a06992c3
fix(aria2): directory missing ( close #1856 pr #2504 )
2022-11-28 14:05:28 +08:00
Noah Hsu
ddcba93eea
feat: multiple search indexes ( #2514 )
...
* refactor: abstract search interface
* wip: ~
* fix cycle import
* objs update hook
* wip: ~
* Delete search/none
* auto update index while cache changed
* db searcher
TODO: bleve init issue
cannot open index, metadata missing
* fix size type
why float64??
* fix typo
* fix nil pointer using
* api adapt ui
* bleve: fix clear & change struct
2022-11-28 13:45:25 +08:00
Noah Hsu
bb969d8dc6
fix(aliyundrive_share): get share link download url directly ( close #2472 )
2022-11-24 18:50:04 +08:00
BoYanZh
2383e851e2
fix: reset index before build new one ( #2471 )
2022-11-24 14:47:49 +08:00
BoYanZh
330a767fd7
feat: build index & search with bleve ( close #1740 pr #2386 )
...
* feat: build index & search with bleve (#1740 )
* delete unused struct
Co-authored-by: Noah Hsu <i@nn.ci >
2022-11-24 11:46:47 +08:00
Noah Hsu
2b902de6fd
fix(build): switch to crazymax/xgo
2022-11-22 21:08:27 +08:00
Noah Hsu
85e1350af8
fix: check password while upload ( close #2444 )
2022-11-22 16:14:01 +08:00
Noah Hsu
c09800790b
feat: custom filename char mapping
...
fixes #2447 #2446 #2440 #2409 #2006 #1979 #1507 #324 #691 #518 #430
2022-11-22 15:54:18 +08:00
renovate[bot]
25fd343069
chore(deps): update module gorm and aws-sdk
...
fix(deps): update module gorm.io/gorm to v1.24.2 (#2436 )
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.142 (#2407 )
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 17:37:03 +08:00
Noah Hsu
518487e3df
fix(123): optimize error messages ( #2415 )
2022-11-19 21:48:03 +08:00
BoYanZh
a02d9c8463
fix: check error type on file not found ( #2383 )
2022-11-18 01:30:37 +08:00
Noah Hsu
8beeba7c0c
fix(google_drive): check token before return link ( close #2392 )
2022-11-17 09:08:31 +08:00
renovate[bot]
50fb49f0c3
fix(deps): update dependencies by renovate[bot] ( #2344 )
...
chore(deps): add renovate.json (#2344 )
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.137 (#2345 )
chore(deps): update actions-cool/issues-helper action to v2.5.0 (#2346 )
fix(deps): update module github.com/caarlos0/env/v6 to v6.10.1 (#2348 )
fix(deps): update module github.com/gin-contrib/cors to v1.4.0 (#2349 )
fix(deps): update module github.com/sirupsen/logrus to v1.9.0 (#2354 ) [skip ci]
fix(deps): update module gorm.io/driver/postgres to v1.4.5 (#2361 ) [skip ci]
fix(deps): update module golang.org/x/crypto to v0.2.0 (#2357 ) [skip ci]
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.138 (#2358 ) [skip ci]
fix(deps): update module gorm.io/gorm to v1.24.1 (#2366 ) [skip ci]
fix(deps): update module gorm.io/driver/mysql to v1.4.4 (#2360 ) [skip ci]
fix(deps): update module github.com/spf13/cobra to v1.6.1 (#2356 ) [skip ci]
chore(deps): update actions-cool/issues-helper action to v3 (#2367 ) [skip ci]
fix(deps): update module gorm.io/driver/sqlite to v1.4.3 (#2365 ) [skip ci]
chore(deps): update actions/checkout action to v3 (#2368 ) [skip ci]
chore(deps): update actions/setup-go action to v3 (#2374 ) [skip ci]
chore(deps): update actions/upload-artifact action to v3 (#2375 ) [skip ci]
chore(deps): update docker/build-push-action action to v3 (#2377 ) [skip ci]
chore(deps): update docker/login-action action to v2 (#2378 ) [skip ci]
chore(deps): update docker/metadata-action action to v4 (#2381 ) [skip ci]
chore(deps): update docker/setup-buildx-action action to v2 (#2382 ) [skip ci]
chore(deps): update docker/setup-qemu-action action to v2 (#2387 ) [skip ci]
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.139 (#2394 ) [skip ci]
fix(deps): update module golang.org/x/crypto to v0.3.0 (#2395 ) [skip ci]
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 08:49:15 +08:00
Noah Hsu
4dcaa24758
fix: cache is modified while sorting ( close #2340 )
2022-11-15 14:38:23 +08:00
BoYanZh
3fbdf6f022
fix: resolve import cycle in alist v3 driver ( close #2337 pr #2338 )
2022-11-15 10:51:32 +08:00
Noah Hsu
aa9ba289bb
fix(123): overwrite upload if file has no change ( close #2324 )
2022-11-14 17:58:49 +08:00
Noah Hsu
3b6d8987db
chore: add id to resp of create storage
2022-11-13 20:17:10 +08:00
Noah Hsu
6e3df9f847
fix(google_drive): type of chunk_size ( close #2303 )
2022-11-12 18:46:38 +08:00
Noah Hsu
efe0e6af22
feat: silent start, stop and restart
2022-11-11 18:42:06 +08:00
Gerhard Tan
00de9bf16d
fix!: sign with the raw path instead of filename ( #2258 )
2022-11-11 16:24:25 +08:00
Noah Hsu
1743110a70
fix(123): incorrect order_by ( close #2285 )
2022-11-10 21:47:13 +08:00
BoYanZh
0352a8e028
feat: add alist v2 driver ( #2281 )
2022-11-10 17:42:12 +08:00
Code2qing
c601bb794b
feat(123): support mail login ( close #2218 pr #2276 )
2022-11-10 09:34:48 +08:00
BoYanZh
42865486f1
fix(local): deal with relative symlink dir ( #2274 )
2022-11-09 18:15:42 +08:00
sheltonzhu
44f5cf40ef
fix(115): update 115 driver lib to fix some bugs ( #2275 )
...
* fix duplicate cookies in client.List func
* rm useless cookie when init
2022-11-09 18:15:06 +08:00
Noah Hsu
c3ab378ac5
feat(google_drive): support shortcut ( close #2268 )
2022-11-09 16:19:33 +08:00
BoYanZh
cdcbfb24c4
fix(local): directory handle ( #2262 )
...
* fix(local): check symlink dir
* fix(local): set size of dir to 0 (close #2264 )
2022-11-09 11:20:09 +08:00
Noah Hsu
e05e2fd663
chore: change default timeout ( close #2252 )
2022-11-08 20:37:42 +08:00
Noah Hsu
6639cab1ae
feat(google_drive): chunk upload ( close #2241 )
2022-11-07 20:58:52 +08:00
Noah Hsu
8241f0999a
feat(google_drive): override upload ( close #1880 )
2022-11-07 20:35:35 +08:00
Noah Hsu
f3a5e3702d
fix(189): force use CN time zone ( close #2240 )
2022-11-07 16:37:47 +08:00
小傅Fox
46701a176d
feat(aria2): mark aria2 seeding as complete ( #2223 )
...
Currently if using aria2 to download a torrent file, it does not
consider seeding + active as completed, so the torrent download task
only completes as aria2 stops seeding.
This commit uses seeder property of TaskInfo, and mark tasks with active
status and true seeder as complete.
2022-11-06 16:20:09 +08:00
Noah Hsu
26a29f20c3
fix: missed encode path while use down proxy ( close #2208 )
2022-11-06 14:46:47 +08:00
Noah Hsu
18cd45d257
fix: disable cache for 302 redirect ( close #2216 )
2022-11-05 15:54:51 +08:00
联盟少侠
f0a533a77a
feat(115): put UA as a variable ( #2217 )
...
In special cases, developers can pass in custom UA to solve the speed limit problem
Mainly for developers calling from outside
2022-11-05 15:50:57 +08:00
sheltonzhu
619a9aeb6c
feat(115): add qrcode login ( #2206 )
2022-11-04 21:16:52 +08:00
Noah Hsu
7bfa5876ed
fix(189pc): fix typo
2022-11-01 19:32:40 +08:00
Noah Hsu
f95ab6ee57
docs: add 115 to readme [skip ci]
2022-11-01 19:28:24 +08:00
Noah Hsu
e75f19e9c0
feat: add Referrer-Policy while redirect (pr #2160 )
2022-11-01 19:19:08 +08:00
Noah Hsu
1c212f6c30
feat!: force to use the bin dir as the data dir ( close #2108 )
...
- move default log path to `data/log/log.log`
- replace `--conf` with `--data`
2022-11-01 19:16:23 +08:00
sheltonzhu
141419056d
feat(115): add cloud 115 driver ( #2164 )
...
close #2112
close #1598
close #894
2022-11-01 15:31:31 +08:00
Noah Hsu
aabfe49cb9
docs: change contributors show [skip ci]
2022-10-30 15:26:31 +08:00
BoYanZh
a3b631f9e9
fix(smb): remount smb before each operation ( close #2123 pr #2140 )
2022-10-30 15:05:07 +08:00
浅秋枫影
18165eb50d
fix(123): get real url ( #2135 )
...
123 今天更新多加了一层跳转`https://web-pro.cjjd18.com/download/?params=base64encode(rawurl) `,导致ip如果不符则可能下载返回403,在服务器端处理获取rawurl
2022-10-27 17:02:35 +08:00
浅秋枫影
061c462f0b
feat(mediatrack): get real url ( #2132 )
...
* feat:get real url for mediatrack
redirect token 一次有效,点击第二次就抛出了`400`错误。本次提交直接获取302后的真实链接返回前端
* add cache
cache 60 Second
2022-10-27 15:26:08 +08:00
BoYanZh
5f79d665d9
feat: add alist v3 driver ( close #1833 pr #2129 )
...
* feat: add alist v3 driver (close #1833 )
* chore: use generics
Co-authored-by: Noah Hsu <i@nn.ci >
2022-10-27 10:54:49 +08:00
BoYanZh
f0cc0a76a9
chore: fix typos ( #2122 )
...
* refactor: fix typos
* Update help.go
Co-authored-by: Noah Hsu <i@nn.ci >
2022-10-26 14:05:56 +08:00
BoYanZh
dd4674e486
feat: add smb driver ( close #1746 ) ( #2114 )
...
* feat: add smb driver (close #1746 )
* Update driver.go
2022-10-25 23:00:23 +08:00
Noah Hsu
0019959eec
fix: delete cache if files is empty
2022-10-25 16:42:06 +08:00
BoYanZh
3e9c38697d
fix: use utils.Log during static file router init ( #2100 )
...
formerly the log is not in stderr
2022-10-24 23:33:57 +08:00
Noah Hsu
e3b7c41199
docs: update demo url & sponsor content [skip ci]
2022-10-24 22:48:36 +08:00
Noah Hsu
a2c808c8ce
fix: incorrect root path of initial storage for dev mode
2022-10-23 16:26:14 +08:00
Jmper
da7e17aa38
feat(local): add show hidden config ( #2087 )
2022-10-23 14:53:07 +08:00
Noah Hsu
02df3759df
docs: fix typo [skip ci]
2022-10-20 14:29:28 +08:00
缘生
4fef500795
feat(user): set default password of init user from env ( #2058 )
...
add init user default password
Signed-off-by: ysicing <i@ysicing.me >
Signed-off-by: ysicing <i@ysicing.me >
2022-10-19 20:06:06 +08:00
Noah Hsu
07ece452b3
docs: fix docker link [skip ci]
2022-10-19 17:08:01 +08:00
Noah Hsu
b8cf02ca68
fix(aria2): retry 5 times for get status ( close #1857 )
2022-10-18 15:27:19 +08:00
Jake Liu
3db798a82a
feat(google_photo): Add categories in root, add album support. ( #2046 )
...
* feat(google_photo): Add categories in root, add album support.
* fix(google_photo): Remove else block in `drive/google_photo/types.go:60`
2022-10-18 15:19:05 +08:00
Noah Hsu
45cc0cedbd
fix(s3): mkdir and delete ( close #2029 )
2022-10-18 15:10:47 +08:00
foxxorcat
2efade123e
fix(189pc):slice bounds out of range close #2045
2022-10-17 22:39:51 +08:00
foxxorcat
fc393f743f
fix(thunder):no additional processing when the deviceID is correct
2022-10-17 22:37:17 +08:00
foxxorcat
0e99e7e9b9
fix(thunder,189pc): some known problems
2022-10-17 00:54:39 +08:00
Noah Hsu
7a95850c1b
fix(google_drive): incorrect ModifiedTime ( close #2002 )
2022-10-14 14:17:33 +08:00
Noah Hsu
549355bb29
build: change golang version
2022-10-12 17:35:44 +08:00
Noah Hsu
55aa8ee3b1
fix: version print of build script [skip ci]
2022-10-12 17:24:04 +08:00
Noah Hsu
1c22fc367e
docs: change badges in readme
2022-10-12 17:08:40 +08:00
Noah Hsu
5ea8d62aa4
fix(onedrive): unable to operate if path contains % ( close #1965 )
2022-10-11 14:21:58 +08:00
Noah Hsu
baebc2fbe9
fix: can't delete disabled storage ( close #1942 )
2022-10-09 22:20:48 +08:00
Noah Hsu
8c69260972
fix(webdav): set mime by ext if it's empty
2022-10-09 19:29:55 +08:00
Noah Hsu
30f992c6a8
feat(onedrive): customize chunk size ( close #1927 )
2022-10-08 22:23:33 +08:00
Noah Hsu
dcaaae366b
feat: add support for mega.nz (close 1553)
2022-10-08 22:16:41 +08:00
Jake Liu
284035823f
feat: add Google Photo support ( #1853 )
...
* feat: add Google Photo support
* fix: fetch all pages
* chore(google_photo): add meta info
Co-authored-by: Noah Hsu <i@nn.ci >
2022-10-07 20:36:56 +08:00
Noah Hsu
be8ff92414
docs: replace qq with discord [skip ci]
2022-10-05 14:17:00 +08:00
Noah Hsu
a4c846a424
chore(onedrive): set default value for region
2022-10-01 20:09:57 +08:00
Noah Hsu
451e418b18
perf: return cache before check obj to reduce recursion
2022-09-28 21:19:36 +08:00
hdm9527
4e13b1a83c
perf: modify onedrive upload chunk size ( #1831 close #1790 )
...
improve onedrive upload speed
2022-09-27 20:29:54 +08:00
Noah Hsu
9d2e9887af
docs: create FUNDING.yml [skip ci]
2022-09-27 14:41:43 +08:00