Commit Graph

259 Commits

Author SHA1 Message Date
Dimitri Mitropoulos
f1808a4956
fixes outdated Insomnia Designer documentation references (#3927) 2021-08-20 17:50:41 +00:00
Opender Singh
1dd421e4f0 version packages lib@2.3.1-alpha.2 2021-08-16 12:59:26 +12:00
Opender Singh
0debbe9c9c version packages lib@2.3.1-alpha.1 2021-08-10 16:17:55 +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
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
Vincenzo De Petris
f6504aaf89 Fix issue chaining multiple requests (#3385)
* Fix issue chaining multiple requests

* refactor: use switch to prepare for leveraging exhaustiveness checking

since this will be in TypeScript soon, and this was as topical a time as any to make this change.

* fixes failing test with new behavior (and removes unused `fromResponseTag`)

* fix tests

Co-authored-by: Vincenzo De Petris <vincenzodepetris@gmail.it>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-06-23 11:28:19 +12:00
Opender Singh
88ed96fc47 merge release branch with develop and resolve conflicts 2021-05-25 09:30:09 +12:00
Eric Reynolds
a248987546
Fix the Purple theme to be the same as it was before single app (#3418)
Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
2021-05-24 15:00:45 -04:00
David Marby
34b8c17260 publish npm packages lib@2.3.0-beta.2 2021-05-19 14:50:58 +02:00
David Marby
65a53f45fd Fix .npmignore 2021-05-19 14:37:56 +02: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
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
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
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
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
8c6fcd8312 publish npm packages lib@2.2.35-beta.0 2021-04-22 10:02:24 +12:00
Opender Singh
5e71430587 publish npm packages lib@2.2.34-beta.0 2021-04-22 09:43:12 +12:00
Sayooj Sojen
351afde43f
Expose identity token for oauth2 (#3211) 2021-04-05 13:03:34 -04:00
Opender Singh
e094a1f678 lib@2.2.33 2021-03-30 10:03:21 +13:00
Opender Singh
3fb647c007
Present Kong Admin API connection errors to user (#3205) 2021-03-24 15:38:09 +13:00
Opender Singh
5ba91ceb21 lib@2.2.29 2021-03-03 11:12:19 +13:00
Dimitri Mitropoulos
4b993a7762
style updates for core theme (#3134)
[INS-452]
2021-03-02 11:14:19 -05:00
Giuseppe B
c4babfc129
Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
dependabot[bot]
dd2017d8b8
Bump ini from 1.3.5 to 1.3.8 (#2940) 2020-12-15 05:22:01 +00:00
David Marby
27320ad04a Merge branch 'release/2020.5' into develop 2020-12-02 15:35:53 +01:00
Julien Giovaresco
dfc89a3111
Allow prompt values to be clear + add actions to template tag plugin API (#2736)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-01 12:15:17 +13:00
Opender Singh
f5a0e9eb7c lib@2.2.26 2020-11-26 16:12:14 +13:00
Opender Singh
47e68b228f lib@2.2.25 2020-09-23 10:38:00 +12:00
Opender Singh
0dce7af5e1 Merge branch 'develop' of github.com:Kong/insomnia into release/2020.4.1 2020-09-23 10:29:51 +12:00
Opender Singh
1f847d5114
Cater for missing argument in max age hide callback (#2653) 2020-09-23 10:14:25 +12:00
Opender Singh
c2d989e1e0 lib@2.2.24 2020-09-22 11:45:33 +12:00
Opender Singh
dd612b8f90
Update insomnia-plugin-response for backwards compatibility (#2643) 2020-09-21 18:34:05 +12:00
Opender Singh
9b0f089384
Kong plugins no longer private (#2635) 2020-09-18 23:31:21 +12:00
Opender Singh
1b416d8027
Release branch for 2020.4.0 (#2576) 2020-09-15 08:55:18 +12:00
Opender Singh
3385a899d8
Mark kong plugins as private (#2566) 2020-08-31 13:55:58 +12:00
Opender Singh
0b4c1eacec Change prepack to prepare 2020-08-28 12:22:33 +12:00
Opender Singh
e3e9d499d3 Update kong portal package lock file 2020-08-28 11:31:49 +12:00
Opender Singh
5ecb69a8e5
Expose styled-components on the window object for UI plugins (#2528) 2020-08-21 06:44:08 +12:00
Opender Singh
c5d36a5223 lib@2.2.21 2020-08-18 11:07:08 +12:00
Opender Singh
eed0b6c833
Fix insomnia-components version to 2.2.19 for kong portal plugin (#2522) 2020-08-18 09:34:17 +12:00
Opender Singh
17d31eeb50 lib@2.2.20 2020-08-11 12:29:05 +12:00
Opender Singh
e43348d48a lib@2.2.19 2020-07-24 13:00:52 +12:00
Opender Singh
9af2054ccf lib@2.2.12 2020-07-02 11:29:00 +12:00
Opender Singh
b99228d080 Rename insomnia-cli to insomnia-inso 2020-07-02 11:28:05 +12:00
Opender Singh
d91e6735a7 lib@2.2.11 2020-07-02 11:19:48 +12:00
Gregory Schier
3883dc6feb
POC for Unit Test UI (#2315)
* Start working on insomnia-testing package to generate Mocha code

* Moved some things around

* Integration tests and ability to run multiple files

* Fix integration tests

* Rename runSuite to runMochaTests

* Add types for test results

* Fix lint errors

* Play with Chia assertions

* insomnia and chai globals, plus a bunch of improvements

* Stub chai and axios Flow types

* Ability to reference requests by ID

* Fix chai flow-typed location

* Address PR comments (small tweaks)

* Basic UI going

* Lots and lots and lots

* Pretty-much done with the unit test UI

* Minor CSS tweak

* Activity bar triple toggle and more

* Minor tweak

* Unit Test and Suite deletion

* Bump Designer version

* Fix eslint stuff

* Fix insomnia-testing tests

* Fix tests

* lib@2.2.9

* Remove tests tab from response pane

* Hook up Insomnia networking

* Fix linting

* Bump version for alpha

* Remove extra ActivityToggleSwitch

* Remove unused import

* Add test:pre-release script that excludes CLI tests

* Less repetition

* Clean some things up

* Tweaks after self-cr

* Undo request ID tag

* Swap out switch for new activity toggle component

* Extra check

* Remove dead code

* Delete dead test

* Oops, revert example code

* PR feedback

* More PR comment addresses
2020-07-01 14:17:14 -07:00
Gregory Schier
55be1de2bd lib@2.2.10 2020-06-29 10:51:46 -07:00
Gregory Schier
1b8c24fbee Update plugins package.json as well 2020-06-25 15:52:26 -07:00
Augusto Roman
208aec6ec8
Add "When Expired" setting for request resend trigger condition. (#2284)
This adds a new trigger condition for re-sending a request for the
`response` plugin called "When Expired". This condition allows
specifying a maximum age of a response to use. This is very useful when
configuring a hierarchy of environment variables that ultimately depend
on an auth token that needs to be refreshed periodically.

Previous workarounds are:
1. Use "always refresh". This fails in cases where you must use the same
   auth token since it is refreshed for every request.
2. Use "no history" or "never" and manually refresh the token. This is
   inconvenient and requires pinning the token.

Alternative solutions are:
1. Add more sophisticated logic to determine when the token needs to be
   refreshed (e.g. refresh if the current request returns a `401` status
   code)
2. Write a custom response plugin to time out the token. I believe this
   functionality is small enough and general enough to be contributed
   back generally.

Fixes #1972
2020-06-11 13:00:46 -07:00
Opender Singh
62593e9282 lib@2.2.8 2020-06-09 13:27:38 +12:00
Opender Singh
4cabc17bbd lib@2.2.7 2020-05-29 09:24:51 +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
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
Nijiko Yonskai
13470345fe
feat(plugins) introduce new plugin properties for kong-bundle (#2206)
Introduces new `package.json` properties for upcoming plugin hub updates to `insomnia-plugin-kong-bundle`.

- Add `$.insomnia.displayName` for plugin display name on UI & GUIs
- Add `$.insomnia.bundle` boolean flag denotes bundle status to show individual plugins on hub
- Add `$.insomnia.applications` object to be used for install buttons and checks
- Add `$.insomnia.images.icon` property for plugin icon
- Add `$.insomnia.images.cover` property for plugin cover image
2020-05-20 19:52:15 -07:00
Opender Singh
443d6df08d
Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +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
Gregory Schier
fde5cb078e
Add Ability to Generate Plugin for Dev (#2107) 2020-05-02 11:56:39 -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
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
Gregory Schier
65d7fab79e lib@2.2.3 2020-04-29 11:15:38 -07:00
Gregory Schier
7de8246ff8 lib@2.2.2 2020-04-27 15:02:35 -07:00
Gregory Schier
cb1f16c963 Add unlisted and core attributes to core plugins 2020-04-27 15:01:44 -07:00
Opender Singh
0e7b96c868
Add Swagger UI required prop (#2062) 2020-04-28 08:58:40 +12:00
Gregory Schier
c6a7c4d682 Initial designer merge 2020-04-26 13:33:39 -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
Eric Reynolds
9eefd527e1
Set solarized background and foreground colors to spec (#1992)
Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
2020-03-11 11:59:47 -07:00
Gregory Schier
6ee442c019 pkg-v2.1.6 2020-02-12 10:02:11 -05:00
Gregory Schier
1e50cd4a53 Add setting to enable response filtering (for backwards-compatibility) 2020-02-11 13:45:47 -05:00
Gregory Schier
ab024c37b9
Revert "More control over the prompt plugin (#1916)" (#1928)
This reverts commit c7b0617767.
2020-02-07 13:23:19 -05:00
Alfonso Ruzafa
c7b0617767
More control over the prompt plugin (#1916)
* more control of storage/default values for prompt plugin

* fix eslint
2020-02-07 11:06:29 -05:00
Gregory Schier
00fd73ddd5 Add support for RGB triplets in theme colors 2020-02-04 14:46:36 -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
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
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
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
84a567267b Gruvbox theme 2019-11-22 14:40:21 -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
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
kliques
58eb3eaeb7 feature: clipboard feature (#1776)
- add import from clipboard
2019-11-22 10:46:54 -05: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
cab9475de9 Remove package linking from release 2019-10-02 08:19:23 -07:00
Gregory Schier
eed5672948 Bump package locks 2019-10-02 08:01:58 -07:00