ragflow/common/data_source
Jonah Hartmann 6587acef88
Feat: use filepath for files with the same name (#11752)
### What problem does this PR solve?

When there are multiple files with the same name the file would just
duplicate, making it hard to distinguish between the different files.
Now if there are multiple files with the same name, they will be named
after their folder path in the webdav storage unit.

The same could be done for the other connectors, too, since most of them
will have similars issues, when iterating through the folder paths.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

Contribution by RAGcon GmbH, visit us [here](https://www.ragcon.ai/)
2025-12-05 10:10:26 +08:00
..
google_drive Feat: add gmail connector (#11549) 2025-11-28 13:09:40 +08:00
google_util Feat: add gmail connector (#11549) 2025-11-28 13:09:40 +08:00
jira Feat: add Jira connector (#11285) 2025-11-17 09:38:04 +08:00
__init__.py Feat: Add Webdav storage as data source (#11422) 2025-11-26 14:14:42 +08:00
blob_connector.py Feat: add addressing style config for S3-compatible storage (#11510) 2025-11-25 16:24:14 +08:00
config.py Feat: add gmail connector (#11549) 2025-11-28 13:09:40 +08:00
confluence_connector.py feat: improve metadata handling in connector service (#11421) 2025-11-26 19:55:48 +08:00
discord_connector.py feat: improve metadata handling in connector service (#11421) 2025-11-26 19:55:48 +08:00
dropbox_connector.py Feat: add datasource Dropbox (#11488) 2025-11-25 09:40:03 +08:00
exceptions.py Feat: Support multiple data sources synchronizations (#10954) 2025-11-03 19:59:18 +08:00
file_types.py Feat: Support multiple data sources synchronizations (#10954) 2025-11-03 19:59:18 +08:00
gmail_connector.py Feat: add gmail connector (#11549) 2025-11-28 13:09:40 +08:00
html_utils.py Feat: Support multiple data sources synchronizations (#10954) 2025-11-03 19:59:18 +08:00
interfaces.py Feat: add gmail connector (#11549) 2025-11-28 13:09:40 +08:00
models.py feat: improve metadata handling in connector service (#11421) 2025-11-26 19:55:48 +08:00
moodle_connector.py feat: improve Moodle connector functionality (#11665) 2025-12-02 19:12:43 +08:00
notion_connector.py Feat: enriches Notion connector (#11414) 2025-11-20 19:51:37 +08:00
sharepoint_connector.py Feat: Support multiple data sources synchronizations (#10954) 2025-11-03 19:59:18 +08:00
slack_connector.py Feat: Support multiple data sources synchronizations (#10954) 2025-11-03 19:59:18 +08:00
teams_connector.py Feat: Support multiple data sources synchronizations (#10954) 2025-11-03 19:59:18 +08:00
utils.py Feat: add gmail connector (#11549) 2025-11-28 13:09:40 +08:00
webdav_connector.py Feat: use filepath for files with the same name (#11752) 2025-12-05 10:10:26 +08:00