Commit Graph

942 Commits

Author SHA1 Message Date
Gregory Schier
5a92964db6
New insomnia-ui package with initial <NoticeTable/> component (#1869)
* Add insomnia-ui package with NoticeTable component and a few other examples

* Tweak icon placement and add insomnia-ui to insomnia-app package

* Add click handling and some extra styles to <NoticeTable/>

* New SvgIcon component and style tweaks

* Fix dependencies

* Fix button border

* Fix flow lint

* SvgIcon stories and lots of style updates

* Fix auto-formatting issue
2020-01-06 13:33:47 -05:00
Opender Singh
f920ba17f2 Update codemirror (#1861) 2019-12-20 15:03:44 -05:00
Gregory Schier
e485d55aea Merge branch 'develop' of github.com:Kong/insomnia into develop 2019-12-18 16:50:48 -05:00
Gregory Schier
986c02914c Add option to include OAuth 1.0 body hash (Closes #1854) 2019-12-18 16:49:39 -05:00
Gregory Schier
905040db80 Fix GQL operationName not being picked up somethings (Closes #1856) 2019-12-18 16:07:23 -05:00
Petr Kadlec
0a585395ec Fix the description of HTTP 201 Created (#1853)
The 201 HTTP status is most typically the result of a POST request.
Apparently, this came verbatim from MDN where it was fixed in
https://wiki.developer.mozilla.org/en-US/docs/Web/HTTP/Status$compare?to=1348890&from=1340759
2019-12-17 14:15:57 -05:00
Gregory Schier
3e3886205b Add ability to disable JS in response webview 2019-12-17 14:10:42 -05:00
Gregory Schier
851e142136 Rename getinsomnia > kong 2019-12-17 12:16:08 -05:00
Gregory Schier
5c9493fa2d pkg-v2.1.2 2019-12-17 11:58:09 -05:00
Gregory Schier
d34316747c Bump version 2019-12-17 11:57:45 -05:00
Gregory Schier
dac7da6411 Remove leading space in Timeline tab 2019-12-13 23:21:12 -05:00
Gregory Schier
6f2e6161bb Merge remote-tracking branch 'origin/develop' into develop 2019-12-13 23:11:34 -05:00
Gregory Schier
5f2f319e5b Sidebar toggle hotkey now configurable (Closes #1715) 2019-12-13 23:11:13 -05:00
Gregory Schier
ebaf8a0a8d
Ability to bulk-edit query parameters (Closes #1110) (#1848)
* Ability to bulk-edit query parameters (Closes #1110)

* Cleanup lint errors
2019-12-13 20:11:47 -05:00
Gregory Schier
f4790965e3 Catch errors when reading multipart files (Fixes #1665) 2019-12-13 18:54:34 -05:00
Gregory Schier
1092e44fda Add Quit shortcut back to app (Closes #1446) 2019-12-13 16:26:37 -05:00
Gregory Schier
a53192c229 Bump package-locks 2019-12-13 09:07:34 -05:00
Gregory Schier
dbd7cbe059 Fix Flow error 2019-12-12 16:06:21 -05:00
Gregory Schier
ac75e3b8cc Add ability for no OAuth 2 Authorization prefix (Closes #1087) 2019-12-12 15:57:39 -05:00
Gregory Schier
08d57747ba v2.1.1 2019-12-12 15:40:12 -05:00
Gregory Schier
533caa4663 Update email address 2019-12-12 15:39:41 -05:00
Gregory Schier
114a78cf27 v2.1.0 2019-12-12 15:32:59 -05:00
Gregory Schier
a1f99d47b1 Optinally download prettified response body 2019-12-12 15:02:53 -05:00
kliques
c96067322c ft(prettify-json): prettify json when saving response to file (#1829) 2019-12-12 12:57:41 -05:00
Gregory Schier
351c8eed90 Show Fixedsys Excelsior font in monospace fonts (Fixes #1835) 2019-12-12 11:17:03 -05:00
Gregory Schier
e932d7e388 Prompt for name when duplicating requests and folders 2019-12-11 12:48:56 -05:00
Gregory Schier
3def41113d Fix WSDL importer fixtures 2019-12-11 12:13:26 -05:00
Tomasz Dłuski
705876ace9 [Feature] Wsdl Importer with sample xml (#1675)
* new(importer): wsdl first version (without body)

* add(tests): wsdl importer - adds simple test

fixes addition test

adds comments + place to generate body

* working converter

* adds apiconnect-wsdl npm package

* resets package.json dependencies

* adds lodash and apiconnect-wsdl into importers project
2019-12-11 12:02:08 -05:00
Gregory Schier
8baf4a482c Add JSON Content-Type on import if it doesn't include it 2019-12-11 11:58:12 -05:00
Gregory Schier
4d1a9113bb Remove console.log's 2019-12-10 11:31:11 -05:00
Gregory Schier
5eb529c33b Fix potential white screen when creating workspaces (Closes #1833) 2019-12-10 11:29:48 -05:00
Gregory Schier
d330bb5c70 Use X-HTTP-Method-Override UI to show GraphQL as well (Closes #1780) 2019-12-04 13:45:09 -05:00
Gregory Schier
1e3da598cd Make SelectModal cancellable (Closes #1779) 2019-12-04 12:08:10 -05:00
Gregory Schier
5d00b89dce Publish
- insomnia-app@1.1.15
 - insomnia-cookies@0.0.22
 - insomnia-importers@2.0.26
 - insomnia-libcurl@0.0.33
 - insomnia-xpath@1.0.19
 - insomnia-plugin-cookie-jar@1.0.20
 - insomnia-plugin-jsonpath@1.0.23
 - insomnia-plugin-now@1.0.21
 - insomnia-plugin-os@1.0.23
 - insomnia-plugin-request@1.0.29
 - insomnia-plugin-response@1.0.29
 - insomnia-plugin-uuid@1.0.20
2019-12-04 11:57:27 -05:00
Gregory Schier
81ef50cc6b Less-strict URL parsing in openapi3 importer (Fixes #1782) 2019-12-04 11:56:22 -05:00
Gregory Schier
36059c8480 Sidebar creation context menu (Closes #1625) 2019-12-03 17:07:26 -05:00
Gregory Schier
0f300fd617 Tweaks to GraphQL editor variables lint bug 2019-12-03 14:59:25 -05:00
Daniel Frankcom
57af729ca5 Add GraphQL lint to editor component mount (Fixes #1507) (#1822) 2019-12-03 14:55:10 -05:00
Gregory Schier
b270333503 Add tooltip delays on response history dropdown 2019-12-03 13:28:12 -05:00
Opender Singh
35e6dbe1ff Persist and restore code folds (#1815)
* Persist and restore folds

* Persist and restore folds

* Persist and restore folds

* add types

* Update

* Update

* Fix types
2019-12-03 11:51:04 -05:00
Gregory Schier
a2bb088917 Bump version 2019-11-28 13:33:14 -05:00
Gregory Schier
4950af71ae Fix perf regression from cloning state (Closes #1814) 2019-11-28 13:32:08 -05:00
Gregory Schier
6efe7d17ca Only set OAuth user-agent for GitHub (Fixes #1816) 2019-11-28 13:27:31 -05:00
Gregory Schier
ba21a9ee23 Log into Ubuntu Advantage 2019-11-27 11:56:51 -05:00
Gregory Schier
18d011b810 package-lock 2019-11-27 11:03:26 -05:00
Gregory Schier
0b7f67dcf5 Publish
- insomnia-app@1.1.14
 - insomnia-plugin-core-themes@1.0.13
2019-11-27 10:53:09 -05:00
Gregory Schier
d3f86c5290 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-11-27 10:52:40 -05:00
Gregory Schier
46d7d94296 Update some dependencies 2019-11-27 10:52:20 -05:00
Gregory Schier
3c9670920b Fix URL placeholder color 2019-11-27 10:51:54 -05:00
Gregory Schier
d1207a3a12 Fix use arrays of objects in environments (Closes #1605) 2019-11-27 10:46:22 -05:00
Gregory Schier
43d183d627 Update Linux dependencies for libcurl (Closes #1757) 2019-11-27 10:07:43 -05:00
Henning Verbeek
be171407bf Adds a contentType header to body parts of multipart/form-data payload (#1813)
It uses the `multiline` parameter as chosen by the user.
2019-11-27 09:59:04 -05:00
Gregory Schier
0b5413e81a Try fix icons 2019-11-26 17:41:09 -05:00
Gregory Schier
644b67dec6 Version bump 2019-11-26 16:19:31 -05:00
Gregory Schier
44af0b1a3c Try removing Linux icons to fallback to auto-generated 2019-11-26 16:17:55 -05:00
Gregory Schier
0d64d6e0e1 Fix Node 10 check 2019-11-26 15:50:06 -05:00
Gregory Schier
ec972b4694 Don't auto-close brackets on one line editor (Fixes #1560) 2019-11-26 15:48:17 -05:00
Gregory Schier
60c623f0a4 Force newer user-agent for OAuth 2.0 login flow (Fixes #1774) 2019-11-26 15:41:27 -05:00
Gregory Schier
38c465f5e5 Version bump 2019-11-26 15:34:14 -05:00
Gregory Schier
c9f80816a1 Allow 3-character branch names (Closes #1803) 2019-11-26 13:40:54 -05:00
Gregory Schier
42e198bf75
Add Storybook with basic components (#1807)
* Gruvbox theme

* Added Storybook for all components that don't fail in browser
2019-11-26 12:22:21 -05:00
Gregory Schier
bb0b5df096 Fix key-value-editor jumping 2019-11-25 17:48:30 -05:00
Luca Dommes
a25b62b994 Add description field for body entries (#1789)
* Add description field for body entries #1673

Besides key and value the user can provide a description to the
according body entry to better keep track of them. This is useful when
testing an API with multiple different bodies.

* Make description field optional in all key value editors #1673

- Show description fields when any description exists
- Add toggle description option to gear icon menu
- Add optional description field in all key value editors

* Make placeholders lower case
2019-11-25 17:36:01 -05:00
Gregory Schier
abe274796a Publish
- insomnia-app@1.1.13
 - insomnia-importers@2.0.25
2019-11-22 14:00:18 -05:00
Gregory Schier
ede671a057 Fix Swagger2 tests 2019-11-22 13:59:06 -05:00
Gregory Schier
7310fa3697 Publish
- insomnia-app@1.1.12
 - insomnia-cookies@0.0.21
 - insomnia-importers@2.0.24
 - insomnia-libcurl@0.0.32
 - insomnia-prettify@0.1.14
 - insomnia-url@0.1.13
 - insomnia-xpath@1.0.18
 - insomnia-plugin-base64@1.0.13
 - insomnia-plugin-cookie-jar@1.0.19
 - insomnia-plugin-core-themes@1.0.12
 - insomnia-plugin-default-headers@1.1.14
 - insomnia-plugin-file@1.0.14
 - insomnia-plugin-hash@1.0.14
 - insomnia-plugin-jsonpath@1.0.22
 - insomnia-plugin-now@1.0.20
 - insomnia-plugin-os@1.0.22
 - insomnia-plugin-prompt@1.1.18
 - insomnia-plugin-request@1.0.28
 - insomnia-plugin-response@1.0.28
 - insomnia-plugin-uuid@1.0.19
2019-11-22 13:41:27 -05:00
Gregory Schier
dbddc7bb07 Add test and fix conflicts 2019-11-22 13:31:23 -05:00
Matthias Ramsauer
b59759d54f [Feature] [SwaggerV2] Create Folders from implicit defined tags (#1723)
* Create Folders from implicit defined tags

* Update fixtures to reflect swagger2 importer changes
2019-11-22 13:17:17 -05:00
Gregory Schier
be94772382 Fixed swagger2 importer tests 2019-11-22 13:13:36 -05:00
Matthias Ramsauer
65cd4b0146 [Feature] [SwaggerV2] Import Documentation and Authentification (#1724)
* [Feature] [SwaggerV2] Import Documentation and Authentification
Partially implements #1698
Fixes #1007

* Update fixtures to reflect swagger2 importer changes
2019-11-22 13:06:15 -05:00
Duncan Brown
83be4a9714 Add audience and resource field for OAuth2 Authorization Code grant (#1768)
* add audience to grant authorization code

* add resource to grant authorization code

* fixed audience and resource for code grant
2019-11-22 12:48:34 -05:00
Gregory Schier
2834d839d0
Support Enums in GraphQL documentation explorer (#1787)
* Support Enums in GraphQL documentation explorer

* Remove additional props being passed
2019-11-22 12:44:43 -05:00
Gregory Schier
a5857ba9e8 Adjust auto-sizing extra scroll 2019-11-22 12:44:05 -05:00
kliques
b4b60f3565 fix(height): (#1800)
- add dynamic height of window "Edit variable" - "Line preview"
2019-11-22 12:38:27 -05:00
Matthias Ramsauer
ab990d7a40 [Feature] [SwaggerV2] Body Parameter affect content-type header and implement formData type (#1722)
* Body Parameter affect content-type header and implement formData type

* Enable Tests and update swagger2 fixtures
2019-11-22 12:36:33 -05:00
Gregory Schier
0933337c1e Bump versions 2019-11-22 11:15:46 -05:00
Gregory Schier
f325aef9ff Publish
- insomnia-app@1.1.11
 - insomnia-cookies@0.0.20
 - insomnia-importers@2.0.23
 - insomnia-libcurl@0.0.31
 - insomnia-xpath@1.0.17
 - insomnia-plugin-cookie-jar@1.0.18
 - insomnia-plugin-jsonpath@1.0.21
 - insomnia-plugin-now@1.0.19
 - insomnia-plugin-os@1.0.21
 - insomnia-plugin-request@1.0.27
 - insomnia-plugin-response@1.0.27
 - insomnia-plugin-uuid@1.0.18
2019-11-22 11:05:46 -05:00
Gregory Schier
869dffbf36 Upgrade electron-rebuild 2019-11-22 11:04:22 -05:00
Gregory Schier
a492dc6312 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-11-22 10:58:20 -05:00
Gregory Schier
05c68ecdf6 Small tweak to setSelection in CodeEditor component 2019-11-22 10:58:00 -05:00
Gregory Schier
af3a4f0553 OpenAPI spec check for empty properties on import 2019-11-22 10:57:33 -05:00
Luca Dommes
313de05a16 Make 'value' and 'header' lower case for consistency (#1790) 2019-11-22 10:48:56 -05:00
kliques
58eb3eaeb7 feature: clipboard feature (#1776)
- add import from clipboard
2019-11-22 10:46:54 -05:00
Gregory Schier
62f3899e23 Add regex JSONPath example to help dialog (Ref #1785) 2019-11-15 15:16:00 -05:00
Gregory Schier
9289007b3d Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-11-15 12:55:28 -05:00
Gregory Schier
3bd7a41200 Fix type check on render (Fixes #1786) 2019-11-15 12:55:10 -05:00
Nilay Majorwar
49804432a5 Added response history grouping by time (#1761) 2019-11-07 17:10:08 -05:00
Gregory Schier
8073797816 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-11-04 20:10:21 -05:00
Gregory Schier
0f13d4d002 Dropdown works with empty dividers 2019-11-04 20:10:14 -05:00
Elias Meire
414e35ea11 [Feature] [OpenAPI] Support OpenAPI 3 securitySchemes (#1725)
* feat(openapi): Fix parseDocument return type

* feat(openapi): Add support for apiKey and http security
Add support for apiKey and http security in OpenAPI 3 parser

* feat(openapi): Add env variables for OpenAPI security

* feat(openapi): Restore fixture tests, add skip option for failing test

* feat(openapi): Add/adapt test fixtures

* feat(openapi): Improve Cookie formatting

* Empty commit; trigger CI

* feat(openapi): Add type basic to auth
2019-11-01 10:30:44 -04:00
Nilay Majorwar
9b804b282b Fix build failing (#1760) 2019-11-01 10:02:53 -04:00
Nilay Majorwar
157ccac2f8 Added display support for X-Http-Method-Override (#1744) 2019-10-31 12:46:48 -04:00
Nilay Majorwar
ad278ea01a [Feature] Added request-specific followRedirects setting (#1737)
* Added request-specific follow redirect setting

* Added hint text to follow redirects setting
2019-10-31 12:02:03 -04:00
Adam Lavin
c88eb129b9 Fetch new access tokens if refreshing token returns "invalid_grant" (#1729) 2019-10-31 11:58:58 -04:00
Elias Meire
e8cefefa57 [Feature] [cURL] Parse query parameters from url in importer (#1726)
* feat(curl): parse parameters from url string

* feat(curl): Remove trailing slash after import

* feat(curl): Add exception for failing test

* feat(curl): Parse params from url in curl importer
2019-10-31 11:42:42 -04:00
Gregory Schier
61b4c6e78d Dropdown children now work with React.Fragment 2019-10-30 12:30:34 -04:00
Gregory Schier
76d11266a7 Put ref check in correct script 2019-10-30 10:56:10 -04:00
Gregory Schier
b531dfbd9c Fix package script env var reference 2019-10-30 10:39:00 -04:00
Gregory Schier
8110caa4ff Small tweak to build scripts 2019-10-30 10:24:32 -04:00
Gregory Schier
e1d3f15311 Better entities initialization 2019-10-30 10:24:14 -04:00
Gregory Schier
f554425d13 Add travis back for macOS builds 2019-10-18 10:48:39 -04:00
Gregory Schier
b0e9edea9d Add snapcraft login 2019-10-17 15:57:26 -04:00
Gregory Schier
2991e87187 Hack publish parameter for snap 2019-10-17 15:11:00 -04:00
Gregory Schier
6d32a48756 Try publish: null 2019-10-17 14:51:55 -04:00
Gregory Schier
1b102e20c3 Don't publish snapcraft during build 2019-10-17 14:30:22 -04:00
Gregory Schier
45aa1a563f Disable snap publish 2019-10-10 16:55:27 -07:00
Gregory Schier
a65e99fb63 Print snapcraft version 2019-10-10 14:05:40 -07:00
Gregory Schier
d62b969d87 Bump version to beta 2019-10-10 12:20:46 -07:00
Gregory Schier
51d16a9fca CI fixes 2019-10-10 11:34:43 -07:00
Gregory Schier
2153af7ab9 Fix owner and repo in release code 2019-10-10 10:29:49 -07:00
Gregory Schier
24109a0538 Bump version' 2019-10-09 13:32:36 -07:00
Gregory Schier
153b10c209
Better Github Actions builds (#1718)
* Try some things

* Try docker

* Specify bash in Dockerfile

* Fix?

* Fix dockerfile version

* Fix bootstrap.sh path

* Use GITHUB_WORKSPACE in docker script

* Fix permissions again

* Fix missing bootstrap.sh

* Try again

* Fix entrypoint.sh permissions

* Remove Linux2
2019-10-09 13:31:42 -07:00
Gregory Schier
46373fda2e Try fix CI 2019-10-08 16:46:17 -07:00
Gregory Schier
0c53522f46 Add Apple Notarization 2019-10-08 16:31:32 -07:00
Gregory Schier
9bbb253a37 Bump version 2019-10-08 12:00:58 -07:00
Gregory Schier
8ce877eb73 Publish
- insomnia-app@1.1.10
 - insomnia-cookies@0.0.19
 - insomnia-importers@2.0.22
 - insomnia-libcurl@0.0.30
 - insomnia-prettify@0.1.13
 - insomnia-url@0.1.12
 - insomnia-xpath@1.0.16
 - insomnia-plugin-base64@1.0.12
 - insomnia-plugin-cookie-jar@1.0.17
 - insomnia-plugin-core-themes@1.0.11
 - insomnia-plugin-default-headers@1.1.13
 - insomnia-plugin-file@1.0.13
 - insomnia-plugin-hash@1.0.13
 - insomnia-plugin-jsonpath@1.0.20
 - insomnia-plugin-now@1.0.18
 - insomnia-plugin-os@1.0.20
 - insomnia-plugin-prompt@1.1.17
 - insomnia-plugin-request@1.0.26
 - insomnia-plugin-response@1.0.26
 - insomnia-plugin-uuid@1.0.17
2019-10-07 13:48:48 -07:00
Gregory Schier
76f5d8da1a Only handle supported Curl args during import (Fixes #1697) 2019-10-07 13:45:05 -07:00
Gregory Schier
384c65bd37 Reset window bounds if not within bounds of any display (Closes #1702) 2019-10-07 12:37:38 -07:00
Gregory Schier
f5978b22f9 Fix tab key in code editor (Closes #1703) 2019-10-07 12:26:28 -07:00
Gregory Schier
edf94643c1 Re-detect operationName when editing GQL query (Fixes #1708) 2019-10-07 12:17:34 -07:00
Gregory Schier
1817534025 Merge branch 'master' of github.com:getinsomnia/insomnia into develop 2019-10-07 11:55:23 -07:00
Malachi Willey
552ca2ad69 No longer override in GraphQL editor on initialization (#1701) 2019-10-07 11:54:46 -07:00
Malachi Willey
607b219afa Correct typo on import dialog (#1696) 2019-10-07 11:52:00 -07:00
Corey Gouker
6fe838eef7 Set macOS icon to png for correct icon.icns build (#1707) 2019-10-07 11:51:04 -07:00
Alex Hîncu
16a00cf70b Add request name in the hover tooltip (#1705) 2019-10-07 11:44:16 -07:00
Alex Hîncu
8a290784aa Add ability to duplicate environments (#1706) 2019-10-07 11:43:34 -07:00
v1ktor
9909f8e907 Escape yarn paths (#1699) 2019-10-07 11:37:42 -07:00
Gregory Schier
cab9475de9 Remove package linking from release 2019-10-02 08:19:23 -07:00
Gregory Schier
eed5672948 Bump package locks 2019-10-02 08:01:58 -07:00
Gregory Schier
ebb8bb531d Version bump 2019-09-30 17:58:07 -07:00
v1ktor
e1c185ced2 Escape dirs in the yarn cmd (#1688) 2019-09-30 13:13:03 -07:00
Ranjan Purbey
e14237a555 Fix transparent line-numbers background (#1690) 2019-09-30 13:11:15 -07:00
Gregory Schier
bdb09f9eea Send app property with notification request 2019-09-30 11:44:04 -07:00
Gregory Schier
400f15a348 Publish
- insomnia-app@1.1.9
 - insomnia-cookies@0.0.18
 - insomnia-importers@2.0.21
 - insomnia-libcurl@0.0.29
 - insomnia-prettify@0.1.12
 - insomnia-url@0.1.11
 - insomnia-xpath@1.0.15
 - insomnia-plugin-base64@1.0.11
 - insomnia-plugin-cookie-jar@1.0.16
 - insomnia-plugin-core-themes@1.0.10
 - insomnia-plugin-default-headers@1.1.12
 - insomnia-plugin-file@1.0.12
 - insomnia-plugin-hash@1.0.12
 - insomnia-plugin-jsonpath@1.0.19
 - insomnia-plugin-now@1.0.17
 - insomnia-plugin-os@1.0.19
 - insomnia-plugin-prompt@1.1.16
 - insomnia-plugin-request@1.0.25
 - insomnia-plugin-response@1.0.25
 - insomnia-plugin-uuid@1.0.16
2019-09-19 13:57:27 -07:00
Gregory Schier
c27140648a Send app ID to auto-update server 2019-09-18 12:07:09 -07:00
Gregory Schier
945ff0e631 Unify build config in one place 2019-09-17 17:02:42 -07:00
CodyDWJones
d2d29bd1e1 Add Audience parameter for Resource Owner Password Credentials (#1677) 2019-09-17 11:59:59 -07:00
Gregory Schier
32a45ac8bf Consider min x/y when clamping initial window (Fixes #1255) 2019-08-21 10:43:54 -07:00
Gregory Schier
30b54ee3d3 Base64 encode JSONPath template tag 2019-08-20 17:24:18 -07:00
Gregory Schier
57bf6c2df2 Always show GraphQL introspection errors (Fixes #1643) 2019-08-20 11:24:53 -07:00
Gregory Schier
d4a4efc515 Tweak keysource alg for more robust recursion 2019-08-16 14:19:25 -07:00
Gabrz
5e53c82972 [Bug Fix 1288] "Undefined" for nested variables (#1637)
* Update nunjucks-tags.js

(Fixes bug #1288) Extract parent from nunjucks tag when it is a nested property nested. The parent is then used to fetch the keyContext

* Revert "Update nunjucks-tags.js"

This reverts commit 4d4da99de3.

* Update render.js

Added function that recursively gets the keys. So they will show the correct parent location in the nunjuck tooltip.

* Rework after review from gschier

A few little changes after review of the initial change.

* Added keySource for Arrays

Added loop to store Key and Source when item is an Array.
2019-08-16 13:54:01 -07:00
Gregory Schier
e965de17f9 Still show nunjucks tag label when render error present 2019-08-15 14:53:27 -07:00
Gregory Schier
899926450a Fix tests 2019-08-15 14:06:55 -07:00
Gregory Schier
3e2311e4e1 Make OpenAPI importer generate deterministic IDs 2019-08-15 12:56:32 -07:00
Gabrz
34a55477a7 Changed type determination 2019-08-13 17:31:02 +02:00
Gregory Schier
257685ca47 Ask user on import whether they want to use current workspace 2019-08-12 17:15:44 -04:00
Gregory Schier
26dc5233cc GraphQL explorer now uses font color from theme 2019-08-12 16:54:45 -04:00
Gregory Schier
7c5dc005ae GraphQL explorer now uses font color from theme 2019-08-12 16:50:41 -04:00
Gabrz
e4137d83d2 Update render.js
(Feature Request #1580) Merge Environment nested objects instead of overwrite them
2019-08-11 11:12:48 +02:00
Gregory Schier
5ce2825ea9 Fix Codemirror state restore in wrong place 2019-08-09 16:45:44 -04:00
Gregory Schier
972477d2d4 Fix for Swagger and OpenAPI importers using wrong workspace key 2019-08-09 16:45:25 -04:00
Gregory Schier
baedfd2aef Remove ability to prettify YAML (doesn't need it) 2019-08-09 13:10:20 -04:00
Gregory Schier
3f02e84d4c Add YAML name to beautify button 2019-08-09 12:54:49 -04:00
Gregory Schier
05b2f0ba10 Add support for YAML content type 2019-08-09 12:52:43 -04:00
Gregory Schier
2c1130e691 Always indent YAML with spaces instead of tabs since tabs are not valid 2019-08-09 12:42:10 -04:00
Gregory Schier
60b429b71d Remove unnecessary check for editor indenting 2019-08-09 12:37:13 -04:00
Gregory Schier
b30f8a9e77 Add extra "editor" scope for plugin themes 2019-08-09 12:15:29 -04:00
Gregory Schier
99964821d5 Convert Promise to async/await and make sidebar dragging more robust. 2019-08-09 11:09:48 -04:00
Gregory Schier
09861f54b2 Fix JSONPath dependency issue (Closes #1624) 2019-08-07 12:18:14 -04:00
Gregory Schier
a3ab2acfd4 Fix change password logic 2019-08-07 11:08:25 -04:00
Gregory Schier
1ed09bf9b7 Publish
- insomnia-app@1.1.8
 - insomnia-cookies@0.0.17
 - insomnia-importers@2.0.20
 - insomnia-libcurl@0.0.28
 - insomnia-xpath@1.0.14
 - insomnia-plugin-cookie-jar@1.0.15
 - insomnia-plugin-jsonpath@1.0.18
 - insomnia-plugin-now@1.0.16
 - insomnia-plugin-os@1.0.18
 - insomnia-plugin-prompt@1.1.15
 - insomnia-plugin-request@1.0.24
 - insomnia-plugin-response@1.0.24
 - insomnia-plugin-uuid@1.0.15
2019-08-06 12:05:21 -04:00
Gregory Schier
1a80b3131a Bump app version 2019-08-06 12:05:05 -04:00
Opender Singh
4bfb6eb200 Add back View > Toggle Sidebar item (#1548)
* Add View > Toggle Sidebar item back

* Remove from _globalKeyMap to prevent double toggle

* Remove sidebar toggle hotkeys
2019-08-05 14:38:19 -04:00
Gregory Schier
45d0a498cd Convert promise to async/await 2019-08-05 14:33:07 -04:00
Gregory Schier
554db6243b Merge branch 'develop' of github.com:getinsomnia/insomnia into pull/1584 2019-08-05 14:28:03 -04:00
Gregory Schier
4e39890837 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-08-05 14:13:21 -04:00
Gregory Schier
9f90410a0b Merge branch 'pull/1597' into develop 2019-08-05 14:13:11 -04:00
Gregory Schier
685c522886 Improve logic around saving last value in Prompt tag 2019-08-05 14:12:56 -04:00
Marc Easen - Amplience
3e1ac1f68e feat(oas3 readonly): ignore fields marked as readOnly when generating request bodies (#1618) 2019-08-05 11:35:48 -04:00
Gregory Schier
d3d788eb06 Fix zprint-clj version 2019-08-02 15:37:25 -04:00
Gregory Schier
8fda24ae47 Small sidebar refactor and moved ESLint to top level 2019-08-02 15:01:01 -04:00
Gregory Schier
bb5eaaa871
GraphQL Docs Explorer (#1616)
* Implement a GraphQLExplorer for visually browsing schemas

* Fix some type stuff and theme

* Adjust GraphQL explorer colors for fields to match Codemirror

* Explorer state not modified when showing docs from dropdown

* A few more small tweaks and fixes
2019-07-31 11:05:43 -04:00
dependabot[bot]
465f7247f6 Bump lodash from 4.17.11 to 4.17.14 (#1599)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-15 16:18:25 -07:00
Gregory Schier
8d9352aaec Revert entity loading to use model.all() (Fixes #1582) 2019-07-02 15:42:00 -04:00
Brendan O'Leary
f836913e28 Fix race condition on setting request body and headers 2019-07-02 09:31:44 -04:00
Forrest Ye
a4f56ffe7d [fix] do not assume object param type has properties (#1570) 2019-06-24 16:20:01 -04:00
Nathan Thomas
a7ac4c1549 Update HTTP Status Code Descriptions (#1554)
* Update error messages in 400 range

* Revert phrasing of code 415

* Remove yarn lock from repo for PR

* Update status code 101 for flow and phrasing
2019-06-10 15:19:19 -04:00
Gregory Schier
67bd8570f6 Dep updates 2019-06-07 12:02:02 -04:00
Gregory Schier
c31f71b188 Fix extraneous import 2019-06-07 11:33:10 -04:00
Gregory Schier
cdca249ab8 Extra check for sync dropdown 2019-06-07 11:25:21 -04:00
Gregory Schier
8ce49bfb49 Response history now shows correct request methods (Fixes #1552) 2019-06-07 11:25:02 -04:00
Gregory Schier
98750b7819 Update dependencies 2019-06-06 09:34:06 -04:00
Uday K
5a26fe171e Move request group instead of copying (#1543) 2019-06-03 14:49:28 -04:00
Opender Singh
5d82a5ec95 Download path settings per request (#1544)
* Remove from state

* Download path to meta

* Finished?

* Fixed!

* Remove props from ResponsePane
2019-06-03 14:45:22 -04:00
Gregory Schier
c5cdf15fe6 Publish
- insomnia-app@1.1.7
 - insomnia-importers@2.0.19
2019-05-29 23:08:11 -04:00
Gregory Schier
4fdb99a5ef Add sync beta button in sync menu 2019-05-29 16:53:55 -04:00
Gregory Schier
a70eb2bee4 Merge remote-tracking branch 'origin/develop' into develop 2019-05-29 16:43:15 -04:00
Gregory Schier
a5fcc62679 Add Linux icons back (Closes #1513) 2019-05-29 16:43:11 -04:00
Gregory Schier
68ae6934cb
Add ability to change password (#1532)
* Got password reset form mostly done

* Hooked up the rest of the password-change code.

* Added a completion state

* Fix weird comment that got updated by accident
2019-05-29 16:38:16 -04:00
Gregory Schier
13292448c9 Fix environment editing and drag colors (Closes #1530) 2019-05-29 16:37:39 -04:00
Opender Singh
24a2e75fa3 Preserve property order in environment editor (#1497)
* Add json-order package

* Add propertyMap and sort properties boolean to model

* Keep property order

* Remove extra check

* Allow env editor in request group overrides to maintain order

* Add checkbox

* Order control added

* Use up to date json-order

* Rename

* Remove extra field

* Update separator

* Prevent unnecessary parse

* Move to regular dependency

* add to packedDeps

* Renames

* Remove extra code

* Removed extra state

* More fixes...

* add flowtypes for json-order

* typo

* Updated flowtypes

* Fixed?

* linting to remove unused import
2019-05-29 16:10:48 -04:00
Raphaël Medaer
5175515e99 Try importing OpenAPI3 even if validation fails (Fixes #1354) (#1515)
This is a port of fixes did for Swagger in c2b4b37.
2019-05-29 15:21:45 -04:00
Gregory Schier
eb793f6886 Fixed file selection not showing all files when no filter specified 2019-05-28 17:36:25 -04:00
Gregory Schier
52519a5737 Dialogs now show properly in plugins (Fixes #1520) 2019-05-23 18:02:52 -04:00
Gregory Schier
a7ceb25ac7 Wider code blocks on Markdown content (Closes #1519) 2019-05-23 11:31:40 -04:00
Gregory Schier
097596e1a4 Merge remote-tracking branch 'origin/develop' into develop 2019-05-21 14:41:10 -04:00
Gregory Schier
8bb2f818c8 Fixes for recent request switcher (Closes #1512) 2019-05-21 14:41:03 -04:00
Nathan Banks
639d0cc33b Add iconUrl to electronbuilder so it populates in Control Panel and Windows Settings properly (#1514) 2019-05-21 12:35:12 -04:00
Gregory Schier
b6889d199e Fix squirrel startup logic 2019-05-15 18:34:12 -04:00
Gregory Schier
92641f872a Bump version 2019-05-15 17:30:38 -04:00
Gregory Schier
33714a75a0 Publish
- insomnia-app@1.1.6
 - insomnia-plugin-cookie-jar@1.0.14
 - insomnia-plugin-jsonpath@1.0.17
 - insomnia-plugin-response@1.0.23
2019-05-15 17:29:27 -04:00
Gregory Schier
1d167cbed2 Bump version 2019-05-15 16:01:49 -04:00
Gregory Schier
a83596299a
Fix Response Tag infinite recursion (#1502)
* Improvements to Response tag recursion and rendering (Fixes #1500)

* Add tests for response tag dependency sending
2019-05-15 16:01:36 -04:00
Gregory Schier
ec60e2128e Refactor Squirrel startup code 2019-05-10 15:20:07 -04:00
Gregory Schier
499302f329 Don't show never active requests in recent switcher 2019-05-10 15:19:47 -04:00
Gregory Schier
b70018a9aa Fix squirrel startup check 2019-05-10 12:30:20 -04:00
Gregory Schier
7c77d9d2e6 Inline electron-squirrel-startup (Fixes #44)
Now the desktop icon will only be created on installation, not on
update.
2019-05-10 12:25:50 -04:00
Gregory Schier
ca38f215bf Improvements to sync project creation 2019-05-10 12:02:38 -04:00
Gregory Schier
b5fddf0809 Add open delay to recent request dialog 2019-05-10 10:42:08 -04:00
Gregory Schier
20ef8015c5 Publish
- insomnia-app@1.1.5
 - insomnia-plugin-cookie-jar@1.0.13
 - insomnia-plugin-prompt@1.1.14
 - insomnia-plugin-request@1.0.23
 - insomnia-plugin-response@1.0.22
2019-05-10 09:53:47 -04:00
Gregory Schier
afe3f31a69 Fix folder order being reversed in request switcher 2019-05-10 00:08:35 -04:00
Gregory Schier
cc159d7090 Fix request switcher active index when only workspaces match 2019-05-10 00:05:27 -04:00
Gregory Schier
b46d14a71c Add reference to create a run button 2019-05-09 22:46:50 -04:00
Gregory Schier
f634a64672 NeDB more frequent compaction and higher corruption threshold (#1104) 2019-05-09 22:11:12 -04:00
Gregory Schier
d29db04b33 Keep OAuth 2.0 refresh token if a new one is not returned (Fixes #1492) 2019-05-09 21:44:22 -04:00
Gregory Schier
5068cee2cd
Feature/recent requests switcher (#1491)
* Add recent requests hotkey and sort requests by most recent in switcher

* Fix a bunch of Flow errors
2019-05-09 21:18:34 -04:00
Gregory Schier
4a50ad1496 Upgrade yarn-standalone.js (#1202) 2019-05-09 13:45:26 -04:00
Gregory Schier
17f3c1491b Print timestamp at the start of response Timeline 2019-05-09 13:38:36 -04:00
Gregory Schier
bba03d0eab Show when response was sent (Closes #1488) 2019-05-09 13:03:39 -04:00
Gregory Schier
db48aafa6e Updated icon 2019-05-08 17:12:10 -04:00
Gregory Schier
b2247e4344 Make documentation code scroll horizontally (Fixes #720) 2019-05-08 16:34:48 -04:00
Gregory Schier
46483fd23e Fix unnecessary navigation interception 2019-05-08 16:32:28 -04:00
Gregory Schier
5ac53aa3b1 Only force refresh header editor when changing body type (Closes #931) 2019-05-08 16:31:54 -04:00
Gregory Schier
0705efa55e Change default autocomplete delay from 700ms to 1200ms 2019-05-08 16:13:42 -04:00
Gregory Schier
2640b4ba48 Open all links in external browser (Fixes #1473) 2019-05-08 16:13:26 -04:00
Gregory Schier
e24ce7f7b4 Fix tests 2019-05-08 13:59:16 -04:00
Gregory Schier
0468980304 Fix drag-n-drop for empty folders (Closes #1486) 2019-05-08 13:51:46 -04:00
Gregory Schier
7c63132a85 Add new encoding type to template tag args 2019-05-08 13:36:55 -04:00
Gregory Schier
f48a6469aa Fix autocomplete value preview showing rendered HTML 2019-05-08 12:22:16 -04:00
Gregory Schier
f34a72f569 Fix sync menu jumping up 2019-05-07 14:28:00 -04:00
Gregory Schier
4d6f6d9541 Allow render failures for request descriptions (Fixes #1478) 2019-05-07 14:24:04 -04:00
Gregory Schier
b2ebeeea70 Fix dependencies 2019-05-07 11:48:03 -04:00
Gregory Schier
87651b3bc6 Publish
- insomnia-app@1.1.4
 - insomnia-importers@2.0.18
 - insomnia-plugin-response@1.0.21
2019-05-07 11:15:40 -04:00
Gregory Schier
2482fd61fe Upgrade httpsnippet 2019-05-07 11:15:25 -04:00
Gregory Schier
9cde9a765c Some tweaks to request pinning 2019-05-07 11:10:13 -04:00
Opender Singh
c48daaea44 Support for pinned requests (#1471)
* Add pinning behavior

* add fa-thumb-tack

* Updated package-lock files

* Allow only top level request and request group to be pinned

* Prevent dnd for pinned request

* Efficiency change

* Reverted changes

* Revert changes to selectors.js

* Fixed pin and add thumbtack

* Changes

* Pin styling

* Fix overflow bug

* styling complete

* Remove additional style

* Updated package-lock.json

* Mergie

* Boolean to boolean

* allow nested requests to be pinned

* Remove unused arg

* Remove folder pinning functionality

* Remove comment

* Revert change to open tag on group

* Render separator with dsiplay: none so that sync menu is in correct place

* Don't reset parent id on request pin

* Remove extra checks

* Move pin filter to selectors to prevent duplicate childTree traversal

* Decouple pinned items from search results

* Hide pin on hover

* Pin keyboard shortcut via shift+ctrl+p

* Typo fix

* Update mac hotkey + activeRequest nullcheck

* Disable drag and drop only for items in the pinned list

* Filter to Find
2019-05-07 10:46:35 -04:00
Gregory Schier
e3d5dc59a3 Better missing factory error message for OpenAPI (#1481) 2019-05-07 10:41:13 -04:00
Gregory Schier
d8066bc558 Add ability for plugins to add folder actions (#774) 2019-05-04 16:34:52 -04:00
Gregory Schier
b0beb232a8 Merge remote-tracking branch 'origin/develop' into develop 2019-05-03 10:53:23 -04:00
Gregory Schier
4b41c8c360 New render purpose for request/response hooks (Fixes #1341) 2019-05-03 10:53:18 -04:00
Rafael Renan Pacheco
fd9ebf335d Fix 405 HTTP status description (#1479)
The https://developer.mozilla.org/en-US/docs/Web/HTTP/Status page do say that the 405 should not be returned for GET and HEAD. But if you click on that 405 link it will open https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405 , and there there's nothing about mandatory methods.

On that page you will get the RFC link https://tools.ietf.org/html/rfc7231#section-6.5.5 , and again, there's nothing about mandatory methods.

The restful documentation also doesn't talk about mandatory methods for 405: https://restfulapi.net/http-status-codes/

Spring Framework (a well know framework for Java) has some configuration for the Spring Data Rest project that will result in GET requests returning 405.

Since the RFC should be the winner here, and the divergence between the mozilla's pages, I'm proposing this fix to remove the misleading description.
2019-05-03 10:18:26 -04:00
Gregory Schier
4e6f044b99 Fix session ID not being provided in some network calls 2019-05-02 11:25:30 -04:00
Gregory Schier
43f424c48c Also show "book" font styles (Closes #1407) 2019-04-29 23:11:06 -04:00
Gregory Schier
0d333b008b Publish
- insomnia-app@1.1.3
 - insomnia-cookies@0.0.16
 - insomnia-importers@2.0.17
 - insomnia-libcurl@0.0.27
 - insomnia-prettify@0.1.11
 - insomnia-url@0.1.10
 - insomnia-xpath@1.0.13
 - insomnia-plugin-base64@1.0.10
 - insomnia-plugin-cookie-jar@1.0.12
 - insomnia-plugin-core-themes@1.0.9
 - insomnia-plugin-default-headers@1.1.11
 - insomnia-plugin-file@1.0.11
 - insomnia-plugin-hash@1.0.11
 - insomnia-plugin-jsonpath@1.0.16
 - insomnia-plugin-now@1.0.15
 - insomnia-plugin-os@1.0.17
 - insomnia-plugin-prompt@1.1.13
 - insomnia-plugin-request@1.0.22
 - insomnia-plugin-response@1.0.20
 - insomnia-plugin-uuid@1.0.14
2019-04-29 14:45:29 -04:00
Gregory Schier
6bea0eed6c Version bump 2019-04-29 14:19:00 -04:00
Gregory Schier
3fea57328d Fix settings dialog help tooltips 2019-04-27 02:09:33 -07:00
Gregory Schier
69a4abb268 Add setting to show more data in timeline (Closes #1262) 2019-04-27 01:55:04 -07:00
Gregory Schier
dce5f320c3 Refactor settings and store timeline separately 2019-04-27 01:46:10 -07:00
Gregory Schier
a7c2fd01fc
Ability to resend Response Tag's dependent request (#1470) 2019-04-26 21:34:15 -07:00