19 Commits
Author SHA1 Message Date
JoshiCodes 4960f6d419 Signed auto-updates for macOS and Windows
- Tauri updater with the release signing key; macOS and Windows offer
  Install and restart in the update notice, with download progress
- The release workflow signs the macOS app archive and the Windows
  installer when the key secret is present and publishes latest.json
- Linux keeps the notice; updates there come from the package manager
2026-11-27 22:18:13 +01:00
JoshiCodes 4b1590e750 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
v0.1.0
2026-11-27 22:12:08 +01:00
JoshiCodes 59a8000cc0 Tab menu, copy as cURL, drafts survive restarts, copy response body
- Right click a tab: close, close others, close to the right, close all,
  duplicate, copy as cURL, show in sidebar
- Ctrl+Shift+C copies the request as cURL with variables and auth filled
  in; secrets stay masked
- Unsaved edits and scratch requests come back after a restart or crash
- Copy button for the response body
2026-11-27 21:57:25 +01:00
JoshiCodes be65eae732 Opt-in update notices
- Asked once after the first start; switch and Check now in Settings
- At most one request a day to GitHub's latest-release endpoint,
  nothing else is sent; knock never updates itself
- A new version shows a notice with download link and release notes,
  plus one desktop notification per version; versions can be skipped
2026-11-27 21:56:04 +01:00
JoshiCodes 677b5adaf9 Design pass: fewer boxes, one emphasis signal, type glyphs in the JSON form
- Welcome screen: the mark as a peephole and actions as plain lines
  instead of a card grid and key chips
- Title bar: search as a small button, documentation (F1) next to it;
  help entries in the command palette
- The vertical cyan rule marks what needs attention (redirect URI,
  inactive environment, banners) instead of nested framed boxes
- JSON form: fixed key column so types and values line up at any depth,
  type glyphs in the code view's colours, row actions float on hover
- Crisper corners; Send carries the mark; Saved instead of a disabled
  Save button
- Open tabs are restored after a restart again
2026-11-27 21:54:04 +01:00
JoshiCodes f40c3975fb Make the dev mock a module 2026-11-27 21:48:41 +01:00
JoshiCodes 14888c3748 Move to GitHub: CI, release workflow and script; cursor and hover states
- ci.yml checks frontend types and build, core tests and that app and
  CLI compile on every push and pull request
- release.yml publishes a GitHub release with notes and checksums for
  tags; scripts/release.sh bumps the version everywhere, tags and pushes
- The Gitea workflow is gone; PKGBUILDs download from GitHub
- Every clickable element shows the pointer and has a hover state;
  disabled controls show not-allowed
- Dev-only fake backend (open the dev server with ?mock) for design work
- README: docs link, install per platform, development, releasing
2026-11-27 21:48:19 +01:00
JoshiCodes a73490e5d4 Import Bruno's YAML collections; fix defaults of on-by-default switches
- Bruno OpenCollection format (opencollection.yml, folder.yml, .yml
  requests, environments): folders and order, requests, bodies, auth
  including OAuth 2.0, settings, docs; scripts and other rules kept in
  Docs; a note when Bruno's hosted callback URI was used
- bruno.json is optional for .bru collections; picking a folder that
  holds several collections names them
- Collection variables that look like credentials (cookie, session,
  token, secret, password, api key) move to the secrets file and keep
  working under their name
- KeyValue, CollectionSettings, MultipartPart, ExtractRule and
  AssertRule default to enabled like the file format; new collections
  no longer start with the cookie jar turned off
2026-11-27 21:44:33 +01:00
JoshiCodes d96f9939a0 GitHub workflow: macos-latest, Node 24 actions, choose platforms for manual runs 2026-11-27 18:58:17 +01:00
JoshiCodes 5ad72214a8 GitHub workflow for macOS, Windows and native Linux builds; PKGBUILDs embed the frontend
- macOS: universal .app/.dmg and a universal CLI binary
- Windows (best effort): .msi, setup .exe and the CLI
- Linux on Ubuntu 22.04 amd64: deb, rpm, AppImage with a smoke test
- Tags attach everything to the GitHub release
- custom-protocol feature, so a plain cargo release build embeds the
  frontend instead of pointing at the dev server
