Aaron Liu
cbc549229b
fix(wopi): anonymous users cannot preview files
2023-06-11 09:45:06 +08:00
Aaron Liu
fb166fb3e4
release: 3.8.0-beta1
2023-05-27 14:06:19 +08:00
Aaron Liu
b1344616b8
test: fix failed ut
2023-05-27 10:44:28 +08:00
Aaron Liu
89ee147961
feat(upload): detect and specify mime type for files uploaded to S3 and OSS (fix#1681)
2023-05-25 19:51:51 +08:00
Aaron Liu
4aafe1dc7a
enhance(download): Use just-in-time host in download URl, instead of SiteURL in site settings
2023-05-25 19:49:32 +08:00
Aaron Liu
4c834e75fa
adhoc: commit todo changes related to google drive
2023-05-25 19:46:05 +08:00
Aaron Liu
31d4a3445d
fix(cache): panic if redis connection fails
2023-05-25 19:44:59 +08:00
Aaron Liu
37926e3133
feat(policy): add Google Drive Oauth client
2023-05-24 14:39:54 +08:00
WeidiDeng
4c18e5acd1
webdav兼容nextcloud propset设置修改时间 ( #1710 )
2023-05-24 12:10:03 +08:00
Aaron Liu
00d56d6d07
test: fix failed ut
2023-04-16 09:25:57 +08:00
Aaron Liu
b9d9e036c9
feat(kv): persist cache and session into disk before shutdown
2023-04-16 09:17:06 +08:00
Aaron Liu
4d131db504
test(hook): NewWebdavAfterUploadHook
2023-04-15 09:21:29 +08:00
Aaron Liu
c5ffdbfcfb
Merge remote-tracking branch 'origin/master'
2023-04-13 19:39:22 +08:00
Aaron Liu
8e2fc1a8f6
test(thumb): new changes in filesystem pkg
2023-04-13 19:39:12 +08:00
AaronLiu
f1e7af67bc
Merge branch 'master' into webdav-checksum
2023-04-08 10:09:55 +08:00
AaronLiu
98788dc72b
Merge pull request #1679 from xkeyC/master
...
feat(Webdav): Add overwrite support for moveFiles and copyFiles
2023-04-08 10:08:13 +08:00
Weidi Deng
1b4eff624d
webdav兼容rclone的nextcloud选项(修改日期和checksum)
2023-04-07 22:16:11 +08:00
Aaron Liu
408733a974
test(thumb): new changes in models/cache pkg
2023-04-07 20:33:05 +08:00
Aaron Liu
cf03206283
feat(thumb): generator settings and test button
2023-04-07 19:33:02 +08:00
Aaron Liu
ac536408c6
feat(thumb): use libreoffice to generate thumb
2023-04-07 19:31:43 +08:00
Aaron Liu
98b86b37de
feat(thumb): use ffmpeg to generate thumb
2023-04-07 19:30:41 +08:00
Aaron Liu
b55344459d
feat(thumb): use libvips to generate thumb
2023-04-07 19:30:10 +08:00
Aaron Liu
bde4459519
feat(thumb): add ext whitelist for all policy types
2023-04-07 19:29:43 +08:00
Aaron Liu
f5a21a7e6f
feat(thumb): set size limit for original file
2023-04-07 19:28:39 +08:00
Aaron Liu
b910254cc5
feat(thumb): delete generated thumb file
...
fix(s3): return empty list of file failed to be deleted
2023-04-07 19:27:57 +08:00
Aaron Liu
e115497dfe
feat(thumb): generate thumb for OneDrive files
2023-04-07 19:27:31 +08:00
Aaron Liu
62b73b577b
feat(thumb): generate and return sidecar thumb
2023-04-07 19:26:39 +08:00
Aaron Liu
7cb5e68b78
refactor(thumb): thumb logic for slave policy
2023-04-07 19:25:29 +08:00
Aaron Liu
ae118c337e
refactor(thumb): reset thumb status after renaming a file with no thumb available
2023-04-07 19:09:13 +08:00
Aaron Liu
f36e39991d
refactor(thumb): new thumb pipeline model to generate thumb on-demand
2023-04-07 19:08:54 +08:00
Aaron Liu
da1eaf2d1f
fix(wopi): cannot set preferred language for LibreOffice online
2023-04-07 19:06:46 +08:00
xkeyC
42f7613bfa
moveFiles 修改回无条件 overwrite (Move 或 Rename 都会处罚冲突问题)
2023-03-29 20:16:09 +08:00
xkeyC
e8e38029ca
fix:error code
2023-03-28 00:19:18 +08:00
xkeyC
cd9e9e25b9
fix:仅在需要移动时 overwrite
2023-03-28 00:06:10 +08:00
xkeyC
ca7b21dc3e
feat(Webdav):Add overwrite support for moveFiles and copyFiles
2023-03-27 22:55:20 +08:00
Aaron Liu
f172220825
release: 3.7.1
2023-02-13 19:28:00 +08:00
Aaron Liu
c2d7168c26
release: 3.7.0
2023-02-09 19:03:52 +08:00
VigorFox
9c58278e08
refactor(db): change SQLite driver from github.com/jinzhu/gorm/dialects/sqlite to github.com/glebarez/go-sqlite ( #1626 )
...
* sqlite 驱动从 github.com/jinzhu/gorm/dialects/sqlite 改为 github.com/glebarez/go-sqlite,以移除对 cgo 的依赖
* // 兼容已有配置中的 "sqlite3" 配置项
* Update models/init.go: 修改变量名
2023-02-08 09:53:41 +08:00
Aaron Liu
6d1c44f21b
test: fix failed ut
2023-02-07 20:24:21 +08:00
Aaron Liu
d67d0512f8
feat(explorer): advance delete options for users
2023-02-07 20:08:22 +08:00
Aaron Liu
1c1cd9b342
feat(dashboard): unlink file while not deleting its physical source ( #789 )
2023-02-07 20:07:05 +08:00
HFO4
ffbafca994
Merge remote-tracking branch 'origin/master'
2023-01-10 19:56:59 +08:00
HFO4
99434d7aa5
test(wopi): add tests for wopi client
2023-01-10 19:56:02 +08:00
HFO4
5a8c86c72e
feat(wopi): adapt libreoffice online
2023-01-09 19:38:12 +08:00
HFO4
1c922ac981
feat(wopi): implement required rest api as a WOPI host
2023-01-09 19:37:46 +08:00
HFO4
4541400755
feat(wopi): change doc preview config based on WOPI discovery results
2023-01-09 19:36:41 +08:00
HFO4
c39daeb0d0
feat(wopi): fetch discover endpoint
2023-01-09 19:34:39 +08:00
5aaee9
8dafb4f40a
feat: support connect to mysql with unix socket ( #1571 )
2022-12-19 19:23:47 +08:00
HFO4
ca80051a89
release: 3.6.2
2022-12-19 17:53:11 +08:00
HFO4
73d0f2db9b
release: 3.6.1
2022-12-16 17:37:21 +08:00
HFO4
82b4e29a80
enhance: escalate `ProxyHeader` as a global config
2022-12-16 16:58:06 +08:00
HFO4
4e8ab75211
feat(s3): support setting for force using path style endpoint ( #1559 )
2022-12-16 16:54:58 +08:00
AHdark
74e1bd6a43
Added `same-site` policy for session options ( #1381 )
...
* Feat: added same-site policy for session options
* Feat: configurations in conf package to control the `SameSite` mode and `Secure` value of the session.
Co-authored-by: AaronLiu <abslant@126.com>
2022-12-16 13:59:26 +08:00
Code
2bb28a9845
fix(s3): use HEAD method to get file info ( #1521 )
...
建议更换成更好的 HeadObject 方法因为 HeadObject 方法并不会返回文件 Body 因此不需要 defer res.Body.Close()
2022-12-16 13:54:12 +08:00
HFO4
08e4d2257a
release: 3.6.0
2022-12-14 20:17:14 +08:00
HFO4
f02b6f0286
feat(net): customize socket file permission
2022-12-14 15:28:45 +08:00
HFO4
8c5ba89f7d
feat: mobile app promotion page
2022-12-12 20:35:48 +08:00
HFO4
4519dc025b
update(version): 3.6.0-beta1
2022-11-23 20:44:09 +08:00
HFO4
f8ed4b4a5a
feat(remote download): show download node in list page
2022-10-30 10:45:25 +08:00
HFO4
7dda81368d
test(source link): add unit test
2022-10-30 09:41:14 +08:00
HFO4
8d7ecedf47
feat(source link): create perm source link with shorter url
2022-10-29 11:06:07 +08:00
HFO4
1f836a4b8b
feat(task): not fail immediately after failed upload in transfer tasks
2022-10-17 19:26:09 +08:00
HFO4
392c824a33
feat(OneDrive): support `Retry-After` throttling control from Graph API ( #280 )
2022-10-15 16:35:02 +08:00
HFO4
8494bd6eb9
fix(request): deep copy shared header object in request options
2022-10-15 16:16:17 +08:00
HFO4
8b30593822
fix: cannot delete mass files (>=333) in SQLite ( #622 )
2022-10-15 10:12:23 +08:00
HFO4
56fa01ed61
fix: failed UT
2022-10-15 09:55:44 +08:00
HFO4
560097145b
fix: metadata mismatch if file name contains `%` while uploading to OneDrive/SharePoint
2022-10-15 09:20:25 +08:00
HFO4
6b0b44f6d0
test: fix failed UT
2022-10-15 09:02:28 +08:00
HFO4
63b536e5db
Merge remote-tracking branch 'origin/master'
2022-10-08 19:24:57 +08:00
HFO4
19a2f69a19
test: fix failed UT
2022-10-08 19:24:38 +08:00
SuperHgO
2271fcfdef
fix: s3(minio) file remove operation hangout ( #1491 )
2022-10-08 19:21:38 +08:00
HFO4
16b5fc3f60
fix: failed test due to missing error message in filesystem
2022-10-08 19:20:41 +08:00
HFO4
f431eb0cbd
fix: metadata mismatch if file name contains `%` while uploading to OneDrive/SharePoint ( #1301 )
2022-10-08 19:09:51 +08:00
HFO4
644a326580
i18n: logs in rest pkgs
2022-10-08 18:51:52 +08:00
HFO4
f2c53dda31
Merge remote-tracking branch 'origin/master'
2022-09-29 17:43:06 +08:00
HFO4
28c2ffe72e
i18n: logs in filesystem
2022-09-29 17:42:23 +08:00
HFO4
196729bae8
i18n: logs in conf/crontab/email/fs.driver
2022-09-29 17:42:05 +08:00
HFO4
9bb4a5263c
i18n: logs in aria2/auth/cache/cluster/serializer
2022-09-29 17:40:56 +08:00
HFO4
db23f4061d
i18n: logs in bootstrapper and response code in middleware
2022-09-29 17:39:48 +08:00
HFO4
16d17ac1e6
i18n: user setting route
2022-09-29 17:38:52 +08:00
HFO4
9464ee2103
i18n: user route
2022-09-29 17:37:05 +08:00
XYenon
b1685d2863
feat: seeding status for aria2 download tasks ( #1422 )
...
* feat: add aria2 seeding
* fix: move RecycleTaskType to the bottom
* refactor: refactor recycle aria2 temp file
2022-09-29 09:24:58 +08:00
WeidiDeng
846438e3af
graceful 关闭服务器 ( #1416 )
2022-08-22 19:49:19 +08:00
HFO4
96daed26b4
i18n: objects / share / slave / tag operations
2022-07-20 20:03:41 +08:00
HFO4
906e9857bc
i18n: file operation
2022-07-20 20:01:34 +08:00
HFO4
08104646ba
i18n: error codes for aria2 / callback/ directory operation
2022-07-20 19:59:13 +08:00
HFO4
a1880672b1
i18n: error codes for dashboard operations
2022-07-18 20:03:57 +08:00
小白-白
9869671633
fix: incorrect progress count ( #1379 )
...
* fix: incorrect progress count
文件中转 已完成文件计数 应在文件成功上传后+1 #1367
* fix failed ut
Co-authored-by: HFO4 <912394456@qq.com>
2022-07-12 19:30:41 +08:00
HFO4
f083d52e17
feat: tps limit for OneDrive policy
2022-06-09 16:11:36 +08:00
HFO4
21d2b817f4
Merge remote-tracking branch 'origin/master'
2022-05-25 20:02:43 +08:00
HFO4
04b0b87082
enhance: remove icp footer
2022-05-25 20:02:13 +08:00
WeidiDeng
36b310133c
fix: IP address is empty in unix socket mode ( #1314 )
2022-05-24 11:01:00 +08:00
WeidiDeng
3fa1249678
fix: use file extension to search for content-type ( #1313 )
2022-05-24 10:57:20 +08:00
HFO4
e705dedc22
Merge remote-tracking branch 'origin/master'
2022-05-09 19:06:21 +08:00
HFO4
7bd5a8e3cd
dep: update webautn client for better compatibility
2022-05-09 14:51:11 +08:00
XYenon
5bd711afc6
fix: catch s3 presign err ( #1277 )
2022-05-05 14:24:35 +08:00
HFO4
46c6ee9be7
i18n: add error codes related to sign up
2022-05-02 10:27:51 +08:00
HFO4
c9eefcb946
i18n: captcha, reset password
2022-04-30 16:51:24 +08:00
HFO4
4fe79859a9
enhance: generate error message for parameter error
...
i18n: use explicit error code for login controlelr
2022-04-30 16:50:59 +08:00
HFO4
0e5683bc3b
test: search file with limited parent ids
2022-04-30 10:02:57 +08:00
HFO4
a31ac2299a
update version number
2022-04-29 20:15:20 +08:00
HFO4
3b16d7d77c
fix: error code overlap
2022-04-29 20:04:26 +08:00
HFO4
8ab0fe0e2f
feat: search file under current folder
2022-04-29 20:03:52 +08:00
HFO4
d51351eebd
fix: cannot generate thumbnail for COS policy
2022-04-29 20:02:55 +08:00
HFO4
94507fe609
feat: create aria2 task in batch
2022-04-29 20:01:43 +08:00
HFO4
1038bae238
feat: get file source link in batch
2022-04-29 19:59:25 +08:00
AaronLiu
7bdbf3e754
Merge pull request #1239 from vvisionnn/master
...
Keep updated at column when rename
2022-04-26 19:38:34 +08:00
HFO4
23642d7597
test: fix failed test related to Folder.Create
2022-04-26 19:34:19 +08:00
HFO4
70b30f8d5f
release: 3.5.2
2022-04-26 19:10:03 +08:00
HFO4
7c8e9054ce
fix: OneDrive chunk upload time should be `0`, avoiding upload timeouts when chunk size is large
2022-04-26 19:08:30 +08:00
HFO4
d845824bd8
fix: overwrite should be disabled when copy on write
2022-04-26 19:07:23 +08:00
HFO4
c62e355345
fix: cannot use LAN OSS endpoint for uploading
2022-04-26 19:05:54 +08:00
Weidi Deng
024f09f666
修复webdav上传的根目录
2022-04-26 14:37:03 +08:00
vvisionnn
2dcf1664a6
fix: keep update at column when rename
2022-04-25 20:23:53 +08:00
AaronLiu
dc69a63217
Merge pull request #1232 from cloudreve/archiver-decompress
...
Archiver decompress
2022-04-25 18:11:23 +08:00
HFO4
86876a1c11
feat: select encoding for decompressing zip file
2022-04-25 18:07:47 +08:00
HFO4
cb51046305
test: new changes in decompress method
2022-04-25 17:23:42 +08:00
HFO4
d10639fd19
release: 3.5.1
2022-04-24 15:33:29 +08:00
HFO4
ba0e3278e3
fix: signature error when finishing oss upload
2022-04-24 15:16:47 +08:00
HFO4
d0779f564e
release: 3.5.0
2022-04-22 20:29:53 +08:00
HFO4
b8bc5bed13
test: new `overwrite` param in CreateUploadSession
2022-04-22 16:05:57 +08:00
HFO4
91377f4676
fix: cached folder props should ignore date and policy
2022-04-22 15:58:39 +08:00
HFO4
b1803fa51f
fix: cannot overwrite file to slave policy / fix: remove lock system for webdav to resolve Windows Explorer issue.
2022-04-22 15:57:21 +08:00
HFO4
f8b7e086ba
fix: `database is locked` when using sqlite
2022-04-22 15:56:45 +08:00
Weidi Deng
23bd1389bc
使用archiver对压缩文件进行解压
2022-04-21 16:33:10 +08:00
HFO4
aaf8a793ee
test: new changes related to `filesystem.CreateDirectory`
2022-04-21 14:29:10 +08:00
HFO4
2ab2662fcd
fix: cannot upload file to onedrive because file info not match ( fix #1215 )
...
Path in onedrive is not case-sensitive while Cloudreve cares, thus file size is not matching when finishing upload.
2022-04-21 13:58:54 +08:00
HFO4
71df067a76
fix: create directory now ignore conflict error, it will return the existed folder
2022-04-21 13:58:22 +08:00
HFO4
86877aef4b
fix: failed ut
2022-04-20 18:59:09 +08:00
HFO4
8741c3cc78
feat: return create date while list files
2022-04-20 18:51:43 +08:00
HFO4
6c93e37777
Update version number
2022-04-20 18:50:46 +08:00
HFO4
841a2e258d
fix: ignore folder name conflict while creating upload session
2022-04-20 18:50:07 +08:00
HFO4
a26183875f
fix: in decompress, file stream should be closed after copy it to temp file.
2022-04-20 11:49:01 +08:00
HFO4
fcc29e31eb
Update version number
2022-04-19 20:17:37 +08:00
HFO4
00e2b26294
fix: remove filesystem upload log
2022-04-19 20:05:01 +08:00
HFO4
4f65d0e859
fix: use default chunk size if it is set as 0
2022-04-19 19:41:03 +08:00
HFO4
18f5bffed1
test: fix failed test
2022-04-15 15:53:10 +08:00
HFO4
478d390867
Fix: show modified date instead of creating date in file list
2022-04-13 17:54:10 +08:00
HFO4
febbd0c5a0
Feat: batch download in streamming paradism
...
Fix: add cache-controler header in API call responses
2022-04-13 17:53:46 +08:00
HFO4
6451e4c903
Merge branch 'master' of https://github.com/cloudreve/Cloudreve
2022-04-12 16:39:09 +08:00
Ink33
84807be1ca
use go:embed for static resources ( #1107 )
...
* feat: use go:embed to embed static files
* ci: fix broken test
* docs: update readme.md
* chore: remove statik
* feat: simplify code
Co-authored-by: AaronLiu <abslant@126.com>
2022-04-09 20:58:07 +08:00
HFO4
20e90e3963
Improve error message when uploading is conflicted
2022-04-09 09:57:22 +08:00
HFO4
ec776ac837
Test: new changes in pkg request, serializer, task, xml, router
2022-03-31 20:17:01 +08:00
HFO4
d117080991
Test: new changes pkg filesystem
2022-03-30 20:38:02 +08:00
HFO4
1c0a735df8
Test: new changes pkg remote, fsctx, part of filesystem
2022-03-29 20:13:05 +08:00
HFO4
c6130ab078
Feat: new changes in pkg: chunk, backoff, local, onedrive
2022-03-27 11:14:30 +08:00
HFO4
31315c86ee
Feat: support option for cache streamed chunk data into temp file for potential retry.
2022-03-26 15:33:31 +08:00
HFO4
636ac52a3f
Test: new changes in pkg: cache, cluster, conf
2022-03-26 15:32:57 +08:00
HFO4
e51c5cd70d
Fix: root folder should not be deleted
2022-03-23 19:32:31 +08:00
HFO4
eaa8c9e12d
Refactor: move thumbnail config from ini file to database
2022-03-23 19:02:39 +08:00