Commit Graph

236 Commits

Author SHA1 Message Date
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
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
59c648a7f4 Generate linux in own folder (#131) 2017-04-04 21:00:04 -07:00
Gregory Schier
949e9f76d5 Better URL regex (#130) 2017-04-04 19:33:09 -07:00
Gregory Schier
a402848b2c Updated Artwork (#129)
* New icons

* Removed settings headings
2017-04-04 16:38:17 -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
825c240ab4 Fixed autocomplete imports (#121) 2017-03-23 22:38:42 -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
8024641751 A few more content types (#119) 2017-03-14 15:15:31 -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