Commit Graph
14 Commits
Author SHA1 Message Date
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