Commit Graph

2969 Commits

Author SHA1 Message Date
Jack Kavanagh
8648f49d4d
move env editor to folder tab (#7534)
* move env editor to folder tab

* remove old unused test
2024-06-12 10:05:42 +02:00
James Gatz
94ed3c1782 Bump app version to 9.3.0-beta.4 2024-06-11 16:57:57 +00:00
James Gatz
cc6d669299
ui imrpovements (#7528) 2024-06-11 18:05:33 +02:00
Filipe Freire
1c66fccfa1 Bump app version to 9.3.0-beta.3 2024-06-11 11:41:27 +00:00
jackkav
49f774c11d fix prerelease test 2024-06-11 12:59:56 +02:00
Jack Kavanagh
e13c169dcd Bump app version to 9.3.0-alpha.11 2024-06-11 10:47:17 +00:00
Jack Kavanagh
2ff059f7a2
remove oas 2 kong (#7503)
* remove oas 2 kong

* remove old test
2024-06-11 10:38:09 +01:00
Jack Kavanagh
6cb619285f
include read only in headers count (#7521) 2024-06-11 10:08:04 +02:00
Hexxa
b60b78ff4c
fix: url preview should contain auth params (#7509)
* fix: url preview should contain auth params

* fix: lint error

* fix auth inheritance

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-06-10 10:41:52 +00:00
Jack Kavanagh
fbb6f59304
import scripts (#7518) 2024-06-10 11:44:55 +02:00
Jack Kavanagh
e0b62caf87 Bump app version to 9.3.0-beta.2 2024-06-07 13:13:51 +00:00
Jack Kavanagh
adf2e20ba4 Bump app version to 9.3.0-alpha.9 2024-06-07 11:29:36 +00:00
Jack Kavanagh
fab8397a15 Bump app version to 9.3.0-beta.1 2024-06-07 10:39:58 +00:00
James Gatz
48eea153bd
improve database types to allow for querying per model fields (#7512) 2024-06-07 12:32:50 +02:00
Jack Kavanagh
9ac9e620c5
disable nunjucks (#7510) 2024-06-07 12:27:23 +02:00
Filipe Freire
b9c5ea4451
chore: new segment event (invite) [INS-3938] (#7506) 2024-06-06 22:49:44 +02:00
Jack Kavanagh
eac1e63f00
feat: Import/folder-auth (#7505)
* console logs

* import auth from folders

* just in case

* restore inheritance behaviour

* add auth node to snapshot
2024-06-06 12:11:11 +00:00
Hexxa
482eb7911e
feat: enable importing folder-level scripts (#7504)
* feat: enable importing folder-level scripts

* fix snapshot

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-06-06 13:54:06 +02:00
Jack Kavanagh
9bad611d5f Bump app version to 9.3.0-alpha.8 2024-06-05 16:34:35 +00:00
Jack Kavanagh
2e81c5a331 Bump app version to 9.3.0-alpha.7 2024-06-05 15:09:53 +00:00
Filipe Freire
b2aef286ac
chore: add analytics test [INS-3919] (#7478)
* chore: addd analytics test [INS-3919]

* minor fix analytics

* use net.fetch and use network log to check if segment gets called

* better way to capture request logs and body

* fix test

* move it to smoke

* refactor: Improve analytics event tracking in smoke test

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-06-05 15:04:31 +00:00
Filipe Freire
0e0806d25d
chore: new analytics events [INS-3938] (#7495) 2024-06-05 14:40:48 +00:00
Jack Kavanagh
50965a4483
Bump/electron-30 (#7354)
* bump node

* bump electron

* pin node v

* bump libcurl

* fix lock

* use stable

* types

* latest electron
2024-06-05 16:20:56 +02:00
Jack Kavanagh
80ab8b065b
feat: folder inheritance scripts (#7430)
* proof of concept

* remove test case

* support pre and after

* fix typo

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-06-05 15:51:36 +02:00
Jack Kavanagh
ff17ff826c Bump app version to 9.3.0-alpha.5 2024-06-05 11:14:22 +00:00
James Gatz
79cc2ef3ef
fix(Response Tabs): Tabs with a menu inside are not accessible - Response Panes (#7477)
* use thing scrollbars in the app

* fix menu/toast overflow content shift

* update content and auth dropdowns

* Update auth wrapper styles

* update body editors

* Request/request-group panes

* update request script editor

* update e2e tests

* remove log
2024-06-05 12:05:21 +02:00
Hexxa
57e9898bf0
chore: rename variable properties to improve readability (#7480)
* chore: rename variable properties to improve readability

* fix: type check issue
2024-06-05 09:18:12 +00:00
Hexxa
c9b0f3cf8b
fix: add jsonSchema assertion chain (#7481) 2024-06-05 09:02:34 +00:00
James Gatz
978fbcf8f1
feat(Key-Value Editor): Improve accessibility and make the items re-orderable (#7465)
* remove unused components

* make read-only editors display nunjucks

* graphql toolbar css

* re-orderable key value editor

* move onChange to event handlers

* remove unused test

* fix delete all/add updates

* clean up logs

* remove callbacks
2024-06-05 08:30:44 +00:00
Curry Yang
eee71334a7
feat: add fetch timeout [INS-3911] (#7467)
* remove exponential backoff

* feat: improve err message when time out

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-06-05 07:41:00 +00:00
Jack Kavanagh
7923f8e70d Bump app version to 9.3.0-alpha.4 2024-06-05 05:29:02 +00:00
Jack Kavanagh
a92ae53208 Bump app version to 9.3.0-alpha.3 2024-06-04 16:15:07 +00:00
Jack Kavanagh
e369528db4 Bump app version to 9.3.0-alpha.2 2024-06-04 15:03:04 +00: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
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