Commit Graph

34 Commits

Author SHA1 Message Date
Jack Kavanagh
80e5161a20
Fix: disabled native modules in the renderer (#4230)
* fix non-context-aware imports

* extract _actuallySend to file

* extract CLI unit test function from renderer

* expose curl functions to the ipc renderer

* use curl through ipcRenderer

* feedback first pass make like grpc

* feedback second pass remove duplicate

* fix lint
2021-12-02 09:26:08 +00:00
Jack Kavanagh
e1ac78d8f7
decouple plugins from networking (#4223)
* decouple plugins from networking

* move plugin exception handler into plugin function
2021-11-24 09:32:54 +00:00
Carlos Giraldo
23d17bcbb2
Add support for HTTP/V2PriorKnowledge (#4194) 2021-11-16 19:48:16 +00:00
Jack Kavanagh
bfc19844e7
extract http versions test (#4177) 2021-11-10 14:47:06 +13:00
Dimitri Mitropoulos
177d6adf38
Insomnia Config, controlled settings (#4031)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-14 10:59:45 -04:00
schrodingersket
ccac337c4f
Optionally disable certificate validation for OAuth2 auth windows (#3894)
Co-authored-by: Jonathan Thompson <jonathan.thompson@nimbusnine.co>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-01 21:08:44 +00:00
Opender Singh
774a8dc792
Space -> Project rename & update code-references (#3928) 2021-08-20 11:12:36 -04:00
Opender Singh
7abde2a017
Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00
Dimitri Mitropoulos
0178533e52
Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
Dimitri Mitropoulos
2dc4299e39
fix node-libcurl imports (#3384)
* fix node-libcurl imports

* removes unnecessary function wrapper

and anyway, `number` is not the correct type (which is what motivated this change in the first place), `CurlFeature` is.

* updates type for setOpt

see https://www.typescriptlang.org/play?#code/JYOwLgpgTgZghgYwgAgOIBs4GcvIN4BQyxyWwAXhAFzIDkWAtnOurcgD50MQAmwArgzadamKAHMItANwEAvgQKhI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LaMgHgkuyymqepoJkuQAABMAsAAWmJ+KwFZwNwuQQEEg7YAoBVOxW24cBcu3DbymhzZ-opeGjte0GUd+RmWbZ0nOYBKAeb5mABaFiRBAgMWrsa27fqkIaAaBxG3vOz6VaZ1mSayTXud5tE9cF05haNk3vu22WLHl4GkftkTHbVl2OcRd3df1n3DdFsAvsUjybul-Qg46m3FeRz66dV532bd7WPdIWjcmDJPjZTtbJfNmHs5D23meccO5Uj4uNdjsu+cZI5q5F2vU5KdOobu5unoVk62-ziPgiL9XXd7nW0QHquzhr-3fMznap8BhHXrnjvC6d5eY65vv18r0NfeT1OJ3HxvjwP3PZ-bsG5SAA

to see why `any` is required, for now (at least)

* updates the getBodyBuffer parse calls now that the types are working

* return to prior approach, this time with a warning
2021-05-17 09:59:43 -04:00
Dimitri Mitropoulos
5f4c19da35
[TypeScript] Phase 1 & 2 (#3370)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00
Opender Singh
f27cd5f630
Support template tags with gRPC (#2926) 2020-12-18 00:38:21 +13:00
Selamanse
03d83a8f52
Cancel the active request instead of the most recent request (#2696)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-09 06:17:37 +13:00
Julien Giovaresco
9d4390de2f
Introduce a checkbox in Basic Auth form to choose ISO-8859-1 encoding for credentials. (#2642)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-25 08:58:28 +12:00
Gregory Schier
53c21fba37
Add ability to specify HTTP version (#2276)
* Add ability to specify HTTP version (Closes #2245)

* Fix default HTTP version

* Format w/ Prettier
2020-06-10 11:15:56 -07:00
Gregory Schier
4387381fd1
Upgrade node-libcurl (#2223)
* deps: bump node-libcurl to latest prerelease version

* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild

* Minor tweaks

* package locks

* Bump version

* Switch to font-manager and fix fsevents rimraf

* Try generating npmrc inside build/

* Try uninstall of fsevents instead

* Bump

* Try npm env vars

* Extra .npmrc

* Try npm env vars in all CI

* Fix insomnia-cookies dependencies

* Fix typo

* Loosen nvmrc version

* Remove npm uninstalls

* Build outside of Docker

* Remove Docker, build all on GH Actions

* Bump Core version

* Disable Snapcraft for now

* Bump

* Disable snap for Designer too

* Update product name for Core

* Update test.yml

* Remove Travis file

* Make userData folder explicit and add Curl types

* Remove old Kong icon

* Remove curl.js adapter

* Revert productName

* Fix release date

* Try remove windows build tools from CI

* Add comment about Snap deploys

* Remove the pane border on Windows (no longer necessary)

Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
2020-05-28 10:09:51 -07:00
Opender Singh
443d6df08d
Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
Gregory Schier
e35b54a533 Fix Content-Type: true on multiline forms (Fixes #1920) 2020-02-11 14:32:43 -05:00
Gregory Schier
ac75e3b8cc Add ability for no OAuth 2 Authorization prefix (Closes #1087) 2019-12-12 15:57:39 -05:00
Henning Verbeek
be171407bf Adds a contentType header to body parts of multipart/form-data payload (#1813)
It uses the `multiline` parameter as chosen by the user.
2019-11-27 09:59:04 -05:00
Gregory Schier
945ff0e631 Unify build config in one place 2019-09-17 17:02:42 -07:00
Ryan Plessner
d22e05ac34 Add ability to optionally use Hawk payload validation. (#1339)
* Add ability to optionally use Hawk payload validation.

* Simplify signature of 'getAuthHeader'
2019-03-11 17:52:48 -04:00
Gregory Schier
88b0bb784f Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
Gregory Schier
99de4725fa prettier entire project 2018-10-17 12:42:33 -04:00
Gregory Schier
7af8514e42 Fix AWS signature with content-type (Closes #1089) 2018-08-01 11:28:11 -07:00
Gregory Schier
ebbb8d5247 Handle missing content-type header with AWS auth (Fixes #910) 2018-06-30 15:55:36 -04:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Gregory Schier
63ec162cb8 Fix tests and bump version 2018-05-04 15:07:12 -04:00
Gregory Schier
4b5ef56c56 Fixed tests 2018-05-03 18:01:49 -04:00
Gregory Schier
e8aba99417 Fix AWS auth (Fixes #907) 2018-04-30 08:48:00 -04:00
Gregory Schier
23fa05fc01 Give response hooks access to read-only request context (Closes #853) 2018-04-25 14:24:52 -04:00
Peter Lyons
0fc709574d Support AWS Multifactor Auth (#719)
* Back end support
2018-01-24 10:51:13 -07:00
c22
dd51487905 Add RSA-SHA1 signing to OAuth 1.0 (#611)
* Add RSA-SHA1 signing to OAuth 1.0

* Add OAuth 1.0 RSA-SHA1 test
2018-01-16 13:06:26 +07:00
Gregory Schier
549ce23ce8
Merge All Repositories into Monorepo for easier maintenance (#629)
* All projects into monorepo

* Update CI

* More CI updates

* Extracted a bunch of things into packages

* Publish

 - insomnia-plugin-base64@1.0.1
 - insomnia-plugin-default-headers@1.0.2
 - insomnia-plugin-file@1.0.1
 - insomnia-plugin-hash@1.0.1
 - insomnia-plugin-now@1.0.1
 - insomnia-plugin-request@1.0.1
 - insomnia-plugin-response@1.0.1
 - insomnia-plugin-uuid@1.0.1
 - insomnia-cookies@0.0.2
 - insomnia-importers@1.5.2
 - insomnia-prettify@0.0.3
 - insomnia-url@0.0.2
 - insomnia-xpath@0.0.2

* A bunch of small fixes

* Improved build script

* Fixed

* Merge dangling files

* Usability refactor

* Handle duplicate plugin names
2017-11-26 20:45:40 +00:00