Commit Graph

696 Commits (master)

Author SHA1 Message Date
Aaron Liu 6561e3075f fix(qiniu): cannot sign URL for file blob with `%` (#2463) 2025-06-12 10:48:39 +08:00
Aaron Liu e750cbfb77 fix(cron): add missing tasks to collect expired items in mem KV (#2466) 2025-06-12 09:55:05 +08:00
Aaron Liu 3ab86e9b1d fix: lock conflict while changing view / fix: sign out not blocking refresh tokens 2025-06-12 09:47:01 +08:00
Aaron Liu 2a7b46437f fix(onedrive): cannot list folder with more than 500 direct children (#2446) 2025-06-05 16:51:48 +08:00
Aaron Liu 522fcca6af feat(explorer): save user's view setting to server / optionally share view setting via share link (#2232) 2025-06-05 10:00:37 +08:00
Aaron Liu c13b7365b0 fix(s3): avoid perform URL encoding for proxyed path again if possible (#2413) 2025-05-29 10:19:06 +08:00
Aaron Liu 51fa9f66a5 feat(dashboard): traverse file URI from file ID (#2412) 2025-05-29 09:44:11 +08:00
Aaron Liu 65095855c1 fix(directlink): direct link should not be accessible if the parent file is in trash bin (#2415) 2025-05-29 09:42:22 +08:00
Aaron Liu ec53769e33 fix(session): kv is not initialized 2025-05-23 20:01:10 +08:00
Aaron Liu 1fa70dc699 fix(dashboard): remove default shortcut setting 2025-05-23 18:20:05 +08:00
Aaron Liu db7b54c5d7 feat(session): sign out and revoke root token 2025-05-23 16:49:01 +08:00
Aaron Liu c6ee3e5dcd feat(dbfs): set default share shortcut for new users 2025-05-23 15:39:57 +08:00
Aaron Liu 9f5ebe11b6 feat(wopi): put relative file 2025-05-23 15:37:02 +08:00
Aaron Liu 1a3c3311e6 fix(arai2): cannot select file back after unselected (#2386) 2025-05-23 15:35:01 +08:00
Aaron Liu acffd984c1 fix(dbfs): file uri `name_or` op should be compatiable with older version 2025-05-20 11:59:40 +08:00
Aaron Liu 7ddb611d6c fix(upload): metadata in upload session request is not created 2025-05-20 11:59:24 +08:00
Aaron Liu 7bace40a4d fix(import): import from slave not working / fix(recycle): skip sending delete request if no blob needs to be deleted in this batch 2025-05-20 10:46:27 +08:00
Aaron Liu a10a008ed7 feat(workflow): import files from external storage 2025-05-20 10:45:16 +08:00
Aaron Liu 5d72faf688 fix(thumb): thumb queue retry setting not working (#2367) 2025-05-16 13:52:54 +08:00
Aaron Liu 0a28bf1689 refactor(download): handle stream saver download outside of driver implementation (fix #2366) 2025-05-16 13:52:31 +08:00
Aaron Liu 1e2cfe0061 fix: undefined types 2025-05-13 16:07:57 +08:00
Aaron Liu 71a624c10e enhance(dbfs): admin should be able to access user's files even if it's inactive (#2327) 2025-05-13 15:08:00 +08:00
Aaron Liu 1b8beb3390 feat(directlink): allow admin create direct link for users (#2340) 2025-05-13 15:07:36 +08:00
Aaron Liu edd50147e7 fix(qbittorrent): unknown state after seeding complete 2025-05-13 15:05:14 +08:00
小白-白 10e3854082
fix(thumb): libreoffice warning (#2358) 2025-05-13 14:38:17 +08:00
Aaron Liu fbf1d1d42c fix(uri): hash tag is not properly handled in CrUri 2025-05-08 19:20:19 +08:00
Aaron Liu a0b4c97db0 fix(remote download): slave canceled task error is not passed to master in non-debug mode (#2301) 2025-04-27 10:38:35 +08:00
Aaron Liu 2333ed3501 fix(chunk): omit error for teeing file to chunk buffer (#2303) 2025-04-27 10:38:04 +08:00
Aaron Liu 67d3b25c87 fix(dbfs): set current version is not executed from existing transaction 2025-04-27 10:37:33 +08:00
Aaron Liu ca47f79ecb feat(aria2): patching select file operation is not filtered by existing state (#2294) 2025-04-27 10:36:33 +08:00
Aaron Liu 77ae381474 feat(aria2): show detailed error message from aria2 (#2296) 2025-04-27 10:36:06 +08:00
Aaron Liu d195002bf7 fix: compile error 2025-04-24 15:56:10 +08:00
Aaron Liu 969e35192a fix(remote download): improve file pre-upload validation (fix #2286) 2025-04-24 15:26:58 +08:00
Aaron Liu 7b5e0e8581 fix(dbfs): enforce root protection for single file share 2025-04-21 19:43:09 +08:00
AaronLiu 21d158db07
Init V4 community edition (#2265)
* Init V4 community edition

* Init V4 community edition
2025-04-20 17:31:25 +08:00
sam 12e3f10ad7
缩略图生成器支持 LibRaw (#2109)
* feat: 增加 LibRaw 缩略图生成器。

* feat: 生成 RAW 图像的缩略图时,旋转缩略图的方向。

* update: RAW 缩略图支持镜像方向。
2024-07-31 12:11:33 +08:00
sam 23d009d611
fix: 缩略图生成器中 exts 被多次解析(#2105) (#2106) 2024-07-30 19:52:36 +08:00
EpicMo 3edb00a648
fit: gmail (#1949) 2024-02-24 21:36:59 +08:00
Aaron Liu 88409cc1f0 release: 3.8.3 2023-10-07 20:08:38 +08:00
Aaron Liu ce832bf13d release: 3.8.2 2023-08-07 20:09:23 +08:00
Aaron Liu 5642dd3b66 feat(webdav): support setting download proxy 2023-07-29 08:58:14 +08:00
Aaron Liu a1747073df feat(webdav): support setting download proxy 2023-07-29 08:53:26 +08:00
WeidiDeng ad6c6bcd93
feat(webdav): supoort rename in copy and move (#1774) 2023-07-18 15:27:56 +08:00
WeidiDeng f4a04ce3c3
fix webdav proppatch (#1771) 2023-07-18 15:25:43 +08:00
Aaron Liu 247e31079c fix(thumb): cannot generate thumb using ffmpeg for specific format (#1756) 2023-07-18 15:18:54 +08:00
Darren Yu a26893aabc
Add: thumb quality for 3rd storage policy (#1763)
Add thumb quality for third party storage policy.
2023-07-05 22:13:24 +08:00
初雪 ce759c02b1
feat(redis): support confiuring username (#1752)
替换Golang Redis依赖: redigo的版本至当前最新版1.8.9
(v2.0.0被标记为已撤回,且长期未更新)

Redis 6 及以上版本均可配置为使用username+password认证的ACL,故作此变更。
2023-07-05 22:12:33 +08:00
Aaron Liu 91025b9f24 fix(thumb): cannot generate thumbnails in slave mode 2023-06-25 18:53:37 +08:00
Aaron Liu 243c312066 fix: failed UT 2023-06-11 09:50:57 +08:00
Aaron Liu 1d52ddd93a release: 3.8.0 2023-06-11 09:45:27 +08:00
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