Commit Graph

3490 Commits

Author SHA1 Message Date
David Marby
6fcfe04249 Mark more packages as public 2022-03-01 17:35:24 +01:00
David Marby
a19466fc97 version packages lib@2.5.1-beta.0 2022-03-01 17:15:38 +01:00
David Marby
7122ebe123 Publish plugins to npm again 2022-03-01 17:13:22 +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
c6717a83dd Fix BUILD_REF for develop and other non-PR triggers (#4496) 2022-03-01 15:18:47 +01:00
Filipe Freire
8d1b15355d Change build ref of recurring build if PR (#4490)
* Change build ref of recurring build if PR

* Add PR_NUMBER env var

* Edit the BUILD_REF to <commit>.pr-<number>
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
David Marby
1092940947
Remove storybook (#4535) 2022-03-01 13:52:10 +01:00
Jack Kavanagh
9dc0c804de
remove flakey tests (#4534) 2022-03-01 09:55:52 +01:00
David Marby
5af79c7486
Create smoketests for oauth flows (#4511)
* Move basic auth routes to a separate file

* Stop slowing requests down artificially

* Add initial oauth routes

* Mount oidc routes under /oidc

* Enable all forms of oauth that Insomnia supports

* Add oauth request collection fixture

* Update playwright config

* Use 127.0.0.1 instead of localhost

* simple oauth2 test

* Make the playwright extension work

* Move oauth tests to a separate file

* Test all oauth flows

* Mark test as slow

* Wait for load state for new pages

* Use locators consistently

* Add playwright to recommended extensions

* Add instructions for how to use the playwright extension

* update selectors and use fill

* Fix markdown lint

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-02-28 16:28:02 +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
Isa Farnik
6024d1ecdf
fix(brew): de-duplicate --open-pr flag in GHA (#4503) 2022-02-24 15:57:17 +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
James Gatz
ae45cfd041
upgrade to playwright v1.19 (#4517) 2022-02-24 11:11:46 +01: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
Gareth Oakley
3a944d9dec
Fix importer test fixtures to comply with OpenAPI specs (#4095) (#4151) 2022-02-22 20:45:52 +01: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
Jack Kavanagh
e768e05bfa
improve smoke test docs (#4421) 2022-02-18 12:47:41 +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
bcad07b9aa
Fix BUILD_REF for develop and other non-PR triggers (#4496) 2022-02-14 18:56:07 +00:00
Filipe Freire
d68ad33f2b
Change build ref of recurring build if PR (#4490)
* Change build ref of recurring build if PR

* Add PR_NUMBER env var

* Edit the BUILD_REF to <commit>.pr-<number>
2022-02-14 17:21:45 +00:00
David Marby
1389dd4696
Cancel currently running test workflows for a branch if new commits are added (#4476) 2022-02-10 16:07:11 +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
James Gatz
e1b4bb2def
Adds tracing with Playwright (#4439)
* base tracing with playwright

* use github reporter on CI

* Use the config to capture traces

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-02-10 14:48:32 +01:00
David Marby
cdeb4debc6
Use setup-node@v2 (#4473) 2022-02-09 17:35:34 +01:00
Dimitri Mitropoulos
6d4ee8f998
all dependabot PRs as of 20220802 (#4468)
* Bump hosted-git-info from 2.8.8 to 2.8.9 in /packages/openapi-2-kong

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump ws from 7.4.3 to 7.5.7 in /packages/openapi-2-kong

Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.5.7.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.5.7)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump lodash from 4.17.15 to 4.17.21 in /packages/openapi-2-kong

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-09 10:50:57 +00:00
Filipe Freire
d8137126cb
all dependabot PRs as of 2022 02 08 (#4462)
* Bump path-parse from 1.0.6 to 1.0.7 in /packages/openapi-2-kong

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump ansi-regex from 5.0.0 to 5.0.1 in /packages/openapi-2-kong

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump tmpl from 1.0.4 to 1.0.5 in /packages/openapi-2-kong

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-08 16:15:02 -05: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
Dimitri Mitropoulos
7a138cce8a bumps config.json to 2022.1.0-beta.0 2022-02-08 11:32:40 -05:00
Dimitri Mitropoulos
04436fca56
updates redux dependencies (#4456) 2022-02-08 11:16:46 -05:00
Dimitri Mitropoulos
c73d2c1c1d
Fixes ApiSpec content syncing (#4443)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2022-02-07 14:00:31 -05:00
Isa Farnik
109eababcf
feat(ci): bump homebrew formulae (#4412)
* feat(ci): bump homebrew formulae

* swap GITHUB_TOKEN for HOMEBREW_PR_GH_TOKEN
2022-02-07 16:49:56 +00:00
Dimitri Mitropoulos
810e4320c9
all dependabot PRs as of 2022 02 04 (#4452) 2022-02-04 16:26:10 -05:00
Dimitri Mitropoulos
344f0144a5
all current dependabot PRs (#4444) 2022-02-04 15:01:19 +00:00
Filipe Freire
45d9d4ece5
Add /cookies endpoint to smoke test express server (INS-1342)
* add /cookies endpoint to smoke test mock server

* add smoke test steps for /cookies endpoint

* Update packages/insomnia-smoke-test/tests/app.test.ts

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2022-02-04 12:20:21 +00:00
Dimitri Mitropoulos
8f409a38fc
updates concurrently, lerna, eslint (#4428) 2022-02-02 11:21:25 -05:00
Dimitri Mitropoulos
3556a20f85
(Partial) removal of WrapperProps (#4431) 2022-02-02 10:54:05 -05:00
David Marby
aa2dc2e2de
Speed up the tests workflow (#4430) 2022-02-02 12:11:13 +01:00
David Marby
d1d3e4e9fd
Remove leftover google analytics constants (#4417) 2022-01-27 17:01:14 +00:00