ragflow/api
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
..
apps Enhance email validation: Allow top-level domains with 5 letters (#2856) 2024-10-16 09:34:45 +08:00
db refine API token application (#2847) 2024-10-15 15:47:40 +08:00
utils Feat:Compatible with Dify's External Knowledge API (#2848) 2024-10-15 17:47:24 +08:00
__init__.py rename web_server to api (#29) 2024-01-17 09:43:27 +08:00
contants.py fix: Large document thumbnail display failed (#2763) 2024-10-10 09:09:29 +08:00
http_api.md Updated chat APIs (#2831) 2024-10-14 20:48:23 +08:00
python_api_reference.md Updated chat APIs (#2831) 2024-10-14 20:48:23 +08:00
ragflow_server.py Add build image and launch from source in README (#2658) 2024-09-29 16:28:07 +08:00
settings.py Feat:Compatible with Dify's External Knowledge API (#2848) 2024-10-15 17:47:24 +08:00
versions.py Fix docker file bugs (#2662) 2024-09-29 18:24:24 +08:00