Commit Graph

5645 Commits

Author SHA1 Message Date
Curry Yang
d0c6b647d7 test 2025-08-21 11:08:07 +08:00
Insomnia
0accbf8a9e Bump plugin version to 0.1.0 (#9024)
Co-authored-by: Kent Wang <174399962+cwangsmv@users.noreply.github.com>
2025-08-20 19:42:58 +08:00
Curry Yang
a3e6ee7dcb include spectral packaged to dependence (#9023) 2025-08-20 18:19:11 +08:00
James Gatz
c85918917b fix(Lint Process): Include the dependencies required for linting in the final package (#9022)
* bundle lint process

* Revert "bundle lint process"

This reverts commit b2b5378093.

* move spectral to dependencies so it is copied over
2025-08-20 11:44:42 +02:00
Kent Wang
b89c6f9e06 fix: Support list folder environment keys in the editor auto-complete list (#8983)
* Support list environment key in the editor auto-complete list
2025-08-20 16:27:59 +08:00
Kent Wang
6354ec8a4a fix: Adjust Hashicorp vault config form with help tooltip (#9017)
* Enhance the Hashicorp config form
* Fix flaky case
2025-08-20 16:21:56 +08:00
Curry Yang
aed1b30058 fix: mac autoUpdate (#9020) 2025-08-20 16:17:05 +08:00
Jay Wu
86cd6be4aa Merge branch 'release/11.5.0-beta.1' into develop 2025-08-20 07:02:43 +00:00
Jay Wu
0488f7c510 Trigger release/11.5.0-beta.1 build core@11.5.0-beta.1 2025-08-20 06:29:37 +00:00
Jay Wu
efbd7c3900 Bump app version to 11.5.0-beta.1 2025-08-20 06:24:47 +00:00
Pavlos Koutoglou
fb9d6abf13 refactor: Simplify script handling in getInsomniaV5DataExport by extracting logic to getScriptFromResources (#9000) 2025-08-19 17:06:25 +03:00
Pavlos Koutoglou
31fe166536 feat: Clean up Resolve Conflicts and Changes UX [INS-910] (#9007)
* feat: Update SyncMergeModal UI for clarity and usability

* feat: Enhance GitProjectStagingModal with file type indicators and styling

* feat: Add Git file status and type to GitChangesLoaderData interface

* feat: Enhance GitVCS with file status classification and type indicators

* feat: Add file status symbols and types to Git-VCS test cases

* feat: Update file status symbols and types in Git-VCS tests

* feat: Add file status symbol and type for untracked files in Git-VCS tests
2025-08-19 17:06:05 +03:00
Curry Yang
5bacf59a7e fix: create socket.io in folder (#9010) 2025-08-19 14:24:28 +02:00
Kent Wang
208b70265b update optionalDependencies and lock file (#9013) 2025-08-19 14:23:54 +02:00
James Gatz
821edc005f change <p> tag to <div> since it breaks DOM rules (#9012) 2025-08-19 14:19:11 +02:00
James Gatz
fffc404393 feat(Maintain localStorage data): Keep localStorage saved data after migrating from the file:// protocol (#9002)
* feat: Implement localStorage migration from file origin and add IPC handler for data retrieval

* fix(ipc): clear localStorage of file origin after data retrieval

* Update packages/insomnia/src/account/session.ts

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2025-08-19 10:48:15 +00:00
Curry Yang
f81464a6da fix: add socket.io to export map (#9008) 2025-08-19 18:01:51 +08:00
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
Pavlos Koutoglou
16c3d3e2af fix: Improve error handling and success notifications for Git push operation [INS-1140] (#8998)
* fix: Improve error handling and success notifications for Git push operations

* fix: Reset pull error state when showing pull required modal
2025-08-18 16:56:08 +00:00
James Gatz
fa7185b3ec fix(Onboarding): Use splat to handle all onboarding routes (#9001)
* Use splat to handle all onboarding routes

* fix ts issue
2025-08-18 16:30:54 +02:00
Kent Wang
56ec3c6f15 Bump plugin version to 0.1.0-alpha.2 2025-08-18 08:49:58 +00:00
Curry Yang
920f7c818a Merge branch 'release/11.5.0-beta.0' into develop 2025-08-15 04:01:12 +00:00
Curry Yang
f003bb364d Trigger release/11.5.0-beta.0 build core@11.5.0-beta.0 2025-08-15 03:13:04 +00:00
Curry Yang
289bc96e18 Bump app version to 11.5.0-beta.0 2025-08-15 03:11:52 +00:00
Pavlos Koutoglou
1a8adfb35e feat: Streamlined pull & push flows for scenarios where both local and remote changes exist [INS-907 & INS-913] (#8984)
* fix: add z-index to ToastRegion for proper stacking

* fix: update z-index for icons in organization component for proper visibility

* fix: improve error handling and return success status in Git actions

* feat: add handleClose option to SyncMergeModal for improved modal control

* feat: implement pullWithConflictSupport and enhance conflict handling in GitVCS

* feat: add GitPullRequiredModal component for handling pull requirements

* feat: enhance GitProjectStagingModal with pull handling and discard confirmation

* feat: implement pull handling and modal for required pulls in GitProjectSyncDropdown

* fix: correct variable name and improve error handling in GitProjectStagingModal

* refactor: remove unsupported merge error handling and log fallback for manual diff UI

* fix: prevent push success toast from showing during pull operations and update commit button state based on local changes

* feat: enhance GitProjectStagingModal with discard confirmation and improved state handling for commit-and-pull mode
2025-08-14 14:51:20 +03:00
Jack Kavanagh
782118aec8 add iconv-lite encode (#8956)
* add iconv-lite encode

* fix types

* use node crypto

* fix test failure

* fix error message

---------

Co-authored-by: Kent Wang <kent.wang@konghq.com>
2025-08-14 12:46:15 +02: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
Bingbing
c61eb98ed6 fix: add lock to project-related operations to avoid race condition issues (#8985) 2025-08-14 10:07:37 +00:00
Curry Yang
441e548469 bump: electron-log - [INS-929] (#8939)
* bump: electron-log

* fix: type

* feat: disable file transport in dev
2025-08-14 09:48:58 +00:00
James Gatz
936bb9e88a fix permissions revalidation (#8991) 2025-08-14 09:01:13 +00:00
Kent Wang
3b20b0dd22 fix templating worker issue (#8989) 2025-08-14 15:32:05 +08:00
Jack Kavanagh
3ac3965b45 *.min.js and entry.* naming conventions (#8968)
* use min.js convention

* rename to entry

* rename main.ts

* fix electorn builder config

* fix types

* fix hidden window entry

* rename esbuild.main.ts to entrypoints
2025-08-13 11:05:56 +00:00
George
2f220d4747 fix: enable dataFolders constraint for CLI - INS-1064 (#8955)
* fix: using helper

* fix: add file

* fix: test

* fix: lint

* fix: add import

* fix: introduce checks for caCerts and client certs

* fix: introduce checks for ca and client certs

* chore: fmt and lint

* fix: smoke tests

* fix: cli test by adding allowed data folders

* fix: cli test

* fix: smoke test

* fix: smoke tests

* fix: smoke test

* fix: smoke test

* fix: smoke test

* chore: disable ca checking

* fix: lint

* fix: lint

* fix: use different error messages for CLI and UI

* fix: lint after rebase
2025-08-13 17:19:41 +08:00
George
60cabfefe7 feat: add data folder constraint for read file tags - INS-1062 (#8953)
* feat: add data folder constraint for file tags

* fix: rebase
2025-08-13 08:00:05 +00:00
Kent Wang
1a8350ca4b update bundle plugin version (#8986) 2025-08-13 15:40:40 +08:00
xdm
bdbd45e8f0 fix: Fix the scroll position of request body [INS-1105] (#8962) 2025-08-13 04:19:12 +00:00
Bingbing
b42bd96958 fix: hide the import card in preference when it's empty (#8972) 2025-08-13 03:37:00 +00:00
Jack Kavanagh
e50056e5cd bump electron 37 (#8978) 2025-08-12 15:35:08 +00:00
Kent Wang
a6c140a1da Test: Add smoke test for external vault (#8952)
* add basic test
* fix types
2025-08-12 10:52:24 +00:00
Jack Kavanagh
f4247c3ece bump electron 36 (#8963)
* bump electron

* bump npmrc
2025-08-12 09:17:35 +00:00
James Gatz
93e64c5fc1 Use correct JSON encoding type in actions (#8965) 2025-08-11 14:40:04 +02:00
James Gatz
f1a0179abc feat(Inso CLI): Improve error messages when Inso cannot find Insomnia data or global environments (#8942)
* improve inso error messages for no insomnia data or missing global environment

* Update nesting in log message
2025-08-11 10:00:45 +00:00
Jack Kavanagh
4d42160f3c fix: router warnings (#8958)
* fixes some warnings

* Fix theme issues

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2025-08-11 11:34:36 +02:00
George
f62d1b2bff fix: introduce data folder as one constraint of file accessing (#8960)
* fix: introduce data folder as one constraint of file accessing

* fix: mistake from rebase
2025-08-11 16:16:14 +08: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
xdm
ab68d5c045 fix: hide the disabled queries in url.getQueryString()[NS-1073] (#8949) 2025-08-07 18:18:55 +08:00
Fabian Rodriguez
ce8e542b45 feat: generate insomnia-inso docs from source (#8099)
* feat: WIP generate insomnia-inso docs from source

Add a script that generates the reference docs for insomnia-inso from
the source code. Commander exposes commands, options and descriptions
which we can use to generate the markdown files.

This is a WIP to start a convo and an initial implementation, the script
doesn't work as it is because `cli.ts` doesn't export `program` and
`version`.

* wire up program

* simplify

* normalise line endings in each function

* Add page.release to relative links

* Use major.minor when generating the docs

* Add frontmatter to generated docs

* Use /inso-cli/reference/<path>/<version>/ as the url segment in generated docs

* Use `title` and not h1s for titles

* Fix linting issues

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-08-07 09:15:58 +00:00
Bingbing
91b3844c29 fix: hide invalid import and export button when no active project (#8937) 2025-08-07 03:38:48 +00:00
yaoweiprc
c65b766803 Fix the bug that it can not fetch oauth token for a folder (#8911) 2025-08-07 03:09:44 +00:00