ragflow/api/apps
Dustin Kaiser 6850fd69c6
Enhance email validation: Allow top-level domains with 5 letters (#2856)
### What problem does this PR solve?

Currently singing up to ragflow using a mail-adress with associated
top-level domains that have more than 4 chars will fail due to a regex
validation that enforces just this.

In our use case, we'd like to use e-mail addresses with `.swiss`
top-level domains, which is a valid TLD associated with the country
switzerland in the IANA root database.

This change makes the validation accept 5-letter TLDs.


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Other (please describe): Making validation for lenient, accepting
more valid input.
2024-10-16 09:34:45 +08:00
..
sdk Feat:Compatible with Dify's External Knowledge API (#2848) 2024-10-15 17:47:24 +08:00
__init__.py Refactor Dataset API (#2783) 2024-10-11 09:55:27 +08:00
api_app.py refactor api util (#2849) 2024-10-15 16:11:26 +08:00
canvas_app.py refine agent (#2787) 2024-10-10 17:07:36 +08:00
chunk_app.py fix duplicated llm name betweeen different suppliers (#2477) 2024-09-18 16:09:22 +08:00
conversation_app.py fix: Fixed an issue where the first message would be displayed when sending the second message #2625 (#2626) 2024-09-27 18:20:19 +08:00
dataset_api.py force eml file to be parsed by EMAIL (#2615) 2024-09-27 10:29:30 +08:00
dialog_app.py Add Authorization checks (#2221) 2024-09-04 10:36:15 +08:00
document_app.py let presentation do raptor (#2838) 2024-10-15 10:11:09 +08:00
file2document_app.py fix parser for pptx of which files are from filemanager (#2482) 2024-09-18 19:13:37 +08:00
file_app.py Storage: Rename all the variables about get file to storage from minio. (#2497) 2024-09-19 19:19:27 +08:00
kb_app.py Add Authorization checks (#2218) 2024-09-03 16:28:46 +08:00
llm_app.py trival (#2808) 2024-10-11 15:33:38 +08:00
system_app.py add rm token (#2850) 2024-10-15 16:48:38 +08:00
tenant_app.py feat: add tenant api of create & delete user (#2204) 2024-09-03 10:36:22 +08:00
user_app.py Enhance email validation: Allow top-level domains with 5 letters (#2856) 2024-10-16 09:34:45 +08:00