Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
9fda9f24
Commit
9fda9f24
authored
Oct 12, 2015
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GUI: add new vtype ConfigId, use it for snapshot names
parent
0d4b9658
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
4 deletions
+16
-4
changelog.Debian
debian/changelog.Debian
+2
-0
Toolkit.js
www/manager/Toolkit.js
+6
-1
Snapshot.js
www/manager/lxc/Snapshot.js
+1
-1
Snapshot.js
www/manager/qemu/Snapshot.js
+1
-1
Toolkit.js
www/manager5/Toolkit.js
+6
-1
No files found.
debian/changelog.Debian
View file @
9fda9f24
pve-manager (4.0-49) unstable; urgency=medium
* GUI: add new vtype ConfigId, use it for snapshot names
* IP4_cidr_match: allow short masks like /8
-- Proxmox Support Team <support@proxmox.com> Fri, 09 Oct 2015 08:16:55 +0200
...
...
www/manager/Toolkit.js
View file @
9fda9f24
...
...
@@ -73,7 +73,12 @@ Ext.apply(Ext.form.field.VTypes, {
StorageId
:
function
(
v
)
{
return
(
/^
[
a-z
][
a-z0-9
\-\_\.]
*
[
a-z0-9
]
$/i
).
test
(
v
);
},
StorageIdText
:
gettext
(
"
Allowed characters
"
)
+
"
: 'a-z', '0-9', '-', '_', '.'
"
,
StorageIdText
:
gettext
(
"
Allowed characters
"
)
+
"
: 'A-Z', 'a-z', '0-9', '-', '_', '.'
"
,
ConfigId
:
function
(
v
)
{
return
(
/^
[
a-z
][
a-z0-9
\_]
+$/i
).
test
(
v
);
},
ConfigIdText
:
gettext
(
"
Allowed characters
"
)
+
"
: 'A-Z', 'a-z', '0-9', '_'
"
,
HttpProxy
:
function
(
v
)
{
return
(
/^http:
\/\/
.*$/
).
test
(
v
);
...
...
www/manager/lxc/Snapshot.js
View file @
9fda9f24
...
...
@@ -71,7 +71,7 @@ Ext.define('PVE.window.LxcSnapshot', {
name
:
'
snapname
'
,
value
:
me
.
snapname
,
fieldLabel
:
gettext
(
'
Name
'
),
vtype
:
'
Storage
Id
'
,
vtype
:
'
Config
Id
'
,
allowBlank
:
false
}
];
...
...
www/manager/qemu/Snapshot.js
View file @
9fda9f24
...
...
@@ -71,7 +71,7 @@ Ext.define('PVE.window.Snapshot', {
name
:
'
snapname
'
,
value
:
me
.
snapname
,
fieldLabel
:
gettext
(
'
Name
'
),
vtype
:
'
Storage
Id
'
,
vtype
:
'
Config
Id
'
,
allowBlank
:
false
}
];
...
...
www/manager5/Toolkit.js
View file @
9fda9f24
...
...
@@ -73,7 +73,12 @@ Ext.apply(Ext.form.field.VTypes, {
StorageId
:
function
(
v
)
{
return
(
/^
[
a-z
][
a-z0-9
\-\_\.]
*
[
a-z0-9
]
$/i
).
test
(
v
);
},
StorageIdText
:
gettext
(
"
Allowed characters
"
)
+
"
: 'a-z', '0-9', '-', '_', '.'
"
,
StorageIdText
:
gettext
(
"
Allowed characters
"
)
+
"
: 'A-Z', 'a-z', '0-9', '-', '_', '.'
"
,
ConfigId
:
function
(
v
)
{
return
(
/^
[
a-z
][
a-z0-9
\_]
+$/i
).
test
(
v
);
},
ConfigIdText
:
gettext
(
"
Allowed characters
"
)
+
"
: 'A-Z', 'a-z', '0-9', '_'
"
,
HttpProxy
:
function
(
v
)
{
return
(
/^http:
\/\/
.*$/
).
test
(
v
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment