Commit Graph

4093 Commits

Author SHA1 Message Date
yaoweiprc
7b950c7e80 Git server for smoke test 2026-04-15 17:53:45 +08:00
Curry Yang
f871f6519e fix: unhandledrejection error (#9774) 2026-04-15 09:32:00 +00:00
Jack Kavanagh
4818dd1def refactor: shared browser safe helper cleanup (#9810)
* refactor: shared browser-safe helper cleanup

* style: run eslint autofix

* fix: preserve empty url handling

* fix: address remaining copilot comments on pr3

* remove loader class
2026-04-15 10:41:38 +02:00
Jack Kavanagh
ce19a78567 refactor: route fs backed cleanup (#9806) 2026-04-15 04:14:41 +00:00
Shelby
e12d66224d feat: konnect sync integration (#9795) 2026-04-14 15:39:14 +00:00
Jack Kavanagh
38c1a34ba3 refactor: remove route path builtin imports (#9805) 2026-04-14 09:36:28 +02:00
Pavlos Koutoglou
5281a24647 Validate credentials (#9765)
* Validate the credentials

* Check credentials validation when user create a new project

* Modify the staging modal to validate the credentials

* Display a toast when users click on operations like push pull or fetch

* Rename gitRepoLoadErrors to credentialsValidationErrors for clarity

* Refactor imports in GitProjectStagingModal for consistency and clarity

* Update packages/insomnia/src/main/git-service.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update comment to clarify loading of credentials data in ProjectSettingsForm

* Refactor credentials loading logic in ProjectSettingsForm for clarity and efficiency

* Add validation for legacy git credentials in validateGitCredentials functions

* Fix conditional checks for credentialsValidationErrors in ProjectSettingsForm

* Update error messages in GitProjectSyncDropdown for clarity and consistency

* Update re-authentication text for consistency in GitOauthAuthBanner

* Refactor styling in GitOauthAuthBanner for improved layout and consistency

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-13 17:29:32 +03:00
Jack Kavanagh
3ec916e436 Chore: ratchet renderer nodejs calls (#9803)
* limit new nodejs calls

* plan

* ignore tests

* perf

* clean up
2026-04-13 13:33:57 +00:00
Bingbing
c8292c6c16 feat: move model migrate and initModel to database (#9796) 2026-04-13 14:42:19 +08:00
Insomnia
b18f9528fc Bump app version to 12.5.1-alpha.0 2026-04-11 00:15:09 +00:00
Alon Kolyakov
3082b1022b fix: exclude environment workspaces from Move/Copy to Workspace dropdown (#9737)
Fixes #8837

---------
Co-authored-by: Bingbing <ZxBing0066@gmail.com>
2026-04-10 07:08:07 +00:00
Ryan Willis
156c60476e fix: request local network access on macOS (#9784) 2026-04-08 10:36:27 -07:00
Bingbing
020f24f4d6 fix: clean unused model files (#9787) 2026-04-08 10:20:46 +00:00
Bingbing
6a6bb4708d feat: migrate models to insomnia-data - p6 (#9763) 2026-04-08 17:09:02 +08:00
Kent Wang
6de2de31fe feat: migrate models to insomnia-data - p8 (#9751)
* migrate modal to insomnia-data
* initial insomnia-data migration
* fix issues
2026-04-08 15:31:16 +08:00
Curry Yang
e2e8ac6d01 refactor: model migration (#9742)
* model migration

* lint

* fix lint

* fix type check

* lint

* fix: import type error

* fix: lint

* fix comment

* fix: comment

* fix: type
2026-04-07 10:16:19 +00:00
yaoweiprc
fdddbee99f fix: wait for Vite dev server before launching Electron (#9777)
Use wait-on to poll tcp:3334 so Electron only starts after the Vite
dev server is ready, preventing ERR_CONNECTION_REFUSED on startup.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 09:33:30 +00:00
Bingbing
9df6cafd25 feat: support deconstructing services (#9767) 2026-04-07 09:13:41 +00:00
Bingbing
831c07786b chore: clean up insomniaFetch imports and configuration (#9750) 2026-04-07 08:25:44 +00:00
Vivek Thuravupala
647355d787 fix: Account for non-string scalar return values from xpath functions [INS-637] (#9778)
* fix: address faulty assumption leading to errors when xpath functions return non-string values
* chore: add tests to cement handling of non-string xpath function return values
* chore: condense inline comment for xpath filtering to remote unnecessary verbosity
* fix: port xpath fix to template tags as well
* chore: add tests to cover patched local-template-tags behavior
* chore: rearrange local-template-tags tests a tiny bit to make it easier to add future response tag tests
* test: add additional tests to cover non-scalar XPath filters
* refactor: modify makeResponseContext so it no longer assumes a JSON response
2026-04-07 00:10:37 -07:00
Vivek Thuravupala
8ac6707321 fix: Use json-bigint for parsing JSON in the response template tag to handle large numbers [#8988] (#9728)
* Use json-bigint for parsing JSON in the response template tag [#8988]

Large numbers can lose precision when parsed using JSON.parse.

* Add unit tests to verify behavior of response template tag when handling large numbers [#8988]

* Add additional tests to cover floating point numbers

* Add inline documentation explaining usage of json-bigint + storeAsString

* Remove bespoke type definition for json-bigint; install existing one
2026-04-06 23:12:10 -07:00
Ryan Willis
52d64a0116 chore(deps): bump dependencies (#9756) 2026-04-03 19:08:00 -04:00
Ryan Willis
1ecb538bc5 feat: support switching spec docs between JSON and YAML (#9769) 2026-04-03 08:19:50 -07:00
Kent Wang
a161c959d7 feat: migrate models to insomnia-data - p7 (#9743)
* add initial migration
* remove use unused functions
2026-04-03 07:42:32 +00:00
Kent Wang
66f45471ee fix: Execute bundle plugin actions with correct execution environment (#9759)
* init changes for execute plugin action issue

* update comments based on new change
2026-04-03 03:01:58 +00:00
Insomnia
33e0c2e2e2 Bump app version to 12.5.0 2026-04-01 21:51:11 +00:00
Ryan Willis
082aa1fa37 fix: prevent duplicate imports during auto-scan (#9770) 2026-04-01 19:30:31 +00:00
Ryan Willis
9fbfa3adc5 fix: import state and project scan (#9766)
* fix: search all projects for existing workspace

* fix: reset import state for new links
2026-03-31 14:31:47 -07:00
Pavlos Koutoglou
71bf351d57 fix: Git Hub credentials edit pop up should be close automatically after reauthorize succeed. (#9760)
* feat: enhance Git credentials modal behavior

- Added tracking for the currently edited credential version when the modal opens.
- Implemented auto-close functionality for the edit modal when the edited credential is updated.

* Remove extra functions

* Fix issue with close modal
2026-03-31 18:11:04 +03:00
Kent Wang
dba87baa3d fix issue (#9764) 2026-03-31 10:30:30 +00:00
Kent Wang
9161761169 fix: delete cloud sync workspace issue (#9762)
* fix the issues found in test
* remove unnecessary change
* add missing words
2026-03-31 13:42:39 +08:00
Pavlos Koutoglou
1aca649f75 feat: Add toast notifications for update/create credentials (#9761)
* Add toast notifications for update/create credentials

* Update packages/insomnia/src/routes/git-credentials.update-sign-in.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/insomnia/src/routes/git-credentials.complete-sign-in.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix import

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-30 20:07:07 +03:00
Insomnia
8f6bf2af2f Bump app version to 12.5.0-beta.0 2026-03-26 02:32:17 +00:00
Ryan Willis
1d21a994de feat: new deep link import (#9733)
Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: aikido-pr-checks[bot] <169896070+aikido-pr-checks[bot]@users.noreply.github.com>
2026-03-25 09:20:06 -07:00
Bingbing
b071029f48 feat: migrate models to insomnia-data - p5 (#9741) 2026-03-25 10:12:00 +00:00
yaoweiprc
486b91ab2b Fix the bug that self-hosted mock server URL can not be edited when reating a new mock server [INS-2150] (#9738)
* Fix the bug that self-hosted mock server URL can not be edited when creating a new mock server within a local project

* Fix type checks

* Add field validation to self-hosted mock url field
2026-03-25 07:09:15 +00:00
Ryan Willis
e6c51d59c1 chore: upgrade to electron 41.0.3 and node 24.14.0 (#9734)
* chore: upgrade to electron 41.0.3 and node 24.14.0
2026-03-24 15:05:41 -07:00
yaoweiprc
c9decc8750 Update the logic for indentifing system changes [INS-2165] (#9720)
* Identify meta property as system change

* Add unit test

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix code review issues

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-24 16:54:35 +08:00
Bingbing
8732a98c4b feat: migrate models to insomnia-data - p3 (#9731) 2026-03-24 08:14:21 +00:00
Curry Yang
6383c3cbca remove hotkey nodejs runtime dependency (#9727)
* remove hotkey nodejs runtime dependency

* replace isMac function

* replace all platform api

* move docs change out of scope

* remove unused function
2026-03-24 06:46:44 +00:00
Pavlos Koutoglou
dd6fa9feb6 Git Credentials optimizations [INS-1947] (#9712)
* Add authorized as and view credential link

* Add authorName

* Add authorName

* Update credentials

* Add update credentials functions

* Typo

* Add expiresAtFromOAuthExpiresIn

* Add logic to update creds in github and gitlab

* Add utils

* Create banner

* Add logic to show the banner

* Reorder import statements in project-settings-form

* Fixes for button display

* Minor changes in gitlab

* Apply suggestion from @aikido-pr-checks[bot]

Co-authored-by: aikido-pr-checks[bot] <169896070+aikido-pr-checks[bot]@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add tests

* Change console log message

* Fix tests

---------

Co-authored-by: aikido-pr-checks[bot] <169896070+aikido-pr-checks[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-23 17:40:00 +02:00
Bingbing
700fb8ff17 feat: migrate settings to insomnia-data (#9729) 2026-03-20 18:13:41 +08:00
Bingbing
a0396f6b72 feat: enforce Promise-only service exports in insomnia-data node services (#9730) 2026-03-20 17:35:24 +08:00
Kent Wang
140ecc4245 feat: Extract vault and kv-pair utility methods out of environment model (#9724)
* move environment-utils

* extract db irrelevant methods to separate utils

* fix review issues
2026-03-20 03:52:35 +00:00
Vivek Thuravupala
44142b0024 fix: Use flexbox layout in Invite modal to allow for scrolling on longer lists [INS-2101] (#9725)
* fix: Use flexbox layout in Invite modal to allow for scrolling on longer lists [INS-2101]

* Move pagination controls out of scrollable area

* Position Invite collaborators modal a fixed distance from the top rather than centering vertically

* Remove unnecessary overflow from Invite collaborators modal
2026-03-19 09:18:58 -07:00
Ryan Willis
83b0293ba0 feat(analytics): attach organization_id if available (#9723) 2026-03-19 15:21:33 +00:00
Daniil Sivak
68597394ef fix: rendering OAuth2 object depending on its type (#9662) 2026-03-19 08:03:00 -07:00
Vivek Thuravupala
335c777a3b fix: Use stable identifier when rendering test result rows [INS-2163] (#9714)
* fix: Use stable identifier when rendering test result rows [INS-2163]

Using a user-controlled string such as the test name can lead to duplicate React keys, which leads to unpredictable rendering. This can lead to duplicate rows being rendered, or filters apparently not working because React can't reliable replace a row.

* Add inline documentation to discourage changes which could cause rendering issues in the future [INS-2163]
2026-03-18 21:39:17 -07:00
Crustack
53d1ce9fda fix: openapi import use path parameters instead of variables (#8585) 2026-03-18 20:32:28 +00:00
Shelby
d4ccf50afa chore: improve error message for adding allowed directories (#9719) 2026-03-18 15:51:22 +00:00