273 Commits

Author SHA1 Message Date
Bingbing
a4250a53e3 chore: add circular reference check (#9065) 2025-12-23 02:44:40 +00:00
Jay Wu
ef229e6176 chore: pin external github ations to commit SHA (#9417) 2025-12-16 06:26:52 +00:00
Balu George
b553c62a63 Modify client cert path 2025-12-12 22:14:36 +05:30
Balu George
1562c71aa7 Hardcode cert path for release 2025-12-12 19:08:48 +05:30
Balu George
92b186510c Decrypt keypair before trust manager setup (#9478) 2025-12-12 14:41:51 +05:30
Balu George
7f0ff46f8d Fix Insomnia windows build signing and path for inso.exe signing (#9474)
* Fix incorrect path for inso.exe

* Fix windows build
2025-12-12 14:12:06 +05:30
Balu George
12b54b0ae7 Modify the windows app signing process to use the new certificate (#9472) 2025-12-12 07:33:00 +00:00
Jack Kavanagh
2f4e3a8e65 run prettier (#9431) 2025-11-26 11:19:07 +00:00
Curry Yang
24b4251ad1 fix: nuget version 2025-11-14 16:25:04 +08:00
Curry Yang
0990a46f6a feat: add squirrel windows sign check - [INS-1338] (#9361)
* feat: add windows sign check

* fix: dir

* feat: sign check in CI

* add comment

* fix
2025-11-14 11:38:08 +08:00
Ryan Willis
1b6c776214 feat: LLM integrations + preferences (#9296)
* feat: integrate AI plugin and configure LLMs in preferences (#9192)

* poc: LLM configuration

* fix formatting + tidy script

* fix openpath type send method

* exempt node_modules from vitest

* reset package-lock for inso build

* switch from send/on to invoke/handle

* switch to pluginData

* remove unnecessary animation

* remove extraneous external defs in frontend bundle config

* rebase fix

* feat: mock server gen (#9201)

* add ipc handler methods in front of llm config service (#9202)

* feat: gemini first class config support (#9209)

* feat: add gemini as a backend

* fix: save api key the first time

* chore: call plugin from utility process (#9210)

* feat: additional mock server event tracking (#9215)

* feat(Git Commit): Automatically generate commits (#9164)

* feat: add AI-generated commit message functionality in staging modal

* feat: enhance AI commit message generation with error handling and improved UI

* fix: update button icon and text for commit generation state in staging modal

* feat: add diff functionality to Git service and integrate with AI commit message generation

* feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS

* feat: implement multiple commit functionality for Git VCS and integrate with staging modal

* feat: add validation for staged changes before generating commit messages

* feat: implement generateCommitsFromDiff functionality for AI commit message generation

* Cleanup staging modal and use tree data for reordering and submitting multiple commits

* Revert "feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS"

This reverts commit b731372debdfb07ac118d84900c2cecb635a34b4.

* feat: update type definitions for diff changes in Git VCS

* refactor: remove console logs and commented code from staging modal and AI commit generation

* feat: implement git commit generation process using a separate utility process for improved error handling and performance

* fix: improve error handling messages in AI commit generation

* chore: update optional dependency for AI plugin to alpha version 1.0.3

* fix: ensure data dir exists prior to reading (#9220)

* fix: ensure data dir exists prior to reading

* rename handler

* feat: mock server gen ux improvements (#9221)

* fix: include mockgen script in build (#9222)

* feat: add git commit generation process to build script (#9226)

* fix: set min height for git folder selector (#9242)

* chore: ai plugin 1.0.4 (#9243)

* feat: toggle ai features (#9232)

* feat: track commit generation and saving events for analytics (#9293)

* feat: add analytics tracking for commit message generation events

* fix: update segment event names to camelCase for consistency

* Update package-lock with the plugin modules

* fix(build): add x64ArchFiles option back (#9297)

* fix: autoselect self hosted mock when cloud mock disabled (#9299)

* fix: hide ai settings from scratch pad user (#9300)

---------

Co-authored-by: Shelby Moore <13246465+shelby-moore@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2025-10-23 10:41:39 +02:00
Curry Yang
bec951ee5d fix: sentry sourcemap - [INS-1255] (#9249)
* fix: sentry sourcemap

* fix: publish sentry

* use Wildcard Pattern for sub path
2025-10-16 16:17:57 +02:00
Jay Wu
219c27d41d increase timeout to 45 minutes for building artifacts (#9238) 2025-10-10 14:47:33 +08:00
Jack Kavanagh
d25412c93b Fix release recurring builds (#9191)
* x64ArchFiles

* extend recurring timeout
2025-09-29 18:00:09 +02:00
Balu George
e8bd0d07a6 fix: Get image name and provenance repository from environment variables (#9134)
* Get image name and provenance repository from environment variables

* Add yaml anchors to avoid https://github.com/actions/runner/issues/2372
2025-09-12 10:07:28 +05:30
Jay Wu
88824e88b3 chore(build): remove the verify-provenance step (#9005)
* chore(build): remove the verify-provenance step

* create tag and release

* add overwrite
2025-08-19 16:39:12 +08:00
Curry Yang
6aea08bee5 chore: use ce artifacts for publishing-[INS-1095] (#8964)
* chore: use ce artifacts for publishing

* delete release create step

* add workflow_dispatch

* DEBUG

* upload publish flow for vault plugin

* verify image and provenance

* add permission

* verify

* verify

* remove debug code
2025-08-14 10:26:18 +00:00
James Gatz
aa838bf39c chore(Architecture): react router spa mode (#8902)
* first pass

fix tests

move all react things in dev

try-package

build stuff

use http protocol instead of file

handle refresh

fix tests and routeloaderdata apths

fix npm run dev

fix sorts

fix hidden browser window

cleanup files

Typesafe /auth/* routes

typesafe commands route

git-credentials typesafe routes

import typesafe routes

fix types

fix hidden browser window

invite and collaborators typesafe routes

fix types

remove workarounds

fix dashboard test

more types

git typesafe routes

fix runner test

typesafe scratchpad navigation

fix remove unused project route

fix test routes

add space

request typesafe routes

git credentials typescript conspiracy

git typesafe routes

typecheck

debug bundles for inso

fix test

fix request group tab

workspace typesafe routes

feedback

All routes use generated types

Add typed fetchers to actions and loader

Use typed fetchers in the app

move git actions to the root

* fix react-use usage

update import source field

Spawning npm fails the build

Add ~ module resolution to vitest

add initialEntry functionality

fix update environment name requirement

fix settings patch

use loader for fetching the vault key and fix process.env.PLAYWRIGHT issue

fix missing type

Centralize useRouteLoaderData to routes

Use environment for vitest tests that run browser code

Update remaining fetchers to typesafe versions

remove unused fetcher and add callback to sync

Wrap load/submit in useCallback to keep them stable between re-renders

Update deps lists with stable submit functions

fix lint issue

* fix ts issues

* Add toaster to root

* Use shell for running scripts with spawn on Windows

* Move renderer bundling out of the build script

* Fix request-pane test flakiness

* update the url we use for internal purposes

* Increase timeout for release workflow

* fix flaky bundling test

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-08-08 11:10:28 +02:00
Kent Wang
2eca4de150 feat: External vault separation and bundle plugin support for Insomnia & Inso (#8864)
* Move vault related UI code
* Support bundle plugin for app & inso and backend integration (#8857)
* Update Github actions
* spike: bundle plugin installation alternatives (#8899)
* installation alternative by optional dependency
* Refine plugins api
* feat: Execute vault plugin tag in web worker (#8934)
* update bundle test
* fix issues from comment

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-08-07 14:06:41 +00:00
Jack Kavanagh
5f60b01cae Disable node integration in worker (#8822)
* simplify out tough-cookie

* remove fs from vite config

* bridge fs os and decode

* polyfill crypto and uuid

* replace node:url

* remove require interceptor

* bridge jsonpath

* disable node in worker

* fix elevated extension

* remove spectral optimzation

* abstract and type db router

* complete abstraction

* add info about dev deps

* revert encode url

* fix and extend tests

* use jsonpath-plus import esm

* fix type check

* hide the openapi spam

* rename readFile

* optimise import

* fix md5 test

* speed up grpc test

* fix grpc test

* use global timeout

* fix lint

* fix tests

* fix types

* complete os support

* fix test

* update nodeOS
2025-07-14 16:10:32 +00:00
Ryan Willis
e9b75c02bc feat: allow choosing install dir with NSIS - [INS-5109] (#8456)
* feat: allow choosing install dir with NSIS

* inject file

* write file to package

* read nsis flag file

* add publish config

* add publish config

* comment wrapper

* nsis auto-update

* auto update

* update

* fix nsh

* update nsh script

* update config

* fix: lint error

* fix lint

* fix: can not read or write file

* fix: did not generate app-update.yml

* use different wrapper logic

* modify comment

* fix: simplify code

* feat: add version into origin exe name

---------

Co-authored-by: Curry Yang <1019yanglu@gmail.com>
2025-06-23 16:31:13 +08:00
Jack Kavanagh
5543a6e08f tooling: unicorn eslint (#8743)
* set a few unicorn rules

* autofixes

* fix types

* more minor fixes

* more autofixes

* more normalisation

* prettier run
2025-05-27 09:47:46 +00:00
Bingbing
69c08ec0ad fix: specify bash as shell to ensure INSO_VERSION can be read on Windows (#8704) 2025-05-13 03:13:18 +00:00
Jay Wu
1c7958dfcd chore(release): create the draft release in the release-start workflow (#8656) 2025-04-29 15:56:45 +08:00
Jay Wu
2cd0317be0 chore(publish): publish releases (#8648)
INS-5421
2025-04-28 14:58:42 +08:00
Jay Wu
9ce5944ad0 feat: remove external PAT for insomnia release (#8628) 2025-04-18 10:47:27 +02:00
jackkav
253be8a622 fix double smoke test run 2025-04-15 14:28:25 +02:00
jackkav
bc49923120 re-enable traces 2025-04-15 14:15:51 +02:00
jackkav
f2c466f63a remove 2025-04-15 12:34:00 +02:00
jackkav
f8a8bfa2a0 workflow 2025-04-15 12:33:22 +02:00
jackkav
b2b28274f6 remove trace upload 2025-04-15 12:13:07 +02:00
jackkav
2d2be90b13 remove git sync test 2025-04-15 12:07:38 +02:00
Jack Kavanagh
b30978e33b Full-prettier-run (#8605)
* prettier

* remove markdown linting
2025-04-11 13:37:19 +02:00
Jack Kavanagh
7ce03af046 bump electron-build and add fuse (#8602)
* bump electron-build and add fuse

* ts

* fix ts issue

* js

* re-enable notarize

* update notarize step

* fix jsdoc
2025-04-11 13:10:42 +02:00
Balu George
4e45c7b505 Trigger docker/login-action only on linux runners (#8564) 2025-04-01 16:21:10 +05:30
Balu George
bc64e15a05 Add Docker Hub login to avoid build failures due to image pull rate limit (#8561) 2025-04-01 15:20:22 +05:30
Jack Kavanagh
10e1ded7dc bump/security-actions (#8510) 2025-03-25 17:03:09 +01:00
Ryan Willis
05d15b4abf securely wrap execution (#8451)
* test using a wrapper that sets security context before invoking the main application

* add build step to pr ci

* try with diff ver string

* statically link the standard libraries for portability

* more static linking

* prior version string

* remove pr substring from version

* try using a different version string
2025-03-25 08:57:53 -07:00
Balu George
8d1e6b21c4 Pin all external github actions to their corresponding commit SHAs (#8511) 2025-03-24 11:11:26 +00:00
Filipe Freire
3f86211139 chore: bump electron 35 [INS-5154] (#8490)
* chore: bump electron 35 [no-ticket]

* fix: build.ts poiting to node 22

* fix: update types

* fix: comment out inso build.ts node version check

* fix: bump npx pkg

* skip flakey tests

* bump timeout

* use glob instead of regex

* fix windows inconsistency

* revert experiemental changes

* fix: revert timeout

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-03-20 10:53:34 +01:00
Jay Wu
4d65587770 chore: update the publish workflow (#8407)
* chore: new workflow

* Chore: update the publish workflow

* inso use the same version as app

* fix(ci): verify artifact and image provenance and signature before uploading gh assets

* fix bug and typo

* fix bug

---------

Co-authored-by: saisatishkarra <saisatish.karra@konghq.com>
2025-02-27 21:07:59 +08:00
Filipe Freire
f7f8c4751a fix: disable arch for linux on electron-builder [INS-5053] (#8427) 2025-02-27 17:49:22 +08:00
Filipe Freire
f473bad2f3 arm64 linux build targets 2025-02-07 15:54:22 +00:00
hexchain
b7e959758b chore: also build appimage for arm64 linux (#8331) 2025-01-30 00:00:35 +01:00
Filipe Freire
df0570764d fix: .deb and .snap upload on publish [no-ticket] (#8332)
* fix: .deb and .snap upload on publish [no-ticket]

* remove the arm64 snap that we are not producing
2025-01-29 14:20:21 +00:00
Filipe Freire
9e38909f07 exclude inso docker from arm build 2025-01-28 16:58:34 +00:00
jackkav
cc0cdb66ce use ubuntu 22 2025-01-28 13:41:28 +01:00
jackkav
c4b77f39c5 only tag.gz for arm 2025-01-28 13:41:17 +01:00
Jack Kavanagh
0c7c50c4af make runners conventional (#8325)
* make runners conventional

* use 24 explicitly until latest alias is available for arm

* arm64 need snapcraft
2025-01-28 13:11:01 +01:00
Jack Kavanagh
275e30301d run name (#8324) 2025-01-28 12:09:08 +01:00