Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ ignore = [
"RUSTSEC-2026-0104", # an older pinned version of rustls-webpki used by AWS SDK
"RUSTSEC-2026-0173", # proc-macro-error2 is unmaintained - waiting for a sea-orm update
"RUSTSEC-2026-0195", # quick-xml memory exhaustion - we don't parse untrusted XML
"RUSTSEC-2026-0253", # lru: unsound LruCache::pop - an old version pinned by aws-sdk-s3
"RUSTSEC-2026-0194", # quick-xml quadratic time - see above
"RUSTSEC-2021-0141", # dotenv is unmaintaned - only used for dev
]
Expand Down
2 changes: 1 addition & 1 deletion warpgate-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"check": "svelte-check --compiler-warnings 'a11y-no-noninteractive-element-interactions:ignore,a11y-click-events-have-key-events:ignore,a11y-no-static-element-interactions:ignore' --tsconfig ./tsconfig.json",
"lint": "npm run biome && svelte-check",
"biome": "biome",
"format": "biome format --fix",
"format": "biome check --fix && biome format --fix",
"postinstall": "npm run openapi:client:gateway && npm run openapi:client:admin",
"openapi:schema:gateway": "cargo run -p warpgate-protocol-http > src/gateway/lib/openapi-schema.json",
"openapi:schema:admin": "cargo run -p warpgate-admin > src/admin/lib/openapi-schema.json",
Expand Down
9 changes: 3 additions & 6 deletions warpgate-web/src/admin/config/users/AuthPolicyEditor.svelte
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<script lang="ts">
import { faWarning } from '@fortawesome/free-solid-svg-icons'
import { Alert, Input, Tooltip } from '@sveltestrap/sveltestrap'
import {
CredentialKind,
type UserRequireCredentialsPolicy,
} from 'admin/lib/api'
import InfoBox from 'common/InfoBox.svelte'
import { SvelteSet } from 'svelte/reactivity'
import type { ExistingCredential } from './CredentialEditor.svelte'
import Fa from 'svelte-fa'
import { faWarning } from '@fortawesome/free-solid-svg-icons'
import type { ExistingCredential } from './CredentialEditor.svelte'

type ProtocolID =
| 'http'
Expand Down Expand Up @@ -179,10 +179,7 @@
on:change={() => toggle(type)}
/>
{#if enabled && !isAvailable(type)}
<Fa
icon={faWarning}
class="text-warning"
/>
<Fa icon={faWarning} class="text-warning" />
{/if}
</div>
{#if disabled}
Expand Down
2 changes: 1 addition & 1 deletion warpgate-web/src/common/CollapsibleBlock.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script lang="ts">
import { faChevronRight } from '@fortawesome/free-solid-svg-icons'
import { autosave } from 'common/autosave'
import type { Snippet } from 'svelte'
import Fa from 'svelte-fa'
import { autosave } from 'common/autosave'

interface Props {
label: string
Expand Down
15 changes: 12 additions & 3 deletions warpgate-web/src/common/ConnectionInstructions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,10 @@
label="Example SSH command"
value={makeExampleSSHCommand(opts)}
/>
<CollapsibleBlock label="Advanced" persistKey="connectionInstructionsAdvancedOpen">
<CollapsibleBlock
label="Advanced"
persistKey="connectionInstructionsAdvancedOpen"
>
<div class="mt-3">
<CopyableTextArea
label="Example SCP command"
Expand Down Expand Up @@ -247,7 +250,10 @@
label="Example MySQL command"
value={makeExampleMySQLCommand(opts)}
/>
<CollapsibleBlock label="Advanced" persistKey="connectionInstructionsAdvancedOpen">
<CollapsibleBlock
label="Advanced"
persistKey="connectionInstructionsAdvancedOpen"
>
<div class="mt-3">
<CopyableTextArea
label="Example database URL"
Expand Down Expand Up @@ -275,7 +281,10 @@
label="Example PostgreSQL command"
value={makeExamplePostgreSQLCommand(opts)}
/>
<CollapsibleBlock label="Advanced" persistKey="connectionInstructionsAdvancedOpen">
<CollapsibleBlock
label="Advanced"
persistKey="connectionInstructionsAdvancedOpen"
>
<div class="mt-3">
<CopyableTextArea
label="Example database URL"
Expand Down
Loading