Commit Graph

2880 Commits

Author SHA1 Message Date
Opender Singh
26a94a695a
keep the previous svgr assets dir in gitignore (#3372) 2021-05-12 07:58:22 -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
bdb4b4e661 Merge branch 'release/2021.3-stable' into develop 2021-04-29 09:27:27 +12:00
Opender Singh
14ebadd8f9 publish npm packages lib@2.2.35 2021-04-29 08:50:33 +12:00
Opender Singh
da155e16ab chore: update script 2021-04-29 08:50:08 +12:00
Opender Singh
663198c548 chore: bump version to 2021.3 stable 2021-04-29 08:47:18 +12:00
Opender Singh
dbdfaaa7a3 chore: bootstrap 2021-04-29 08:45:12 +12:00
Opender Singh
2da4fe8471
chore: update o2k docs (#3332)
Co-authored-by: Thijs Schreijer <thijs@thijsschreijer.nl>
2021-04-29 08:33:44 +12:00
Opender Singh
69d7514095
Tags for all of the plugins! (#3328)
* feat: add tags to regular plugins

* feat: plugin support for request validator plugins

* feat: add tags to security plugins

* feat: security plugins detecting the expected property

* chore: don't force publish and bump version

* publish npm packages lib@2.2.35-beta.4
2021-04-28 08:14:49 +12:00
mikaello
05b5c3d041
Add metadata fields to openapi-2-kong package.json (#2802)
* add metadata fields to openapi-2-kong package.json

* fix issue url in openapi-2-kong package.json

Format according to npm docs: https://docs.npmjs.com/cli/v6/configuring-npm/package-json#bugs

* improve repo-field in openapi-2-kong package.json

See structure in NPM docs: https://docs.npmjs.com/cli/v6/configuring-npm/package-json#repository

* Update packages/openapi-2-kong/package.json

Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
2021-04-27 19:08:42 +12:00
Thijs Schreijer
28db994bb7
[o2k] fix parameter default styles (#3327)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-27 13:18:04 +12:00
Thijs Schreijer
a5f67bbb35
[o2k] fix name generation (#3318)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-27 13:00:08 +12:00
Thijs Schreijer
84e47da5f2
[o2k] fix targets not getting tags (#3320) 2021-04-27 11:57:09 +12:00
Dimitri Mitropoulos
cde2516a8b
strip_path explicit support, and x-kong-route-defaults support (#3273)
* x-kong-{route, upstream, service}-defaults, strip_path

supports selecting but not merging defaults

Co-authored-by: Thijs Schreijer <thijs@thijsschreijer.nl>
2021-04-26 12:17:02 -04:00
David Marby
8d79631e59
Add github action for publishing to the apt repository (#3315) 2021-04-23 09:10:02 +02:00
Thijs Schreijer
e4c7ed2629
split url into components on a service (#3314)
* split url into components on a `service`

also fixes a bug to use the upstream name in a service instead
of an actual hostname from the 'servers' block

* fix parseUrl to not return 'null:null'

* do not add targets if there is no hostname

previously a server with just a path; '/some/path' would generate
a target 'null:null'.

* Update packages/openapi-2-kong/src/declarative-config/services.js

* Update packages/openapi-2-kong/src/declarative-config/services.js

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-23 14:41:27 +12:00
Bruno Fusieger
1ea4b4b81f
Fix license metadata (#3233)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-23 08:21:22 +12:00
Opender Singh
3540eeedfd Merge branch 'release/2021.3' into develop 2021-04-23 07:41:01 +12:00
Opender Singh
4d07a0cfda chore: bump version to beta.1 2021-04-22 11:25:45 +12:00
Opender Singh
141685488d publish npm packages lib@2.2.35-beta.3 2021-04-22 11:14:08 +12:00
Opender Singh
44814d44c7 update versions 2021-04-22 11:12:25 +12:00
Opender Singh
6022ea2493 publish npm packages lib@2.2.35-beta.2 2021-04-22 11:10:30 +12:00
Opender Singh
64145a129e chore: bump versions in insomnia-app 2021-04-22 11:07:33 +12:00
Opender Singh
d90328e406 publish npm packages lib@2.2.35-beta.1 2021-04-22 11:01:51 +12:00
Opender Singh
6ed44f041a chore: publish all 2021-04-22 11:01:16 +12:00
Opender Singh
8c6fcd8312 publish npm packages lib@2.2.35-beta.0 2021-04-22 10:02:24 +12:00
Opender Singh
07bfd858d9 chore: remove force publish 2021-04-22 10:01:53 +12:00
Opender Singh
046bb3973a chore: remove --no-private 2021-04-22 10:01:09 +12:00
Opender Singh
a8bc2d3bd9 chore: update packagelock 2021-04-22 09:59:16 +12:00
Opender Singh
5e71430587 publish npm packages lib@2.2.34-beta.0 2021-04-22 09:43:12 +12:00
Opender Singh
b77dd0b5f7 chore: force-publish versions (for now) 2021-04-22 09:42:39 +12:00
Opender Singh
f03d60cd8d chore: bump to beta.0 2021-04-22 08:35:23 +12:00
Opender Singh
62f06ca421
Use exact versions and allow publishing of beta NPM packages (#3310) 2021-04-22 08:29:29 +12:00
Mike Ellan
70738103d7
Custom & default tagging for plugins (#3286)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-21 12:34:39 +12:00
dependabot[bot]
1f03fd2a94
Bump xmldom from 0.1.27 to 0.5.0 in /packages/insomnia-xpath (#3188)
Bumps [xmldom](https://github.com/xmldom/xmldom) from 0.1.27 to 0.5.0.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/v0.1.27...0.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 14:35:24 +12:00
Ramón Márquez
7e745c6bf6
Plugin API: Add getHeaders method to context.response (#3289)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-20 13:50:02 +12:00
AlexNaga
c4d72a21d1
fix: use insomnia default dark color during initial startup (#3303)
Co-authored-by: Alex <alex.naga@postnord.com>
2021-04-20 13:33:46 +12:00
Opender Singh
60a3faaa34
Respect request validator plugin defined at the document root and hierarchy of plugin definitions (#3293) 2021-04-20 13:30:17 +12:00
Jessé Souza
88049326d9
Misspelled error message when installing a plugin fails (#3304) 2021-04-20 13:08:12 +12:00
Opender Singh
874f6c9b27
Request validator plugin respects existing properties and generates required ones (#3283) 2021-04-20 13:04:22 +12:00
Thijs Schreijer
40deacb718
fix(o2k) update path param regex to match 1 segment only (#3298)
existing regex '\S+' is equivalent to '[^\s]+' by adding the
'/' character as not allowed, we limit the regex to match only 1 path
segment

This path: "/tracks/{hello}/world/{there}”
Would create: “/tracks/(?<hello>\S+)/world/(?<there>\S+)$”

This path works as expected:
/tracks/xxx/world/yyy
With captures:
  hello: xxx
  there: yyy

This path also works, unexpected:
/tracks/xxx/zzz/world/yyy/andthensome
With captures:
  hello: xxx/zzz
  there: yyy/andthensome

The last one should have matched only a single path segment, but
actually matches multiple.
2021-04-19 19:50:46 +12:00
David Marby
892f4c0752
Update the segment write key for production (#3295) 2021-04-15 18:19:07 +02:00
David Marby
c69433fecc
Prompt existing users about analytics (#3278)
* Prompt existing users about analytics

* Fix the tests

* Set hasPromptedAnalytics to true when going through the onboarding flow

* Add comments

* Show the analytics prompt after migrating if needed as well

* test: add a few more tests for analytics activity

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-15 16:33:21 +02:00
Mike Ellan
81e16a1c97
parameter style fix (#3256)
Setting parameter style to form if not provided.
2021-04-09 14:56:49 -04:00
Eric Reynolds
67c2899e1d
fix(tracking data) - Honor data sharing (#3264)
* fix(tracking data) - Honor data sharing

* Utilizes the Data Sharing preference to determine what data is
sent to the notification endpoint

* fix(tracking data) - Move 2 variables that fall under Service Data

* Stop sending aggregated metrics to the notification endpoint

* Disable sending of segment events when analytics are disabled

Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
Co-authored-by: David Marby <david@dmarby.se>
2021-04-07 10:37:11 -07:00
Sayooj Sojen
351afde43f
Expose identity token for oauth2 (#3211) 2021-04-05 13:03:34 -04:00
Opender Singh
3b2306adb2
Improve git clone behavior when working with repositories with existing files (#3247) 2021-04-05 11:50:55 -04:00
Dimitri Mitropoulos
45c210eb41
SSH/SCP/HTTPS git URLs with/without .git suffix; update isomorphic-git
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-01 14:36:11 +13:00
Opender Singh
7f0fed203f Merge branch 'release/2021.2.2' into develop 2021-03-31 10:46:44 +13:00
Opender Singh
e094a1f678 lib@2.2.33 2021-03-30 10:03:21 +13:00