Commit Graph

230 Commits

Author SHA1 Message Date
David Marby
a9fc51fbe5 version packages lib@2.5.1-beta.1 2022-03-01 17:44:30 +01:00
David Marby
a19466fc97 version packages lib@2.5.1-beta.0 2022-03-01 17:15:38 +01:00
David Marby
66ea00edd8 version packages lib@2.5.0 2022-03-01 15:24:59 +01:00
Gareth Oakley
3a944d9dec
Fix importer test fixtures to comply with OpenAPI specs (#4095) (#4151) 2022-02-22 20:45:52 +01:00
Dimitri Mitropoulos
8490bad55c version packages lib@2.5.0-beta.1 2022-02-08 11:39:25 -05:00
Dimitri Mitropoulos
081fb995a6 version packages lib@2.5.0-beta.0 2022-02-08 11:37:36 -05:00
Jack Kavanagh
b2dd09341c
cache lint (#4302) 2021-12-10 23:10:20 +00:00
Giuseppe B
f2fdf222b4
[Bug] Improved HTTP custom methods detection while importing specs (#4040)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-12-10 17:11:06 -05:00
Opender Singh
dc442174c0 version packages lib@2.4.1 2021-12-09 10:19:11 +13:00
Opender Singh
f1284ed469 version packages lib@2.4.1-beta.1 2021-12-07 07:11:47 +13:00
Govind Singh Rajpurohit
20fd77e7e8
Import graphql postman collection v2.x (#2871)
Co-authored-by: govind-up <govind@urbanpiper.com>
2021-11-16 15:11:15 +00:00
Opender Singh
e02e5d404f version packages lib@2.4.0 2021-10-28 09:47:44 +13:00
Opender Singh
b7248025e7 version packages lib@2.4.0-alpha.1 2021-10-21 22:15:57 +13:00
Opender Singh
9fb54ec187 version packages lib@2.3.3-alpha.4 2021-10-15 13:12:49 +13:00
Opender Singh
06b873eb27 version packages lib@2.3.3-alpha.3 2021-10-15 11:19:53 +13:00
Opender Singh
7ffc391428
add eslint rules for semi colons (#3989)
* add rules for semi colons

* run lint fix

* remove invalid eslint disable
2021-09-01 10:50:26 -04:00
Opender Singh
59827aad84 Merge branch 'release/2021.5.1' into develop 2021-08-31 09:52:45 +12:00
David Marby
d4048846aa version packages lib@2.3.2 2021-08-30 22:47:18 +02:00
dependabot[bot]
e6e9e2a748
Bump jszip from 3.6.0 to 3.7.1 in /packages/insomnia-importers (#3902)
Bumps [jszip](https://github.com/Stuk/jszip) from 3.6.0 to 3.7.1.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.6.0...v3.7.1)

---
updated-dependencies:
- dependency-name: jszip
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 12:15:21 -04:00
Dimitri Mitropoulos
422d5a809c
adds markdown linting (#3931) 2021-08-27 15:44:01 +12:00
Opender Singh
376ac03703 version packages lib@2.3.1 2021-08-26 08:15:00 +12:00
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