[#4656] Refactored project name validation

AJAX validation and validation on submit were not using the same
validation checks. Refactored the validation code so that both use
the same checks and consolidated redundant API methods related to those
checks.

The "extra_name_checks" method is no longer used, and those checks
should be folded into the new, more general "validate_project_shortname"
method.

Signed-off-by: Cory Johns cjohns@slashdotmedia.com

Cory Johns Cory Johns 2013-07-03

changed Allura/allura/controllers/project.py
changed Allura/allura/lib/widgets/forms.py
changed Allura/allura/lib/plugin.py
Allura/allura/controllers/project.py Diff Switch to side-by-side view
Loading...
Allura/allura/lib/widgets/forms.py Diff Switch to side-by-side view
Loading...
Allura/allura/lib/plugin.py Diff Switch to side-by-side view
Loading...