Updates: Allow automatic display of keys/Copy button ack

This commit is contained in:
2026-03-12 17:41:54 -05:00
parent e5c229381b
commit db97652bc2
12 changed files with 518 additions and 182 deletions
+12 -2
View File
@@ -11,13 +11,23 @@
<label>Secure Tunnel</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<default>1</default>
<comment>Yes: Encrypted hs:// keys (recommended for dev sharing).</comment>
<comment>Yes: private key mode (recommended). No: public discoverable key.</comment>
</field>
<field id="port" translate="label" type="text" sortOrder="20" showInDefault="1">
<label>Port</label>
<default>80</default>
<validate>required-entry validate-number validate-greater-than-zero</validate>
<comment>Local port to tunnel (default: 80 for Magento).</comment>
<comment>Local port to tunnel. Admin start only allows 80 or 443 (HTTP/HTTPS).</comment>
</field>
<field id="script_path" translate="label" type="text" sortOrder="30" showInDefault="1">
<label>Scripts directory</label>
<comment>Absolute path to folder containing start-server.js (empty = app/code/MageSail/Magesail/scripts under Magento root). Required for Composer/vendor installs.</comment>
</field>
<field id="auto_restart" translate="label" type="select" sortOrder="40" showInDefault="1">
<label>Auto-restart on crash</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<default>0</default>
<comment>If Yes, daily cron restarts the tunnel when the process is no longer running (uses port/secure above).</comment>
</field>
</group>
</section>