Commit Graph

3058 Commits

Author SHA1 Message Date
Jack Kavanagh
3349fe56ea
Clean up outdate jest and tsconfigs (#7712)
* inso

* insomnia

* testing

* sdk

* remove base and eslint configs

* fix lock
2024-07-12 13:55:22 +02:00
Anuj Biyani
99351b9cba
show deprecation warnings on graphql arguments (#7364) 2024-07-12 11:35:13 +00:00
Brandon
2e3c2dbb69
Trim Bearer Authentication Strings (#7279)
* Test getBearerAuthHeader()

* Trim Bearer Authentication Strings

Addresses https://github.com/Kong/insomnia/issues/6020
2024-07-12 11:20:47 +00:00
James Gatz
6e432ad09e
feat(Request pane): Add indicators for body and auth in the request pane tabs (#7697)
* Add indicators for body and auth in the request pane tabs

* fix auth indicator
2024-07-12 10:56:13 +00:00
Jack Kavanagh
5a370a7174
conditional rendering (#7704) 2024-07-12 12:44:23 +02:00
Curry Yang
895d45f51e
fix: refresh storage rule when org change (#7707) 2024-07-12 06:46:47 +00:00
Curry Yang
ec337bcdb4
fix: ui improvement when return deferred data in loader (#7681)
* fix: ui improvement when switch project
2024-07-12 03:32:28 +00:00
Hexxa
9854b72e78
fix: typo in style name (#7701)
* fix: typo in style name

* fix: lint
2024-07-11 10:00:01 +00:00
James Gatz
da41075f46
Allow exporting all data from settings on login view (#7702) 2024-07-11 10:54:44 +02:00
James Gatz
0027958051
navigate to the base environment when deleting an env (#7695) 2024-07-11 10:31:28 +02:00
James Gatz
abca682d4f
always enable md preview (#7694) 2024-07-11 10:31:04 +02:00
Filipe Freire
39a2f375c8
chore: add smoke test for git-sync [INS-4132] (#7682)
* chore: add prerelease test for git-sync [INS-4132]

* Update git-sync.test.ts

* mv to smoke
2024-07-10 11:48:26 +02:00
Jack Kavanagh
03581544cf
split test job into app and cli (#7685)
* split

* add build sr

* adjust timeouts

* fix test

* fix timeout

* typo
2024-07-10 10:18:12 +02:00
Hexxa
2d98338047
chore: make the overlay darker in displaying request timings (#7691) 2024-07-10 10:17:12 +02:00
Jack Kavanagh
8bf08a3674
force (#7690) 2024-07-10 10:15:55 +02:00
Curry Yang
e798634e42
chore: enable sentry tracing (#7688)
* chore: enable sentry tracing

* add comment

* change to 10 percent

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-07-10 10:14:10 +02:00
Novsochetra
91b6297d51
chore: duplicate / for import insomnia-sdk/src/objects/(interfaces.ts,request.ts) (#7686) 2024-07-10 10:40:27 +08:00
Jack Kavanagh
d02a20438f
feat: inso parent folder auth (#7676)
* add logic

* test folder inheritance

* use crypto guid
2024-07-09 21:41:39 +02:00
Jack Kavanagh
8c729ecae7
inso fifth pass (#7601)
* extract lint and export logic

* add test and update doc

* some thoughts

* add test each

* notes

* comments

* add more cases

* improve types, flatten send request

* collection runner poc

* verbose

* flatten

* add bail

* stabilise pathing

* add test

* fix type check

* improve testing experience

* fix tests

* tidy up package.json

* tidy up package and test.yml

* remove old smoke test

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-07-09 13:06:55 +01:00
Filipe Freire
76a33eac5e
fix: default user-agent for oauth2 [7672] (#7675)
* fix: default user-agent for oauth2 [7672]

* fix
2024-07-08 10:32:38 +00:00
Curry Yang
d7743395a8 Bump app version to 9.3.3-beta.0 2024-07-08 08:21:13 +00:00
Curry Yang
deacf1513f
perf: App start improvement [INS-3957] (#7492)
* wip: gen whole route in initialEntry

* async tasks

* add params

* add comments

* refactor

* fix await

* feddback

* return string type

* perf: return deferredData in project loader

* clean code

* modify var name

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-07-08 16:16:50 +08:00
James Gatz
30a4e7075f Bump app version to 9.3.2 2024-07-04 13:12:37 +00:00
James Gatz
8c66a9b3c2
feat(Proxy Settings): Improve Proxy experience (#7664)
* Improve check for updates button

* Create a new settings tab for Proxy settings

* display the status bar on the auth views and update indicator for when proxy is on

* update e2e
2024-07-04 13:08:27 +00:00
Hexxa
f5886d3908
fix: generating curl command returns <getTime> error (#7648)
* fix: generating curl command returns <getTime> error

* fix: improve transforming

* test: clean up sdk cookie and add transforming tests

* chore: add comments
2024-07-04 03:28:34 +00:00
Curry Yang
b6c9bb9d46
bump: @sentry/electron (#7561)
* bump: @sentry/electron

* bump: @sentry/electron

* sentry config user

* resolve conflict
2024-07-04 03:08:55 +00:00
James Gatz
dd54fba4d7 Bump app version to 9.3.2-beta.0 2024-07-03 15:53:59 +00:00
Jack Kavanagh
779ef5b353
default to current (#7655) 2024-07-03 17:51:20 +02:00
James Gatz
e4b0a6325f
Fix stale state updates on key-value editor (#7654) 2024-07-03 14:27:22 +00:00
Filipe Freire
9fea3a1894
feat: setting to toggle insomnia user-agent [INS-4107] (#7640)
* feat: disable appversion user agent option [INS-4107]

* tidy up suppress logic

* fix

* fix
2024-07-03 16:08:51 +02:00
Hexxa
5f65c0bcbf
fix: importing collection with invalid keys returns error (#7563)
* fix: importing collection with invalid keys returns error

* Update packages/insomnia/src/utils/importers/convert.ts

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

* refactor: fix lint and logical problems

* fix: incorrect renaming

* test: refactor and add some tests

* Update packages/insomnia/src/utils/importers/convert.ts

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

* Update packages/insomnia/src/utils/importers/convert.test.ts

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

* Update packages/insomnia/src/utils/importers/convert.test.ts

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

* Update packages/insomnia/src/utils/importers/convert.test.ts

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

* Update packages/insomnia/src/utils/importers/convert.ts

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

* Update packages/insomnia/src/utils/importers/convert.ts

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

* fix: lint error

* fix: ci failure

* use JSON stringify to walk through the object

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-07-03 20:45:46 +08:00
James Gatz
9ac3926afc
fix(Export): Allow exporting workspaces without requests (#7643)
* allow exporting without requests

* seaparate export for envs

* add export to workspace dropdown
2024-07-03 11:24:51 +02:00
James Gatz
53421aa72e
fix(File Renames): Retry renames for windows EPERM issue (#7645)
* Retry renames for windows EPERM issue

* use async version and manage temporary errors only

* windows only rename magic
2024-07-03 11:24:18 +02:00
Jack Kavanagh
9384139867
fix oauth2 folder fetch (#7649) 2024-07-03 10:35:23 +02:00
Hexxa
1ba964ea5e
fix: folder scripts are not executed if request script is not enabled (#7646)
* fix: folder scripts are not executed if request script is not enabled

* fix: move test script to folder

* fix: lint error

* fix: tear down folder env
2024-07-03 07:10:08 +00:00
Jack Kavanagh
191acf0298
bump ws and grpc (#7618) 2024-07-03 08:48:48 +02:00
Jack Kavanagh
9fa75d9722
fixes #7622 (#7639) 2024-07-03 08:48:08 +02:00
Jack Kavanagh
b41826e881
key markdown editors (#7644) 2024-07-02 16:13:05 +02:00
Hexxa
a4de53443f
fix: can not undo in editor after sending request (#7623) 2024-07-02 11:48:30 +08:00
James Gatz
7087a4932a
fix clicking on the workspace card title should navigate to the workspace (#7631) 2024-07-01 15:29:51 +00:00
James Gatz
136db3e74b
chore(Tailwind): RenderedQueryString to tailwind (#7627) 2024-07-01 14:19:03 +00:00
James Gatz
473b9afb62
fix(UI Improvements) (#7626)
* Display selected environments in environment picker

* display the number of active cookies/certificates

* persist the position of the graphql variables panels

* gray out disabled items in the key-value editor
2024-07-01 15:15:10 +02:00
James Gatz
950d0d3f04 Bump app version to 9.3.1 2024-06-28 16:38:09 +02:00
Mark Kim
cb25910198
chore: add request id (#7610) 2024-06-28 10:32:11 -04:00
Filipe Freire
eab0e9c675
chore: add event for workspace environment type [no-ticket] (#7602)
* chore: add event for workspace environment type [no-ticket]

* fix lint
2024-06-28 16:07:41 +02:00
James Gatz
3ab6165f52
fix(Cookie expires): Invalid date on cookie expires (#7614)
* Fix always running after-response script

* Fix invalid date in cookies
2024-06-28 16:06:05 +02:00
Hexxa
cb4ec74a2a
fix: help to handle @ when it is not encoded in url (#7609)
* fix: help to handle @ when it is not escaped in url

* test: add tests and comments
2024-06-28 21:02:59 +08:00
James Gatz
8d027a73be Bump app version to 9.3.0 2024-06-27 13:15:37 +02:00
Jack Kavanagh
c21698decf
upgrade inso pkgs (#7592)
* upgrade cosmiconfig

* remove one layer of indirection

* more indirection

* upgrade commander

* fix tests

* remove unusedExitoverride

* flatten

* inline

* flatten config

* fix test

* docs

* flatten logging

* dont default to script

* fix test docs and config search

* refactor exportSpec

* fixed test
2024-06-27 12:53:35 +02:00
James Gatz
1a80b25ce5
fix(key-value editor): Fix locked focus when the autocomplete is open and improve styling (#7597)
* Fix locked focus when the autocomplete is open and improve styling

* add await to delay snippet

* display the workspace name on global environments
2024-06-27 10:12:34 +00:00