Update letsencrypt, plus typos in template files

This commit is contained in:
2024-10-18 19:01:59 +01:00
parent d83a74100e
commit 964771d876
13 changed files with 889 additions and 39 deletions

200
json5/Letsencrypt.json5 Normal file
View File

@@ -0,0 +1,200 @@
//
// Generated by sm1-html-2-json5 version:0.5 Chameleon version:4.5.4 On Python:3.12.3 at 2024-10-18 14:47:03
//
{
'PackageName': 'Letsencrypt',
'prefix': 'lets',
'MenuHeading': 'Miscellaneous',
'MenuDescription': 'letsencrypt',
'MenuNavigation': '2000 400',
'firstPanel': 'LIST',
'signalEvent': 'smeserver-letsencrypt-update',
'html': [
{
'Name': 'List',
'route': 'LIST',
'Header': 'lets_List of Domains',
'SubHeader': 'lets_FORM_DESCRIPTION',
'Subheader': 'SERVER_IPS',
Input1: {
Name: 'InternalIP',
Type: 'ReadonlyText',
Label: 'Internal IP',
Value: 'stash("InternalIP")',
},
Input2: {
Name: 'ObserverIP',
Type: 'ReadonlyText',
Label: 'Internet IP',
Value: 'stash("InternetIP")',
},
'Table1': {
'Type': 'Table',
'TableControl': 'DomainList',
'TopHeadings': [
'Domain name / HOSTNAME',
'Brief description',
'Content',
'LABEL_NAMESERVERS',
'LABEL_POINT',
'LABEL_LECERT',
'IS_IN_CERT',
'CHECK'
],
'Columns': [
'Table1-Domain name / HOSTNAME',
'Table1-Brief description',
'Table1-Content',
'Table1-LABEL_NAMESERVERS',
'Table1-LABEL_POINT',
'Table1-LABEL_LECERT',
'Table1-IS_IN_CERT',
'Table1-CHECK'
]
}
},
{
'Name': 'params',
'route': 'PARAMS',
'Header': 'Configuration for Letsencrypt',
'SubHeader': 'Manage letsencrypt-config settings:',
'Paragraph1': 'CONFIG_LETSENCRYPT',
'Input1': {
'Type': 'Select',
'Value': 'Disabled',
'Name': 'status',
'Label': 'SERVICE_STATUS',
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'enabled',
'Text': 'Enabled'
},
{
'Value': 'test',
'Text': 'TEST'
}
]
},
'Input2': {
'Type': 'Select',
'Value': '',
'Name': 'hookScript',
'Label': 'HOOKSCRIPT_STATUS',
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'enabled',
'Text': 'Enabled'
}
]
},
'Input3': {
'Type': 'Select',
'Value': '',
'Name': 'hostOverride',
'Label': 'HOSTOVERRIDE_STATUS',
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'yes',
'Text': 'Yes'
}
]
},
'Input4': {
'Type': 'Select',
'Value': '',
'Name': 'ACCEPT_TERMS',
'Label': 'ACCEPT_TERMS_STATUS',
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'yes',
'Text': 'Yes'
}
]
},
'Input5': {
'Type': 'Select',
'Value': '',
'Name': 'API',
'Label': 'API_STATUS',
'Options': [
{
'Value': '2',
'Text': '2'
}
]
},
'Input6': {
'Type': 'Select',
'Value': '',
'Name': 'keysize',
'Label': 'KEYSIZE_STATUS',
'Options': [
{
'Value': '2048',
'Text': '2048'
},
{
'Value': '3072',
'Text': '3072'
},
{
'Value': '4096',
'Text': '4096'
}
]
},
'Input7': {
'Type': 'Select',
'Value': '',
'Name': 'configure',
'Label': 'CONFIGUREMODE_STATUS',
'Options': [
{
'Value': 'all',
'Text': 'ALL'
},
{
'Value': 'domains',
'Text': 'Domains'
},
{
'Value': 'hosts',
'Text': 'HOSTS'
},
{
'Value': 'none',
'Text': 'NONE'
}
]
},
'Input8': {
'Type': 'Text',
'Value': '',
'Name': 'email',
'Label': 'EMAIL'
},
'Input9': {
'Type': 'Submit',
'Value': 'Save',
'Name': 'Next',
'Label': null
}
}
]
}

View File

@@ -20,7 +20,7 @@
},
Input2: {
Name: 'ShareOwnerGrp',
Type: 'Selection',
Type: 'Select',
Label: 'Share owner Group',
Value: [
'Write = admin, Read = group',
@@ -31,7 +31,7 @@
},
Input3: {
Name: 'EnableNFSshare',
Type: 'Selection',
Type: 'Select',
Label: 'Enable the NFS Share',
Value: [
'Disabled',
@@ -41,7 +41,7 @@
},
Input4: {
Name: 'ShareOnLocalNetwork',
Type: 'Selection',
Type: 'Select',
Label: 'EnableShare on local network',
Value: [
'Disabled',
@@ -58,7 +58,7 @@
},
Input6: {
Name: 'FileSystemPermissions',
Type: 'Selection',
Type: 'Select',
Label: 'File system permissions',
Value: [
'Read only',
@@ -68,7 +68,7 @@
},
Input7: {
Name: 'WriteAsync',
Type: 'Selection',
Type: 'Select',
Label: 'Write (a)synchronously',
Value: [
'Synchronous',
@@ -77,7 +77,7 @@
},
Input8: {
Name: 'DelayWrite',
Type: 'Selection',
Type: 'Select',
Label: 'Delays the disk writing',
Value: [
'Write delay',
@@ -87,7 +87,7 @@
},
Input9: {
Name: 'Squash',
Type: 'Selection',
Type: 'Select',
Label: 'Squash the power of users',
Value: [
'All users squash',
@@ -98,7 +98,7 @@
},
Input10: {
Name: 'BrowseParents',
Type: 'Selection',
Type: 'Select',
Label: 'Browse the parent folders',
Value: [
'Hide folder',
@@ -108,7 +108,7 @@
},
Input11: {
Name: 'SecurePorts',
Type: 'Selection',
Type: 'Select',
Label: 'Requests on secure ports',
Value: [
'Secure',
@@ -143,4 +143,4 @@
}
}
]
}
}