-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also moved fetching of JSON information to Go for cross-OS usage.
- Loading branch information
Showing
76 changed files
with
496 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
fields/6.0.23/SettingAutoSpeedtest.json → fields/6.0.43/SettingAutoSpeedtest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"enabled": "false|true", | ||
"interval": "^(1[2-9]|[2-9][0-9]|[1-9][0-9]{2,3})$" | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
fields/6.0.23/SettingBaresip.json → fields/6.0.43/SettingBaresip.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"enabled": "true|false", | ||
"server": "", | ||
"outbound_proxy": "", | ||
"package_url": "" | ||
} | ||
"package_url": "", | ||
"server": "" | ||
} |
10 changes: 5 additions & 5 deletions
10
fields/6.0.23/SettingBroadcast.json → fields/6.0.43/SettingBroadcast.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"sound_before_enabled": "true|false", | ||
"sound_before_type": "sample|media", | ||
"sound_before_resource": "", | ||
"sound_after_enabled": "true|false", | ||
"sound_after_resource": "", | ||
"sound_after_type": "sample|media", | ||
"sound_after_resource": "" | ||
} | ||
"sound_before_enabled": "true|false", | ||
"sound_before_resource": "", | ||
"sound_before_type": "sample|media" | ||
} |
8 changes: 4 additions & 4 deletions
8
fields/6.0.23/SettingConnectivity.json → fields/6.0.43/SettingConnectivity.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"enable_isolated_wlan": "true|false", | ||
"enabled": "true|false", | ||
"x_mesh_essid": "", | ||
"x_mesh_psk": "", | ||
"uplink_host": "", | ||
"uplink_type": "" | ||
} | ||
"uplink_type": "", | ||
"x_mesh_essid": "", | ||
"x_mesh_psk": "" | ||
} |
2 changes: 1 addition & 1 deletion
2
fields/6.0.23/SettingCountry.json → fields/6.0.43/SettingCountry.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"code": "[\\d]{1,3}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"enabled": "false|true", | ||
"fingerprintingEnabled": "false|true" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"enabled": "true|false", | ||
"x_element_essid": "", | ||
"x_element_psk": "" | ||
} | ||
} |
108 changes: 54 additions & 54 deletions
108
fields/6.0.23/SettingGuestAccess.json → fields/6.0.43/SettingGuestAccess.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,95 @@ | ||
{ | ||
"portal_enabled": "true|false", | ||
"allowed_subnet_": "", | ||
"auth": "none|hotspot|facebook_wifi|custom", | ||
"redirect_enabled": "true|false", | ||
"redirect_url": "", | ||
"redirect_https": "true|false", | ||
"redirect_to_https": "true|false", | ||
"portal_customized": "true|false", | ||
"portal_use_hostname": "true|false", | ||
"portal_hostname": "^[a-zA-Z0-9.-]+$|^$", | ||
"authorize_use_sandbox": "true|false", | ||
"custom_ip": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$", | ||
"ec_enabled": "true|false", | ||
"expire": "[\\d]+|custom", | ||
"expire_number": "^[1-9][0-9]{0,5}|1000000$", | ||
"expire_unit": "1|60|1440", | ||
"x_password": "", | ||
"custom_ip": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$", | ||
"facebook_enabled": "true|false", | ||
"facebook_app_id": "", | ||
"x_facebook_app_secret": "", | ||
"facebook_enabled": "true|false", | ||
"facebook_scope_email": "true|false", | ||
"facebook_wifi_block_https": "true|false", | ||
"facebook_wifi_gw_id": "", | ||
"facebook_wifi_gw_name": "", | ||
"x_facebook_wifi_gw_secret": "", | ||
"facebook_wifi_block_https": "true|false", | ||
"google_enabled": "true|false", | ||
"gateway": "paypal|stripe|authorize|quickpay|merchantwarrior|ippay", | ||
"google_client_id": "", | ||
"x_google_client_secret": "", | ||
"google_domain": "", | ||
"google_enabled": "true|false", | ||
"google_scope_email": "true|false", | ||
"ippay_use_sandbox": "true|false", | ||
"merchantwarrior_use_sandbox": "false|true", | ||
"password_enabled": "true|false", | ||
"voucher_enabled": "true|false", | ||
"voucher_customized": "true|false", | ||
"payment_enabled": "true|false", | ||
"restricted_subnet_": "", | ||
"allowed_subnet_": "", | ||
"restricted_dns_enabled": "false|true", | ||
"restricted_dns_servers": [ | ||
"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$" | ||
], | ||
"gateway": "paypal|stripe|authorize|quickpay|merchantwarrior|ippay", | ||
"paypal_use_sandbox": "true|false", | ||
"x_paypal_username": "", | ||
"x_paypal_password": "", | ||
"x_paypal_signature": "", | ||
"x_stripe_api_key": "", | ||
"x_quickpay_agreementid": "", | ||
"x_quickpay_apikey": "", | ||
"x_quickpay_merchantid": "", | ||
"quickpay_testmode": "true|false", | ||
"x_authorize_loginid": "", | ||
"x_authorize_transactionkey": "", | ||
"x_merchantwarrior_merchantuuid": "", | ||
"x_merchantwarrior_apikey": "", | ||
"x_merchantwarrior_apipassphrase": "", | ||
"x_ippay_terminalid": "", | ||
"merchantwarrior_use_sandbox": "false|true", | ||
"authorize_use_sandbox": "true|false", | ||
"ippay_use_sandbox": "true|false", | ||
"template_engine": "jsp|angular", | ||
"portal_customized": "true|false", | ||
"portal_customized_bg_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_bg_image_enabled": "true|false", | ||
"portal_customized_bg_image_filename": "", | ||
"portal_customized_bg_image_tile": "true|false", | ||
"portal_customized_box_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_box_link_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_box_opacity": "^[1-9][0-9]?$|^100$|^$", | ||
"portal_customized_box_text_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_button_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_button_text_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_languages": [ | ||
"^[a-z]{2}(_[A-Z]{2})*$" | ||
], | ||
"portal_customized_link_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_logo_enabled": "true|false", | ||
"portal_customized_logo_filename": "", | ||
"portal_customized_text_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_title": "", | ||
"portal_customized_tos_enabled": "true|false", | ||
"portal_customized_tos": "", | ||
"portal_customized_tos_enabled": "true|false", | ||
"portal_customized_unsplash_author_name": "", | ||
"portal_customized_unsplash_author_username": "", | ||
"portal_customized_welcome_text": "", | ||
"portal_customized_welcome_text_enabled": "true|false", | ||
"portal_customized_welcome_text_position": "under_logo|above_boxes", | ||
"portal_customized_box_link_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_box_text_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$", | ||
"portal_customized_languages": [ | ||
"^[a-z]{2}(_[A-Z]{2})*$" | ||
], | ||
"radius_enabled": "true|false", | ||
"portal_enabled": "true|false", | ||
"portal_hostname": "^[a-zA-Z0-9.-]+$|^$", | ||
"portal_use_hostname": "true|false", | ||
"quickpay_testmode": "true|false", | ||
"radius_auth_type": "chap|mschapv2", | ||
"radius_disconnect_enabled": "true|false", | ||
"radius_disconnect_port": "[1-9][0-9]{0,3}|[1-5][0-9]{4}|[6][0-4][0-9]{3}|[6][5][0-4][0-9]{2}|[6][5][5][0-2][0-9]|[6][5][5][3][0-5]", | ||
"radius_enabled": "true|false", | ||
"radiusprofile_id": "", | ||
"wechat_enabled": "true|false", | ||
"redirect_enabled": "true|false", | ||
"redirect_https": "true|false", | ||
"redirect_to_https": "true|false", | ||
"redirect_url": "", | ||
"restricted_dns_enabled": "false|true", | ||
"restricted_dns_servers": [ | ||
"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$" | ||
], | ||
"restricted_subnet_": "", | ||
"template_engine": "jsp|angular", | ||
"voucher_customized": "true|false", | ||
"voucher_enabled": "true|false", | ||
"wechat_app_id": "", | ||
"wechat_enabled": "true|false", | ||
"wechat_shop_id": "", | ||
"x_authorize_loginid": "", | ||
"x_authorize_transactionkey": "", | ||
"x_facebook_app_secret": "", | ||
"x_facebook_wifi_gw_secret": "", | ||
"x_google_client_secret": "", | ||
"x_ippay_terminalid": "", | ||
"x_merchantwarrior_apikey": "", | ||
"x_merchantwarrior_apipassphrase": "", | ||
"x_merchantwarrior_merchantuuid": "", | ||
"x_password": "", | ||
"x_paypal_password": "", | ||
"x_paypal_signature": "", | ||
"x_paypal_username": "", | ||
"x_quickpay_agreementid": "", | ||
"x_quickpay_apikey": "", | ||
"x_quickpay_merchantid": "", | ||
"x_stripe_api_key": "", | ||
"x_wechat_app_secret": "", | ||
"x_wechat_secret_key": "", | ||
"ec_enabled": "true|false" | ||
} | ||
"x_wechat_secret_key": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
fields/6.0.23/SettingLcm.json → fields/6.0.43/SettingLcm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"brightness": "[1-9]|[1-9][0-9]|100", | ||
"enabled": "true|false", | ||
"idle_timeout": "[1-9][0-9]|[1-9][0-9][0-9]|[1-2][0-9][0-9][0-9]|3[0-5][0-9][0-9]|3600", | ||
"sync": "true|false", | ||
"touch_event": "true|false", | ||
"brightness": "[1-9]|[1-9][0-9]|100", | ||
"idle_timeout": "[1-9][0-9]|[1-9][0-9][0-9]|[1-2][0-9][0-9][0-9]|3[0-5][0-9][0-9]|3600" | ||
} | ||
"touch_event": "true|false" | ||
} |
2 changes: 1 addition & 1 deletion
2
fields/6.0.23/SettingLocale.json → fields/6.0.43/SettingLocale.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"timezone": "" | ||
} | ||
} |
14 changes: 7 additions & 7 deletions
14
fields/6.0.23/SettingMgmt.json → fields/6.0.43/SettingMgmt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
"advanced_feature_enabled": "true|false", | ||
"alert_enabled": "true|false", | ||
"auto_upgrade": "true|false", | ||
"boot_sound": "true|false", | ||
"led_enabled": "true|false", | ||
"advanced_feature_enabled": "true|false", | ||
"outdoor_mode_enabled": "true|false", | ||
"unifi_idp_enabled": "true|false", | ||
"wifiman_enabled": "true|false", | ||
"x_mgmt_key": "[0-9a-f]{32}", | ||
"x_ssh_auth_password_enabled": "true|false", | ||
"x_ssh_bind_wildcard": "true|false", | ||
"x_ssh_enabled": "true|false", | ||
"x_ssh_keys": [ | ||
"" | ||
], | ||
"x_ssh_username": "^[_A-Za-z0-9][-_.A-Za-z0-9]{0,29}$", | ||
"x_ssh_password": ".{1,128}", | ||
"x_ssh_md5passwd": "", | ||
"x_ssh_password": ".{1,128}", | ||
"x_ssh_sha512passwd": "", | ||
"x_ssh_enabled": "true|false", | ||
"x_ssh_bind_wildcard": "true|false", | ||
"x_ssh_auth_password_enabled": "true|false" | ||
} | ||
"x_ssh_username": "^[_A-Za-z0-9][-_.A-Za-z0-9]{0,29}$" | ||
} |
2 changes: 1 addition & 1 deletion
2
...ds/6.0.23/SettingNetworkOptimization.json → ...ds/6.0.43/SettingNetworkOptimization.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"enabled": "true|false" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
"ntp_server_2": "", | ||
"ntp_server_3": "", | ||
"ntp_server_4": "" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
fields/6.0.23/SettingPorta.json → fields/6.0.43/SettingPorta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"ugw3_wan2_enabled": "false|true" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...s/6.0.23/SettingProviderCapabilities.json → ...s/6.0.43/SettingProviderCapabilities.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"enabled": "false|true", | ||
"download": "^[1-9][0-9]*$", | ||
"enabled": "false|true", | ||
"upload": "^[1-9][0-9]*$" | ||
} | ||
} |
Oops, something went wrong.