Commit Graph

1784 Commits

Author SHA1 Message Date
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
74d28790ab Publish
- insomnia-plugin-request@1.0.10
 - insomnia-app@1.0.21
2018-06-27 01:17:47 -04:00
Gregory Schier
13803d2e5d Fix off-by-one error (Closes #1013) 2018-06-27 01:16:57 -04:00
Gregory Schier
4bc5f1b789
Revampt fuzzy sort to be much more intuitive (#1012) 2018-06-26 22:13:48 -07:00
Gregory Schier
f921b5582e Publish
- insomnia-plugin-prompt@1.1.3
 - insomnia-app@1.0.20
2018-06-27 01:13:01 -04:00
Gregory Schier
770da1b425 More robust prompt tag 2018-06-27 01:12:43 -04:00
Gregory Schier
1ebfdc4dee Publish
- insomnia-plugin-base64@1.0.4
 - insomnia-plugin-default-headers@1.1.7
 - insomnia-plugin-file@1.0.4
 - insomnia-plugin-hash@1.0.4
 - insomnia-plugin-jsonpath@1.0.2
 - insomnia-plugin-now@1.0.5
 - insomnia-plugin-os@1.0.6
 - insomnia-plugin-prompt@1.1.2
 - insomnia-plugin-request@1.0.9
 - insomnia-plugin-response@1.0.8
 - insomnia-plugin-uuid@1.0.4
 - insomnia-app@1.0.19
 - insomnia-cookies@0.0.5
 - insomnia-httpsnippet@1.16.9
 - insomnia-importers@2.0.4
 - insomnia-libcurl@0.0.4
 - insomnia-prettify@0.1.3
 - insomnia-url@0.1.3
 - insomnia-xpath@1.0.2
2018-06-27 00:59:43 -04: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
Gregory Schier
935d5cb602 Enable new static flag for packaging Linux 2018-06-26 14:42:44 -04:00
Gregory Schier
f72f1d5f0a Update insomnia-node-libcurl 2018-06-26 14:24:19 -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
b4caac21ed Add "Needs Discussion" to stalebot ignore 2018-06-25 16:43:58 -04: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
7fa0a9f2ec Revert nvmrc back to Node 8 2018-06-25 13:51:06 -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
6519274a9d Publish
- insomnia-plugin-request@1.0.8
 - insomnia-app@1.0.18
 - insomnia-httpsnippet@1.16.8
2018-06-08 17:23:34 -04:00
Gregory Schier
f94ad6d1a5 Fix multipart boundary curl generation (Closes #957) 2018-06-08 17:23:11 -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