Commit Graph

3443 Commits

Author SHA1 Message Date
David Marby
53466fc182
Switch to esbuild-runner for running changelog-image to avoid needing tsimportlib (#4742) 2022-05-02 10:25:55 +00:00
David Marby
a037a3b844
Fix incrementing npm package versions for pre-release revisions (#4741) 2022-05-02 12:06:52 +02:00
Jack Kavanagh
0aeaa085e5
multipart is now called from main (#4733) 2022-04-28 16:01:18 +00:00
James Gatz
7a3740b03d
remove pdfjs-dist in favor of native chromium pdf viewer (#4720)
Co-authored-by: David Marby <david@dmarby.se>
2022-04-28 13:48:37 +00:00
David Marby
1ee7c198f1 Merge branch 'release/2022.3.0' into develop 2022-04-28 15:05:00 +02:00
Jack Kavanagh
4a56db0560
remove unused deps (#4730)
* restore packages used in scripts

* package lock
2022-04-28 12:36:05 +00:00
Dimitri Mitropoulos
cced992115
Upgrades electron to 18.1.0 (#4643)
Co-authored-by: David Marby <david@dmarby.se>
2022-04-27 15:40:05 +00:00
David Marby
04bbde88b4
Update highlight.js and only include common languages (#4721)
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-04-26 13:47:17 +00:00
David Marby
e836799505
Fix post requests with empty body (#4728) 2022-04-26 15:45:07 +02:00
David Marby
ec85cd664b
Fix PDF previews (#4723) 2022-04-25 13:38:52 +02:00
David Marby
e7730587ef Bump app version to 2022.3.0 and lerna package versions 2022-04-22 11:53:32 +00:00
David Marby
75636ff40d Build insomnia-inso for production before publishing to npm 2022-04-22 13:48:38 +02:00
David Marby
150842c213 Fix updating the package-lock.json files on release start 2022-04-22 13:48:38 +02:00
David Marby
589c1207be Allow incrementing the major npm version 2022-04-22 13:48:38 +02:00
David Marby
b8c0c7fd41 Sync package-lock.json versions 2022-04-21 22:07:05 +02:00
Daniel Stone
874d4945b6
Add missing characters to URL regex (#4710)
*Added the unreserved character ~ and the reserved characters '(), to the URL matching regex since these can appear without being URL encoded.

*Added test for tilde in URL
2022-04-21 18:21:23 +00:00
David Marby
5f6f0edd39 Merge branch 'release/2022.3.0-beta.4' into develop 2022-04-21 19:50:06 +02:00
David Marby
e5084c9335 Fix showing responses when "Filter responses by environment" is enabled, and a collection has no user created environments 2022-04-21 16:53:15 +02:00
gatzjames
d0eaffec42
fix spacing in plugins settings 2022-04-21 13:42:41 +02:00
gatzjames
b3287d9878
fix plugin kong portal state and styling issue 2022-04-21 13:37:26 +02:00
Jack Kavanagh
40af38c3b9
decouple curl options from renderer (#4687)
* move some operations to main

* move more options to main

* move cookies and multipart

* remove cert legacy migration

* move auth and aws helper

* move certs options to main

* remove libcurl usage from renderer and tidy

* extract oauth2 flow back to renderer

* add parse headers tests

* minimally type req

* organise libcurl-promise by req properties

* minimally type used settings

* tidy up debug timeline

* fix cookie bug

* tasty little parsing function refactor

* doh! trim

* tidy up set cookie method/self review

* extracted functions from set-cookie logic

* refactoring with tests

* formatting after rebase

* clarification of duplicate header support

* tighten up parse headers

* simplify aws signing

* fix app version imports
2022-04-20 22:02:32 +01:00
John Chadwick
776a5148a5
Fix for CVE-2021-3777 (rebased) (#4716)
* Add .whitesource configuration file

* Added GitHub Sync action to repository.

* Fixed CVE

nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity

Updated from 1.0.4 to 1.0.5.

Publish Date: 2021-09-15

URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2021-3777

* Delete ibm_fork_sync.yml

* Delete .whitesource

Co-authored-by: whitesource-bolt-for-github[bot] <42819689+whitesource-bolt-for-github[bot]@users.noreply.github.com>
Co-authored-by: Ivan Pedrero <pedrero.ivan@hotmail.com>
2022-04-20 19:37:14 +00:00
Dimitri Mitropoulos
a54335c0ea
hotfix: invalid or unused lockfiles (#4714) 2022-04-20 18:49:10 +00:00
Dimitri Mitropoulos
213e1dd1c8
rename insomnia-app/app to insomnia/src (#4491) 2022-04-20 17:42:19 +00:00
David Marby
193438a818 Fix changelog-image generator 2022-04-20 18:23:22 +02:00
David Marby
0d46d18847 Bump app version to 2022.3.0-beta.4 and lerna package versions 2022-04-20 15:19:38 +00:00
David Marby
864ac9f0c2 Fix bumping the app version 2022-04-20 17:14:33 +02:00
David Marby
641cdc83d4
Fix lerna version bumps (#4712) 2022-04-20 16:56:25 +02:00
Jack Kavanagh
6e3e6ac102
remove packedDependencies and custom package script (#4704)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: David Marby <david@dmarby.se>
2022-04-20 13:49:07 +00:00
James Gatz
fec3e4d551
fix(styled-components): add specificity selector (#4711) 2022-04-20 12:16:02 +00:00
dependabot[bot]
decc2cf00d
Bump moment from 2.21.0 to 2.29.2 in /plugins/insomnia-plugin-now (#4684)
Bumps [moment](https://github.com/moment/moment) from 2.21.0 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.21.0...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

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-20 11:39:42 +00:00
Matt
9a2049fd9f
Bumped electron to 17.3.1 (#4708) 2022-04-20 11:03:02 +00:00
Dimitri Mitropoulos
a5a1be23d6
catches JSON.parse possible error in oauth2 identity token field (#4709) 2022-04-20 10:32:35 +00:00
Filipe Freire
7e209fa20a
Fix FTI-3278, missing null type for kong request-validator plugin on nullable true. (#4675) 2022-04-19 20:53:20 +00:00
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