Commit Graph
196 Commits
Author SHA1 Message Date
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 MitropoulosandOpender Singh 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 GiovarescoandOpender Singh 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 SchierandJonathan Cardoso Machado 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