Commit Graph

602 Commits (redirect-status)

Author SHA1 Message Date
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