Commit Graph

68 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
3b27d5fa01 Mark new workspaces in UI (#379) 2017-07-27 15:59:07 -07:00
Gregory Schier
98b23002a2 Better graphql autocomplete 2017-07-25 11:00:30 -07:00
Gregory Schier
1df3ba4531 GraphQL Body Type (#376)
* Initial GraphQL support

* Better error handling and formatting
2017-07-24 21:15:24 -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
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
9aa2833002 Better flow types for request model 2017-07-18 16:38:19 -07:00
Gregory Schier
8c58ffea60 More flow types 2017-07-18 15:10:57 -07:00
Gregory Schier
2c5ce7999e Move responses into Redux (#359) 2017-07-17 11:20:38 -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
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
83daea4d00 Add ability to assign color to environments (#334) 2017-06-27 14:44:23 -07:00
Gregory Schier
823010b125 Don't duplicate meta models (Closes #313) 2017-06-15 10:08:24 -07:00
Gregory Schier
93b16cc107 Track request versions and restore with response (#305) 2017-06-12 14:49:46 -07:00
Gregory Schier
ff58ff7e51 Add ability to delete current response 2017-06-12 14:48:17 -07:00
Gregory Schier
164f5f9762 Track and display response filter history (#294) 2017-06-07 19:42:16 -07:00
Gregory Schier
c78dade7a7 Workspace duplication improvements 2017-06-06 17:07:09 -07:00
Hayden
7516b3c7b7 Feature/duplicate workspace (#237)
* rename "Danger Zone" to "Actions"

* add duplicate to workspace model

* create and pass "handleDuplicateWorkspace" into "WorkplaceSettingsModal"

* add "Duplicate Workspace" button into "Actions" section

* add semicolon
2017-06-06 14:21:06 -07:00
ttrobisch
c7dc38fe9c Add no proxy support (#285) 2017-06-06 13:21:59 -07:00
Valeria
eb94f430f0 Request description with markdown (#252)
* Updated Request & Request Group with a description field

* Button and Workspace description

* Merkdown request description text editor

* Removed useless button for now

* Fixed lock.json for npm@5

* PR #252 requested changes

* _handleValueChange->props

* Removed sanitize
2017-06-01 06:54:46 -07:00
Gregory Schier
ef64eea23b Added test for disabling of analytics tracking 2017-06-01 06:50:15 -07:00
Matthew Shirley
80a29a5ef1 Add setting to disable analytics tracking (#269)
* Add setting to disable analytics tracking

Closes getinsomnia/insomnia#146

* Reorganize the default settings
2017-06-01 06:35:29 -07:00
Carl Hiltbrunner
d70f16540a Add option to toggle Menu Bar showing for Windows/Linux (#225)
* Add option to toggle MenuBar showing on Windows/Linux

* Extract Toggling Menu Bar functionality to App Container. Default show Menu Bar. Remove tip from Response Pane.
2017-05-17 09:35:44 -07:00
Pavan Kumar
0e6f7750e8 #183, Body type "Text -> Other" reverts to previous body type (#193)
* ISSUE#183

* Adding condition to check mime-type to other

* Removing older changes for fixing issue.
2017-05-14 22:36:14 -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
Renaud LITTOLFF
4bf0189ffc Added code editor indent settings (#147)
* Added code editor indent settings (#145)

* Added default indent size (4) in code editor (#145)
2017-04-14 14:47:15 -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
c4b920c7e9 Slightly smarter preview mode selection (#125)
* Slightly smarter preview mode selection

* Tweak autocomplete stuff a bit

* Switched variable editor to <select>

* Reduced lag on nunjucks tags
2017-03-30 11:52:07 -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
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
8452e8b777 Some eslint refactoring (#109)
* Fixed duplication kve bug

* Some changes

* Add proptypes linting

* Fixed proptypes even more

* Filename linting
2017-03-07 21:52:17 -08:00
Gregory Schier
1d45367aa1 Added eslint and fixed all problems (#101)
* Fixed duplication kve bug

* Added semistandard and updated code

* Actually got it working

* Even better

* I think it should work on Windows now
2017-03-03 12:09:08 -08:00
Gregory Schier
c1e9e718e9 Perf/one line input hybrid (#100)
* Fixed duplication kve bug

* one-line-input now defaults to <input>

* Fixed urlbar width

* Removed all boolean flags

* Fixed some edge cases

* I think it's good

* A bunch more fixes too

* Fixed querystring with hashes
2017-03-01 13:15:56 -08:00
Gregory Schier
58313a42cb Fixed '=' sign breaking querysting (#94)
* Fixed '=' sign breaking querysting

* Make sure duplication r and rg makes unique sort key
2017-02-27 14:54:56 -08:00
Gregory Schier
55bfe2acb9 Templating Improvements and Response Tags (#88)
* Version bump

* Got async Nunjucks extensions working

* Got JSONPath extension working

* Swapped render function for new stuff

* Wrote custom recursive render function

* traverse -> clone

* add-module-exports

* Moved tests
2017-02-20 10:32:27 -08:00
Gregory Schier
5db095f90b Add private environment support (#84)
* Add private environment support

* Add appveyor
2017-02-15 12:32:15 -08:00
Gregory Schier
264bb1f4dd A bunch of memory leak fix attempts (#79) 2017-01-26 17:00:27 -08:00
Gregory Schier
64146a0392 Added vim/sublime/emacs editor modes 2017-01-24 14:18:11 -08:00
Gregory Schier
3ced73f903 Color Themes! (#77)
* Got 3 schemes

* Finished color picke
2017-01-20 13:54:03 -08:00
Gregory Schier
8efd8fc416 Add Sync Tests (#74)
* Started sync tests

* Simplified logic a bit and better tests

* Some more tests

* More tests yet
2017-01-09 13:59:52 -08:00
Gregory Schier
d58edf1d25 Cleanup before major team features (#72)
* Started on UI makeover for teams

* Some small tweaks and fixes

* Adjusted settings
2016-12-21 15:37:48 -08:00
Gregory Schier
b144cf3475 Better network error handling 2016-12-08 15:29:45 -08:00
Gregory Schier
3317bb17a6 Added accept header and some small tweaks 2016-12-08 12:29:40 -08:00
Gregory Schier
2e5b28cf67 Fixed rendering potentially unsafe values 2016-12-08 10:42:45 -08:00