Commit Graph

108 Commits

Author SHA1 Message Date
Opender Singh
42ab4e4465
Multi proto file support (#3006) 2021-01-25 15:50:53 +13:00
Opender Singh
f27cd5f630
Support template tags with gRPC (#2926) 2020-12-18 00:38:21 +13:00
David Marby
cad2ebc932 Merge branch 'release/2020.5.2' into develop 2020-12-09 19:40:16 +01:00
David Marby
5bedc0ffad
Add additional metrics to the notification call (#2921) 2020-12-09 17:39:53 +01:00
Opender Singh
27987201ad
gRPC URL bar improvements - streaming type & package groups (#2883) 2020-12-09 17:42:50 +13:00
Opender Singh
ef2fc3baec
Validate protofile during upload (#2864)
* feat(insomnia-components): add async-button

* feat: show error if parsing protofile fails during upload/add

* chore: flow is poop

* feat: use try-finally
2020-11-25 10:02:28 +13:00
Opender Singh
0b58a748af
Support for server and bidi streaming (#2814) 2020-11-17 11:59:02 +13:00
Opender Singh
5c1885a540
Support reuploading a proto file (#2832) 2020-11-17 11:01:50 +13:00
Opender Singh
8f8acf83f2
Allow changing the protofile for a request (#2828) 2020-11-13 12:03:36 +13:00
Opender Singh
6f3c41659f
Add TLS/SSL support (#2827) 2020-11-12 12:42:52 +13:00
Opender Singh
f858b6625d
gRPC state management (#2813) 2020-11-12 11:44:03 +13:00
Opender Singh
d18ba8e6d8
Support for gRPC Unary and Client streaming (#2809) 2020-11-10 13:30:27 +13:00
Ben Scholzen
294777b0ed
Add PKCE support (#2652)
* Add PKCE support

* Fix failing unit test and add new test for PKCE

* Update packages/insomnia-app/app/network/o-auth-2/grant-authorization-code.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Update packages/insomnia-app/app/network/o-auth-2/grant-authorization-code.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Fix prettier report

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-20 20:58:16 +13:00
karolineKarkoschDrKlein
984881c0cb
Don't clear oAuth2 session on restart (#2701)
* Don't clear oAuth2 session on restart

Offer button to user where it can be cleared without restart

* PR improvements

* remove accidental newline

* PR improvements 2

* cleanup

* capitalize insomnia
2020-10-10 09:33: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
64c7b429aa
Expose network context to requestHook & responseHook scopes (#2662)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-29 15:10:51 +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
Joe Flint
f10b36d335
Handle server-side OAuth2 redirects to non-existent protocols (#2557)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-15 17:01:57 +12:00
Gregory Schier
93c91ebdbe
Upgrade Electron (#2403)
* Upgrade Electron to 8, bump Node version, fix font-manager

* Specify nodeIntegration as true

* Get <webview> working again

* Get <webview> working again

* Electron 9.0

* Escape parens in plugin install exec path (newer Electron added them)

* Bump versions for first alpha

* Electron 9.1

* Convert all Electron APIs that switched from callback to Promise

* Fix send-and-download feature

* Remove user-agent override hack for OAuth 2 login window

* Bump alpha version

* Fix issue regarding chokidar

* Add package-lock.json

* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents

* Fix source maps

* Read .nvmrc in GitHub actions

* Address remaining PR feedback
2020-07-27 22:18:26 -07:00
Gregory Schier
45861b6393
POC to get Insomnia networking available outside of app (#2329)
* Hacked insomnia lib package to get Insomnia's networking in tests

* Some small tweaks

* Got it mostly working

* Tweak

* Fix

* Fix pkg

* Fix some things

* Add comment

* Comment out log

* Some tweaks after doing a self code review

* Fix test

* Update app name for `insomnia-send-request`

* Update package-lock

* Update package-locks

* Fix tests

* Add gitignore

* Fix tests hopefully

* Fix accidental dep deletions

* Fix tests again

* Mock for all tests

* Update tests again

* Don't compile for Electron for tests

* Update release scripts to disable tests
2020-06-30 12:36:15 -07: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
58fed78d06
Flatten insomnia-libcurl package (#2081)
* Remove unnecessary insomnia-libcurl package to flatter installation dirs

* Remove empty test folder

* Fix inlc mock
2020-04-29 12:59:46 -07:00
Gregory Schier
c6a7c4d682 Initial designer merge 2020-04-26 13:33:39 -07:00
Gregory Schier
7bc219422e
Update Babel and ESLint and fix all related errors (#2032)
* Update Babel and ESLint and fix all related errors

* Update babel-jest
2020-04-09 10:32:19 -07:00
Gregory Schier
e35b54a533 Fix Content-Type: true on multiline forms (Fixes #1920) 2020-02-11 14:32:43 -05:00
Gregory Schier
4033f0d3b7 Fix tests 2020-02-11 14:24:52 -05:00
Gregory Schier
de2fc0ba42
Scope responses to active environment (#1905)
* Scope responses to active environment

* Update response history to support scoped envs
2020-01-22 14:23:19 -05:00
Gregory Schier
6200c9e8c7
Add workspace action plugins and expose context.data helpers (#1901) 2020-01-20 13:07:07 -05:00
Gregory Schier
986c02914c Add option to include OAuth 1.0 body hash (Closes #1854) 2019-12-18 16:49:39 -05:00
Gregory Schier
851e142136 Rename getinsomnia > kong 2019-12-17 12:16:08 -05:00
Gregory Schier
f4790965e3 Catch errors when reading multipart files (Fixes #1665) 2019-12-13 18:54:34 -05:00
Gregory Schier
dbd7cbe059 Fix Flow error 2019-12-12 16:06:21 -05:00
Gregory Schier
ac75e3b8cc Add ability for no OAuth 2 Authorization prefix (Closes #1087) 2019-12-12 15:57:39 -05:00
Gregory Schier
6efe7d17ca Only set OAuth user-agent for GitHub (Fixes #1816) 2019-11-28 13:27:31 -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
60c623f0a4 Force newer user-agent for OAuth 2.0 login flow (Fixes #1774) 2019-11-26 15:41:27 -05:00
Gregory Schier
bb0b5df096 Fix key-value-editor jumping 2019-11-25 17:48:30 -05:00
Duncan Brown
83be4a9714 Add audience and resource field for OAuth2 Authorization Code grant (#1768)
* add audience to grant authorization code

* add resource to grant authorization code

* fixed audience and resource for code grant
2019-11-22 12:48:34 -05:00
Nilay Majorwar
ad278ea01a [Feature] Added request-specific followRedirects setting (#1737)
* Added request-specific follow redirect setting

* Added hint text to follow redirects setting
2019-10-31 12:02:03 -04:00
Adam Lavin
c88eb129b9 Fetch new access tokens if refreshing token returns "invalid_grant" (#1729) 2019-10-31 11:58:58 -04:00
Gregory Schier
1817534025 Merge branch 'master' of github.com:getinsomnia/insomnia into develop 2019-10-07 11:55:23 -07:00
Gregory Schier
945ff0e631 Unify build config in one place 2019-09-17 17:02:42 -07:00
CodyDWJones
d2d29bd1e1 Add Audience parameter for Resource Owner Password Credentials (#1677) 2019-09-17 11:59:59 -07:00
Gregory Schier
a83596299a
Fix Response Tag infinite recursion (#1502)
* Improvements to Response tag recursion and rendering (Fixes #1500)

* Add tests for response tag dependency sending
2019-05-15 16:01:36 -04:00
Gregory Schier
d29db04b33 Keep OAuth 2.0 refresh token if a new one is not returned (Fixes #1492) 2019-05-09 21:44:22 -04:00
Gregory Schier
17f3c1491b Print timestamp at the start of response Timeline 2019-05-09 13:38:36 -04:00
Gregory Schier
d8066bc558 Add ability for plugins to add folder actions (#774) 2019-05-04 16:34:52 -04:00
Gregory Schier
4b41c8c360 New render purpose for request/response hooks (Fixes #1341) 2019-05-03 10:53:18 -04:00