Commit Graph

3658 Commits

Author SHA1 Message Date
Jack Kavanagh
1edaa4aa83
fix set-cookie header parsing (#4769) 2022-05-11 09:20:06 +01:00
Mark Kim
37be1436ec
chore: add metrics tracking for design preview button (#4761)
* add metrics button

* add requested changes

* add requested changes

* add requested changes

* add requested changes

* add some clean up

* add requested changes

* update comments

* add reflection of discussion

* Update packages/insomnia/src/common/analytics.ts

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

* Update packages/insomnia/src/common/analytics.ts

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

Co-authored-by: Mark Kim <yowmark613@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-05-10 18:10:39 -04:00
Akiva Gordon
53c4c10be4
strengthens types of key command usage in keyboard-keys (#4520) 2022-05-10 09:59:34 -04:00
Filipe Freire
4b5b78fa9d
Use DOCKER_BUILDKIT=1 for inso docker build (#4764) 2022-05-09 15:40:04 +01:00
Filipe Freire
e34e80e569
Publish Inso CLI docker images (INS-1238) (#4722)
* Add inso docker on build & publish workflows

* Pin alpine image to 3.15.4

* Rename kongcloud/insomnia-inso to kong/inso
2022-05-09 12:37:33 +01:00
David Marby
116f011b22
Start the grpc smoke-test server alongside the http server (#4760) 2022-05-05 17:49:14 +02:00
David Marby
debe68b3f1 Merge branch 'release/2022.4.0-beta.0' into develop 2022-05-05 15:06:09 +02:00
David Marby
e023b74341 Fix missing dependencies in package-lock.json for electron-builder-squirrel-windows 2022-05-05 13:53:36 +02:00
Jack Kavanagh
6285ab8b0f
add grpc server (#4758) 2022-05-05 13:30:13 +02:00
David Marby
e2d2c3093d Bump app version to 2022.4.0-beta.0 and lerna package versions 2022-05-05 10:22:35 +00:00
Dimitri Mitropoulos
b17df4a78d
fixes JSONPath missing variable typo (#4754) 2022-05-03 15:57:22 -04:00
Jack Kavanagh
ef03a0feb9
fix inso output contained webpack warnings (#4751)
* cleanup unused code

* decouple unit testing feature and inso

* tigthen up key value pairs array to reducer
2022-05-03 11:50:30 +00:00
Wazbat
a8407b626d
Added error handling for github auth urls (#4749)
* 🥅 Added error handling for github auth urls

* 💬 Added error display to github auth form

* 💬 Updated Invalid URL error text

* 💬 Updated Incomplete URL error text

Changed conditional to follow guard pattern

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-05-02 20:55:51 +00:00
Jack Kavanagh
a10328ec29
fix autocomplete snippet evaluation for unit test (#4750)
* fix autocomplete snippet evaluation for unit test

* fix types
2022-05-02 16:43:11 +00:00
Jack Kavanagh
d16eaa553f
add grpc test (#4746) 2022-05-02 16:00:19 +02:00
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