Commit Graph

234 Commits

Author SHA1 Message Date
Gregory Schier
66637f33d4 Fix async tag error handling (Closes #1027) 2018-07-09 10:53:11 -04:00
Gregory Schier
26e9b646bd
Add ability to debug OAuth 2.0 token fetch responses (#1024)
* Show OAuth 2.0 responses when failed

* Implemented for the rest of the grant types
2018-07-01 13:18:18 -07:00
Gregory Schier
ebbb8d5247 Handle missing content-type header with AWS auth (Fixes #910) 2018-06-30 15:55:36 -04:00
Gregory Schier
8ef0b03d9f Add clear button to sidebar filter (Closes #989) 2018-06-29 14:50:08 -04:00
Gregory Schier
145d566a65 More precise environment cascading (Fixes #1020) 2018-06-29 12:29:46 -04:00
Gregory Schier
8a751883f8 Remove empty ruleset 2018-06-28 17:17:40 -04:00
Gregory Schier
7459e84759 Make themes free 2018-06-28 16:11:28 -04:00
Gregory Schier
f9ac47cdb1 Disable non-working GraphQL jump feature 2018-06-28 16:07:32 -04:00
Gregory Schier
5aaa350fc1
Add GraphQL popup reference on hover (#1019) 2018-06-28 13:05:45 -07:00
Gregory Schier
2787f93efa Comment 2018-06-27 23:49:40 -04:00
Gregory Schier
4b64c81222 Don't render GraphQL comments (Fixes #895) 2018-06-27 23:47:55 -04:00
Gregory Schier
07b4e02693 Show operationName and some tweaks 2018-06-27 22:49:24 -04:00
Gregory Schier
10fb8b19e3 Improvements to GraphQL query highlight system 2018-06-27 18:01:23 -04:00
Gregory Schier
59a6dd2781 Run Prettier 2018-06-27 15:33:02 -04:00
Walter Barbagallo
29d13ce096 Run GraphQL query based on cursor position. (#990)
* Run GraphQL query based on cursor position.

If there are multiple operations in the GraphQL query it automatically choose
which operation to run based on the cursor position.

* Highlight current operation

* Refactor. Prevent some query change issues.

If the current operation name gets deleted the new current operation
is set as fallback to the first operation name.
This refactor includes a `_documentAST` property on GraphQLEditor component,
so it is locally available (it avoids multiple graphql `parse` function calls).
Also a _queryEditor reference is added to the component.
2018-06-27 12:31:32 -07:00
Gregory Schier
2de3a4d0d0 Remove console log 2018-06-27 02:05:13 -04:00
Gregory Schier
16cc9bbc42 Refactor nunjucks tag update logic (Closes #1014) 2018-06-27 02:03:53 -04:00
Gregory Schier
b10316c9ab Fix weird nunjucks tag hover bug (Closes #1014) 2018-06-27 01:40:45 -04:00
Gregory Schier
e811444eac Fix tests 2018-06-27 01:29:37 -04:00
Gregory Schier
6126dce3c5 Fix plugin store API tests 2018-06-27 01:21:11 -04:00
Gregory Schier
4bc5f1b789
Revampt fuzzy sort to be much more intuitive (#1012) 2018-06-26 22:13:48 -07:00
Gregory Schier
8a8c4b3979 Prompt tag now only prompts once per request maximum 2018-06-27 00:58:34 -04:00
Gregory Schier
15e230c77a Fix tests 2018-06-26 17:26:51 -04:00
Gregory Schier
60f6a31a95 Add folder index to request tag (Closes #1011) 2018-06-26 17:26:44 -04:00
Gregory Schier
4fec7fd9e8 More restrictive fuzzy search (Closes #988) 2018-06-26 16:58:03 -04:00
Drew Delianides
3b58c994f8 add audience param to implicit oauth grant closes #1008 (#1009) 2018-06-26 08:31:37 -07:00
Gregory Schier
f08057a6b8 Better Prettier pre-commit 2018-06-25 16:10:12 -04:00
Gregory Schier
14fb8a1585 Env now available when no active request (Fixes #1005) 2018-06-25 15:58:03 -04:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Gregory Schier
0ad7607ac3 Fix lint issue 2018-06-25 13:08:58 -04:00
Gregory Schier
2f68b88ca5 Remove random empty file 2018-06-25 13:02:09 -04:00
Gregory Schier
ec80e04c5f Add highlight color for hljs-keyword (Closes #999) 2018-06-25 12:57:09 -04:00
Gregory Schier
963339204b Some improvements to GraphQL variable autocomplete 2018-06-25 11:38:49 -04:00
Gregory Schier
05d93aab8f Fix lint errors 2018-06-18 17:15:15 -04:00
Gregory Schier
deb32c0736 CRUD hooks and purge response body on delete (Closes #799) 2018-06-18 17:13:56 -04:00
Roman Besolov
beef9b852a Closes #959 Fix "Copy Curl" to respect "encode url" option (#979)
* issue-959 Fix "Copy Curl" to respect "encode url" option

* issue-959 Fix tests

* issue-959 Fix review comments
2018-06-08 20:22:52 -07:00
Gregory Schier
b11f5a5c69
Plugin Storage API (#981)
* Add plugin storage API

* Add tests
2018-06-08 20:22:39 -07:00
Gregory Schier
1e72f5270a Drag handles on environment sidebar (Closes #982) 2018-06-08 23:18:44 -04:00
Gregory Schier
3f9f89607b Ordered list styling for Markdown (Closes #977) 2018-06-08 17:05:48 -04:00
Gregory Schier
fe63c23298
Sortable environments working with react-sortable-hoc (#978) 2018-06-08 13:47:49 -07:00
Gregory Schier
1d238a9005 A few UI tweaks 2018-06-07 13:55:28 -04:00
Gregory Schier
5d0e307832
Add name and folder options to Request tag (#972)
* Add name and folder to request plugin

* Publish

 - insomnia-plugin-request@1.0.7
 - insomnia-app@1.0.17
2018-06-06 18:34:11 -07:00
Gregory Schier
c82e163841
Add ability to view introspection request/response timeline upon error (#970)
* Add ability to view introspection request/response timeline upon error

* Fix tests
2018-06-06 13:48:14 -07:00
Gerry Tan
3e77cd4a69 Atlassian ASAP auth: default additionalClaims to empty object if not provided. Closes #952. (#953) 2018-06-06 13:29:07 -07:00
Gregory Schier
6e5a42b194
Add setBody to response plugin API (#969) 2018-06-06 13:27:53 -07:00
Gregory Schier
28b7bd8a40 Add OperationName to introspection query (Closes #968) 2018-06-06 14:55:18 -04:00
Gregory Schier
cd4a983d5f Fix optional prop for Editable 2018-05-25 00:08:39 -04:00
Gregory Schier
bbf1a45bc9 Fix Flow error 2018-05-24 23:14:25 -04:00
Gregory Schier
0d63a6e7c1 Preserve editor undo when switching requests and don't allow undo initial value 2018-05-24 23:01:47 -04:00
Gregory Schier
020b8b301f Also send nonce for ID Token OAuth2 type 2018-05-24 22:55:19 -04:00
Gregory Schier
03b088d53b Fix sidebar renaming (Closes #947) 2018-05-24 21:44:49 -04:00
Gregory Schier
e0d91fade3 Default new folders to expanded state 2018-05-24 21:40:36 -04:00
Gregory Schier
c93f6ffcec Update version 2018-05-23 03:10:57 -04:00
Gregory Schier
66bb89edc4 Tweak request switcher styles 2018-05-23 03:07:22 -04:00
Gregory Schier
31cd964cb1 Fix max height of query editor 2018-05-23 02:54:52 -04:00
Shawn Axsom
7ef37363bc UI for filter requests by folder, URI, method, query string (#864)
* Re-enable searching by url, request method

* Fuzzy matching UI for Quick Switch window

* Extract out a Highlight component for Quick Switch matching, and apply fuzzysort to all fuzzy matching to be consistent

* Highlighting of search results on the sidebar

* Move fuzzysort dependency into the insomnia-app package

* Move inline styling to LESS

* Update type returned by fuzzyMatch method

* Update unit tests, fix flow errors

* Updated tests reflecting changes in fuzzyMatch

* Fix lint error
2018-05-22 23:39:01 -07:00
skang0601
8fdd22da3d Traversing further into scope directories (#914) 2018-05-22 21:49:08 -07:00
Claudio Bley
33442c1e5d Allow YAML extensions in file selection import dialog too (#919)
The Swagger importer also supports parsing a spec in YAML format.
2018-05-22 21:47:11 -07:00
Gregory Schier
f918e647c0 Remove analytics 2018-05-23 00:28:25 -04:00
Gregory Schier
63ec162cb8 Fix tests and bump version 2018-05-04 15:07:12 -04:00
Gregory Schier
50d6ffef52 More Linux icons 2018-05-04 14:40:59 -04:00
Gregory Schier
bcb8e01813 Actually send header when value is empty 2018-05-04 10:37:37 -04:00
Gregory Schier
4b5ef56c56 Fixed tests 2018-05-03 18:01:49 -04:00
Gregory Schier
dc6b92d52e Remove auth debouncing 2018-05-03 17:50:56 -04:00
Gregory Schier
e8aba99417 Fix AWS auth (Fixes #907) 2018-04-30 08:48:00 -04:00
Gregory Schier
4bd9b166cf Change nunjucks preview box to <textarea> (Closes #904) 2018-04-26 12:22:08 -04:00
Gregory Schier
bd683a7d1c Icons fix attempt #2 2018-04-26 09:47:10 -04:00
Gregory Schier
6029a49502 Re-add icon.ico 2018-04-26 09:03:04 -04:00
Gregory Schier
51d0a5ae19 Fix charset handling for response webview (Fixes #859) 2018-04-25 14:39:38 -04:00
Gregory Schier
23fa05fc01 Give response hooks access to read-only request context (Closes #853) 2018-04-25 14:24:52 -04:00
Gregory Schier
85ff38e8a4 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-04-25 13:52:32 -04:00
Gregory Schier
a03b1546bf Fix autocomplete hotkey in settings (Fixes #872) 2018-04-25 13:52:13 -04:00
Gregory Schier
6af6c6e06d
Autocomplete for GraphQL variables (#888)
* Autocomplete for GraphQL variables

* Add refresh key to audioi response viewer (Fixes #890)
2018-04-25 08:02:59 -04:00
Gregory Schier
7c8746f2d2 Change fonts to use what VSCode does (Closes #843) 2018-04-23 07:47:36 -04:00
Gregory Schier
ef3c76079b Close trial-end dialog even on failure (Fixes #847) 2018-04-23 07:34:47 -04:00
Gregory Schier
52f7cdea4e Add refresh key to audioi response viewer (Fixes #890) 2018-04-23 07:22:21 -04:00
Gregory Schier
2a139ba009 Fix app refresh after change content-type (Fixes #884) 2018-04-22 12:55:43 -04:00
Gregory Schier
7dbbeaa8ab Fetch GraphQL schema more often 2018-04-20 19:06:16 -04:00
Gregory Schier
40b2bf3c78
Statically link libcurl on Linux builds (#879)
* Statically linked Curl for linux builds with Docker

* Test Travis Docker

* Try fix blocking i/o

* Try a package

* Fixed linux build

* Try hack

* Fix icons?

* Icon color

* Re-enable osx builds

* Remove libcurl3 dependency requirements

* Update electronbuilder config
2018-04-20 18:31:57 -04:00
Justin Collier
2622cb1bb3 option one: height of the query preview box is not constrained (#873) 2018-04-20 10:25:12 -04:00
Gregory Schier
b0ff54d050 Updated eslint, flow, and fixed errors 2018-04-19 15:54:19 -04:00
Gregory Schier
053c2cb3a0 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-04-18 14:21:37 -04:00
Gregory Schier
b5ad46b5a9 Add HMAC-256 oauth 1 (Closes #868) 2018-04-18 14:21:06 -04:00
Gregory Schier
d18564c7dc Fix link 2018-04-17 15:47:15 -04:00
Ville Skyttä
d902fc088f Spelling fixes (#862) 2018-04-15 07:08:00 -04:00
Ville Skyttä
36e4f3aca6 Add Swagger to import format lists (#863) 2018-04-15 07:06:44 -04:00
Gregory Schier
d7db623c66 Plugin reload now properly invalidates cached files 2018-04-05 16:54:11 -04:00
Gregory Schier
386acdd2c9 Add content types and fix iconv failure 2018-04-05 08:35:56 -04:00
Gregory Schier
26e92635dd Update httpsnippet 2018-04-02 08:46:14 -04:00
Gregory Schier
23affcdd17 Add 'About' screen for Windows/Linux (Closes #760) 2018-03-30 12:49:23 -04:00
Gregory Schier
d0d6c4b57f Ability for prompt tag to cache results 2018-03-30 10:25:35 -04:00
Gregory Schier
653cc88ae1 Ability to change Bearer prefix (Closes #817) 2018-03-30 08:52:02 -04:00
Gregory Schier
c9402c58d0 Upgrade flow 2018-03-29 13:59:32 -04:00
Gregory Schier
2cc5c541f2 Use Yarn for all plugin install stages (Closes #825) 2018-03-29 13:23:49 -04:00
Gregory Schier
6493f57e3b Cleaned up request switcher 2018-03-29 11:40:37 -04:00
Gregory Schier
e17332c7de Fix response timer infinite recursion (Fixes #838) 2018-03-29 10:59:28 -04:00
Gregory Schier
c8172bf5b2
Move folders and requests to new workspaces (#837) 2018-03-29 09:57:24 -04:00
Gregory Schier
6df9aa15c2 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-03-28 22:32:48 -04:00
Gregory Schier
976720c8f2 Introspection queries use same OAuth2 tokens (Closes #835) 2018-03-28 22:32:09 -04:00
Brandon Cook
3a15aab2c4 Add support for additional claims in ASAP Auth (#822) 2018-03-28 19:27:21 -04:00