Commit Graph

65 Commits

Author SHA1 Message Date
Gregory Schier
56f0fa2552 Re-add CodeMirror autorefresh plugin 2017-08-10 08:46:01 -07:00
Gregory Schier
b88f4741e4 Upgrade React and dependent libraries 2017-08-09 18:56:27 -07:00
Gregory Schier
12fd55adf5 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2017-08-09 18:05:14 -07:00
Gregory Schier
10a241b600 Refactor to minimize re-rendering of certain aspects 2017-08-09 17:53:11 -07:00
Gregory Schier
7e1f48f236 Refactor to minimize re-rendering of certain aspects (#411) 2017-08-09 17:32:51 -07:00
Gregory Schier
32ef288c6e Fix selection unfocus input bug (Fixes #366) 2017-08-09 13:14:59 -07:00
Gregory Schier
037ad21a19 Disallow copy/paste/drap on password input (Closes #410) 2017-08-09 13:08:37 -07:00
Gregory Schier
851116e3f0 Added menu item for keyboard shortcuts and many small fixes 2017-08-04 09:54:11 -07:00
Gregory Schier
fb675159bd Enable persistent search box 2017-08-01 14:39:54 -07:00
Gregory Schier
fc3ff993a0 Fixed unused import 2017-07-25 11:41:27 -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
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
3a91566f4d Add type=password support for CodeEditor (Closes #229) 2017-07-03 11:28:23 -07:00
Gregory Schier
83daea4d00 Add ability to assign color to environments (#334) 2017-06-27 14:44:23 -07:00
Gregory Schier
27fcd29531 Lots more dropdown fixes 2017-06-16 15:21:41 -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
205fef8c15 Fix autocomplete constants 2017-06-15 13:04:50 -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
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
Gregory Schier
53ff1a264e A few tweaks to bearer auth component 2017-06-01 06:32:55 -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
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
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
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
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
949e9f76d5 Better URL regex (#130) 2017-04-04 19:33:09 -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
253cdfeb57 A few tweaks to nunjucks modal (#126)
* A few tweaks to nunjucks modal

* <select> for tag editor and minor tweaks

* Pass unique key to nunjucks modal

* Slightly better autocomplete

* Warn user when switching body type

* Ability to do custom templating in nunjucks editors

* Make constants matcher more strict
2017-03-31 14:59:12 -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
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
Gregory Schier
78b0a1966f Removed some logs and stuff (#118) 2017-03-14 13:13:35 -07:00
Gregory Schier
b887872478 Autocomplete exact matches again (#117)
* Fixed duplication kve bug

* Autocomplete exact matches again
2017-03-12 19:06:56 -07:00
Gregory Schier
9c12b46b94 Autocomplete works better with segment types (#116)
* Fixed duplication kve bug

* Fixed autocompleteshow/long bug
2017-03-12 16:53:49 -07:00
Gregory Schier
aa11cdcfca More Autocomplete Improvements (#115)
* Fixed duplication kve bug

* More responsive nunjucks tags

* Better autocomplete matching
2017-03-12 15:44:46 -07:00
Gregory Schier
6b68122356 Some small improvements to things (#114)
* Fixed duplication kve bug

* Slimmed down mimetypes

* Fixed a crypt and CSS bug

* Update document title with request and fix sync mode dialog

* Updated kve styles
2017-03-12 01:03:57 -08:00