Commit Graph

86 Commits

Author SHA1 Message Date
Gregory Schier
53965ed1fd Revert url resolver 2017-11-03 20:31:08 +01:00
Gregory Schier
c2d6455636 Handle hostless OAuth redirects (Closes #404) 2017-11-03 19:43:40 +01:00
Gregory Schier
6ee6422e94 Added some OAuth 2.0 logging 2017-11-03 17:25:12 +01:00
Gregory Schier
a8a20252c6 print curl version in Timeline' 2017-11-02 13:40:58 +01:00
Gregory Schier
52fe473063
New ClientCertificate model and ability to have private certificates (#555)
* Pull out client certificates

* Add test for the migration
2017-10-31 19:05:35 +01:00
Gregory Schier
1ed4b51a01
Convert Multipart Handling to Use Streams (#547)
* Almost done converting multipart processor to use streams

* Implement temp filesystem hack instead
2017-10-29 00:16:34 +02:00
Gregory Schier
0d56b84c21 Rewrote broken PDF viewer 2017-10-12 19:58:49 +02:00
Gregory Schier
6ca5204961 Fix tests 2017-10-12 14:35:03 +02:00
Gregory Schier
5bc0a6584f Revert multipart 2017-10-12 14:25:26 +02:00
Gregory Schier
af2bbca356 Fix multipart newlines for Windows 2017-10-12 13:34:51 +02:00
Gregory Schier
07cc38f003 Don't rely on Curl for multipart/form-data (#513)
* Playing around but nothing working

* Got it working!

* Move multipart logic to own file
2017-10-11 23:43:21 +02:00
Gregory Schier
05db836890 Specify HTTP method when signing AWS requests (Fixes #509) 2017-10-10 10:58:13 +02:00
Gregory Schier
3908da67b6 More robust certificate check (Fixes #452) (#502) 2017-10-05 15:11:22 +02:00
Gregory Schier
f76e382387 Revamp Keyboard Shortcuts (#487)
* More shortcuts and accessibility tweaks

* Use hotkey objects everywhere

* A few last-minute tweaks
2017-09-17 16:04:56 +02:00
Gregory Schier
a20ea65c4c Async model migrations 2017-09-13 08:11:49 +02:00
Gregory Schier
6ee8576d6b Use INFILESIZE_LARGE to prevent overflow (Fixes #464) 2017-09-09 12:48:27 +00:00
Julien Giovaresco
2fcf98536f Implement Hawk Authentication (#446)
* Implement Hawk Authentication

* fix the missing label of inputs

* Fix PR reviews
2017-08-21 10:43:12 -07:00
Xuanwo
e805d86c32 Add environment to plugin (#443)
* Allow request in plugin to access current context

Signed-off-by: Xuanwo <xuanwo.cn@gmail.com>

* Add getAllHeaders API for context request

Signed-off-by: Xuanwo <xuanwo.cn@gmail.com>

* Use JSON to parse npm show's output

Signed-off-by: Xuanwo <xuanwo.cn@gmail.com>
2017-08-21 10:34:25 -07:00
Gregory Schier
d715b7345f Remove maxredirs 2017-08-16 12:48:44 -07:00
Gregory Schier
d13f50c835 Fix tests 2017-08-16 10:14:43 -07:00
Gregory Schier
9d5b896b00 Add max redirects setting to test 2017-08-16 10:08:29 -07:00
Gregory Schier
9b6cb3fb5d No more Git deps 2017-08-15 20:49:58 -07:00
Gregory Schier
852a6e6f14 Slower response refresh 2017-08-15 17:19:02 -07:00
Gregory Schier
8f00d81a7d Network logging 2017-08-15 16:30:59 -07:00
Gregory Schier
c4933badba Add response.bytesContent and use for size check (Closes #412) 2017-08-11 14:44:34 -07:00
Gregory Schier
7b494c2b95 Add token prefex oauth option and foldable advanced options (#420) 2017-08-10 12:34:33 -07:00
Gregory Schier
a834b93e5e Set max redirects limit to 20 (Closes #414) 2017-08-10 08:44:24 -07:00
Gregory Schier
851116e3f0 Added menu item for keyboard shortcuts and many small fixes 2017-08-04 09:54:11 -07:00
Jerry Saravia
43bc07460a Add redirectUri to url regex for OAuth2 (#396)
* Add redirectUri to url regex for OAuth2

Keycloak, an OAuth2/OpenId Connect authentication server,
has multiple pages it redirects to during the login process
for the user. One such internal url it uses has `code=` as part
of the url. This causes the window to close prematurely and attempt
to get an access token. However, the code is wrong because it is
only an intermediaery step for Keycloak.

This fix will add the redirectUri to the regex. Insomnia will only attempt
to fetch the token AFTER keycloak has finished it's full login flow
and has redirected back to the redirectUri.

* Code review changes
2017-08-03 18:16:27 -07:00
Gregory Schier
766b15a3d3 Fix AWS auth GET requests (Fixes #391) 2017-08-01 15:13:24 -07:00
Gregory Schier
6bf2e1652a Better support for reading files with Response tag 2017-08-01 11:20:47 -07:00
Christophe Pouliot
36d3bd5bf5 Add netrc as auth type (#384)
* Add netrc as auth type

* Re add netrc flow types

* Remove period from netrc text to accommodate windows users

* Address comments

* Add netrc network test
2017-07-31 10:29:36 -07:00
Gregory Schier
69b34162c1 Fix tests 2017-07-25 19:44:34 -07:00
Gregory Schier
0a7e790071 Fix binary file upload method 2017-07-25 19:40:32 -07:00
Gregory Schier
a4737e1b2a Use CURLOPT_CUSTOMREQUEST properly (#377)
* Use CURLOPT_CUSTOMREQUEST properly

* Fix content-type
2017-07-25 17:49:22 -07:00
Gregory Schier
911315b401 Refactored test beforeeach 2017-07-19 20:36:44 -07:00
Gregory Schier
09c219fb6d More Plugin Hooks (#352)
* Playing around with pre-request hooks

* Added response hooks

* More flow types

* Flow types on wrapper.js

* Flow types on plugin folder

* Basic tests for plugin hooks

* Make DB initilize for all tests no matter what

* Touch
2017-07-19 18:55:40 -07:00
Gregory Schier
361f03e5a9 Flow types on wrapper.js 2017-07-18 21:48:28 -07:00
Gregory Schier
fe1a0903b6 Fix lint error 2017-07-18 19:57:49 -07:00
Gregory Schier
c90ea4d35a More verbose flow types 2017-07-18 19:54:03 -07:00
Gregory Schier
2322b8be39 More flow types 2017-07-18 18:55:47 -07:00
Gregory Schier
8c58ffea60 More flow types 2017-07-18 15:10:57 -07:00
Gregory Schier
7d5477a8d5 Flow types for network.js 2017-07-18 13:38:19 -07:00
Gregory Schier
3c928e0b4c Fix timeline tracking 2017-07-17 12:05:31 -07:00
Gregory Schier
dc221bb05c Apply AWS signing to application/x-www-form-urlencoded bodies 2017-07-12 14:20:31 -07:00
Peter Lyons
d2c677c0fd Add support for AWS authentication (#347)
* Implements #344
* Multifactor authentication (MFA) not yet supported
2017-07-12 14:01:14 -07:00
Gregory Schier
7d55c7a2e6 Fix response error handling 2017-07-10 17:23:40 -07:00
Gregory Schier
fcd901109d Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2017-07-10 15:34:29 -07:00
Gregory Schier
8d69bfe659 Add paste as event that delays network requests 2017-07-10 15:34:22 -07:00
Nicholas Mata
b925791ce8 Fixed OAuth 2.0 Refresh Token (#346) 2017-07-05 14:08:57 -07:00