Commit Graph

942 Commits

Author SHA1 Message Date
Opender Singh
96defb1ec2 Bump versions to 2020.2.2 2020-06-09 13:28:45 +12:00
Opender Singh
62593e9282 lib@2.2.8 2020-06-09 13:27:38 +12:00
Gregory Schier
8d01d57363
Prevent linting from breaking code-editor persistence (#2267)
* Prevent linting from breaking code-editor persistence (Fixes #2234)

* Fix whitespace
2020-06-08 16:58:36 -07:00
Opender Singh
37a711eb6a
Improve fixture test output (#2266) 2020-06-09 11:14:18 +12:00
Gregory Schier
edf874ce5c
Fix responses not being found if deleted active environment (#2265)
* Fix responses not being found (Closes #2237)

* Fix active envirnoment set

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-06-08 15:32:49 -07:00
Sebastian Jonasson
c6a5053ae2
insomnia-importers: Fixed errors thrown when running jest (#2261)
Removed errors that got thrown when running jest from command line.
2020-06-09 09:19:58 +12:00
Opender Singh
dfa981f6b5
Persist tab selection per document (#2231) 2020-06-06 13:37:58 +12:00
Nicholas Raphael
2b9edee71b
Display nicer error message given empty input when installing plugins (#2238)
* Fixes #2208: Displays nicer error message given empty input when installing plugins

* change error message on plugin install failure

* added detail error output and new installPluginErrMsg state variable

* fixed lint errors

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-06-06 13:11:33 +12:00
Sebastian Jonasson
0356b8a082
Add support for OAuth2 to OpenAPI3 importer (#2184)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-06-06 12:59:59 +12:00
Opender Singh
43e8429b21
Rollback pending changes in git sync commit dialog (#2226) 2020-06-04 08:48:47 +12:00
Gregory Schier
803c604b42
Fix template tag enums not being quoted (Closes #2235) (#2239)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-06-03 10:58:50 -07:00
Opender Singh
393a363a25
Force a view refresh on changing branches (#2233) 2020-06-03 17:32:36 +12:00
Opender Singh
e219bebee3 Bump core version to 2020.2.1 2020-06-03 16:35:22 +12:00
Opender Singh
c0cc74d27c
Conditionally disable legacy sync for Insomnia Core (#2243) 2020-06-03 16:27:05 +12:00
Gregory Schier
819f4b9cf5 Bump versions for 2020.2 2020-05-29 13:59:00 -07:00
Gregory Schier
85b4ddceec Merge branch 'develop' of github.com:Kong/insomnia into develop 2020-05-29 13:58:21 -07:00
Gregory Schier
96e951821a Default the toast Gravatar email from app config 2020-05-29 13:58:09 -07:00
Opender Singh
fae26d65ac
Fix windows tests (#2227) 2020-05-29 10:45:37 +12:00
Gregory Schier
4d02e6af8a Merge branch 'develop' of github.com:Kong/insomnia into develop 2020-05-28 14:41:57 -07:00
Gregory Schier
2d74e15c54 Fix rimraf recursion on fsevent 2020-05-28 14:41:51 -07:00
Opender Singh
b850de4d6f Bump versions for beta release 2020-05-29 09:27:33 +12:00
Opender Singh
4cabc17bbd lib@2.2.7 2020-05-29 09:24:51 +12:00
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
Mike Ellan
5780a7c438
Help Tooltip Component Migration (#2200)
* component migration to new SB instance

Migrating help tooltip to new SB instance at /insomnia-components/ also styling component directly via styled components

* Adding stories for positions and info vs. question

* lint fix

* Pulling left positioning out of delay story

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-05-21 14:17:14 -04: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
dd085bd2d2
k4k8s - ingress document name must be unique (#2164)
* Ensure ingress documents and service have the same name

* Update readme

* ignore markdown during format...

* Address comments

* Update readme
2020-05-15 11:15:31 +12:00
Opender Singh
443d6df08d
Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
Opender Singh
011fa00535
Remove built files from source control and update bootstrap steps (#2165) 2020-05-15 08:57:03 +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
Opender Singh
70e66e9abf
Usage documentation for bundled plugins (#2120)
* Add ingress document and name docs

* Add usage readme

* Add documentation to each kong plugin

* DOCS

* DOCS
2020-05-13 09:22:55 +12:00
Mike Ellan
75a129c038
Code block and render error coloring for dark/light themes (#2156) 2020-05-11 16:53:13 -04:00
Opender Singh
8536da8e92
Prioritize plugins correctly if the same type of plugin exists at different levels in OAS (#2132) 2020-05-08 12:37:44 +12: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
cfb1a4e7d4
<Button> small variant and default color (gray) (#2106) 2020-05-02 11:20:46 -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
869f042de5
Fixing hit area for card menu (#2076) 2020-04-29 15:37:39 -04: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
Opender Singh
9ead91c9c1
Allow curl import to handle multiple params (#2070) 2020-04-29 11:19:02 +12: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
1c46b95ac9 Merge branch 'designer' into develop 2020-04-27 09:56:46 -07:00
Gregory Schier
03e5df6913 Bump versions 2020-04-27 09:53:24 -07:00
Opender Singh
2a0dd17293 add fixture test 2020-04-27 18:08:44 +12:00
Opender Singh
751dd0f86a Exclude x- properties under a path 2020-04-27 18:02:33 +12: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
c20166fc27 Move change-case dependency to proper place 2020-04-07 11:00:57 -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
Pocket7878
9f05035e49
feature: Generate Variable Name from SecuritySchemas name parameter. (#1978) 2020-04-03 16:50:50 -07:00