Rename range CLI to idrange

This commit is contained in:
Sumit Bose
2012-08-23 14:17:34 +02:00
committed by Martin Kosek
parent 1915c2d4dd
commit 377e1267b7
19 changed files with 154 additions and 154 deletions

View File

@@ -54,7 +54,7 @@ app_DATA = \
overpass_regular-web.ttf \
overpass_regular-web.woff \
policy.js \
range.js \
idrange.js \
reset_password.js \
reset_password.html \
rule.js \

View File

@@ -22,9 +22,9 @@
/* REQUIRES: ipa.js, details.js, search.js, add.js, facet.js, entity.js */
IPA.range = {};
IPA.idrange = {};
IPA.range.entity = function(spec) {
IPA.idrange.entity = function(spec) {
var that = IPA.entity(spec);
@@ -48,28 +48,28 @@ IPA.range.entity = function(spec) {
'iparangetype',
{
name: 'ipabaseid',
label: IPA.messages.objects.range.ipabaseid,
tooltip: IPA.get_entity_param('range', 'ipabaseid').label
label: IPA.messages.objects.idrange.ipabaseid,
tooltip: IPA.get_entity_param('idrange', 'ipabaseid').label
},
{
name: 'ipaidrangesize',
label: IPA.messages.objects.range.ipaidrangesize,
tooltip: IPA.get_entity_param('range', 'ipaidrangesize').label
label: IPA.messages.objects.idrange.ipaidrangesize,
tooltip: IPA.get_entity_param('idrange', 'ipaidrangesize').label
},
{
name: 'ipabaserid',
label: IPA.messages.objects.range.ipabaserid,
tooltip: IPA.get_entity_param('range', 'ipabaserid').label
label: IPA.messages.objects.idrange.ipabaserid,
tooltip: IPA.get_entity_param('idrange', 'ipabaserid').label
},
{
name: 'ipasecondarybaserid',
label: IPA.messages.objects.range.ipasecondarybaserid,
tooltip: IPA.get_entity_param('range', 'ipasecondarybaserid').label
label: IPA.messages.objects.idrange.ipasecondarybaserid,
tooltip: IPA.get_entity_param('idrange', 'ipasecondarybaserid').label
},
{
name: 'ipanttrusteddomainsid',
label: IPA.messages.objects.range.ipanttrusteddomainsid,
tooltip: IPA.get_entity_param('range', 'ipanttrusteddomainsid').label
label: IPA.messages.objects.idrange.ipanttrusteddomainsid,
tooltip: IPA.get_entity_param('idrange', 'ipanttrusteddomainsid').label
}
]
}
@@ -79,43 +79,43 @@ IPA.range.entity = function(spec) {
fields: [
{
name: 'cn',
widget: 'range.cn'
widget: 'idrange.cn'
},
{
name: 'ipabaseid',
label: IPA.messages.objects.range.ipabaseid,
tooltip: IPA.get_entity_param('range', 'ipabaseid').label,
widget: 'range.ipabaseid'
label: IPA.messages.objects.idrange.ipabaseid,
tooltip: IPA.get_entity_param('idrange', 'ipabaseid').label,
widget: 'idrange.ipabaseid'
},
{
name: 'ipaidrangesize',
label: IPA.messages.objects.range.ipaidrangesize,
tooltip: IPA.get_entity_param('range', 'ipaidrangesize').label,
widget: 'range.ipaidrangesize'
label: IPA.messages.objects.idrange.ipaidrangesize,
tooltip: IPA.get_entity_param('idrange', 'ipaidrangesize').label,
widget: 'idrange.ipaidrangesize'
},
{
name: 'ipabaserid',
label: IPA.messages.objects.range.ipabaserid,
tooltip: IPA.get_entity_param('range', 'ipabaserid').label,
widget: 'range.ipabaserid'
label: IPA.messages.objects.idrange.ipabaserid,
tooltip: IPA.get_entity_param('idrange', 'ipabaserid').label,
widget: 'idrange.ipabaserid'
},
{
name: 'ipasecondarybaserid',
label: IPA.messages.objects.range.ipasecondarybaserid,
tooltip: IPA.get_entity_param('range', 'ipasecondarybaserid').label,
label: IPA.messages.objects.idrange.ipasecondarybaserid,
tooltip: IPA.get_entity_param('idrange', 'ipasecondarybaserid').label,
widget: 'type.ipasecondarybaserid'
},
{
name: 'ipanttrusteddomainsid',
label: IPA.messages.objects.range.ipanttrusteddomainsid,
tooltip: IPA.get_entity_param('range', 'ipanttrusteddomainsid').label,
label: IPA.messages.objects.idrange.ipanttrusteddomainsid,
tooltip: IPA.get_entity_param('idrange', 'ipanttrusteddomainsid').label,
widget: 'type.ipanttrusteddomainsid'
}
],
widgets: [
{
type: 'details_table_section_nc',
name: 'range',
name: 'idrange',
widgets: [
'cn',
'ipabaseid',
@@ -126,18 +126,18 @@ IPA.range.entity = function(spec) {
{
type: 'multiple_choice_section',
name: 'type',
label: IPA.messages.objects.range.type,
label: IPA.messages.objects.idrange.type,
choices: [
{
name: 'local',
label: IPA.messages.objects.range.type_local,
label: IPA.messages.objects.idrange.type_local,
fields: ['ipasecondarybaserid'],
required: ['ipasecondarybaserid'],
enabled: true
},
{
name: 'ad',
label: IPA.messages.objects.range.type_ad,
label: IPA.messages.objects.idrange.type_ad,
fields: ['ipanttrusteddomainsid'],
required: ['ipanttrusteddomainsid']
}
@@ -159,4 +159,4 @@ IPA.range.entity = function(spec) {
return that;
};
IPA.register('range', IPA.range.entity);
IPA.register('idrange', IPA.idrange.entity);

View File

@@ -53,7 +53,7 @@
<script type="text/javascript" src="aci.js"></script>
<script type="text/javascript" src="entitle.js"></script>
<script type="text/javascript" src="trust.js"></script>
<script type="text/javascript" src="range.js"></script>
<script type="text/javascript" src="idrange.js"></script>
<script type="text/javascript" src="ext/extension.js"></script>
<script type="text/javascript" src="webui.js"></script>

View File

@@ -157,7 +157,7 @@
+process dns.js
+process automount.js
+process automember.js
+process range.js
+process idrange.js
+process trust.js
+process webui.js
+process login.js

View File

@@ -368,7 +368,7 @@
"pwpolicy": {
"identity": "Password Policy"
},
"range": {
"idrange": {
"details": "Range Settings",
"ipabaseid": "Base ID",
"ipabaserid": "Primary RID base",

View File

@@ -13708,7 +13708,7 @@
}
]
},
"range_add": {
"idrange_add": {
"takes_args": [],
"takes_options": [
{
@@ -13797,7 +13797,7 @@
}
]
},
"range_del": {
"idrange_del": {
"takes_args": [],
"takes_options": [
{
@@ -13811,7 +13811,7 @@
}
]
},
"range_find": {
"idrange_find": {
"takes_args": [],
"takes_options": [
{
@@ -13941,7 +13941,7 @@
}
]
},
"range_mod": {
"idrange_mod": {
"takes_args": [],
"takes_options": [
{
@@ -14045,7 +14045,7 @@
}
]
},
"range_show": {
"idrange_show": {
"takes_args": [],
"takes_options": [
{
@@ -18180,4 +18180,4 @@
"methods": {},
"objects": {}
}
}
}

View File

@@ -5882,7 +5882,7 @@
],
"uuid_attribute": ""
},
"range": {
"idrange": {
"aciattrs": [
"cn",
"ipabaseid",
@@ -7743,4 +7743,4 @@
}
}
}
}
}

View File

@@ -84,7 +84,7 @@ IPA.admin_navigation = function(spec) {
]},
{entity: 'selfservice'},
{entity: 'delegation'},
{entity: 'range'},
{entity: 'idrange'},
{entity: 'trust'},
{entity: 'config'}
]}];