Commit Graph

957 Commits

Author SHA1 Message Date
Opender Singh
8e1730e6a4 Update to disturl 2020-05-29 07:50:13 +12:00
Gregory Schier
d003727838 Merge branch 'develop' of github.com:Kong/insomnia into develop 2020-05-28 12:36:04 -07:00
Gregory Schier
9ecd7d3c42 Update target in npmrc 2020-05-28 12:35:52 -07:00
Opender Singh
040641f5fc
Git sync commit on Windows always shows all objects as unversioned (#2215) 2020-05-29 06:44:17 +12:00
Opender Singh
bbc3103fe6
Don't create empty commit if no changes exist (#2217)
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-05-29 06:23:31 +12:00
Opender Singh
5cf2f59e46
Git clone fails on Windows. This fixes it. (#2194)
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-05-29 06:13:13 +12:00
Gregory Schier
4387381fd1
Upgrade node-libcurl (#2223)
* deps: bump node-libcurl to latest prerelease version

* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild

* Minor tweaks

* package locks

* Bump version

* Switch to font-manager and fix fsevents rimraf

* Try generating npmrc inside build/

* Try uninstall of fsevents instead

* Bump

* Try npm env vars

* Extra .npmrc

* Try npm env vars in all CI

* Fix insomnia-cookies dependencies

* Fix typo

* Loosen nvmrc version

* Remove npm uninstalls

* Build outside of Docker

* Remove Docker, build all on GH Actions

* Bump Core version

* Disable Snapcraft for now

* Bump

* Disable snap for Designer too

* Update product name for Core

* Update test.yml

* Remove Travis file

* Make userData folder explicit and add Curl types

* Remove old Kong icon

* Remove curl.js adapter

* Revert productName

* Fix release date

* Try remove windows build tools from CI

* Add comment about Snap deploys

* Remove the pane border on Windows (no longer necessary)

Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
2020-05-28 10:09:51 -07:00
Vorashil
963cf7d2ad
Fix for warning not displaying when using an environment variable with '-' (#2212) 2020-05-25 10:12:31 +12:00
Gregory Schier
2800c9c9e7 lib@2.2.6 2020-05-20 20:15:22 -07:00
Gregory Schier
5252137f3c lib@2.2.5 2020-05-20 20:14:45 -07:00
Opender Singh
08534699e7
Fix GitLab sync (#2162)
* Down with hardcoded slugs

* Type the error modal

* Set username

* Update

* Update

* add username

* Revert .flowconfig

* Address comments

* Simplify

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-05-15 14:11:06 +12:00
Opender Singh
443d6df08d
Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
Opender Singh
29027c4d4a
Various k4k8s config gen bugs (#2136) 2020-05-15 08:27:43 +12:00
Mike Ellan
4f39486eb7
Storybook Sidebar Provisioning & WIP Implementation (#2125)
* Migrating dimensions, latest SVG, stubbing sidebar

* Revert "Migrating dimensions, latest SVG, stubbing sidebar"

This reverts commit 5014a68f52.

* Revert "Revert "Migrating dimensions, latest SVG, stubbing sidebar""

This reverts commit 28c130c8d8.

* Post merge bootstrap & build

* Linting

* Updating Story Heirarchy

* Migrating legacy tooltip component

* Reverting spacing integration into core dimensions

* Cleaning up comments, tweaking CSS var usage

* Removing static height

* Cleaning up static CSS values, re-organizing sliding panel, fixing search icon

* adding flow def for autobind in new SB instance

* PR feedback, removing new vars/updating markup

* Fixing lint > flow error on type
2020-05-14 14:00:29 -04:00
Opender Singh
200c354a3a
Handle empty security object in openapi3 (#2170) 2020-05-14 14:11:15 +12:00
Opender Singh
d6998ad684
Wrap SwaggerUI component with an error boundary that can invalidate (#2131) 2020-05-13 10:05:29 +12:00
Mike Ellan
75a129c038
Code block and render error coloring for dark/light themes (#2156) 2020-05-11 16:53:13 -04:00
Gregory Schier
97214012c6
Improve card filtering (#2134) 2020-05-07 12:32:48 -07:00
Gregory Schier
9554c4675f
Fix FileInputButton breaking when path is null (#2129) 2020-05-06 16:08:17 -07:00
Opender Singh
453745d3e2 Fix linting whitespace error 2020-05-06 17:00:31 +12:00
Rishabh Gupta
37959fc644
Show version release date (#2031) 2020-05-05 17:43:39 -07:00
Opender Singh
15d4789716
Move toggle-switch to insomnia-components, attach to themes (#2115) 2020-05-06 12:08:17 +12:00
Opender Singh
b75fe624fa
Bug in restoring code-folds (#2114) 2020-05-06 08:36:25 +12:00
Opender Singh
486f4b5881
Add plugin hub/npm hyperlink to plugin listing (#2109) 2020-05-03 15:46:02 +12:00
Gregory Schier
fde5cb078e
Add Ability to Generate Plugin for Dev (#2107) 2020-05-02 11:56:39 -07:00
Gregory Schier
a32181c4c7
Handle non-string types in filterHeaders() (#2099) 2020-05-02 11:19:18 -07:00
Gregory Schier
8276688758 lib@2.2.4 2020-05-01 20:40:27 -07:00
Gregory Schier
48916b9ed2 Update plugins and merge theme packages 2020-05-01 20:40:02 -07:00
Gregory Schier
43169da95b Add Designer install spinner 2020-04-29 13:54:00 -07:00
Gregory Schier
e96e663b2c Bump version and fix user agent 2020-04-29 13:05:54 -07:00
Opender Singh
da80f36703
Set filename of apiSpec using Workspace name during db repair (#2074)
* Set filename of workspace during db repair

* Remove unnecessary changes

* Update api-spec.js
2020-04-29 13:00:56 -07:00
Gregory Schier
58fed78d06
Flatten insomnia-libcurl package (#2081)
* Remove unnecessary insomnia-libcurl package to flatter installation dirs

* Remove empty test folder

* Fix inlc mock
2020-04-29 12:59:46 -07:00
sonicyeti
02c061229b
Suppress lint on init when spec empty or default value (#2077)
* Suppress lint on init when spec empty or default value
* Update packages/insomnia-app/app/ui/components/codemirror/code-editor.js
2020-04-29 15:37:18 -04:00
Gregory Schier
65d7fab79e lib@2.2.3 2020-04-29 11:15:38 -07:00
Gregory Schier
c0ca12ece9 Bump version 2020-04-29 11:15:24 -07:00
Gregory Schier
cc089ffa79 Use shorter insomnia-node-libcurl pkg 2020-04-29 11:15:05 -07:00
Gregory Schier
dc337cef64 Fix bad author name 2020-04-29 09:13:38 -07:00
Opender Singh
d6bb7a3896
Resolve recursive migration issue that comes up in a particular use case (#2071)
* Resolve recursive migration that comes up in a particular case

* Remove migration altogether
2020-04-28 19:48:25 -07:00
Gregory Schier
c7ba218049 Update GA IDs 2020-04-28 19:41:45 -07:00
Gregory Schier
8bd6b50073 Bump versions 2020-04-28 16:50:53 -07:00
Gregory Schier
751f8f5f21 Tweak some configs 2020-04-28 15:28:48 -07:00
Opender Singh
83ac9adaf2
Handle deletion of last document (#2069) 2020-04-29 10:11:22 +12:00
sonicyeti
d4d2a5fa14
re-rolling the style tweaks (#2068) 2020-04-28 16:38:31 -04:00
Gregory Schier
a733ccf51f
Fix bug regarding _ignoreNextInput logic (#2067)
* Fix force-prettify bug

* Revert default value on code-editor

* Add some comments
2020-04-28 13:14:33 -07:00
Opender Singh
fd1420ddc8
Add filename to apiSpec model and decouple from workspace name (#2063)
* Initial commit

* WIP

* Fix lint

* Fix tests

* Add test for workspace migration

* Rename title to use fileName instead of workspace name for designer

* Linting
2020-04-28 14:29:51 -04:00
Opender Singh
2faa58fa24
Control code-editor indenting by tab and shift-tab, instead of CodeMirror defaults (#2064) 2020-04-28 14:28:46 -04:00
Gregory Schier
bc80c3f93e Fix changelog base URL 2020-04-27 15:52:35 -07:00
Gregory Schier
b9226a3ee1 Bump version and hide ApiSpec from sync 2020-04-27 15:23:56 -07:00
Gregory Schier
7de8246ff8 lib@2.2.2 2020-04-27 15:02:35 -07:00
Opender Singh
0e7b96c868
Add Swagger UI required prop (#2062) 2020-04-28 08:58:40 +12:00
Gregory Schier
10d61796cc
Some tweaks before launch: (#2060)
* Some tweaks before launch:

- Set GA IDs
- Change git folder to `.insomnia`
- Set gravatar email on update notification

* Fix tests
2020-04-27 13:42:57 -07:00
Gregory Schier
03e5df6913 Bump versions 2020-04-27 09:53:24 -07:00
Gregory Schier
d1b7d55483 Travis improvements and upgrade Octokit 2020-04-26 14:29:51 -07:00
Gregory Schier
4cb8e34aef Rename some old things 2020-04-26 14:08:50 -07:00
Gregory Schier
a3253a1149 Set versions 2020-04-26 14:01:07 -07:00
Gregory Schier
c6a7c4d682 Initial designer merge 2020-04-26 13:33:39 -07:00
Yi Tang
28e7d928a8
Expose the request body for plugins (#2003)
* Expose more request body for plugins

Support the following api for plugins:

- get/set the content type of the request;
- get/add/set the form parameters of the reuqest body;
    adding file form item will be ignored if the mime type is not
    multipath form.
- get/set the uploaded filename of the request;
    setting uploading file name will be ignored if the mime type is not
    octet stream.

* Add some test cases

* Add simple request body api for plugins

* Mark (get|set)BodyText() as deprecated
2020-04-23 11:44:54 -07:00
Benjamin Leeds
b7d97a071b
fix: Escape key in editble field closing modals (#2039)
Bonus: Also fixed the issue where escaping saved the value.
2020-04-22 12:28:28 -07:00
Opender Singh
b4b6464f9e
Remove insomnia-components (#2043) 2020-04-22 12:23:54 -07:00
Opender Singh
c3d4d89193
Prevent migrations from running for database.duplicate (#2040) 2020-04-22 11:59:09 +12:00
Gregory Schier
cb715f9565 Remove all fsevents modules 2020-04-14 16:09:18 -07:00
Gregory Schier
7bc219422e
Update Babel and ESLint and fix all related errors (#2032)
* Update Babel and ESLint and fix all related errors

* Update babel-jest
2020-04-09 10:32:19 -07:00
Gregory Schier
a893ba8c88 Extra dialog parameters for plugins 2020-04-07 15:25:49 -07:00
Gregory Schier
3b9031ecc0 Ensure workspace always has valid name attribute 2020-04-07 15:00:04 -07:00
Gregory Schier
68b9221b80
New plugin API for showing custom UI inside a dialog (#2026)
* New dialog() method to show generic dialogs from Plugins

* Clarified deprecated api method

* Body now required in dialog()

* Made options arg optional too

* Fix tests
2020-04-06 14:31:03 -07:00
Gregory Schier
6424e11875 Remove About tab from settings and link to OSS license 2020-04-03 11:53:57 -07:00
Cameron Ross
54564bd0f4
Add subscription type to GraphQL schema explorer. (#2008) 2020-03-31 11:06:50 +13:00
Gregory Schier
daef7806c8 Move GraphQL default value into separate component 2020-03-18 12:46:45 -07:00
Opender Singh
b072745b6d
Introduce flow $Shape<T> to db models (#2002)
* Introduce flow <T> to db models

* Resolve errors discovered while fixing typing

* Revert change for response
2020-03-18 11:58:57 -07:00
eMerzh
51610ac6bc
Add support for default values in graphql fix #2000 (#2001) 2020-03-18 11:58:37 -07:00
Eric Reynolds
2f8b0b6602
Fixing a race condition when deleting the only workspace (#1997)
Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
2020-03-13 22:12:41 -07:00
Alfonso Ruzafa
e0d20e5c2c
Allow checkbox input type in prompt dialog (#1980)
* allow checkboxes input fields in prompt dialog

* return booleans as strings from prompt

* align label with checkbox for boolean prompt

* set css classes based on html input type
2020-03-12 16:26:21 -07:00
Alfonso Ruzafa
39c73e17c5
mask template tag title popup when preview is disabled (#1995) 2020-03-12 16:00:11 -07:00
Gregory Schier
7aae21154a
Remove About tab from settings and link to OSS license (#1996) 2020-03-12 15:57:46 -07:00
Alfonso Ruzafa
34c5a79338
Add support for live display name for template tags (#1936)
* add support for live display names in template tags

* add setting to (de)activate live display names in template tags

* Revert "add setting to (de)activate live display names in template tags"

This reverts commit 8cd70b87b5.

* remove liveDisplayName from the Prompt plugin

* use liveDisplayName over 1st arg if it's an enum
2020-03-11 15:15:15 -07:00
Gregory Schier
23b4ac97bd
Add ability to generate theme plugin (#1988)
* Fix missing header name breaking sidebar render

* Global command to generate theme from JSON object

* Update packages/insomnia-app/app/ui/redux/modules/global.js

Co-Authored-By: Opender Singh <opender94@gmail.com>

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-03-11 12:23:52 -07:00
Opender Singh
1aba4cb2cf
Nunjuck resolution in order of property definitions (#1863)
* Add breaking test

* Remove preferential ordering of tags over variables in nunjucks

* Remove preferential ordering of tags over variables in nunjucks

* simplify nunjucks sort

* Add breaking test for incorrect order

* Update json-order and consume

* Refine test with dataPropertyOrder

* Tests

* add note

* Add to test

* Missed the await
2020-03-09 11:20:22 -07:00
Bartek Bułat
64b6825e53
Add documentation for interfaces (#1984)
Add list of implementations to Interface documentation and list of
implemented interfaces to Object documentation.
2020-03-06 17:52:52 -08:00
Gregory Schier
9fe45a8ebb Bump version 2020-02-18 16:17:57 -05:00
Serpil Acar
e666961b4f
fix componentWillUnmount lifecycle method (#1951) 2020-02-18 12:44:08 -05:00
Gregory Schier
ae803c5c5f Support importing raw string and naming the import 2020-02-12 14:01:51 -05:00
Gregory Schier
6ee442c019 pkg-v2.1.6 2020-02-12 10:02:11 -05:00
Gregory Schier
cc43f2af8f Bump version 2020-02-11 14:35:27 -05:00
Gregory Schier
e35b54a533 Fix Content-Type: true on multiline forms (Fixes #1920) 2020-02-11 14:32:43 -05:00
Gregory Schier
4033f0d3b7 Fix tests 2020-02-11 14:24:52 -05:00
Gregory Schier
1e50cd4a53 Add setting to enable response filtering (for backwards-compatibility) 2020-02-11 13:45:47 -05:00
Gregory Schier
b7250519ec Fix NPE when creating new workspace 2020-02-11 12:35:59 -05:00
Gregory Schier
64e121ddd3
URL handler to install plugins (#1930) 2020-02-10 14:15:07 -05:00
Gregory Schier
6d259ed067 Merge branch 'pull/1880' into develop 2020-02-10 13:13:27 -05:00
Gregory Schier
35a3a1eab2 Fix lint errors 2020-02-10 13:13:19 -05:00
Gregory Schier
b8d1d0ea3c Default bg color and font color 2020-02-07 13:24:24 -05:00
Gregory Schier
32a958ab95
View open source licenses in app (#1926)
* View opensource licenses

* Remove redundant check
2020-02-06 08:41:56 -05:00
Gregory Schier
a9f671c1c7 Better base theme merging 2020-02-05 10:42:51 -05:00
Gregory Schier
1ed349cab3 Fix type error 2020-02-04 15:08:05 -05:00
Gregory Schier
00fd73ddd5 Add support for RGB triplets in theme colors 2020-02-04 14:46:36 -05:00
Gregory Schier
1770319ac2
Convert Less vars to CSS vars (#1923)
* Created css vars for every less var

* Finish converting Less var to CSS vars
2020-02-03 12:26:56 -05:00
ele
7ed84c0848 adds documentation for union type 2020-01-27 13:42:25 +02:00
Opender Singh
7b3ae5bfd8 Enable and disable plugins! (#1855)
* Add PluginConfig type

* Update plugin loader to find PluginConfig

* Only extend with active plugins

* Toggle checkbox UI

* Show checkbox

* WIP

* WIP - add separate checkbox component

* add react-switch

* Remove toggle-switch less files

* Rename

* Move dependency to app package

* Can't bootstrap or run after moving node module to insomnia-app package hmmm

* Update packages

* Add toggle switch story

* Remove unnecessary prop

* Update story

* Renames

* Update dependencies...

* Update flow-types

* Hmmm

* Fix import?

* Update

* Update to regular component

* Fix css + remove _mounted from toggle-switch

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-01-23 13:43:04 -05:00
Gregory Schier
de2fc0ba42
Scope responses to active environment (#1905)
* Scope responses to active environment

* Update response history to support scoped envs
2020-01-22 14:23:19 -05:00
Gregory Schier
6200c9e8c7
Add workspace action plugins and expose context.data helpers (#1901) 2020-01-20 13:07:07 -05:00
Gregory Schier
efb8fb6c70 Toast now defaults to app icon for avatar 2020-01-09 10:57:58 -05:00
Gregory Schier
379d7eb07e Re-enable multiline for query editor (#806) 2020-01-08 12:51:54 -05:00
Gregory Schier
01e225bd0a Clean up new setting to disable links 2020-01-07 11:35:21 -05:00
kliques
f874a77a2d ft(toggle): toggle url click throughs (#1845) 2020-01-07 11:03:41 -05:00
Gregory Schier
a03659de2b Add React UNSAFE_ method prefixes 2020-01-06 15:51:52 -05:00
Gregory Schier
f50bcfeafb pkg-v2.1.5 2020-01-06 15:07:32 -05:00
Gregory Schier
229c7cbda3 Fix insomnia-component exports (I think) 2020-01-06 15:06:54 -05:00
Gregory Schier
10d7255800 pkg-v2.1.4 2020-01-06 14:19:56 -05:00
Gregory Schier
bdb700ab2f Made keyboard shortcut definitions dynamic 2020-01-06 14:19:35 -05:00
Gregory Schier
1a6bdad517 insomnia-ui -> insomnia-components 2020-01-06 14:02:54 -05:00
Gregory Schier
e46bf021cf pkg-v2.1.3 2020-01-06 13:51:24 -05:00
Gregory Schier
9166b028e7 Add notice-table callback for visibility toggle 2020-01-06 13:50:31 -05:00
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
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
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
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
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
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
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