From bc94cb0298634530d35e66df9372803a8bf7bb09 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 21 Aug 2025 08:25:32 +0200 Subject: [PATCH] www/squid: small lint pass --- .../mvc/app/models/OPNsense/Proxy/Proxy.xml | 53 +++++++++---------- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/www/squid/src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml b/www/squid/src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml index 76cd139f4..d87028240 100644 --- a/www/squid/src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml +++ b/www/squid/src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml @@ -18,7 +18,7 @@ 1 65535 - ICP port needs to be an integer value between 1 and 65535 + ICP port needs to be an integer value between 1 and 65535. @@ -97,18 +97,18 @@ 256 0 - Specify a positive memory cache size. (number of MB's) + Specify a positive memory cache size (number of MBs). Y 1 99999 - Specify a maximum object size. (number of MB's) + Specify a maximum object size (number of MBs). 1 99999 - Specify a maximum object size in memory. (number of KB's) + Specify a maximum object size in memory (number of KBs). Default @@ -121,23 +121,20 @@ 100 1 - Specify a positive cache size. (number of MB's) + Specify a positive cache size (number of MBs). Y 0 Specify a valid swap-timeout. - N 0 Specify a valid swap-rate. - N 4096 Specify a multiple of operating system I/O page size. - N 0 @@ -167,7 +164,7 @@ Specify the overall bandwidth for downloads in kilobits per second. - Both throttling parameters should either be filled or empty + Both throttling parameters should either be filled or empty. AllOrNoneConstraint perHostTrotteling @@ -245,14 +242,14 @@ 3128 1 65535 - Proxy port needs to be an integer value between 1 and 65535 + Proxy port needs to be an integer value between 1 and 65535. Y 3129 1 65535 - SSL Proxy port needs to be an integer value between 1 and 65535 + SSL Proxy port needs to be an integer value between 1 and 65535. Y @@ -260,7 +257,7 @@ Y - When enabling "Log SNI information only", SSL inspection must also be enabled + When enabling "Log SNI information only", SSL inspection must also be enabled. DependConstraint sslurlonly @@ -279,30 +276,30 @@ ca - Please select a valid certificate from the list + Please select a valid certificate from the list. /^([a-zA-Z0-9\.:\[\]\s\-]*?,)*([a-zA-Z0-9\.:\[\]\s\-]*)$/ - Please enter ip addresses or domain names here + Please enter ip addresses or domain names here. 1 100 - worker number needs to be an integer value between 1 and 100 + Worker number needs to be an integer value between 1 and 100. Y 4 1 65535 - max size needs to be an integer value between 1 and 65535 + Maximum size needs to be an integer value between 1 and 65535. Y 5 1 32 - the number of sslrtd children needs to be an integer value between 1 and 32 + The number of sslrtd children needs to be an integer value between 1 and 32. 0 @@ -311,7 +308,7 @@ 1 65535 - SNMP port needs to be an integer value between 1 and 65535 + SNMP port needs to be an integer value between 1 and 65535. Y 3401 @@ -330,7 +327,7 @@ 2121 1 65535 - FTP Proxy port needs to be an integer value between 1 and 65535 + FTP Proxy port needs to be an integer value between 1 and 65535. Y @@ -365,7 +362,7 @@ /^([a-zA-Z0-9]){0,}\.([a-zA-Z0-9].){0,}/ - Please enter a valid domain name here + Please enter a valid domain name here. @@ -396,7 +393,7 @@ The filename may only contain letters, digits and one dot (not required). - Filename should be unique + Filename should be unique. UniqueConstraint @@ -437,7 +434,7 @@ - Related cron not found + Related cron not found. @@ -491,11 +488,11 @@ 1 - Credentials TTL needs to be an integer value above 0 + Credentials TTL needs to be an integer value above 0. 1 - Number of children needs to be an integer value above 0 + Number of children needs to be an integer value above 0. @@ -506,7 +503,7 @@ The proxy name must be set. - Proxy name should be unique + Proxy name should be unique. UniqueConstraint @@ -536,7 +533,7 @@ The match name must be set. - Match name should be unique + Match name should be unique. UniqueConstraint @@ -584,7 +581,7 @@ 0 23 - The last hour of the day is 23! + The last hour of the day is 23. Y @@ -695,7 +692,7 @@