Commit Graph

209 Commits

Author SHA1 Message Date
Opender Singh
1dd421e4f0 version packages lib@2.3.1-alpha.2 2021-08-16 12:59:26 +12:00
Dimitri Mitropoulos
407432aa02
adds eslint-config-helpers (#3912) 2021-08-12 18:01:54 -04:00
Opender Singh
0debbe9c9c version packages lib@2.3.1-alpha.1 2021-08-10 16:17:55 +12:00
Opender Singh
f48cef02bd
Update some ESLint rules (#3883) 2021-08-08 05:08:56 +00:00
Dimitri Mitropoulos
0178533e52
Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
John Chadwick
b07cd1cf16
Upgrade Electron to 11.2.3. (#3798)
* Upgrade Electron from 9.3.5 to 11.2.3.

* bump version

* update preid to alpha

* version packages lib@2.3.1-alpha.0

* Downgrade electron-builder to 22.11.3.

We tried to upgrade electron-builder to 22.11.7, but this fails
because electron-builder 22.11.4 introduces imports into fs/promises.
This module is only available in Node 14+, so we have to stick to
22.11.3 until we update to Electron 12.

* Revert npm script changes from alpha release.

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-07-16 13:35:32 -07:00
Opender Singh
3998e8b489 Merge branch 'release/2021.4.0-stable' into develop 2021-06-30 11:03:39 +12:00
Opender Singh
c2c41f3d84 version packages lib@2.3.0 2021-06-29 21:44:26 +12:00
Opender Singh
af8e59b4ea version packages lib@2.3.0-beta.4 2021-06-23 15:54:20 +12:00
Opender Singh
d7b630f17b
Add formatting ESLint rules (#3425)
* add rules

* run lint:fix

* quick manual fix for lint errors

* indent fix

* add jsx prop multiline

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-05-27 14:00:32 -04:00
Josh Soref
9006babd38
fix spelling (#2976) 2021-05-25 12:16:43 -04:00
David Marby
34b8c17260 publish npm packages lib@2.3.0-beta.2 2021-05-19 14:50:58 +02:00
Opender Singh
b93d963712 publish npm packages lib@2.3.0-beta.1 2021-05-19 18:51:57 +12:00
Opender Singh
0855462a92 fix insomnia-importers 2021-05-19 18:49:45 +12:00
Opender Singh
b2040dacd2 publish npm packages lib@2.3.0-beta.0 2021-05-19 09:21:52 +12:00
Opender Singh
1ff28abb11
chore: add repository, bug urls, and license to plugins missing it (#3379) 2021-05-13 07:31:33 -04:00
Dimitri Mitropoulos
5fe277ee02
remove duplication of all jest configs (#3375)
* use jest-preset for all but app

* separate properties that are the same as the preset

for some reason, it doesn't work.  you get:
```
Preset ../../jest-preset.js not found.
```

This needs to be investigated.

* removes unused/unneeded npm script in `app`, `test:jest`
2021-05-13 07:29:02 -04:00
Dimitri Mitropoulos
78c4a18f0b
makes all package.json author fields consistent (#3338)
* makes all package.json author fields consistent

* adds Preston Alvarado as a contributor per review feedback.
2021-05-12 08:31:07 -04:00
dependabot[bot]
f1a78d0650
chore(deps): bump lodash in /packages/insomnia-importers (#3363)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 08:00:20 -04:00
Dimitri Mitropoulos
5f4c19da35
[TypeScript] Phase 1 & 2 (#3370)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00
Opender Singh
14ebadd8f9 publish npm packages lib@2.2.35 2021-04-29 08:50:33 +12:00
Opender Singh
141685488d publish npm packages lib@2.2.35-beta.3 2021-04-22 11:14:08 +12:00
Opender Singh
6022ea2493 publish npm packages lib@2.2.35-beta.2 2021-04-22 11:10:30 +12:00
Opender Singh
d90328e406 publish npm packages lib@2.2.35-beta.1 2021-04-22 11:01:51 +12:00
Opender Singh
5e71430587 publish npm packages lib@2.2.34-beta.0 2021-04-22 09:43:12 +12:00
Opender Singh
5ba91ceb21 lib@2.2.29 2021-03-03 11:12:19 +13:00
Opender Singh
049964bb9b
Prompt for import as collection or document (#3130)
* feat: add prompt and update import logic

* feat: update usages and plugin api

* chore: WIP

* chore: convert to options

* chore: don't create workspace model until needed

* chore: add OR condition

* chore: add workspace name and don't change scope

* feat: prompt with appropriate name

* chore: rename

* chore: rename type

* chore: update signature

* chore: properly type the import functions

* feat: don't activate the workspace after importing

* chore: show loading on homepage

* fix: typo

* chore: fix tests and rename

* Update packages/insomnia-app/app/common/__tests__/import.test.js

Co-authored-by: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2021-03-03 10:16:48 +13:00
Nate
139095de5a
Added ancestor tracking to example JSON objects to avoid infinite loop (#2919)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-01-22 15:28:32 +13:00
Opender Singh
c2d989e1e0 lib@2.2.24 2020-09-22 11:45:33 +12:00
Opender Singh
21ee2ae790
Upgrade apiconnect-wsdl to remove yargs-parser dependency (#2637) 2020-09-19 15:02:51 +12:00
Opender Singh
1b416d8027
Release branch for 2020.4.0 (#2576) 2020-09-15 08:55:18 +12:00
Opender Singh
17d31eeb50 lib@2.2.20 2020-08-11 12:29:05 +12:00
Opender Singh
65b4838646
Honor variable defaults from servers declaration during OpenAPI3 import (#2151) 2020-08-07 08:13:00 +12:00
Gregory Schier
c90306b35e
Port same deterministic logic from OpenAPI 3 to Swagger 2 importer (#2474)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-08-04 10:09:44 -07:00
Opender Singh
e43348d48a lib@2.2.19 2020-07-24 13:00:52 +12:00
Opender Singh
dd87c31450
npm audit fix in insomnia-importers - update lodash (#2427) 2020-07-21 15:38:04 +12:00
Gregory Schier
55be1de2bd lib@2.2.10 2020-06-29 10:51:46 -07:00
Gregory Schier
85f4bf31be Update packages from lib@2.2.9 publish 2020-06-25 15:50:39 -07:00
Sebastian Jonasson
71e1c748db
[insomnia-importers]: Update programmatic usage example in README (#2288) 2020-06-12 11:40:09 -07:00
Opender Singh
62593e9282 lib@2.2.8 2020-06-09 13:27:38 +12:00
Opender Singh
37a711eb6a
Improve fixture test output (#2266) 2020-06-09 11:14:18 +12: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
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
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
200c354a3a
Handle empty security object in openapi3 (#2170) 2020-05-14 14:11:15 +12:00
Gregory Schier
65d7fab79e lib@2.2.3 2020-04-29 11:15:38 -07:00
Opender Singh
9ead91c9c1
Allow curl import to handle multiple params (#2070) 2020-04-29 11:19:02 +12:00
Gregory Schier
7de8246ff8 lib@2.2.2 2020-04-27 15:02:35 -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
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
c20166fc27 Move change-case dependency to proper place 2020-04-07 11:00:57 -07:00
Pocket7878
9f05035e49
feature: Generate Variable Name from SecuritySchemas name parameter. (#1978) 2020-04-03 16:50:50 -07:00
Opender Singh
0b0c5baa0e
OpenAPI v3 import robustness (#2007)
* Make openapi3 import more robust by checking if the server tag exists before consuming it

* Fix formating
2020-03-26 09:56:11 -07:00
YMHuang
327eb5b692
Make the OpenAPI 3.0 support HTTP Bearer scheme (#1953) 2020-03-11 15:41:18 -07:00
Gregory Schier
6ee442c019 pkg-v2.1.6 2020-02-12 10:02:11 -05:00
Gregory Schier
9b39fbf36f Strip trailing slash on openapi import base_url env 2020-01-24 14:07:52 -05:00
Gregory Schier
10d7255800 pkg-v2.1.4 2020-01-06 14:19:56 -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
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
a53192c229 Bump package-locks 2019-12-13 09:07:34 -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
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
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
18d011b810 package-lock 2019-11-27 11:03:26 -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
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
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
a492dc6312 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-11-22 10:58:20 -05:00
Gregory Schier
af3a4f0553 OpenAPI spec check for empty properties on import 2019-11-22 10:57:33 -05:00
kliques
58eb3eaeb7 feature: clipboard feature (#1776)
- add import from clipboard
2019-11-22 10:46:54 -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
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
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
eed5672948 Bump package locks 2019-10-02 08:01:58 -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
3e2311e4e1 Make OpenAPI importer generate deterministic IDs 2019-08-15 12:56:32 -07:00
Gregory Schier
972477d2d4 Fix for Swagger and OpenAPI importers using wrong workspace key 2019-08-09 16:45: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
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
8fda24ae47 Small sidebar refactor and moved ESLint to top level 2019-08-02 15:01:01 -04:00
Forrest Ye
a4f56ffe7d [fix] do not assume object param type has properties (#1570) 2019-06-24 16:20:01 -04:00
Gregory Schier
67bd8570f6 Dep updates 2019-06-07 12:02:02 -04:00
Gregory Schier
c5cdf15fe6 Publish
- insomnia-app@1.1.7
 - insomnia-importers@2.0.19
2019-05-29 23:08:11 -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