Commit Graph

437 Commits

Author SHA1 Message Date
Atvaark
d3c002410b Preserve HAR entry comment during import (#1198)
This will fix an HAR export/import issue where names are lost.
Fixes #1153
2018-10-03 17:33:12 -04:00
KarthikSiddarth
6f7a6d820b Validate url (#1186)
* place validateURL module in insomnia-url package

* import validataeURL module and add it to the exports

* import validateURL and pass h.value to the function, if its a url, wrap with the link component or just leave as it is

* remove validateURL module from insomnia-url package

* delete import statment that imports validateURL module

* place validateURL function inside reponse-header-viewer

* require URL api from url module
2018-10-02 09:17:32 -04:00
James Allured
f9a4e33302 Change occurences of deprecated util._extend in code generation to Object.assign (#1192) 2018-10-02 09:04:55 -04:00
Masov
018d75e705 Ordered workspace list (#1179)
* Ordered workspace list

* Remove workspace list order from settings

* Remove unused const
2018-09-30 15:43:50 -04:00
Joel Sánchez López
d9ef8b5593 EDN support (#1176)
* EDN support

* Move Clojure codemirror import

* Add package-lock.json
2018-09-30 15:25:44 -04:00
Masov
48dd56fe2b Allow to choose space as a indentation character (#1177) 2018-09-26 19:08:32 -04:00
Devin Carr
9413481b2e Add resource param to client credential oauth grant. (#1174)
Addresses #716
2018-09-26 19:03:40 -04:00
Gregory Schier
a921c9c054 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-09-08 15:01:54 -04:00
Gregory Schier
74c03e2da0 Fix XSS in variable autocomplete dropdown 2018-09-08 15:01:34 -04:00
garyking
3702d11d08 Uppercase URL (#1139)
It's an acronym.
2018-08-27 12:24:33 -04:00
Gregory Schier
4a3857ae7c Bump version 2018-08-16 00:35:00 -04:00
Gregory Schier
8d71eab78c
Ability to disable syncing of cookies and client certs (Closes (#1120) 2018-08-16 00:34:33 -04:00
Gregory Schier
0967ed4e25 Support version suffix in plugin install 2018-08-04 11:52:35 -07:00
Gregory Schier
c25bc82085 Bump version 2018-08-01 13:55:09 -07:00
Gregory Schier
21732c8aa9 Update some deps 2018-08-01 13:08:33 -07:00
Gregory Schier
7af8514e42 Fix AWS signature with content-type (Closes #1089) 2018-08-01 11:28:11 -07:00
Gregory Schier
ff32334296 Publish
- insomnia-app@1.0.40
 - insomnia-prettify@0.1.5
2018-08-01 11:09:33 -07:00
Gregory Schier
9e1af8952c Better JSON unicode handling (Fixes #1088) 2018-08-01 11:06:37 -07:00
Gregory Schier
40d6f610c4 Fix for recursive rendering 2018-07-25 16:58:01 -04:00
Gregory Schier
c5e6326cbf Publish
- insomnia-app@1.0.39
 - insomnia-prettify@0.1.4
2018-07-25 12:24:57 -04:00
Gregory Schier
e12ae8f932 Better GraphQL query highlighting 2018-07-25 12:24:47 -04:00
Gregory Schier
3d73cfa2a8 Fix unicode escaping (Closes #1071) 2018-07-25 12:06:24 -04:00
Gregory Schier
6acd591562 Only disable operations in GraphQL (Closes #1069) 2018-07-25 11:38:48 -04:00
Gregory Schier
ddafe5d938 Publish
- insomnia-plugin-core-themes@1.0.4
 - insomnia-app@1.0.38
2018-07-25 11:30:58 -04:00
Gregory Schier
acc759ba8c Theme fixes (Closes #1070, Closes #1061, Closes #1072) 2018-07-25 11:30:45 -04:00
Gregory Schier
ff9280e5da bump version 2018-07-24 12:25:49 -04:00
Gregory Schier
6ac11a8ce1 Publish
- insomnia-plugin-cookie-jar@1.0.2
 - insomnia-plugin-hash@1.0.5
 - insomnia-plugin-jsonpath@1.0.6
 - insomnia-app@1.0.37
2018-07-23 13:26:47 -04:00
Gregory Schier
af2a556add Syntax 2018-07-23 13:24:41 -04:00
Gregory Schier
45b8ae8603 Deps 2018-07-20 18:31:56 -04:00
Gregory Schier
f4d26d5cdc Publish
- insomnia-app@1.0.36
 - insomnia-libcurl@0.0.16
2018-07-20 18:31:37 -04:00
Gregory Schier
0f1375015b Publish
- insomnia-app@1.0.35
 - insomnia-libcurl@0.0.15
2018-07-20 18:15:17 -04:00
Gregory Schier
8ef4e5c55e Bump 2018-07-20 18:15:09 -04:00
tippl
26498aeaec Add bottom bar env highlight color style (#1054)
* Add bottom bar env highlight color style

Had to add this one to the grid, because border appeared outside of the
viewport.

* Use box-sizing attribute instead

* Add more environment color highlight options

* Rename env highlight color styles
2018-07-20 15:05:15 -07:00
Gregory Schier
2074738a7a Publish
- insomnia-plugin-prompt@1.1.6
 - insomnia-app@1.0.34
 - insomnia-httpsnippet@1.16.12
 - insomnia-libcurl@0.0.14
2018-07-20 18:04:05 -04:00
Gregory Schier
4b42ea40e4 Update libcurl 2018-07-20 18:03:56 -04:00
Gregory Schier
dfa95d47e9 Fix tests? 2018-07-20 17:04:08 -04:00
Gregory Schier
2ffb15ac1d Revert Lerna 2018-07-20 16:51:31 -04:00
Gregory Schier
307c349fb2 Try different npm version 2018-07-20 16:10:59 -04:00
Gregory Schier
989102fa70 Another small theme styles tweak 2018-07-19 16:49:28 -04:00
Gregory Schier
9a9fe31fb7 Improved theme selection styles 2018-07-19 16:34:13 -04:00
Gregory Schier
a65dd6a37e Fix tag editor preview jumping 2018-07-19 16:16:06 -04:00
Gregory Schier
285e77dc8f Publish
- insomnia-plugin-jsonpath@1.0.5
 - insomnia-plugin-prompt@1.1.5
 - insomnia-app@1.0.33
2018-07-19 16:04:28 -04:00
Gregory Schier
22da044691 Publish
- insomnia-app@1.0.32
 - insomnia-libcurl@0.0.13
2018-07-18 19:15:23 -04:00
Gregory Schier
12117d3d26 Revert postinstall 2018-07-18 19:15:14 -04:00
Gregory Schier
85532e858a Fix deps maybe 2018-07-18 18:10:08 -04:00
Gregory Schier
f3bb21fd24 deps 2018-07-18 10:53:57 -04:00
Gregory Schier
3cd6a84273 Publish
- insomnia-app@1.0.31
 - insomnia-libcurl@0.0.12
2018-07-18 10:50:37 -04:00
Gregory Schier
d8bcc01b06 Add npm back to deps 2018-07-17 22:00:09 -04:00
Gregory Schier
cffbb61aac Bump version 2018-07-17 21:23:58 -04:00
Gregory Schier
2e1fda8b64 Theme tweaks 2018-07-17 20:48:10 -04:00
Gregory Schier
72da789f78 Support raw CSS for themes 2018-07-17 19:39:15 -04:00
Gregory Schier
5ad79f3bbc
JS themes and convert themes (#1047)
* JS themes and convert themes

* Publish

 - insomnia-plugin-core-themes@1.0.1
 - insomnia-app@1.0.28

* Publish

 - insomnia-plugin-core-themes@1.0.2
 - insomnia-app@1.0.29

* Publish

 - insomnia-plugin-core-themes@1.0.3
 - insomnia-app@1.0.30
2018-07-17 16:34:28 -07:00
Gregory Schier
c7dae0cdf3 Publish
- insomnia-app@1.0.27
 - insomnia-libcurl@0.0.10
2018-07-16 10:39:32 -04:00
Gregory Schier
a34654476d Revert insomnia-node-libcurl 2018-07-16 10:36:33 -04:00
Gregory Schier
ab643b8a77 package-lock 2018-07-16 10:24:26 -04:00
Gregory Schier
ff79525fc4 Publish
- insomnia-app@1.0.26
 - insomnia-libcurl@0.0.9
2018-07-16 10:10:34 -04:00
Gregory Schier
c22355efbc Publish
- insomnia-app@1.0.25
 - insomnia-libcurl@0.0.8
2018-07-16 10:01:19 -04:00
Gregory Schier
fcc8e53765 tweak inactive form style 2018-07-16 09:58:03 -04:00
Gregory Schier
eb6fee088a Update dep 2018-07-16 09:54:31 -04:00
Gregory Schier
7f85dacd91 Bump dep 2018-07-16 09:43:06 -04:00
Gregory Schier
6ce95633b6 Break cache 2018-07-16 09:13:48 -04:00
Gregory Schier
d5bc716918 Charcode for webview (Fixes #1045) 2018-07-16 08:54:18 -04:00
Gregory Schier
794646f2ac Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-07-16 08:53:43 -04:00
Gregory Schier
512b048e4c Publish
- insomnia-plugin-cookie-jar@1.0.1
 - insomnia-plugin-jsonpath@1.0.4
 - insomnia-plugin-now@1.0.6
 - insomnia-plugin-os@1.0.8
 - insomnia-plugin-request@1.0.12
 - insomnia-plugin-response@1.0.10
 - insomnia-plugin-uuid@1.0.5
 - insomnia-app@1.0.24
 - insomnia-cookies@0.0.7
 - insomnia-httpsnippet@1.16.11
 - insomnia-importers@2.0.6
 - insomnia-libcurl@0.0.7
 - insomnia-xpath@1.0.4
2018-07-16 08:52:26 -04:00
Gregory Schier
0eed38aea3 Bump some deps 2018-07-16 08:52:10 -04:00
Sean Washington
1a23dc2b4b First pass at one light/dark themes (#1044) 2018-07-15 19:12:46 -07:00
Gregory Schier
b4eb470e4e Bump dep 2018-07-12 18:24:16 -04:00
Gregory Schier
58873bfe38 Move electron rebuild to postinstall 2018-07-12 17:40:15 -04:00
Gregory Schier
431643ac31 try 2018-07-12 17:24:48 -04:00
tippl
f681d13331 Add bar color indicator for environments (#1042)
* Add bar color indicator for environments

* Fix according to code review
2018-07-12 13:38:51 -07:00
Gregory Schier
4d24bc1d59 Hopefully fix build errors for Node 10 2018-07-12 14:47:21 -04:00
Gregory Schier
f3ef11dfa0 Publish
- insomnia-plugin-jsonpath@1.0.3
 - insomnia-plugin-os@1.0.7
 - insomnia-plugin-prompt@1.1.4
 - insomnia-plugin-request@1.0.11
 - insomnia-plugin-response@1.0.9
 - insomnia-app@1.0.23
 - insomnia-cookies@0.0.6
 - insomnia-httpsnippet@1.16.10
 - insomnia-importers@2.0.5
 - insomnia-libcurl@0.0.6
 - insomnia-xpath@1.0.3
2018-07-11 19:07:40 -04:00
Gregory Schier
65fc2ece89 Upgrade some deps 2018-07-11 19:07:20 -04:00
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
99cf230720 Publish
- insomnia-app@1.0.22
 - insomnia-libcurl@0.0.5
2018-06-29 15:58:50 -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
17df94d4ec Add @flow comment to flow-typed files 2018-06-28 17:16:18 -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
74d28790ab Publish
- insomnia-plugin-request@1.0.10
 - insomnia-app@1.0.21
2018-06-27 01:17:47 -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
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
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
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
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
Gregory Schier
1a3ba52575 Bump version 2018-05-24 21:57:28 -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
20ed159da8 Fix deps 2018-05-23 04:47:54 -04:00
Gregory Schier
dc3c1edc36 no longer minify 2018-05-23 04:32:43 -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
0594126401 Bump versioN 2018-05-23 02:55:31 -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
Gregory Schier
a0b27cb384 Bump version 2018-05-23 00:55:51 -04: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
15424334e3 Bump version 2018-05-23 00:43:10 -04: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
7bdaa82f38 Publish
- insomnia-app@1.0.16
 - insomnia-importers@2.0.3
2018-05-04 14:42:15 -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