Commit Graph

4807 Commits

Author SHA1 Message Date
Filipe Freire
6b45828ae8
chore: bake inso-cli on older macos [INS-3931] (#7471)
* chore: bake inso-cli on older macos [INS-3931]

* send PKG_NAME var for macos builds

* macos-13 only

* Revert "send PKG_NAME var for macos builds"

This reverts commit dcd6f2b13b.

* Update .github/workflows/release-start.yml
2024-06-04 15:31:59 +02:00
Curry Yang
1b5723a01b
fix: Application Error when login failed (#7475) 2024-06-03 09:47:54 +00:00
Hexxa
42cd078b87
fix: add a missing assertion chain for the response entity (#7474) 2024-06-03 09:08:26 +00:00
André Ricardo
11524580d6
fix: websocket subprotocols (#7472) 2024-06-03 08:14:53 +00:00
pimothyxd
109258db41
fix: minor typo in interpolator (#7473) 2024-06-03 10:10:22 +08:00
Curry Yang
41911f00b0
perf: io-parallelization (#7458) 2024-05-30 13:35:13 +00:00
Hexxa
2898c2fb8d
fix: avoid rendering script by temporarily disable it (#7466) 2024-05-30 16:20:08 +08:00
Curry Yang
41c79a13b4
fix: project with null remoteId don't need to be updated (#7464)
* fix: project with null remoteId don't need to be updated

* fix: add detailed comments
2024-05-29 11:30:43 +02:00
Hexxa
55440c77ae
fix: unify after-response script property name for folders (#7460) 2024-05-29 10:28:17 +08:00
Filipe Freire
09d7ca96b2
feat: mock create segment event [INS-3924] (#7461) 2024-05-28 13:07:11 +00:00
Filipe Freire
09adb58c40
chore: investigate login error [INS-3851] (#7438)
* chore: investigate login error [INS-3851]

* another pass at error we show

* Update packages/insomnia/src/ui/auth-session-provider.ts
2024-05-28 13:45:13 +01:00
Hexxa
5d08381be5
fix: support generating values with faker.js in scripting (#7454)
* fix: support generating values with faker.js in scripting

* fix: relax timeout for one case and remove a duplicated case

* fix: test is flaky because of timeout

* fix: incorrect test selector

* fix: waiting before checking

* fix: replace clicking with assertion

* fix: relax the external timeout a bit
2024-05-28 15:28:49 +08:00
James Gatz
9f0bd8b0fe
feat(Accessibility): Update request lists to anounce the request name of a request on voice over (#7449) 2024-05-27 09:54:37 +02:00
Curry Yang
967ac06bec
Update CHANGELOG.md (#7448)
update changelog
2024-05-23 09:58:29 +00:00
Curry Yang
ed27327183 Merge branch 'release/9.3.0-beta.0' into develop 2024-05-23 09:33:32 +00:00
Curry Yang
437460a4c3 Bump app version to 9.3.0-beta.0 2024-05-23 08:11:42 +00:00
Hexxa
46b6ea811e
feat: enable major features of the after-response script (#7411)
* feat: update data model and request-pane to support post-req-script

* fix: unit test failed

* feat: integrate post-request script to the engine - INS-3785,INS-3786 (#7329)

* feat: integrate post-request script to the engine

* refactor: some minor improvements

* fix: lint error

* chore: clean up typings

* refactor: separate transforming into sync and async parts

* use named args

* fix: renaming pre-req vars, functions and 2 minor fixes

* fix: the error message is updated

* feat: add snippets for post-request scripting (#7395)

* feat: enable extended assertion chains on `insomnia.response` (#7396)

* feat: add snippets for post-request scripting

* feat(sdk): support response.to.have assertion for verifying response

* chore: fix lint error

---------

Co-authored-by: jackkav <jackkav@gmail.com>

* test: add tests for post-request scripts and post-request scripts - INS-3786 (#7331)

* test: add some tests for post-req script and script engine

* fix: incorrect script type

* chore: refresh package-lock after merging

* chore: clean up package-lock.json

* fix: failed tests after rebasing

* feat: support importing post-req script from Postman (#7423)

* feat: support importing post-req script from Postman

* fix: introduce post-req script property for merged changes

* test: add a test case for importing scripts

* fix: add missing fixture

* chore: remove row after merging

* chore: rename to after-response-script

* fix test

* refresh lock

* update snapshot

* extract pre request logic to function

* refresh lock again

* throw on base env

* fix: revert the logic which rejects the case of unselected environment

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-05-23 15:25:35 +08:00
Jack Kavanagh
2d872ab881
bump (#7443) 2024-05-22 16:59:43 +02:00
Filipe Freire
e6e1cb0299
fix: unhandled typerror [no-ticket] (#7444)
* fix: unhandled typerror [no-ticket]

* Update packages/insomnia/src/main/analytics.ts

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* Update packages/insomnia/src/main/analytics.ts

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* fix

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2024-05-22 16:39:31 +02:00
Jack Kavanagh
491ae241c8
feat: folder inheritance headers (#7437)
* add headers

* support groups

* assign headers

* clairfy duplication rule

* type check

* add warning
2024-05-22 13:34:11 +00:00
Jack Kavanagh
0073992efb
disable find (#7442) 2024-05-22 15:19:56 +02:00
Hexxa
e5ce4cd390
fix: init the hidden window when renderers are reloaded (#7428)
* fix: init the hidden window when renderers are reloaded

* fix: missing some smoke test stuff after merging

* feedback

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-05-22 09:29:49 +02:00
Jack Kavanagh
7abe25c3f2
disable context menu override (#7431) 2024-05-21 17:14:52 +00:00
James Gatz
cb7e5896c4
fix(CodeEditor): UI alignment in toolbar/filter dialog (#7436)
* fix alignment on code editor filter toolbar

* fix alignment on code editor filter dialog
2024-05-21 09:04:44 +02:00
James Gatz
3d79efb31f
fix initialization logic of mock-server (#7434) 2024-05-20 10:42:24 +00:00
James Gatz
258810eb9d
display errors on sync modal (#7433) 2024-05-20 12:29:00 +02:00
James Gatz
8a7b34d6e2
feat(Auth screen): Improve copy and add animation (#7429)
* sign up to sign up for free

* login page animation and copy
2024-05-17 13:16:13 +02:00
Jack Kavanagh
5e673767ae
can navigate to folder and inherit auth (#7353)
* can navigate to folder

* add docs tab

* can edit pre request script

* refactor authdropdown to support groups

* can input auth in folders

* can concat scripts

* ensure scripts are scoped

* inherit auth from parent folder

* extract to function

* support inherit

* remove console log

* fix inheritance

* fix types

* remove console.log

* skip pre request for now

* hide response pane

* reload on env modified

* fix oauth1 and support undefined auth

* add auth test

* watch sync for updates

* collapse folder only on icon click

* review feedback

* remove pre-req logic
2024-05-17 12:37:39 +02:00
Jack Kavanagh
9b0654f25c
copy changelog from release notes (#7410)
* copy changelog from release notes

* add GA
2024-05-15 16:07:57 +02:00
Jack Kavanagh
39316e9e5c Merge branch 'release/9.2.0' into develop 2024-05-15 14:03:13 +00:00
Jack Kavanagh
6eb2c953dc Bump app version to 9.2.0 2024-05-15 13:43:57 +00:00
Filipe Freire
9743874db2
fix(UI): add titles to some elements in Test view [no-ticket] (#7416) 2024-05-15 15:36:20 +02:00
James Gatz
39817586e6
fix(CloudSync Pull): Fix issue where workspaces could change parentId on pull (#7414)
* fix parentId update on pull

* move the solution to vcs so that it works everywhere we use pull

* cleanup code

* fix test
2024-05-15 09:57:45 +00:00
James Gatz
78a9f31ff6
fix(Spec): Expand lint errors and hide the preview pane appropriately (#7413)
* hide the preview panel when the spec is not open

* show lint errors
2024-05-15 11:44:17 +02:00
James Gatz
4ca6c211a4
better errors when something goes wrong updating projects (#7412) 2024-05-15 11:43:53 +02:00
Jack Kavanagh
75d09b67f1
only prompt with private envs (#7407)
* only prompt with privates

* fix both

* fix env lookup
2024-05-15 09:20:56 +02:00
gatzjames
4008de4152 Merge branch 'release/9.2.0-beta.0' into develop 2024-05-14 17:19:43 +02:00
jackkav
20253ac02d remove console log 2024-05-14 17:12:16 +02:00
James Gatz
3057e7c5ee Bump app version to 9.2.0-beta.0 2024-05-14 14:27:42 +00:00
James Gatz
aae0a9c542
feat(command-palette): Add global search for unsynced files (#7405)
* use the user/files api to fetch the unsynced files in global search

* naming

* fix e2e test

* fail gracefully if pulling a remote project doesn't work out

* fix popover error

* clean up loading and error states ui

* fix e2e test
2024-05-14 14:09:10 +00:00
James Gatz
1f49c3f080
fix error when there is no active project in the preferences data tab (#7406) 2024-05-14 11:56:13 +02:00
Jack Kavanagh
22475d8470
Feat: add-faker (#7390)
* install package

* first pass

* wip

* use pm names

* pin isomorphic-git

* can import tags

* add test

* add unit test

* renaming

* extract to file

* remove desc

* transform body form value

* rename to faker
2024-05-14 11:49:26 +02:00
Jack Kavanagh
2a6737ee98
improve VCS api (#7404)
* clearer names

* add gql types

* remove paths helper

* fix tests
2024-05-14 11:01:19 +02:00
Curry Yang
03afa4d452
perf: improve performance when spec lint [INS-3724] (#7374)
* perf: spec lint

* Move ruleset loading to main

* fix: solve todo

* fix: solve todo

* feat: open nodeIntegrationInWorker option

* fix: need save spectralRun ipc

* feat: add worker plugin

* put the default ruleset handling in loadSpectralRuleset

* make sure we check for latest id

* fix: postMessage and ipc can not transfer special objects

* move logic to new place and clean up main

* fix race condition and cleanup code

* fix: worker build

* add necessary worker ternminate and more logs

* use fs require in worker

* rename file and add reject

* fix typo

* remove unused console log in loader

* leave note about GC

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: jackkav <jackkav@gmail.com>
2024-05-14 14:56:53 +08:00
oahmed-OS
bb7916c399
fix: environment edit modal save (#7371)
* fix: environment edit modal save

* add onBlur

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-05-14 06:39:50 +00:00
James Gatz
9b068f642e
fix(ui): Misalignments in the UI (#7400)
* code editor pane height

* sync dropdown height

* request pane height

* debug design height

* unit test pane height

* use line height instead

* fix annoying auto-format

* git sync alignment

* unit test ui
2024-05-13 12:58:24 +02:00
Curry Yang
b3db2aeef7
fix: extract correct position through err message (#7398) 2024-05-13 09:40:51 +02:00
Jack Kavanagh
219158fb18
fixes codemirror measure issue (#7391) 2024-05-10 10:50:20 +00:00
Filipe Freire
6331bd70ca
fix: add missing 9.1.1 changelog [no-ticket] (#7392) 2024-05-10 11:19:27 +01:00
Jack Kavanagh
ab02192849
point changelog url at releases (#7387)
* point at releases

* remove changelogUrl

* fix lint
2024-05-09 09:40:41 +00:00