horizon/openstack_dashboard/dashboards/project/access_and_security
Romain Hardouin 80d9049fb6 Allow all printable ASCII characters in security group names
Thus far, the security group name was checked with Django's validate_slug.
Consequently, some characters like spaces (bug #1224576) and @ (bug #1233501) were forbidden.
This fix removes validate_slug and provides a less restrictive validation.
Now, all printable ASCII characters -- i.e. from 0x20 to 0x7E -- are valid.
Note that diacritics are disallowed.
On top of that the length is now checked and limited to 255 characters in accordance with Nova.

Security group forms have been factorized in one abstract base class: GroupBase.
CreateGroup and UpdateGroup subclass GroupBase in order to be more DRY.

Change-Id: Ifc8e5f75419a73a353b2138641773d36138ecea8
Closes-Bug: #1224576
Closes-Bug: #1233501
2014-12-29 16:50:43 +01:00
..
api_access Added a modal dialog with the user credentials details 2014-11-13 14:54:21 -05:00
floating_ips Merge "Remove port_id from floating ip disassociate" 2014-12-08 10:58:14 +00:00
keypairs Fix E128 errors in openstack_dashboard/dashboards/project/ 2014-10-16 16:53:52 +09:00
security_groups Allow all printable ASCII characters in security group names 2014-12-29 16:50:43 +01:00
templates/access_and_security Create titles without concatenation 2014-12-02 07:09:26 -06:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
panel.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
tabs.py Fix E128 errors in openstack_dashboard/dashboards/project/ 2014-10-16 16:53:52 +09:00
tests.py Replace the glyphicons with font awesome icons 2014-12-01 14:36:38 -07:00
urls.py Fix E128 errors in openstack_dashboard/dashboards/project/ 2014-10-16 16:53:52 +09:00
views.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00