Commit Graph

35 Commits

Author SHA1 Message Date
ice yao
dd5ffaf058
chore: use posixpath to wrapper filepath (#9976) 2024-11-07 19:31:49 +08:00
zhuhao
5bf31e7a86
refactor: update load_stream method to directly yield file chunks (#9806) 2024-10-25 10:11:25 +08:00
ice yao
e71f494839
chore: abstract common function with local storage (#9811) 2024-10-24 21:53:37 +08:00
-LAN-
b14d59e977
fix(storage): use centralized config management (#9620) 2024-10-22 14:04:59 +08:00
Bowen Liang
d170d78530
chore: (#9089 followup) fix storage factory constructor (#9609) 2024-10-22 13:01:37 +08:00
Bowen Liang
4d9160ca9f
refactor: use dify_config to replace legacy usage of flask app's config (#9089) 2024-10-22 11:01:32 +08:00
omr
6d2c6caa23
refactor: remove unnecessary 'closing' usage for boto3 client (#9343) 2024-10-15 08:42:39 +08:00
Garfield Dai
c6b74daa0a
Fix/s3 iam add region name (#7819) 2024-10-12 18:47:59 +08:00
zhuhao
7a6970e570
feat: add supabase object storage (#9229) 2024-10-11 22:48:57 +08:00
Bowen Liang
b360feb4c1
refactor: introduce storage factory and speed up api startup by importing storage client on demand (#9086) 2024-10-09 14:15:27 +08:00
zhuhao
2571b0c4e3
feat: add baidu obs storage (#9024) 2024-10-07 11:09:27 +08:00
zhuhao
e1e2d0b364
fix: failed to open links to images generated by QR code tool when using Huawei OBS (#9034) 2024-10-07 11:06:08 +08:00
swingchen01
f55e06d8bf
fix: resolve runtime error when self.folder is None (#8401)
Co-authored-by: 陈长君 <chenchangjun@shuwen.com>
2024-09-14 11:07:16 +08:00
Bowen Liang
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules (#8296) 2024-09-12 15:50:49 +08:00
Bowen Liang
292220c596
chore: apply pep8-naming rules for naming convention (#8261) 2024-09-11 16:40:52 +08:00
ice yao
c8df92d0eb
add volcengine tos storage (#8164) 2024-09-10 09:19:47 +08:00
zhuhao
e0d3cd91c6
support huawei cloud obs storage (#7980) (#7981) 2024-09-06 14:00:47 +08:00
Seayon
78989e9049
Add ALIYUN_OSS_PATH configuration for Aliyun OSS (#7864)
Co-authored-by: seayon <zhaoxuyang@shouqianba.com>
2024-09-01 21:30:17 +08:00
Vimpas
4682e0ac7c
fix(storage): 🐛 HeadBucket Operation Permission (#7733)
Co-authored-by: 莫岳恒 <moyueheng@datagrand.com>
2024-08-28 13:57:45 +08:00
Vimpas
0006c6f0fd
fix(storage): 🐛 Create S3 bucket if it doesn't exist (#7514)
Co-authored-by: 莫岳恒 <moyueheng@datagrand.com>
2024-08-22 09:45:42 +08:00
-LAN-
3571292fbf
chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
yanghx
349ec0db77
fix tencent_cos_storage image-preview error is not a byte (#6652) 2024-07-25 11:20:20 +08:00
Jyong
678ad6b7eb
Fix/file stream azure blob (#6196) 2024-07-11 17:01:03 +08:00
Jyong
cbbe28f40d
fix azure stream download (#6063) 2024-07-08 17:13:16 +08:00
hymvp
1d3e96ffa6
add support oracle oci object storage (#5616) 2024-07-01 17:21:44 +08:00
quicksand
147a39b984
feat: support tencent cos storage (#5297) 2024-06-17 19:18:52 +08:00
Jyong
d7fbae286a
add aws s3 iam check (#5174) 2024-06-14 15:19:59 +08:00
Kazuki Takamatsu
3f18369ad2
Fix: google storage init with sa and download (#5054) 2024-06-13 17:36:34 +08:00
Jyong
481e7bc6b9
Fix/azure blob new version (#5004) 2024-06-06 23:36:13 +08:00
Jyong
9cf9720efa
Fix/azure blob token expire (#4914) 2024-06-04 14:30:23 +08:00
Jyong
d828a7fc35
fix azure blob token expire (#4911) 2024-06-04 13:04:56 +08:00
Jyong
bdd409970f
fix the wrong env variable AZURE_BLOB_CONTAINER_NAME (#4455) 2024-05-16 18:30:52 +08:00
Kota Matsumoto
e2a78888b9
Fix: setup google-storage client (#4296)
Co-authored-by: kotamat <kota1681@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-05-15 08:05:41 +08:00
S96EA
13cd409575
feat: support aliyun oss auth v4 (#3886)
Co-authored-by: owen <owen@owen.hawk-toad.ts.net>
2024-05-06 11:56:04 +08:00
Jyong
338e4669e5
add storage factory (#3922) 2024-04-29 18:22:03 +08:00