Commit Graph

3809 Commits

Author SHA1 Message Date
Filipe Freire
d039038f80
Workaround for oauth2 postman v2.1 import, fixes #4437. (#4440)
* spike: workaround for oauth2 postman v2.1 import, fixes #4437.

* Add tests and fixtures.

* Fix eslint

* Fix postman importer tests. WSDL importer failing.

* Rm throw Error line

* updates comment

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-04-19 20:27:54 +00:00
Dimitri Mitropoulos
305df5109b
removes duplicated "config.longName" (#4706) 2022-04-19 16:03:52 -04:00
James Gatz
058aeebb86
expose react and react-dom in plugin private context (#4689)
* expose react and react-dom in plugin private context

* updates lockfile

* un-async the action

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-04-19 18:34:14 +00:00
Filipe Freire
cc63a1ccec
Chore: Update extensions/v1beta1 to networking.k8s.io/v1 on OpenAPI-2-Kong (#4667)
* Update extensions/v1beta1 to  networking.k8s.io/v1

This is follow the deprecation guide of past k8s version 1.22

https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122

* Fix other deprecated k8s ingress interfaces.

* Fix typo in url.
2022-04-19 18:00:23 +00:00
dependabot[bot]
dafed833e6
Bump urijs from 1.19.10 to 1.19.11 in /packages/insomnia-send-request (#4693)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.10 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.10...v1.19.11)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-04-19 17:11:44 +00:00
dependabot[bot]
74fff0c973
Bump urijs from 1.19.10 to 1.19.11 in /packages/insomnia-inso (#4692)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.10 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.10...v1.19.11)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 17:35:24 +01:00
James Gatz
eb21506d40
️vite/esbuild (#4329)
* ️ vite

* replace webpack with esbuild in build script

* move build sr to esbuild

* esbuild send-request shim

* remove main externals

* fix lint

* remove webpack from insomnia-testing

* removes more webpack stuff

TODO after this PR: make debugging work again

* pin swagger-ui-react to version before esm change

* restore prepare script to build in bootstrap

* use default tsconfig for eslint and apply fixes

* bundle insomnia-components as cjs/esm

* makes ca_certs.ts pass linting

* builds types for insomnia-components

* improve build script for production

* skip typechecking insomnia-components

* separate package from build

* add electron to externals

* add preload bundling and fix build output

* exclude grpc/proto-loader from the bundle

* move node packages to commonjs

* don't bundle grpc since it's a node module

* fix content security error

* use vite lib mode for insomnia-components

* tidy up vite config and tsconfig options

* update package-locks

* use process.env. for static build time variables

* fix vscode debugging

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-04-18 17:27:39 +02:00
Mark Kim
bdab0957d5
fix: environments modal key issue (#4702) 2022-04-15 16:50:20 -04:00
Dimitri Mitropoulos
4e52148de4
removes TOGGLE_MAIN_MENU shortcut since there (essentially) isn't a main menu anymore (#4698) 2022-04-15 16:16:43 -04:00
Jack Kavanagh
e250139f77
flatten array (#4695) 2022-04-14 13:15:57 +02:00
Dimitri Mitropoulos
727c1f3366
chore: bracket lint rules (#4694) 2022-04-13 17:04:29 -04:00
Jack Kavanagh
b306d7fdd4
Chore/network dejanking (#4621)
* extract db out of _actuallySend setup

* extract transform response headers

* extract send body

* simplify set cookie function

* remove respond and error helpers

* decouple body options from renderer

* fix tests

* fix cancel

* remove unused envid from _actuallysend

* remove unused body settings

* simplify aws error logic

* remove validate override/code review

* add envid back in for posterity

* fix test

* split body parsers

* extract set headers

* decouple multipart and headers

* raise unused props

* body compression must be overriden to null

* remove extra return/code review
2022-04-11 19:33:54 +01:00
Dimitri Mitropoulos
7d8c303318
chore(deps): styled-components (#4669)
* upgrades styled-components

* lockfiles

* map styled-components to the insomnia-app node_modules to fix React version mismatch

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-04-08 15:47:39 +01:00
Filipe Freire
1972347cca
Chore: bump playwright version to 1.20.2 (#4681) 2022-04-08 14:18:41 +01:00
Filipe Freire
ee567cb64c Merge branch 'release/2022.3.0-beta.3' into develop 2022-04-07 17:39:18 +00:00
Filipe Freire
03fdd2eb7d Bump app version to 2022.3.0-beta.3 and lerna package versions 2022-04-07 16:59:54 +00:00
David Marby
21a3c13f4c
Fix wsdl imports (#4677)
* Re-enable all insomnia-importers fixture tests

* Fix WSDL importer
2022-04-07 16:28:24 +00:00
David Marby
7f2bdda6e7
Use showError for all sync error cases (#4672) 2022-04-07 11:14:11 +02:00
Dimitri Mitropoulos
9700e7bde8
Remove flow (and webpack) from portal plugin, replace with TS and ESBuild (#4650) 2022-04-04 12:17:01 +00:00
Dimitri Mitropoulos
11e2bf35ae
some tiny fixes in misc.ts (#4640) 2022-04-01 22:59:38 +00:00
Filipe Freire
4a7faa4237
All dependabot PRs 2022 03 28 (#4648)
* Bump ansi-regex from 5.0.0 to 5.0.1 in /packages/insomnia-config

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 ansi-regex from 5.0.0 to 5.0.1 in /packages/insomnia-common

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 node-forge from 1.0.0 to 1.3.0 in /packages/insomnia-send-request

Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.0.0 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.0.0...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: direct:production
...

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

* Run bootstrap.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 12:31:20 +00:00
Filipe Freire
608fb30bf3
Re-add the changelog workflow changes from #4655. (#4662) 2022-04-01 10:10:00 +00:00
Filipe Freire
25491496fd Merge branch 'release/2022.3.0-beta.2' into develop 2022-03-31 15:16:32 +00:00
Filipe Freire
273b26b0b4 Bump app version to 2022.3.0-beta.2 and lerna package versions 2022-03-31 14:28:34 +00:00
John Chadwick
8841a60d58
Update node-libcurl to 2.3.5-0. (#4659) 2022-03-30 19:38:00 +00:00
Dimitri Mitropoulos
42b5d8b899
upgrades to electron 17.3 (#4658) 2022-03-30 14:48:31 -04:00
Filipe Freire
e8c19f44e5
Reproduce and Fix #4432 (#4657)
* Add failing fixtures that repro #4432

* Add test for generateSlug

* Fix #4432. Pin slugify to 1.6.5.
2022-03-30 13:31:15 +00:00
David Marby
0c1afbe48d
Add changelog-image generator (#4649) 2022-03-30 12:45:16 +00:00
James Gatz
65203b89b0
update swagger-parser and support oas 3.0.3 (#4654)
Co-authored-by: Dimitri Mitropoulos <dimitropoulos@users.noreply.github.com>
2022-03-29 18:13:28 +02:00
David Marby
49b97aa873
Disable dialogs for the response web view (#4642) 2022-03-29 13:21:24 +00:00
Dane Mortimer
17f0a43f62
Concating x-kong-security-openid-connect config with security schemas… (#4607)
* Concating x-kong-security-openid-connect config with security schemas config

* Removing enabled as it is enabled by default

* Small improvement + add tests


Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-03-29 12:44:25 +00:00
Dimitri Mitropoulos
0b8258dc5f
chore(deps): fuzzysort (#4616)
* updates fuzzysort

* lockfiles

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-03-29 13:05:10 +01:00
Filipe Freire
fa25f5cde7 Merge branch 'release/2022.3.0-beta.1' into develop 2022-03-28 16:50:28 +00:00
Filipe Freire
298f394e3b Bump app version to 2022.3.0-beta.1 and lerna package versions 2022-03-28 15:17:18 +00:00
Dimitri Mitropoulos
a8d1f8e559
react 17 event propagation issue (#4639)
https://reactjs.org/blog/2020/08/10/react-v17-rc.html#fixing-potential-issues

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-03-28 16:01:58 +01:00
David Marby
dbbf55aa0f
Update electron-builder (#4641) 2022-03-28 14:44:47 +02:00
Filipe Freire
eb9fa48e14
All dependabot PRS 2022 03 24 (#4636)
* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-config

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-testing

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-smoke-test

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/openapi-2-kong

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-send-request

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-inso

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* (temp) run bootstrap

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 10:19:20 +00:00
David Marby
2877b3dfe9 Merge branch 'release/2022.3.0-beta.0' into develop 2022-03-24 18:05:21 +01:00
Dimitri Mitropoulos
a96978a105
chore(deps): replace moment.js with date-fns (#4611) 2022-03-24 14:03:19 +00:00
David Marby
f96d151371 Bump app version to 2022.3.0-beta.0 and lerna package versions 2022-03-24 12:33:04 +00:00
Filipe Freire
d0d86f9bc5
Add git merge info to release-build. (#4628)
* Add git merge info to release-build.

* Improve spacing
2022-03-24 12:20:24 +00:00
Jack Kavanagh
36644c5a8b
decouple git sync modal and forms (#4613)
* decouple modal and form

* separate the github settings forms

* switch the tab order in the repo settings modal

* change the github uri field to be required

* update types for the git repo form

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-03-24 09:29:00 +00:00
Dimitri Mitropoulos
ca8c52241f
chore(deps): multiparty (#4618) 2022-03-23 13:03:07 +00:00
Filipe Freire
dee0b47039
Changelog generation for the automated releases (#4574)
* Create changelog workflow

* Change env variables.

* Add TODOs.

* Update changelog generator workflow.

* Fix copy-paste typo :)

* Print changelog inside code snippet

* Update comment changes.

* Add --onlyShowMissing support.

* Fix typo

* Create CHANGELOG_TOKEN secret

* Revert GITHUB_TOKEN

* Fix typo

* Fix HEAD

* Use Kong as OWNER

* Update .github/workflows/changelog.yml

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

* Add support for PR trigger & always run onlyShowMissing.

* Fix text

* Fix ref and if clauses

* Fix ref and if clauses

* Add notice in case changelogs fail.

* Change get latest release.

* Fix typo

* Remove unnecessary TODO

Co-authored-by: David Marby <david@dmarby.se>
2022-03-23 11:57:51 +00:00
Filipe Freire
a4369bea1e Merge branch 'release/2022.2.1' into develop 2022-03-23 09:53:07 +00:00
Dimitri Mitropoulos
e337bc6157
chore(deps): updates redux-thunk (#4615) 2022-03-22 19:47:15 +00:00
Dimitri Mitropoulos
58ab0c636d
chore(deps): reselect (#4620) 2022-03-22 15:21:32 -04:00
Filipe Freire
ef855863e2 Bump app version to 2022.2.1 and lerna package versions 2022-03-21 15:13:28 +00:00
Jack Kavanagh
76c95e6a37 hotfix: incorrect ipc method (#4609) 2022-03-21 15:05:42 +00:00
Dimitri Mitropoulos
f1ac0f5f02
chore(deps): removes whatwg-fetch (not needed since 5 years ago) (#4614) 2022-03-21 10:53:27 -04:00