Commit Graph

354 Commits

Author SHA1 Message Date
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
d3ce502c13 Load plugin from NPM (#371)
* Install plugins from npm

* A bit more

* Error handling and messaging
2017-07-21 17:55:34 -07:00
Gregory Schier
483ca03668 Add some tooltips to OAuth form 2017-07-21 13:11:01 -07:00
Gregory Schier
4c2322f808 Refactor tooltip and some props stuff 2017-07-21 11:59:17 -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
8c58ffea60 More flow types 2017-07-18 15:10:57 -07:00
Gregory Schier
08438b6911 Add flow to project 2017-07-17 16:32:47 -07:00
Gregory Schier
f03e3c3bcc Fix response body saving 2017-07-17 15:58:41 -07:00
Gregory Schier
40c089c091 Minor style tweak 2017-07-17 15:51:50 -07:00
Gregory Schier
dae1ba3fb0 Minor tweak to sidebar filter style 2017-07-17 15:47:45 -07:00
Gregory Schier
e50dcdc579 Track unhandled error counts in GA 2017-07-17 15:37:24 -07:00
Gregory Schier
207978bb23 Fix Codemirror single line scroll quirk 2017-07-17 15:17:31 -07:00
Donald Little
da90cc3d1d Allow fuzzy searching in Quick Switch modal (#204) 2017-07-17 11:22:05 -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
5891414d0b Environment Rendering Improvements (#351)
* Pass meta through to environment renders

* Better render env failure strategy for unused vars
2017-07-10 18:05:54 -07:00
Gregory Schier
5fbfbccd2a Add prompt to export private environments (if any) (#343) 2017-07-03 13:51:55 -07:00
Gregory Schier
13365989a5 Change OAuth 1.0 text 2017-07-03 11:45:16 -07:00
Gregory Schier
21efcaf87d Handle syncMode undefined 2017-07-03 11:30:20 -07:00
Gregory Schier
3a91566f4d Add type=password support for CodeEditor (Closes #229) 2017-07-03 11:28:23 -07:00
Gregory Schier
cd81c42abb Link PRs in changelog 2017-06-30 10:46:19 -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
061d79003d Tweak dropdown events 2017-06-29 19:34:12 -07:00
Gregory Schier
751b897625 Added filterability to all dropdown menus (#340)
* Added filterability to all dropdown menus

* Remove dropdown dividers for empty filtered sections
2017-06-29 19:22:51 -07:00
Gregory Schier
5479228fbc Fix another import 2017-06-29 11:32:58 -07:00
Gregory Schier
8168610d8d More prominent copy as curl (Closes #336) 2017-06-29 11:27:29 -07:00
Gregory Schier
83daea4d00 Add ability to assign color to environments (#334) 2017-06-27 14:44:23 -07:00
Gregory Schier
512737fd96 Some minor updates to pdf viewing 2017-06-23 08:40:43 -07:00
Antoine
8fa948e402 Preview PDF on 'Visual preview mode' #323 (#325) 2017-06-23 08:32:09 -07:00
Gregory Schier
ba24e4c434 A few style tweaks 2017-06-22 12:37:24 -07:00
Gregory Schier
e9e7e957dd Add Sublime text editor mode back 2017-06-22 10:17:59 -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
cdcbd56dde Prefix markdown preview with request name 2017-06-16 18:18:31 -07:00
Gregory Schier
d8aaa0b9ff Fix import 2017-06-16 18:08:19 -07:00
Gregory Schier
beef00eae1 Some more style tweaks 2017-06-16 15:38:09 -07:00
Gregory Schier
5b568dc5dd theme--overlay class 2017-06-16 15:31:22 -07:00
Gregory Schier
27fcd29531 Lots more dropdown fixes 2017-06-16 15:21:41 -07:00
Gregory Schier
870ce6d3fc Fix markdown preview scrolling 2017-06-16 14:14:22 -07:00
Gregory Schier
95bda7f1c4 Some fixes for markdown previewer with links 2017-06-16 13:40:17 -07:00
Gregory Schier
0e57b40ba3 Dedicated tab for request descriptions (#317)
* Added tab for mardown descriptions

* Some fixes

* Fix dropdown menu theme

* Track description editing
2017-06-16 13:29:22 -07:00
Gregory Schier
a5b55a38c4 Position dropdown menus relative to viewport and make tabs scroll 2017-06-16 10:44:11 -07:00
Gregory Schier
4fb52639bf More forgiving tag editing 2017-06-15 14:26:40 -07:00
Gregory Schier
205fef8c15 Fix autocomplete constants 2017-06-15 13:04:50 -07:00
Gregory Schier
51a307e7e3 Added custom date format to 'now' extension 2017-06-15 12:10:19 -07:00
Gregory Schier
a20a011074 Cleaned up StatusTag (Closes #309) and removed unused constant 2017-06-14 11:27:30 -07:00
Gregory Schier
8cf491a99d Much better sidebar sorting (#308) 2017-06-13 13:45:15 -07:00
Gregory Schier
e8f3097547 Make query preview scroll (Closes #300) 2017-06-12 14:55:04 -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
5597d331ed Better status messages 2017-06-12 10:33:29 -07:00
Gregory Schier
441a9afd68 Use proper default status messages 2017-06-12 10:29:01 -07:00
Gregory Schier
0ed42bfa90 A few tweaks to multi-line file editor 2017-06-09 19:18:33 -07:00
Gregory Schier
28fd19500b Add ability to delete custom methods (Closes #228) 2017-06-09 15:00:36 -07:00
Gregory Schier
3056921fda Support multiline text in form data editors (#299)
* Support multiline text in form data editors

* Some tweaks around rendering and syntax

* Embed markdown editor
2017-06-09 14:42:19 -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
Gregory Schier
8611016ba8 Some response filter tweaks 2017-06-07 19:53:46 -07:00
Gregory Schier
164f5f9762 Track and display response filter history (#294) 2017-06-07 19:42:16 -07:00
Gregory Schier
5d957ec149 Update node-libcurl (Fixes #293) 2017-06-07 17:28:23 -07:00
Gregory Schier
a2a187434b Make test in markdown preview selectabl 2017-06-07 14:37:38 -07:00
Gregory Schier
fc1c7826fa Markdown header styles and sanitize HTML (#290) 2017-06-07 14:36:43 -07:00
Gregory Schier
6545832afd Bump version and some length fixes 2017-06-06 17:18:22 -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
Gregory Schier
712eb7b5a2 Fix client credentials setting in OAuth form 2017-06-05 14:06:12 -07:00
Gregory Schier
edc594f1c1 Some fixes to documentation editor 2017-06-05 08:09:06 -07:00
Gregory Schier
6666080f0f Remove documentation icon clickability 2017-06-01 17:25:36 -07:00
Gregory Schier
cb0fa272b3 Tweak prompt button icon 2017-06-01 17:00:57 -07:00
Gregory Schier
4b98c23d44 Add copy button to URL Preview 2017-06-01 16:53:10 -07:00
Gregory Schier
e7bc8bb860 UI/UX and tweaks to Markdown Descriptions (#279)
* Styles and editor done for requests

* Add description markdown to WOrkspace settings

* Show file icon beside request with description

* Add tracking
2017-06-01 15:58:09 -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
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
Gregory Schier
53ff1a264e A few tweaks to bearer auth component 2017-06-01 06:32:55 -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
8131041701 Nunjucks Template Tag Plugins MVP (#272)
* Refactor extension format and load plugins from directory

* Added some UI around plugins

* Refactor PromptModal usage
2017-05-31 19:04:27 -07:00
Gregory Schier
e95dafcf75 Some autocomplete tweaks and added ctrl+Enter shortcut 2017-05-26 11:17:35 -07:00
Gregory Schier
39d512c77f Show folder name in response tag dialog (#259) 2017-05-25 13:26:24 -07:00
Gregory Schier
0c2b02c7fc Better errors inside environment editors (#257) 2017-05-25 11:31:36 -07:00
Gregory Schier
9f3c592b77 OAuth password field should abide by password setting (#256) 2017-05-25 09:39:33 -07:00
Gregory Schier
832091fc93 Update electron and fix React key warning 2017-05-25 09:31:51 -07:00
Gregory Schier
25e15c76e2 Fix adding context menu multiple times (#254) 2017-05-25 09:31:33 -07:00
Gregory Schier
4537582c78 Skip invalid cookies and some tweaks 2017-05-25 08:01:45 -07:00
Gregory Schier
d675222bdd Merge develop for 5.1.0 (#246)
* Add Slack badge to README

* Add Twitter badge

* Appveyor badge

* Fix badges again on README

* Fix Twitter badge link

* Simplify README.md

* Migrate Travis secure items to Travis project settings (#198)

* Remove docker linux build (using Travis now) (#199)

* Fix travis build

* Update Issue and PR templates (#200)

* Add template for future pull requests

* Format issue template like pull request template

* Will not clear selected file if dialog is dismissed (#202)

* #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.

* Save full response to a file (#207)

* Save full response to a file

* Add a new button on the response preview pane
* Save full response to file when button clicked

* Update after PR comments

* It's a Response, not a Request

* Remove file extension requirement

* Implement lazy tag rendering and some fixes (#211)

* expanding to 3 decimals (#213)

* Update PULL_REQUEST_TEMPLATE.md (#214)

* Show build info in console (#216)

* Add waiting message in dev mode while webpack compile happens

* Switch license from GPL to AGPL (#221)

* Default remote URLs to production

* Don't use Curl's cookie handling (#220)

* Some improvements to the response tag

* Add tests for XPath response queries

* Refactor conditional element syntax

* 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.

* Finalize {% response ... %} Tag (#224)

* Some improvements to the response tag

* Add tests for XPath response queries

* Refactor conditional element syntax

* Update nunjucks-tags.js

* Better Nunjucks Tag Editor (#234)

* Helper to tokenize Nunjucks tag

* More granular types

* Add tag definitions

* Improve editor to be more WYSIWYG

* Fixed tests

* Added raw response tag

* A few improvements to tag editor enum

* fix NTLM typo (#244)

* Tweaks and fixes for next release (#245)
2017-05-24 09:25:22 -07:00
Gregory Schier
e2146562c6 Exports now have names and fix oauth select (#169) 2017-05-08 13:27:47 -07:00
Gregory Schier
7b8d26c292 Added import from URI ability (#160)
* Added import from URI ability

* Add protocol handlers

* Fix for keymap setting on read-only mode

* Refactored some main components out

* Protocols shoudl work now
2017-05-03 10:48:23 -07:00
Gregory Schier
47e1dccebc Remove segment and fix response history (#159) 2017-04-24 15:43:42 -07:00
Gregory Schier
d4b2813b2e Fix environment editor focus issues after variable selection (#158) 2017-04-21 12:13:29 -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
584423abae Fixed pasting in single line editor (#140) 2017-04-11 21:00:57 -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
2aabe29289 Stop send interval on request change (#136) 2017-04-10 13:07:33 -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