Commit Graph

303 Commits

Author SHA1 Message Date
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
hexchain
e5c49f8d38 Build Linux aarch64 packages using the new GH runner (#8306)
* chore: upgrade @getinsomnia/node-libcurl to 2.33.7

* chore: add arch into AppImage name template

* chore: run release workflows on aarch64 linux runner

* fix: also consider process.arch when determining insomnia binary path

* fix: lift unprivileged userns restrictions for linux

Ubuntu 24.04 introduced this new restriction so we just lift it for all
Linux runners now to avoid confusion in the future.

* chore: remove hardcoded platform in inso Dockerfile

* chore: add architecture id into inso artifact name

* feat: modify workflows to support multi-arch
2025-01-28 10:55:25 +01:00
Filipe Freire
8f8445caf2 chore: bump semgrep (#8317)
* chore: bump semgrep

* fix
2025-01-23 15:48:28 +00:00
Curry Yang
18072a8a8f fix: smoke failed in github action (#8274)
* add log

* fix ubuntu image version
2025-01-06 17:07:53 +08:00
Ryan Willis
2a9ffac2ac feat(github): github app [INS-3090] (#8254) 2024-12-17 13:35:01 +00:00
Filipe Freire
8703b889f5 spike: improve release PR warning (#8196) 2024-11-22 15:53:18 +00:00
Curry Yang
890d1b6d7e Update bug_report.yml 2024-11-13 10:40:18 +08:00
Curry Yang
ee3540eb78 Update bug_report.yml (#8167) 2024-11-13 10:31:34 +08:00
Filipe Freire
4e8e7a268b skip_cis_scan: true 2024-10-23 16:15:28 +01:00
Filipe Freire
bfb2f4567f fix: use different security-actions version 2024-10-23 15:54:59 +01:00
Filipe Freire
8ddff9d50e fix: windows code signing (#8084) 2024-10-16 06:47:16 -07:00
Filipe Freire
fc82eecaaf fix: homebrew job [INS-4555] (#8059)
* fix: homebrew job

* comment out beta

* fix

* fix

* fix?

* try

* fix
2024-10-10 08:35:27 +00:00
Filipe Freire
55930232db fix: change snapcore to canonical for action-publish in release-publish 2024-09-24 14:53:21 +01:00
Ryan Willis
9734d1e117 fix(build): set correct inso version during windows build (#7940) 2024-09-11 14:06:55 +00:00
Jack Kavanagh
65b25c9879 remove audit check (#7943) 2024-09-11 09:32:46 +02:00
George He
1775d9fd43 chore: upgraded micromatch and add back npm audit (#7921) 2024-09-06 08:36:55 +01:00