- Add PreferencesDialog with settings for TLS verification and request timeout - Update HttpClient to respect TLS verification setting - Add GSettings schema keys for force-tls-verification and request-timeout - Wire up preferences action to show dialog - Settings changes apply immediately to HTTP session
16 lines
609 B
XML
16 lines
609 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<schemalist gettext-domain="roster">
|
|
<schema id="cz.vesp.roster" path="/cz/vesp/roster/">
|
|
<key name="force-tls-verification" type="b">
|
|
<default>true</default>
|
|
<summary>Force TLS verification</summary>
|
|
<description>When enabled, TLS certificates will be verified. Disable to test endpoints with self-signed or invalid certificates.</description>
|
|
</key>
|
|
<key name="request-timeout" type="i">
|
|
<default>30</default>
|
|
<summary>Request timeout</summary>
|
|
<description>Timeout for HTTP requests in seconds</description>
|
|
</key>
|
|
</schema>
|
|
</schemalist>
|