horizon/openstack_dashboard
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 Merge "Display the vip name in the floating IP association dialog" 2014-12-26 03:35:50 +00:00
conf Base Glance Metadata Definitions Admin UI 2014-12-17 16:10:53 -07:00
dashboards Allow all printable ASCII characters in security group names 2014-12-29 16:50:43 +01:00
django_pyscss_fix Workaround for 'File exists' test failure 2014-09-30 06:43:22 -05:00
enabled Revert "Remove the update default quotas feature" 2014-09-30 18:12:02 +09:00
local Ability to change modal form backdrop element behavior 2014-12-10 12:40:20 +03:00
locale Imported Translations from Transifex 2014-12-25 06:04:17 +00:00
management Fix E128 errors in remaining openstack_dashboard/ 2014-10-16 16:53:52 +09:00
openstack Remove unused openstack.common.importutils 2014-10-13 15:15:31 -07:00
static/dashboard Merge "Set topology container to scroll" 2014-12-24 21:16:22 +00:00
templates Merge "update/cleanup bootstrap 3 icon usage" 2014-12-12 00:43:30 +00:00
templatetags Replaces always disabled context selection link 2014-10-20 15:50:12 -06:00
test Merge "Display the vip name in the floating IP association dialog" 2014-12-26 03:35:50 +00:00
usage Split large methods into submethods to reduce max-complexity 2014-12-05 13:30:41 +09:00
utils Fixes group by none defect in resource usage stats: 2014-11-13 12:21:28 +05:30
wsgi Update WSGI app creation to be compatible with Django 1.7 2014-10-16 13:57:45 +01:00
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
context_processors.py Update project list in the header bar. 2014-12-11 18:22:38 +02:00
exceptions.py Merge "Update exception map based on neutronclient exception rearrange" 2014-07-24 09:59:02 +00:00
hooks.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
policy.py Prevent leaking `target` info into subsequent `policy.check()` calls 2014-12-01 18:44:24 +03:00
settings.py Merge "Change django message storage backends default." 2014-10-17 08:06:55 +00:00
urls.py Fix E128 errors in remaining openstack_dashboard/ 2014-10-16 16:53:52 +09:00
views.py Horizon login page contains DOS attack mechanism 2014-12-08 16:38:37 -07:00