proxy setting fixes

This commit is contained in:
Henry Jameson 2025-12-11 14:37:51 +02:00
commit 96fc30a1b7
4 changed files with 26 additions and 29 deletions

View file

@ -84,7 +84,7 @@
<script src="./map_setting.js"></script> <script src="./map_setting.js"></script>
<style lang="scss"> <style lang="scss">
.ListSetting { .MapSetting {
.btn-group { .btn-group {
display: flex display: flex
} }

View file

@ -18,25 +18,27 @@
<slot v-else /> <slot v-else />
</label> </label>
{{ ' ' }} {{ ' ' }}
<input <div class="setting-control">
:id="path" <input
class="input string-input" :id="path"
:class="{ disabled: shouldBeDisabled }" class="input string-input"
:disabled="shouldBeDisabled" :class="{ disabled: shouldBeDisabled }"
:placeholder="backendDescriptionSuggestions[0]" :disabled="shouldBeDisabled"
:value="displayState" :placeholder="backendDescriptionSuggestions[0]"
@change="event => update({ event })" :value="displayState"
> @change="event => update({ event })"
{{ ' ' }} >
<Checkbox
:model-value="socksState"
:disabled="shouldBeDisabled"
:indeterminate="isIndeterminate"
@update:model-value="event => update({ event, isProxy: true})"
>
{{ $t('admin_dash.http.socks5') }}
{{ ' ' }} {{ ' ' }}
</Checkbox> <Checkbox
:model-value="socksState"
:disabled="shouldBeDisabled"
:indeterminate="isIndeterminate"
@update:model-value="event => update({ event, isProxy: true})"
>
SOCKS5
{{ ' ' }}
</Checkbox>
</div>
{{ ' ' }} {{ ' ' }}
<ModifiedIndicator <ModifiedIndicator
:changed="isChanged" :changed="isChanged"

View file

@ -60,8 +60,8 @@
display: grid; display: grid;
grid-template-areas: grid-template-areas:
"label control" "label control"
". desc" "label desc"
". draft"; ". draft";
grid-template-columns: 4fr 5fr; grid-template-columns: 4fr 5fr;
column-gap: 0.5em; column-gap: 0.5em;
align-items: baseline; align-items: baseline;

View file

@ -1170,15 +1170,12 @@
"posts": { "posts": {
"global": "Global settings", "global": "Global settings",
"local": "Local posts", "local": "Local posts",
"scheduled_activites": "Scheduled posts",
"remote": "Remote posts" "remote": "Remote posts"
}, },
"other": { "other": {
"uncategorized": "Uncategorized", "uncategorized": "Uncategorized",
"user_backup": "User Backup", "user_backup": "User Backup",
"reports": "Reports", "reports": "Reports",
"feed": "RSS Feed",
"feed_title": "Article Title",
"privileges": "Privileges" "privileges": "Privileges"
}, },
"monitoring": { "monitoring": {
@ -1191,8 +1188,7 @@
"activitypub": "ActivityPub" "activitypub": "ActivityPub"
}, },
"http": { "http": {
"outbound": "Outbound HTTP requests", "outbound": "Outbound HTTP requests"
"socks5": "SOCKS5"
}, },
"auth": { "auth": {
"MFA": "Multi-factor Authentication", "MFA": "Multi-factor Authentication",
@ -1202,7 +1198,6 @@
"backup_codes": "Backup codes" "backup_codes": "Backup codes"
}, },
"job_queues": { "job_queues": {
"Oban": "Oban queues",
"Gun": { "Gun": {
"title": "Gun queues", "title": "Gun queues",
"connections_pools": "Gun connections pool", "connections_pools": "Gun connections pool",
@ -1398,11 +1393,11 @@
":connections_pool": { ":connections_pool": {
":max_idle_time": { ":max_idle_time": {
"label": "Maximum idle time", "label": "Maximum idle time",
"description": "idk" "description": "Maximum idle time before CONFIRM"
}, },
":retry": { ":retry": {
"label": "Retry", "label": "Retry",
"description": "idk" "description": "Number of retries for making a connection CONFIRM"
} }
}, },
":pools": { ":pools": {