Commit Graph

1513 Commits

Author SHA1 Message Date
David Marby
1cd225a9f5 Bump app version to 2022.2.0 and lerna package versions 2022-03-15 11:18:53 +00:00
David Marby
69a3095cd2
Fix response error colour (#4586)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-03-10 17:59:00 -05:00
Dimitri Mitropoulos
e4d388ad33
markdown generation now sanitizes with dompurify (#4579) 2022-03-10 20:14:54 +00:00
David Marby
d3b4322bf2
Fix lerna version bumps and don't run release recurring for release PRs (#4576) 2022-03-10 16:58:42 +01:00
David Marby
6f81d98125 Bump app version to 2022.2.0-alpha.0 and lerna package versions 2022-03-10 12:00:04 +00:00
Filipe Freire
1ebfb4dee2 version packages lib@2.6.0-beta.0 2022-03-09 17:17:03 +00:00
Filipe Freire
aab8eb59b2 Bump app config version to 2022.2.0-beta.0 2022-03-09 17:17:02 +00:00
Filipe Freire
b3aa6b9cec
Easier Alpha/Beta/Stable releases (INS-1435) (#4516)
Co-authored-by: David Marby <david@dmarby.se>
2022-03-09 16:06:53 +01:00
David Marby
0d86e8e0e7 Merge branch 'release/2022.1.1' into develop 2022-03-09 15:12:25 +01:00
Dimitri Mitropoulos
a1fac1f060
Adds generic for Notice in NoticeTable (#4416)
* Revert "removes generic for Notice"

This reverts commit feade91126.

* use inference for the onChange handler argument type

* removes duplicated properties

* naming is hard

also, the elvis operator is here now so we can just use him

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-03-09 13:17:14 +00:00
David Marby
53816f1eb9 version packages lib@2.5.2 2022-03-09 13:21:56 +01:00
David Marby
753a222dbe Bump app version to 2022.1.1 2022-03-09 13:02:23 +01:00
Dimitri Mitropoulos
6c7628d15c hotfix: invalid OpenAPI spec versions causing the app to crash (#4559) 2022-03-09 13:02:11 +01:00
Dimitri Mitropoulos
086736588a
hotfix: invalid OpenAPI spec versions causing the app to crash (#4559) 2022-03-09 10:41:25 +00:00
Dimitri Mitropoulos
4c16305257
fixes colorblind theme name and adds tests to prevent it happening again (#4525) 2022-03-09 10:00:14 +00:00
Dimitri Mitropoulos
f86ee53ea2
updates type-fest to latest (#4552) 2022-03-08 18:05:21 -05:00
Jack Kavanagh
378a6d8689
remove png (#4557) 2022-03-08 22:04:26 +00:00
Jack Kavanagh
aa548d0ada
remove hot loader (#4553) 2022-03-08 21:15:55 +00:00
Dimitri Mitropoulos
608f80ab25
fix filter help modal jsonpath (#4545) 2022-03-08 15:43:55 +00:00
Dimitri Mitropoulos
29479b8bcf
removes lodash (#4550) 2022-03-08 14:28:37 +00:00
Dimitri Mitropoulos
f4bc702401
fixes it.each malformed usage (#4544) 2022-03-07 19:57:20 +00:00
Dimitri Mitropoulos
85d8290450
updates usages of jest timers to prepare for jest 27 (#4539) 2022-03-07 14:19:08 -05:00
Jack Kavanagh
1f05683fad
Chore/upgrade-electron-17 (#4529)
* bump node, electron, libcurl

* bump electron-builder

* stub performance, because inso imports react

* bump @types/node

* match up builder versions

* Disable consent prompts for oidc server

* bump electron and libcurl to latest

* waitForCookies for oauth tests

* Bump NodeJS to 16.13.0

* removes node 14 hack for BufferEncoding

* Replace oidc-provider html interaction pages with a simple html form

* make document cookie wait explicit

Co-authored-by: David Marby <david@dmarby.se>
2022-03-07 13:10:35 +00:00
Jack Kavanagh
8585eea9e6
electron v15 pre-upgrade refactoring (#4524)
* now with 100% fat free cancellation

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

* unblock electron 15

* fix cookielist and temp fix curl types

* fix types

* fix inso

* default to verbose inso test

* implement readdata function

* fix test

* revert test changes

* isomorphic cancel

* reduce typing issues

* curl types

* turns out the tests were wrong

* handle errors

* remove unused inso mock

* remove request delay

* fix lint and add logs

* Revert "remove request delay"

This reverts commit f07d8c90a7a7279ca10f8a8de1ea0c82caa06390.

* simplify and add cancel fallback

* skip cancel test

* playwright is fast and insomnia is slow

* trailing spaces are serious yo

* cancel is flake town

* hmm

* unblock nunjucks and storeTimeline

* fix nunjucks tests

* preload writeFile

* oops forgot to remove the reload

* debugging CI takes all day, log stuff and pray

* also warn if nunjucks is being lame

* Stop using environment variables

* revert debugging logs

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: David Marby <david@dmarby.se>
2022-03-03 13:42:04 +00:00
David Marby
6bd1173c7a Merge branch 'release/2022.1.0' into develop 2022-03-01 18:45:22 +01:00
David Marby
2b802ceb0d version packages lib@2.5.1 2022-03-01 18:21:42 +01:00
David Marby
2dd8ef20bb version packages lib@2.5.1-beta.2 2022-03-01 18:05:04 +01:00
David Marby
a9fc51fbe5 version packages lib@2.5.1-beta.1 2022-03-01 17:44:30 +01:00
David Marby
a19466fc97 version packages lib@2.5.1-beta.0 2022-03-01 17:15:38 +01:00
David Marby
66ea00edd8 version packages lib@2.5.0 2022-03-01 15:24:59 +01:00
Filipe Freire
03cb0c550b Bump config.json 2022-03-01 15:18:47 +01:00
Filipe Freire
d985f5f3be Recurring releases of insomnia app (INS-1429) (#4474)
* Update default electron-builder targetgs

* Allow setting a build ref

Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.

* Adds recurring release workflow

New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.

Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.

Co-Authored-By: David Marby <david@dmarby.se>

* Make recurring flow independent from Test flow

Co-Authored-By: David Marby <david@dmarby.se>

* Use setup-node@v2

Co-Authored-By: David Marby <david@dmarby.se>

* Update .github/workflows/release-recurring.yml

Co-authored-by: David Marby <david@dmarby.se>

* It's always the single quotes 🙏 😚

* Use bash shell

* Disable fail-fast

* Add cancel-in-progress setting to recurring releases

If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.

Co-Authored-By: David Marby <david@dmarby.se>

* Change concurrency setting to workflow level

Co-Authored-By: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2022-03-01 15:18:47 +01:00
Jack Kavanagh
9dc0c804de
remove flakey tests (#4534) 2022-03-01 09:55:52 +01:00
Dimitri Mitropoulos
6721b8de25
fixes active unit test suite selector (#4526) 2022-02-28 08:49:31 -05:00
Dimitri Mitropoulos
a8deb41f23
(Partial) removal of WrapperProps (part 3) (#4515) 2022-02-25 13:21:35 +00:00
Paul Johnson
41a2fd6379
Update response-timeline-viewer to show response body. (#4346)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-02-24 09:38:38 -05:00
David Marby
8198992b68
Update plus upsell (#4518) 2022-02-24 11:44:03 +00:00
Dimitri Mitropoulos
4581fc1332
menu presets for window sizes and zooms (#4507)
* new presets for window sizes

* implements setting specific zoom levels

* adds developer-only menu item for screenshots
2022-02-24 01:32:16 +00:00
Dimitri Mitropoulos
2401788509
(Partial) removal of WrapperProps (part 2) (#4510) 2022-02-22 08:19:04 -05:00
Filipe Freire
432cf436f8
Remove deprecated Insomnia Designer Hotkeys (INS-1411) (#4508)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-02-18 15:29:13 +00:00
Filipe Freire
e31307c61e
chore: Improvements to playwright smoke checks (#4480)
* Enable playwright parallelism

Plus, move the cancel request test into its own separate test to reduce flakiness.

* Change num of playwright workers on GH actions back to 1

* Change 200 OK assertion

+ Add assertions to PDF canvas

+ Add assertion to Raw Data preview.

* Add assertions to response body elements

* Undo parallel suite for app.test.ts

* Remove parallelism workers from playwright.config.ts

* Code review improvements

Co-Authored-By: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-Authored-By: James Gatz <jamesgatzos@gmail.com>

* Code review improvements

Co-Authored-By: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-Authored-By: James Gatz <jamesgatzos@gmail.com>

Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2022-02-17 17:27:29 +00:00
Dimitri Mitropoulos
47db0e3557
adds "Made with ❤️ by Kong" to footer of dashboard (#4498) 2022-02-17 08:35:15 -05:00
Jack Kavanagh
3947bdc4aa
chore: move electron out of the renderer (#4406)
* fix lint

* fix types

* remove flush db.change event send

* guard against tests running electron functions

* copy preload to build output

* fix webview context menu

* fix context menu and plugin install

* move installPlugin to main context
2022-02-16 18:28:23 +00:00
David Marby
837342ddab
Allow overriding the API url using an environment variable (#4502) 2022-02-16 15:19:19 +01:00
Dimitri Mitropoulos
0b7a61fdee Merge branch 'release/2022.1.0-beta.0' into develop 2022-02-15 09:13:42 -05:00
Dimitri Mitropoulos
e621006db0
dependabot PRs as of 2022 02 14 (#4492) 2022-02-14 22:18:53 +00:00
Filipe Freire
1160b4a09c
Recurring releases of insomnia app (INS-1429) (#4474)
* Update default electron-builder targetgs

* Allow setting a build ref

Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.

* Adds recurring release workflow

New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.

Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.

Co-Authored-By: David Marby <david@dmarby.se>

* Make recurring flow independent from Test flow

Co-Authored-By: David Marby <david@dmarby.se>

* Use setup-node@v2

Co-Authored-By: David Marby <david@dmarby.se>

* Update .github/workflows/release-recurring.yml

Co-authored-by: David Marby <david@dmarby.se>

* It's always the single quotes 🙏 😚

* Use bash shell

* Disable fail-fast

* Add cancel-in-progress setting to recurring releases

If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.

Co-Authored-By: David Marby <david@dmarby.se>

* Change concurrency setting to workflow level

Co-Authored-By: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2022-02-10 15:32:33 +00:00
John Chadwick
15cc3d2099
Update TypeScript version. (#4463)
* Update TypeScript version.

This makes the TypeScript version match across other codebases, to
facilitate better code sharing.

* Fix TS errors after update.

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-02-08 20:19:22 +00:00
Dimitri Mitropoulos
8490bad55c version packages lib@2.5.0-beta.1 2022-02-08 11:39:25 -05:00
Dimitri Mitropoulos
081fb995a6 version packages lib@2.5.0-beta.0 2022-02-08 11:37:36 -05:00