2026-11-27 18:27:09 +01:00
JoshiCodes 5fc816a380 OAuth flows can be cancelled; discovery no longer waits for a pending login
- Only login, logout, refresh and revoke queue behind each other;
  discovery, test, userinfo and introspection run at once
- Cancel in the OAuth panel (and Cancel on the request) stops the flow,
  frees the callback port and the login lock
- Undefined variables in issuer, endpoints or client id are reported
  before any request is sent
- Keyring commands run off the UI thread, so a KWallet prompt cannot
  freeze the window
- One click on a collection opens its settings; the chevron folds it
- Until an environment is picked, local (or the first one) is active;
  the environment editor says when the shown one is not active
2026-11-27 18:24:04 +01:00
JoshiCodes e6913451e6 CI: match deb paths without a leading ./ and name the failing check 2026-11-27 18:03:54 +01:00
JoshiCodes c3b8849693 PKGBUILD: disable makepkg LTO, it breaks linking the C crypto library 2026-11-27 17:51:28 +01:00
JoshiCodes f455776c63 Add knock-git PKGBUILD that builds the latest main 2026-11-27 17:45:59 +01:00
JoshiCodes ffb01f4d4f CI: fit the arm64 runner, cross-compile amd64 packages
- Job containers request 2 CPUs and install node before checkout
- deb and rpm for amd64 are cross-compiled on Ubuntu 22.04 arm64 with
  multiarch libraries, checked for architecture, contents and glibc
  level, uploaded as artifacts and attached to tagged releases
2026-11-27 17:30:47 +01:00
JoshiCodes b25a8c0889 Pop-out auth debugger, cURL paste into the sidebar, desktop entry matches app id
- The auth debugger opens in its own window on request
- Ctrl+V with a cURL command in the sidebar creates a request in the
  selected folder
- knock-app.desktop and icon names match the Wayland app id, so KDE
  shows the icon in the taskbar
2026-11-27 17:26:43 +01:00
JoshiCodes fc253126a7 GraphQL, WebSocket, import, runner and CLI (M5, M6) plus packaging
- GraphQL editor with schema introspection, cached schema,
  autocomplete and explorer
- WebSocket: auth and subprotocols in the handshake, text/JSON/hex/file
  messages, saved messages, live log with filter, search and export,
  reconnect with backoff
- Import from Postman (collections and environments), Bruno, Insomnia,
  OpenAPI/Swagger and cURL; imported scripts are kept as docs, never run;
  credentials move to the gitignored secrets file
- Code snippets for cURL, fetch, Python, HTTPie, Go, PowerShell;
  Postman export
- Runner for folders and collections with JSON and JUnit reports
- knock CLI: send, run, import, auth login/debug/logout
- Large JSON responses parsed off the main thread
- PKGBUILDs, desktop entry with knock:// handler, CI workflow, README
2026-11-27 17:13:06 +01:00
JoshiCodes a469697af7 Auth types and OAuth 2.0 / OpenID Connect (M3, M4)
- Digest (MD5/SHA-256, -sess, auth/auth-int) with challenge round trip,
  self-signed JWT, AWS SigV4 (header and presigned), OAuth 1.0a,
  PKCS#12 client certificates; every type explains its computation
- OAuth: discovery, authorization code with PKCE over a loopback
  listener (knock:// and paste-by-hand as alternatives), client
  credentials, device code, password; tokens per issuer/client/scopes/
  environment in the keyring with auto refresh and one retry after 401
- Flow log with step timeline, raw exchanges, cURL export, plain-language
  diagnosis of provider errors, ID token validation incl. JWKS signature
- OAuth panel with redirect URI on top, token inspector, refresh,
  userinfo, introspection, revocation, logout and connection test
2026-11-27 16:53:32 +01:00
JoshiCodes f6484f4dc8 Skeleton, REST core, variables and JSON editor (M0–M2)
- knock-core: YAML collection format with unknown-field round trip,
  variable resolution across scopes with secrets and dynamic values,
  HTTP engine with manual redirects, cookie jar and large-body spill,
  basic/bearer/API key auth with debug output, assertions and extracts
- Tauri app: collection commands, file watcher, SQLite history,
  keyring-backed secrets
- Svelte UI: sidebar tree, tabs, request editor, response viewer,
  JSON form/code editor with schema hints, environments, settings
2026-11-27 16:42:31 +01:00