mirror of
https://github.com/JoshiCodes/knock.git
synced 2026-12-04 15:19:41 +01:00
Cookie jars per folder; pacman repository on Gitea; install guide per platform
- A folder can share its parent's cookie jar, keep its own, or use no cookies; sub folders follow. The Cookies tab shows the jar a request used. Jars are stored per collection and folder. - The release workflow builds knock-bin from the deb and uploads it to the Gitea pacman repository (needs the GITEA_PACKAGES_TOKEN secret) - knock-bin installs the desktop entry as knock-app.desktop - README: install for Arch (signed pacman repo), Ubuntu/Debian, Fedora/openSUSE, AppImage, macOS (quarantine) and Windows (SmartScreen) - release.sh works when the version is already set
This commit is contained in:
@@ -69,6 +69,18 @@
|
||||
<p class="mb-2 text-[12px] text-fg-subtle">Requests in this folder that use "inherit" get this auth.</p>
|
||||
<div class="-mx-3"><AuthPanel bind:auth={meta.auth!} level="folder" {col} /></div>
|
||||
</section>
|
||||
<section>
|
||||
<h2 class="k-label mb-2">Cookies</h2>
|
||||
<p class="mb-3 text-[12px] text-fg-subtle">A folder can keep its own cookies, for example a frontend session apart from OIDC tests. Sub folders follow unless they choose something else.</p>
|
||||
<div class="flex flex-col gap-1.5">
|
||||
{#each [[undefined, 'Share the cookie jar of the parent folder or collection'], ['own', 'Own cookie jar for this folder'], ['off', 'No cookies']] as [mode, label]}
|
||||
<label class="flex items-center gap-2">
|
||||
<input type="radio" name="cookie-mode" class="size-3.5 accent-[var(--knock-cyan)]" checked={meta.cookies === mode} onchange={() => (meta!.cookies = mode as FolderMeta['cookies'])} />
|
||||
<span>{label}</span>
|
||||
</label>
|
||||
{/each}
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<h2 class="k-label mb-2">Headers</h2>
|
||||
<KeyValueTable bind:rows={meta.headers!} nameSuggestions={HEADER_NAMES} valueSuggestions={headerValues} />
|
||||
|
||||
Reference in New Issue
Block a user