ragflow/common
SmartDever02 f896b8b6c8 feat: Add Google Cloud Storage (GCS) support as object storage backend (#11716)
- Implement RAGFlowGCS class with full storage interface compliance
- Single bucket architecture with prefix-based logical separation
- Application Default Credentials (ADC) authentication support
- Add GCS to Storage enum and StorageFactory
- Add google-cloud-storage dependency to pyproject.toml
- Support for all standard operations: put, get, rm, copy, move, presigned URLs

Configuration:
- STORAGE_IMPL=GCS
- RAGFLOW__GCS__BUCKET=your-bucket-name
- GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json (optional)

IAM Requirements:
- Storage Object User (roles/storage.objectUser)
- Service Account Token Creator (roles/iam.serviceAccountTokenCreator)

Resolves #11716
2025-12-03 21:08:13 -03:00
..
data_source feat: improve Moodle connector functionality (#11665) 2025-12-02 19:12:43 +08:00
__init__.py Refactor: rename rmSpace to remove_redundant_spaces (#10796) 2025-10-28 09:46:32 +08:00
config_utils.py Move some enumerate type to constants.py (#10998) 2025-11-04 19:25:25 +08:00
connection_utils.py Fix: refine error msg. (#11380) 2025-11-19 19:10:45 +08:00
constants.py feat: Add Google Cloud Storage (GCS) support as object storage backend (#11716) 2025-12-03 21:08:13 -03:00
decorator.py Move singleton to common directory (#10935) 2025-11-02 12:24:08 +08:00
exceptions.py Feat: GraphRAG handle cancel gracefully (#11061) 2025-11-06 16:12:20 +08:00
file_utils.py Refactor file utils (#10970) 2025-11-03 18:54:55 +08:00
float_utils.py Refactor: rename rmSpace to remove_redundant_spaces (#10796) 2025-10-28 09:46:32 +08:00
http_client.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
log_utils.py Feat: add Jira connector (#11285) 2025-11-17 09:38:04 +08:00
mcp_tool_call_conn.py Refactor: move mcp connection utilities to common (#11304) 2025-11-17 15:34:17 +08:00
misc_utils.py Refactor code (#11694) 2025-12-03 15:15:00 +08:00
settings.py feat: Add Google Cloud Storage (GCS) support as object storage backend (#11716) 2025-12-03 21:08:13 -03:00
signal_utils.py Fix and refactor imports (#11010) 2025-11-05 11:07:54 +08:00
string_utils.py Refactor: rename rmSpace to remove_redundant_spaces (#10796) 2025-10-28 09:46:32 +08:00
time_utils.py Add time utils (#10849) 2025-10-28 19:09:14 +08:00
token_utils.py fix(llm): handle None response in total_token_count_from_response (#10941) 2025-11-20 10:04:03 +08:00
versions.py Admin: add 'show version' (#11079) 2025-11-06 19:24:46 +08:00