Commit Graph

151 Commits

Author SHA1 Message Date
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
851116e3f0 Added menu item for keyboard shortcuts and many small fixes 2017-08-04 09:54:11 -07:00
Gregory Schier
d4f6044779 Change changelog fetch URL 2017-08-02 13:38:40 -07:00
Gregory Schier
319b947922 Switch changelog URLgs 2017-08-02 13:38:31 -07:00
Gregory Schier
8faa28a2cf Get rid of tab tracking 2017-07-25 15:28:53 -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
e50dcdc579 Track unhandled error counts in GA 2017-07-17 15:37:24 -07:00
Donald Little
da90cc3d1d Allow fuzzy searching in Quick Switch modal (#204) 2017-07-17 11:22:05 -07:00
Gregory Schier
5fbfbccd2a Add prompt to export private environments (if any) (#343) 2017-07-03 13:51:55 -07:00
Gregory Schier
cd81c42abb Link PRs in changelog 2017-06-30 10:46:19 -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
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
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
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
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
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
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
0c2b02c7fc Better errors inside environment editors (#257) 2017-05-25 11:31:36 -07:00
Gregory Schier
832091fc93 Update electron and fix React key warning 2017-05-25 09:31:51 -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
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
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
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
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
59c648a7f4 Generate linux in own folder (#131) 2017-04-04 21:00: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
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
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
Gregory Schier
e2c72987e8 Autocomplete for variables and tags (#112)
* Fixed duplication kve bug

* Autocomplete sort of works now

* Even better

* Styled autocomplete dropdown

* Minor tweaks

* Autocomplete looking pretty spiffy

* Bug fixes

* Apply dropdown to all editors

* Fixed key propagation when autocomplete open

* Fixed some modals

* Split up editor less

* Some css improvements

* Move filter help out of editor

* Fixed drag-n-drop

* Perfected autocomplete theme

* "fixed" one-line-editor hint click bug

* Better autocomplete and switch single line input on drag enter

* Don't autocomplete on Tab

* Better tag dnd

* Add constants completion API

* Autocomplete headers

* Fixed tests
2017-03-11 16:31:23 -08:00
Gregory Schier
56a86168c4 Nunjucks Variable Editor Modal (#110)
* Fixed duplication kve bug

* Some minor css

* Fix modal refs

* Got variable modal showing

* A bit more

* Errors and debounced render

* Finished naive editors

* Some key value editor fixes

* Yet even more one-line fixes

* Added some transitions

* Small fixes

* Added key flattening util
2017-03-08 22:23:23 -08: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
4a3787fb58 Custom HTTP Methods (#107)
* Fixed duplication kve bug

* Custom HTTP Metehods

* Even better prompt
2017-03-07 16:45:18 -08:00