Commit Graph
15 Commits
Author SHA1 Message Date
Nicola Soranzo 5c43d2961f Use dnspython to check specifically for an "MX" DNS record
when validating the domain name of the email address for a new user.

Fix https://github.com/galaxyproject/galaxy/issues/14829 .
2022-10-27 11:17:14 +01:00
Nicola Soranzo cb012c7fb2 Merge branch 'release_22.05' into dev 2022-09-09 17:14:20 +01:00
mvdbeek aceaa698fc Ensure guid is hexadecimal value 2022-09-08 14:04:35 +02:00
John Davis 1f3849bd1f Rename test 2022-07-08 13:41:40 -04:00
Nate Coraor a9047f848d Fix overlapping method/var name in domain validation 2022-06-16 21:09:59 -04:00
Nate Coraor 1f299a5cbf Test with quoted @ in local part of email (technically valid but we're
not allowing it)
2022-05-26 15:05:30 -04:00
Nate Coraor d1e79e0441 Test split without @ 2022-05-26 15:05:30 -04:00
Nate Coraor 37edbaf74c Trim spaces from around email addresses and usernames when registering.
Additionally, include a stricter email address validation.
2022-05-26 14:55:27 -04:00
Dannon Baker 623a5e165a Apply black formatting.
Apply isort.
2022-02-03 07:42:20 -05:00
Marius van den Beek 9914f38320 Merge pull request #11267 from nsoranzo/merge_20.09
Merge 20.09 into 21.01
2021-02-01 15:07:21 +01:00
Dannon Baker 6c155bf2ef Standardize test format 2021-01-29 12:05:41 -05:00
Dannon Baker 0b84678f43 Add a couple basic tests for username/email validation 2021-01-29 12:04:51 -05:00
Nicola Soranzo 452aba9ee3 Fix remaining issues reported by bugbear; add it to flake8 reqs 2021-01-16 05:58:15 +00:00
Nicola Soranzo 9d74bba7fb Drop support for retired Python 3.5
Upgrade syntax using `pyupgrade --py36-plus` .

Manually drop several `six` imports.

Also:
- Remove broken pr_cache in scripts/bootstrap_history.py
- Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
2020-10-07 11:52:13 +01:00
John Chilton b7c1b03251 Refactor more unit tests into the galaxy-data package. 2020-07-07 13:44:32 -04:00