Commit Graph

105 Commits

Author SHA1 Message Date
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
Gregory Schier
8e1dd2b8cb Remove some console logs 2017-06-30 09:16:36 -07:00
Gregory Schier
61fab44b04 Fix unix domain socket match 2017-06-30 09:00:00 -07:00
Gregory Schier
de610f419b Move response bodies out of DB (#338)
* Move response bodies out of DB

* Small tweak
2017-06-29 20:30:22 -07:00
Gregory Schier
fbb7f1441a Adjust socket parsing 2017-06-22 12:43:11 -07:00
Gregory Schier
8ce6ec60f8 Basic Unix socket support (#322) 2017-06-22 11:43:00 -07:00
Gregory Schier
272949677b Try telling Curl file size (#320) 2017-06-21 14:21:45 -07:00
Gregory Schier
041d333be7 Actually use certificate.disabled property 2017-06-21 14:20:42 -07:00
Gregory Schier
5e6dd09652 Silence empty data blobs 2017-06-21 13:58:41 -07:00
Paul Douglas Brimicombe
cd54a74f2f Allow wildcards in client certificate hosts (#262)
* Allow wildcards in client certificate hosts

* Add test for certificate hosts that are only wildcards

* Constants should be upper case

* Fix function import for urlMatchesCertHost

* Document certificate host wildcards

* Prefer direct function exports in library files

* Use string substitution for wildcards when parsing certificate urls
2017-06-21 13:56:19 -07:00
Gregory Schier
07772bb3f1 Set cookies on 30X redirects now (#312)
* Set cookies on 30X redirects now

* Enable Curl cookie storing to catch more cases

* A bit cleaner
2017-06-15 10:52:51 -07:00
Gregory Schier
501fe5f6f7 Variable rename 2017-06-14 20:59:03 -07:00
Gregory Schier
4129c1ec8e Add keydown-based delay before making request (#298) 2017-06-08 20:02:16 -07:00
Gregory Schier
fd7a25e1ac New 'request' tag and a lot of improvements (#296)
* New 'request' tag and a lot of improvements

* Update request extension to render all values

* Custom value of tag editor now inherits current
2017-06-08 18:10:12 -07:00
ttrobisch
c7dc38fe9c Add no proxy support (#285) 2017-06-06 13:21:59 -07:00
Hiroyuki Toda
7987774f26 Add Bearer Authorization Support (#274)
* add bearer authentication support

* remove unexpected trailing comma
2017-06-01 06:18:42 -07:00
Gregory Schier
b820af8e54 Always have equals signs in x-www-form-urlencoded bodies (#265) 2017-05-29 11:02:43 -07:00
Gregory Schier
20c7ecdd61 Start a fresh OAuth2 session every launch (#258) 2017-05-25 12:19:39 -07:00
Gregory Schier
0c2b02c7fc Better errors inside environment editors (#257) 2017-05-25 11:31:36 -07:00
Gregory Schier
4537582c78 Skip invalid cookies and some tweaks 2017-05-25 08:01:45 -07:00
Gregory Schier
0c70d40d79 Don't use Curl's cookie handling (#220) 2017-05-16 10:45:09 -07:00
Gregory Schier
9e9831ad9f Less DB hits, compacted theme, sidebar styles (#157) 2017-04-20 21:30:52 -07:00
Gregory Schier
4dbb6ccbbf Longer autocomplete delay and don't show if not focus (#156)
* Longer autocomplete delay and don't show if not focus

* Send conetnt-length on POST,PUT,PATCH and track custom methods

* Bump version

* More flexible content type changing
2017-04-20 10:18:00 -07:00
Gregory Schier
cb2e720c5c A bunch of fixes with OAuth and minor network bugs (#155)
* A bunch of fixes with OAuth and minor network bugs

* Handle charsets and only autocomplete constants if exact prefix

* Fix head requests

* Fix double submisson of request

* Fixed tests
2017-04-19 18:37:40 -07:00
Gregory Schier
2f738d6635 Fix content-length header (#148) 2017-04-14 15:27:08 -07:00
Gregory Schier
6e8ad9636f Fix network tests for node-libcurl (#141) 2017-04-12 14:17:40 -07:00
Gregory Schier
f145b968be Fix some minor bugs (#139)
* Keyboard shortcut for hotkeys

* Fixed some small bugs
2017-04-11 14:20:01 -07:00
Gregory Schier
59e396e3f3 Fixed content-length on uploads (#135) 2017-04-09 14:53:46 -07:00
Gregory Schier
62719f3201 More 5.0 Fixes and Stuff (#134)
* Fix OAuth token, new request content-type, and more

* better error messaging around invalid Curl opts

* Make XFERINFOFUNCTION an optional option

* Fix content-type change prompt and double quotes in prettify

* Don't send Expect header on file upload

* Remove dead code

* Base64 tag

* Fix HTML entities in URL clicks

* Fix curl paste
2017-04-07 11:10:15 -07:00
Gregory Schier
24dfa98df0 A bunch of fixes after the 5.0 launch (#133)
* Fix SSL validation

* Minor bug fixes

* Update appveyor

* Fix select colors

* Updated Dockerfile
2017-04-05 19:30:28 -07:00
Gregory Schier
3d5700cb96 Remove redirect config (#132)
* Remove redirect config

* Also fix NTLM
2017-04-04 22:48:04 -07:00
Gregory Schier
10564b56a2 Final prep for v5 launch (#128)
* Version number and changelog scroll

* Fixed CodeMirror tooltip css

* AUtocomplete dropdown styling

* Docker Ubuntu build and some tweaks

* Fix SSL verificatioN

* Don't show SSL data

* Update README

* Fixed URL paste handler

* Import from curl improvements

* Minor things
2017-04-04 16:06:43 -07:00
Gregory Schier
75fbf60274 A bunch more smaller things for v5 (#124)
* Use Curl constants for info

* Extra timeline info and cookie url encoding setting

* Add warning to environment selector

* Title attribute on the autocomplete types

* Added test
2017-03-29 16:09:28 -07:00
Gregory Schier
e71c1dbb81 Lots of stuff (#123) 2017-03-28 19:21:49 -07:00
Gregory Schier
2cdd4761c8 Remaining V5 Features (#122)
* Add digest auth and response timeline

* Some css fixes

* Fixed Button

* More auth methods, fixed URL regex, and fix gzip

* Get rid of negotiate auth

* Fix proxy

* Fixed GA tracking

* Some very small changes and fixes

* Fix content type names

* Even better auth switching and timeline syntax

* Some auth tweaks

* CSS tweaks

* Reworked toasts

* Fixed timer rounding quirk

* Request settings and render errors

* Fixed tests

* Vertical dragging and stuff

* Remove beta
2017-03-28 15:45:23 -07:00
Gregory Schier
3f5e7e2e14 First-Party OAuth 2.0 Support (#120)
* Proof of concept authorize call

* Authorize and Refresh endpoints done

* OAuth2 editor started

* Some small fixes

* Set OAuth headers on request

* Started on some OAuth tests

* Updated network logic with new OAuth API

* OAuth forms and refactor flows

* Fix grant type handling

* Moved auth handling out of render pipeline

* Fixed legacy auth header

* Fix vertical center

* Prompt user on auth type change

* Refresh tokens working (I think) and better UI

* Catch same type auth change

* POC refresh token and small refactor

* Better token handling

* LOading state to token refresh

* Show o-auth-2 errors

* Some minor updates
2017-03-23 15:10:42 -07:00
Gregory Schier
8c0d87168e libcurl network backend (#82)
* Most things are working

* Cookies and lots of improvements

* Hoist regex

* Appveyor test

* Fix appveyor file

* Remove yarn

* Test deps

* Fix

* Remove all git deps

* fix

* Fix

* Add cash rm

* Fix command

* Fix

* Production

* try

* fix

* fix?

* Done

* Remove cache

* tweak

* Shortcut

* Fix

* Attempt

* try

* Try clone depth

* Try again

* back to shallow_clone

* Some debugging

* Another try

* Try something else

* Another

* try curl only

* Another

* fix

* Update node-gyp

* Try again

* Try

* Again

* Some pruning

* Back to the start

* Again

* try config

* Reorder test

* Try without cache

* Update dep

* Try again

* remove shallow_clone

* don't run tests

* Implement CA fetching

* Fix

* Use CAs

* Fix?

* test

* Remove build dir

* Fix dir path?

* Try again

* Aagain

* Try

* Change dep

* Add comment

* Invalidate cache

* Remove yarn

* Fix cookie expiry

* fixed tests

* Some modal fixes and unrelated stuff

* Debounce autocomplete

* Got client certificates working

* Fixed binary files

* Fixed cookies

* Got proxy and debug info working

* Got CA certs working

* Update appveyor build

* Fixed cookie date parsing and overlay z-index

* Test updates

* Autocomplete to bulk header editor

* Small CSS tweak
2017-03-16 10:51:56 -07:00