Commit Graph

1468 Commits

Author SHA1 Message Date
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
e094a1f678 lib@2.2.33 2021-03-30 10:03:21 +13:00
Opender Singh
0fb89dbec0 chore: bump version 2021-03-30 09:59:45 +13:00
Mike Ellan
da9ef1a009
Inject custom vars in target servers (#3237) 2021-03-25 09:23:54 -04:00
Mike Ellan
643baafb99
Scroll support for unit testing (#3231)
Addressing unit testing scrolling regression.
2021-03-25 08:53:51 -04:00
Opender Singh
6e62f75839 Merge branch '2021.2.1' into develop 2021-03-25 11:18:42 +13:00
Opender Singh
f55dca8a41 lib@2.2.32 2021-03-25 09:57:06 +13:00
Opender Singh
f48d40a849 feat: bump node-libcurl 2021-03-25 09:56:14 +13:00
Mike Ellan
a115d360f9 Bumping version 2021-03-24 14:56:55 -04:00
Opender Singh
3fb647c007
Present Kong Admin API connection errors to user (#3205) 2021-03-24 15:38:09 +13:00
Opender Singh
ea711da7e0 Merge branch 'release/2021.2' into develop 2021-03-24 10:16:57 +13:00
Opender Singh
ba2871958b lib@2.2.31 2021-03-23 11:48:55 +13:00
Opender Singh
d200ea03ac chore: bump version 2021-03-23 10:04:12 +13:00
Mike Ellan
1052e2c489
Updating cards to display accurate latest change timestamp (#3201)
Updating cards to display accurate latest change timestamp
2021-03-22 14:58:30 -04:00
Mike Ellan
fd46942a6f
Integrating loading state, refreshing props > re-paint (#3208)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-22 14:39:33 -04:00
David Marby
05dfa7fa48
Replace Netlify with Vercel for Storybook (#3212) 2021-03-19 14:52:45 +01:00
Opender Singh
c7714c2d21 chore: bump version 2021-03-19 16:26:15 +13:00
Opender Singh
eff9cda1b2
Use workspace scope enum everywhere appropriate (#3199) 2021-03-18 11:37:32 +13:00
Opender Singh
7ca6c09c44
Deploy to portal smoke test works again (#3198) 2021-03-18 10:11:13 +13:00
Opender Singh
42aff871b3
Fix password editor props (#3200) 2021-03-18 10:10:44 +13:00
outils-tiers-metafactory
224cb13aa6
Closes stream to unlock file (#3015)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-18 10:09:30 +13:00
Mike Ellan
8c724a30ed
Updating readme for single app merge (#3197) 2021-03-17 12:30:21 +13:00
Mike Ellan
47dd90a22b
Rename workspace scope from designer to design (#3194)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-17 12:28:12 +13:00
Yunyu Lin
04d04850e8
Upgrade Electron to 9.3.5 (#3000)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-16 09:23:56 +13:00
Florian Stellbrink
565f389d36
Add OS dark mode support (#2868)
* Add settings for color scheme detection and themes

Default light and dark themes can still be changed.
For now its studio-light and default for core, and studio-dark and studio-light for designer.

* Add color scheme type and supporting methods

The detection of dark scheme is based on the background color at the moment.
This seems to work pretty well, but is not an ideal solution.
I think themes should at least get to override this.

* Add support for choosing light and dark theme to settings

This adds a checkbox to the theme settings that determines whether we use the OS color scheme.
If we don't (default) everything stays the same as before.
If we do, themes are rendered in two groups. One for the light themes and one for the dark themes. They can be chosen independently. None of this overrides the default theme choice.

* Add padding to the theme settings tab

Themes are still aligned by adding negative margin.
A bit of a hack, open for suggestions.

* Update theme on OS color scheme change

* Replace usages of setTheme with applyColorScheme

This makes sure that we don't override the user's choice.

* Update packages/insomnia-app/app/plugins/misc.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Remove dark mode heuristic

* Remove unused button value

* Update theme settings design

* Update packages/insomnia-app/app/ui/components/settings/theme.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Update packages/insomnia-app/app/ui/components/settings/theme.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Replace object literal lookups

Do not use object literal lookups to make code more readable

* Remove unused parameter

* Disable default theme select when auto detection is enabled

* Fix imports after rebase

* Update packages/insomnia-app/app/ui/components/modals/settings-modal.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Update packages/insomnia-app/app/ui/components/modals/settings-modal.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Remove theme header

* Disable hover animation and border on disabled theme buttons

* Clean up double negation in css

Replace :not(:disabled) with :enabled. Not sure what I was thinking there.

* Update index.js

Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-13 16:38:54 +13:00
Opender Singh
7aa56ef7f6
chore: remove redundant code (#3146) 2021-03-11 10:46:09 +13:00
Mike Ellan
84b9b84fdf
Card order by date modified (#3170)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-10 17:33:38 +13:00
Mike Ellan
f1539e2b40
On create nav to new (#3174) 2021-03-10 11:55:45 +13:00
Opender Singh
19d5a28e9e
Fix saving of number preferences (#3165) 2021-03-10 10:50:35 +13:00
Opender Singh
dc150ff015
Better handling of .DS_Store files during migration (#3164) 2021-03-10 10:45:59 +13:00
Opender Singh
2d5a78687e chore: bump version 2021-03-09 17:34:03 +13:00
Opender Singh
3a16a9daca lib@2.2.30 2021-03-05 08:56:48 +13:00
David Marby
dbb4070c7a Stop marking inso as private 2021-03-04 20:00:04 +01:00
David Marby
460ab0168f Bump the version 2021-03-04 19:59:56 +01:00
Opender Singh
2c9bffd84c
Rename Workspace verbiage (#3145) 2021-03-04 19:09:34 +01:00
Opender Singh
d68509e81d
chore: update documentation links (#3144) 2021-03-04 14:33:46 +01:00
Opender Singh
23c05c4bb9
Pluralize document count label (#3143) 2021-03-04 11:51:38 +13:00
Dimitri Mitropoulos
c28aad3d8e
fix for sparse array in diff (#3142)
* fix for sparse array in diff

* updates test
2021-03-03 17:27:04 -05:00
Opender Singh
a7784d4160
Fix & add smoke tests (#3136)
* chore: refactor

* chore: fix one test

* chore: fix all tests

* chore: fix all existing tests

* chore: add prompting tests

* chore: ignore flaky test for now
2021-03-04 09:00:56 +13:00
David Marby
4dd6fc476a Bump version 2021-03-03 19:55:56 +01:00
Opender Singh
da3305cb42
Validate migration directories exist (#3137) 2021-03-03 19:43:17 +01:00
SaintAPI
f1dbd4fdd3
fix: only change environment on fresh import (#2979)
Co-authored-by: SaintAPI <comfygangsta@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-03 10:22:12 -08:00
SaintAPI
a2bc704f80
Differential (Additive/Removal) patching when switching between design / debug (#3124)
* fix(import) do differential patching for design activity imports

This patch adds differential patching for imports that occur during the switching between
design and debug tabs inside of Designer. As reported through #2971, and others, this patch
favors existing data over imported data, values that exist already on the document will remain
unchanged, only new values (including array based values) will be added / removed.

This also includes a bypass feature for urls, currently these options are not exposed through
the interface but could be. This feature is an object to allow for future properties for
preference-based patching.

- Adds `options.enableDiffBasedPatching` and `options.enableDiffDeep` to `importRaw` for backwards compat.
- Adds `options.bypassDiffProps.url` for url bypassing and use an object for future items.
- Adds `diffPatchObj` based on differential patching for objects (works with arrays as well).

Future ideas:

- `hasBeenModifiedByUser` property map object to allow changing properties that haven't been touched by the user with options.

fixes: #2971, #2882, #3038, #2442

* adds some basic tests

- also adds jest (which was (mistakenly) not there before)
- does not call `.hasOwnProperty` directly, per https://eslint.org/docs/rules/no-prototype-builtins (which, we will add more formally at a later date)

* don't special-case workspaces

this ensures the behavior of the initial PR is more preserved

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-03-03 12:57:09 -05:00
Mike Ellan
4e09e684d2
Migration flow stylistic updates (#3132) 2021-03-03 15:43:37 +13:00
Opender Singh
847bb58aec fix: add back app to the build context 2021-03-03 11:41:23 +13:00
Opender Singh
5ba91ceb21 lib@2.2.29 2021-03-03 11:12:19 +13:00
Opender Singh
8de837bc05 Bump version 2021-03-03 11:09:25 +13:00
Opender Singh
01797751ac Ignore inso publish and update package-lock 2021-03-03 11:09:16 +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
Dimitri Mitropoulos
4b993a7762
style updates for core theme (#3134)
[INS-452]
2021-03-02 11:14:19 -05:00
Opender Singh
edd447f38e
Add migration analytics events (#3123) 2021-03-02 12:13:51 +13:00
Opender Singh
00084b65f9
Update workspace or api spec name as appropriate (#3122) 2021-03-02 10:32:32 +13:00
David Marby
f445034738
Portable windows builds (#3125)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-02-28 15:54:18 +01:00
David Marby
e1812efdb3
Add initial segment events (#3121) 2021-02-26 20:57:19 +01:00
David Marby
3ea65b4240
Use the correct the application data directory for inso (#3114) 2021-02-26 18:41:15 +01:00
Opender Singh
6f3d2666f8
Add option to disable migrating workspaces (#3108) 2021-02-26 12:01:46 +13:00
Tharun Rajendran
3b81808e1d
show inline reveal password option for auth (#2974)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-02-26 11:14:11 +13:00
Forrest
ff1c70f437
Set a minimum value for fontSize setting (#3042)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-02-26 10:48:23 +13:00
David Marby
1b718165d7
Update the website links (#3120) 2021-02-26 10:33:38 +13:00
Opender Singh
b8f76deff9
Add plugin bundle to default config (#3092) 2021-02-26 10:10:21 +13:00
Opender Singh
eac7eb3535
Handle unsupported activity values (#3116)
Co-authored-by: David Marby <david@dmarby.se>
2021-02-26 09:55:07 +13:00
Opender Singh
f654f49dfb
Onboarding flow ent to end tests and automatic screenshots on failure (#3106)
Co-authored-by: David Marby <david@dmarby.se>
2021-02-26 09:39:59 +13:00
Opender Singh
5e31295174
Update onboarding flow (#3101) 2021-02-26 09:13:37 +13:00
Opender Singh
958ba79256
fix: remove button nesting (#3100) 2021-02-23 09:16:56 +13:00
Dimitri Mitropoulos
eb4ae99f84
use operationId where possible in o2k generation (#3072)
* use `operationId` if it exists for route name
* adds precedence for x-kong-name usages
2021-02-16 16:34:34 -05:00
David Marby
4064e85781
Bump the axios version (#3082) 2021-02-16 16:45:21 +01:00
Opender Singh
fdff07a81e
Update pull and create dropdown styling (#3080) 2021-02-16 17:07:26 +13:00
Opender Singh
07b4a1a527
Move config generators into workspace dropdown (#3079) 2021-02-16 15:16:45 +13:00
Opender Singh
554af8974b
Move share button and put settings on all pages (#3076) 2021-02-12 15:20:35 +13:00
Opender Singh
8e7c85c5ff
Add pull dropdown to homepage (#3074) 2021-02-12 14:52:43 +13:00
Opender Singh
cf24515d48
Migration verbiage changes (#3073) 2021-02-12 09:18:34 +13:00
Opender Singh
b6247b8b4e
Update layout of the homepage (#3069) 2021-02-11 12:37:10 +13:00
Opender Singh
ba19f3c999
fix: should only open as design document if scope is designer (#3068) 2021-02-11 09:39:20 +13:00
Dimitri Mitropoulos
770be1b924
makes all route paths regexes in o2k (with ending markers) (#3066)
* adds jest to openapi-2-kong so tests can run
* removes special case since everything is a regex
* updates tests now that everything is a regex
2021-02-10 10:38:30 -05:00
Opender Singh
29fed74346
Data migration workflow from Designer to Core (#3051) 2021-02-10 08:55:30 +13:00
David Marby
09e910df57
Stop automatically appending .git to git repository URLs (#3054) 2021-02-09 09:17:47 +01:00
David Marby
4edff40319
Bump the node-forge version for insomnia-send-request (#3053) 2021-02-09 06:25:53 +01:00
Gerry Tan
021b9f5810
Strips newlines when parsing GraphQL curl command (#2888)
Co-authored-by: Eric Reynolds <reynolek@gmail.com>
2021-02-09 14:00:53 +13:00
David Marby
5d7ebe84d5
Update the account URLs (#3047) 2021-02-05 11:58:28 +01:00
Giuseppe B
c06b504a12
Updating webpack configuration for development (#3043)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-02-04 10:29:15 +13:00
Opender Singh
4f062dbb28
Remove more designer and APP_ID code (#3040) 2021-02-03 20:07:11 +13:00
Opender Singh
26fb78ab99
Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
Giuseppe B
c4babfc129
Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
Opender Singh
99b75213e0
Add migration for workspace scope and apply defaults (#3031) 2021-02-02 16:02:17 +13:00
David Marby
1e9868152c
Generate the bundled ssl trust store at compile time (#3030) 2021-01-28 11:46:19 +01:00
Opender Singh
b135a2c637
Prevent deletes and validate proto files when uploading a directory (#3024) 2021-01-28 11:00:43 +13:00
Fabriece Sumuni
7d89bc5b20
feat: remember the last used import Uri (#3018)
* feat: remember the last used import Uri

* refactor: move setItem call to importExport
2021-01-28 09:59:39 +13:00
David Marby
68949619fe
Remove legacy sync (#3028) 2021-01-27 13:01:53 +01:00
Josh Soref
b4862d8270
Log in (#3021)
* grammar: Log In/Log Into

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* grammar: Sign Up

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-01-26 19:36:47 +13:00
Opender Singh
c2e458ca1f
Add folder and file icons to proto files list (#3023) 2021-01-26 10:14:24 +13:00
Opender Singh
1fe337dd2d
Sync & Export support for ProtoDirectory (#3014) 2021-01-25 16:27:36 +13:00
Opender Singh
42ab4e4465
Multi proto file support (#3006) 2021-01-25 15:50:53 +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
32faadeb8c
Fix sizing in vertical layout while design preview is hidden (#3008) 2021-01-22 10:18:58 +13:00
Opender Singh
3c07c86c2f
Fix designer linting notice table visibility (#3007) 2021-01-22 09:24:02 +13:00
Opender Singh
ad2e06018e
Add YAML linting and extend accepted yaml content types (#3001) 2021-01-18 17:56:53 +13:00
Opender Singh
f3ba3491f9
fix: close hint dropdown when changing active request (#2957) 2021-01-15 16:52:15 +13:00
Nijiko Yonskai
fba78881db
Add support for request action plugins (#2678)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-01-15 11:11:10 +13:00
Forrest
6d5b8dd154
Add a button to clear oauth2 from the auth options (#2953)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-19 17:34:10 +13:00
Kim S. Ly
e54f4e0324
GraphQL Explorer - Make text selectable (#2954)
Co-authored-by: Kim S. Ly <lykims@users.noreply.github.com>
2020-12-18 08:57:58 +13:00
Opender Singh
c46a7c4c4c
Smoke and Unit testing documentation (#2947)
* chore: smoke testing documentation

* chore: unit testing documentation

* chore: address comments and add a section on element selection

* chore: replace screenshot with code block
2020-12-18 00:54:30 +13:00
Opender Singh
f27cd5f630
Support template tags with gRPC (#2926) 2020-12-18 00:38:21 +13:00
Opender Singh
adb79a720d
Serve csv and pdf files locally (#2946)
Co-authored-by: David Marby <david@dmarby.se>
2020-12-17 13:10:01 +13:00
dependabot[bot]
357b8f05f8
Bump highlight.js from 9.18.1 to 10.4.1 in /packages/insomnia-app (#2910)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 11:24:18 +13:00
Antoine
171dae5746
Setting same sidebar item sorting for the Edit tag request dropdown (#2777) 2020-12-17 11:03:51 +13:00
Julien Giovaresco
c5b0529363
Create a new cookie with expires initialized with the MAX_DATE (#2908)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-16 00:19:40 +13:00
dependabot[bot]
dd2017d8b8
Bump ini from 1.3.5 to 1.3.8 (#2940) 2020-12-15 05:22:01 +00:00
Opender Singh
402eb75f9a
Tooltip with an initial empty message does not unmount correctly (#2927)
* fix: tooltip with an initial empty message causes issues

* test: add failing test

* fix: breaking test is fixed with the fix

* test: expand on tests

* chore: rename test

* test: add checks for the child element

* test: add comments

* chore: spacing

* fix: oopsie
2020-12-15 09:27:11 +13:00
David Marby
cad2ebc932 Merge branch 'release/2020.5.2' into develop 2020-12-09 19:40:16 +01:00
David Marby
5bedc0ffad
Add additional metrics to the notification call (#2921) 2020-12-09 17:39:53 +01:00
Opender Singh
27987201ad
gRPC URL bar improvements - streaming type & package groups (#2883) 2020-12-09 17:42:50 +13:00
Opender Singh
fa4306c5d8
Introduce E2E tests for inso run test (#2917) 2020-12-08 13:03:06 +13:00
Opender Singh
98d2cf90c7 Merge window-shim fix 2020-12-08 11:32:18 +13:00
Opender Singh
71c7dbba47 lib@2.2.28 2020-12-08 11:21:36 +13:00
Opender Singh
15e046dfc1 chore: lock node-libcurl in send-request 2020-12-08 11:12:00 +13:00
Opender Singh
e4450405ca lib@2.2.27 2020-12-08 10:55:36 +13:00
Opender Singh
e04abf524a feat: add shim for window 2020-12-08 09:36:13 +13:00
Opender Singh
cf6dde4853
Basic auth e2e test (#2671)
* Add test

* WIP

* Passes

* Update

* Done

* Update

* Fix

* Remove id

* Works

* Run more tests

* Hmm

* await

* mostly works

* i sure hope this works in CI because it worked 40 times on my computer...

* add comments

* feat: replace tinyhttp with express and add basic auth route

* fix: response content-type header

* feat: works

* feat: this should work

* fix: slow down all requests

* fix: force refresh

* test: wait for timeline viewer to contain text after clicking it

* remove: delete oas3.yaml spec as it is redundant for now
2020-12-08 09:12:50 +13:00
David Marby
af0c23d175 Bump app versions to 2020.5.2 2020-12-07 11:36:17 +01:00
Opender Singh
aeafe4a7c9
Import a spec and execute a request (#2887)
* feat: add swagger2 for prism

* feat: add test stub

* feat: can import from clipboard

* feat: click folder, request and send

* chore: add comments

* fix: now it actually breaks

* fix: typo

* fix: update webdriver implicit timeout

* feat: replace prism with tinyhttp (similar to express)
2020-12-05 10:47:04 +13:00
David Marby
a2cf11b23b Merge branch 'release/2020.5.1' into develop 2020-12-04 13:34:24 +01:00
Opender Singh
edf80a8e16 chore: bump versions to 2020.5.1 2020-12-04 11:44:33 +13:00
Opender Singh
ecaabd2276 fix: pkce auth is not selectable 2020-12-04 10:34:53 +13:00
David Marby
27320ad04a Merge branch 'release/2020.5' into develop 2020-12-02 15:35:53 +01:00
Opender Singh
dc526d845d
fix: remove request id validation (#2885) 2020-12-02 09:29:30 +13:00
cobwebsonsale
c50bc1f965
Add sort options for sidebar rows (#2738)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-01 13:37:57 +13:00
Giuseppe B
9270fd9f4a
Yarn warnings wrongly treated as errors (#2861)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-01 12:38:06 +13: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
1bdd8137da
feat: add loading state to git sync staging modal (#2879) 2020-12-01 11:52:23 +13:00
Opender Singh
f5a0e9eb7c lib@2.2.26 2020-11-26 16:12:14 +13:00
Opender Singh
1a2d2a5a87 chore: bump versions to 2020.5 2020-11-26 16:05:15 +13:00
Opender Singh
26202a88b3
Fix design sidebar filter hitbox (#2873) 2020-11-26 15:47:54 +13:00
Opender Singh
2233827a26
fix: check for truthy before sending a message over IPC for gRPC (#2869) 2020-11-26 08:18:42 +13:00
Forrest
c9173d39c6
Hide the active workspace when moving a folder (#2853)
* Hide the active workspace when moving a folder (#2849)

* Change workspace to activeWorkspace for clarity

* Use map instead of flatMap for consistency
2020-11-26 08:17:56 +13:00
Opender Singh
2392c8117a
E2E test to install and consume a plugin (#2847) 2020-11-25 15:26:00 +13:00
Opender Singh
ef2fc3baec
Validate protofile during upload (#2864)
* feat(insomnia-components): add async-button

* feat: show error if parsing protofile fails during upload/add

* chore: flow is poop

* feat: use try-finally
2020-11-25 10:02:28 +13:00
Giuseppe B
e5a73190ee
Fix for random UI crash (#2840)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-11-24 17:40:36 +13:00
Joe Mirizio
cf047322a9
Add specification linting for files (#2773)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-11-24 15:44:05 +13:00
Julien Giovaresco
6d259a4e73
Fix Copy as CURL with Multipart (#2740)
The issue was located in the `exportHar` function. It was not handled `file` param correctly.
For this type of file, the `value` attribute is empty, therefore we should take instead the `fileName`

Closes #2282
2020-11-24 14:33:16 +13:00
Opender Singh
4a9235f10f
Add GrpcRequest and ProtoFile as accepted models for git sync (#2846) 2020-11-24 14:31:09 +13:00
Opender Singh
9b1d5ae657
Remove form-control styles from gRPC url bar (#2863) 2020-11-24 14:17:57 +13:00
Mike Ellan
c71eefd0ee
gRPC URL bar spacing in Designer (#2859) 2020-11-24 12:39:27 +13:00
Opender Singh
ad21c515e2
Remove hinting and hide copy/move buttons (#2852) 2020-11-24 12:16:23 +13:00
Johan Hammar
07f9fa676e
Remove redundant help menu item (#2797)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-11-19 13:52:34 +13:00
Tom Prats
b1259dd5af
Adds sorting to GQL Documentation Browser (#2732)
Co-authored-by: David Marby <david@dmarby.se>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-11-19 13:34:24 +13:00
Jasmine Wang
bbbf12799e
Add resizing for Design Preview and Testing Results panes (#2712) 2020-11-19 13:13:24 +13:00
Opender Singh
f1add8e010 chore: bump versions 2020-11-18 21:59:13 +13:00
Opender Singh
0ccc8db39b
Update proto-files-modal.js 2020-11-18 21:57:55 +13:00
Opender Singh
24a28dcda8 deps: fix node-libcurl to 2.2.0 2020-11-18 11:23:35 +13:00
Opender Singh
3960a57cad chore: bump versions 2020-11-18 11:23:35 +13:00
Mike Ellan
ec8f72c09b
Show scrollbar when horizontal tab list exceeds available width. (#2844) 2020-11-18 11:22:26 +13:00
Opender Singh
0b58a748af
Support for server and bidi streaming (#2814) 2020-11-17 11:59:02 +13:00
Opender Singh
5c1885a540
Support reuploading a proto file (#2832) 2020-11-17 11:01:50 +13:00
Opender Singh
ccd270a9fb
gRPC with Insomnia export format V4 (#2830)
* feat: initial commit to export grpc entities

* feat: grpc requests and protofiles in v4 export format

* test(export): add grpc requests and protofiles in export tests

* test(models): add isProtoFile tests
2020-11-14 12:31:18 +13:00
Opender Singh
8f8acf83f2
Allow changing the protofile for a request (#2828) 2020-11-13 12:03:36 +13:00
Mike Ellan
74ba36609d
Updating base font sizes to fix previous merged PR (#2824) 2020-11-12 08:36:32 -05:00
David Marby
8e057eedc3
Fix version control beta merge conflicts where objects have been deleted (#2790) 2020-11-12 13:40:19 +01:00
Opender Singh
6f3c41659f
Add TLS/SSL support (#2827) 2020-11-12 12:42:52 +13:00
Opender Singh
f858b6625d
gRPC state management (#2813) 2020-11-12 11:44:03 +13:00
Mike Ellan
7a8b1b4953
Add protofile modal design integration (#2820)
* Add proto file modal design integration
2020-11-10 16:30:16 -05:00
Opender Singh
d18ba8e6d8
Support for gRPC Unary and Client streaming (#2809) 2020-11-10 13:30:27 +13:00
David Marby
17ea1b1812
Add the ability to delete synced workspaces from the API (#2795) 2020-11-09 23:56:13 +01:00
Mike Ellan
450b8353f9
Introduce stub UI for gRPC request and response panes (#2817) 2020-11-09 14:36:35 +13:00
Opender Singh
175834efa9
Unsafe deletion of a protofile (#2798) 2020-11-03 13:30:43 +13:00
Opender Singh
e6bdbf27ea
Extract foundational components from request and response panes (#2799) 2020-11-03 11:09:45 +13:00
Opender Singh
dd86bd3369
Add support for gRPC request actions (#2794) 2020-11-02 13:55:22 +13:00
Opender Singh
e77fe3248d
Remove unrelated items from request actions and request settings (#2793) 2020-10-29 12:00:29 +13:00
Opender Singh
5f1c1bb747
Allow sidebar to show grpc requests (#2786) 2020-10-29 11:44:37 +13:00
Opender Singh
d1e1da53e5
Save a GrpcRequest after protofile selection (#2785) 2020-10-29 11:23:07 +13:00
Opender Singh
33ef367f3f
fix: hide gRPC from url bar method dropdown for HTTP requests (#2792) 2020-10-29 08:45:20 +13:00
Opender Singh
edb0a8561d
Add GrpcRequest and GrpcRequestMeta database models (#2784) 2020-10-28 13:05:54 +13:00
Julien Giovaresco
5852d27d3f
Fix color picker display when updating an environment color (#2711)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-27 20:02:49 +13:00
Antoine
a511ea5ed9
Adding deprecated warning icon/message in graphQL docs (#2749)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-27 14:24:21 +13:00
David Marby
b78508d54a Bump versions to 2020.4.2 2020-10-26 20:46:49 +01:00
David Marby
543dc2df99
Use the correct notification icon for Core (#2772) 2020-10-23 21:19:20 +02:00
Opender Singh
65a333cac3
Fetch workspace protofiles from redux instead of refreshing after every action (#2764) 2020-10-23 11:27:46 +13:00
Opender Singh
f2737ff706
Allow for renaming of a protofile (#2763) 2020-10-23 11:06:37 +13:00
Opender Singh
b2bf1146f9
Add file selector to upload a .proto file (#2757) 2020-10-23 10:48:00 +13:00
Mike Ellan
c081fd2003
Insomnia core & designer app iconography (#2766)
App window logo updates and fix.
2020-10-22 16:43:00 -04:00
David Marby
1817872f31
Fix fetching notifications (#2765) 2020-10-22 21:35:42 +02:00
Opender Singh
c73092e294
Modal prompt to select protofile (#2756) 2020-10-23 08:14:46 +13:00
Opender Singh
bd4ed35dab
Add gRPC as a new request method (#2755) 2020-10-22 10:26:09 +13:00
Opender Singh
cc71660c96
Create protofile database model & unit tests (#2754) 2020-10-22 10:02:43 +13:00
David Marby
edcfcf5cef
Beta sync fixes (#2753)
* Fix trailing whitespace in vcs

* Add logging to sync graphql queries

* Don't remotely create a sync project when opening the share dialog

* Fix pulling workspaces with a missing default branch

* Fix the sync merge modal

* Fix workspaces dissapearing when switching to an empty default branch
2020-10-21 12:42:36 +02:00
Martin Pastore
52de6d819d
fix: resize all texts when font size change on preferences (#2710)
* fix: resize all texts when font size change on preferences

* fix: add missing rem conversion

Co-authored-by: Mike Ellan <52717970+sonicyeti@users.noreply.github.com>
2020-10-20 17:22:26 -04:00
Jasmine Wang
d544d754ca
Removing unused / redundant styles (#2752) 2020-10-20 16:50:57 -04:00
Emanuele Concas
29ff23343b
Add Show App Logs Folder to help (#2728)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-21 00:01:47 +13:00
Ben Scholzen
294777b0ed
Add PKCE support (#2652)
* Add PKCE support

* Fix failing unit test and add new test for PKCE

* Update packages/insomnia-app/app/network/o-auth-2/grant-authorization-code.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Update packages/insomnia-app/app/network/o-auth-2/grant-authorization-code.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Fix prettier report

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-20 20:58:16 +13:00
Julien Giovaresco
d201cd1807
Rename button label of the Save and Download action save dialog (#2727)
The label was `Send and Save`, it is confusing because actually the request was already sent.
2020-10-20 20:36:04 +13:00
Julien Giovaresco
ceead25167
Fix infinite request spinner when cancelling "Send and Download" (#2721)
We were hiding the spinner at the end of the _handleSendAndDownloadRequestWithEnvironment method. However, we
were exiting early we the user cancel the save dialog (L672).

To prevent that, I've moved the code in a finally block, therefore we make sure that the spinner will be hidden

Closes #2718
2020-10-20 19:45:48 +13:00
Antoine
27d5881684
Reloading GraphQL docs on schema reload (#2747) 2020-10-20 17:35:53 +13:00
David Marby
b0b7613f26
Fix sync issues when switching between workspaces (#2724) 2020-10-15 23:42:16 +02:00
David Marby
4fc8b21827
Add file logging (#2716) 2020-10-13 18:05:41 +02:00
Timothy Lim
a9e22075fb
Prevent newlines for singleline Code editor (#2704)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-13 18:46:25 +13:00
Isaac Moore
81ad8ba2c8
Change bulk header editor setting verbiage (#2717)
This change is to be consistent with #2713.
2020-10-13 16:15:51 +13:00
Isaac Moore
474da01295
Add required annotation to Kubernetes config (#2709)
Fixes #2706
2020-10-13 10:32:25 +13:00
karolineKarkoschDrKlein
984881c0cb
Don't clear oAuth2 session on restart (#2701)
* Don't clear oAuth2 session on restart

Offer button to user where it can be cleared without restart

* PR improvements

* remove accidental newline

* PR improvements 2

* cleanup

* capitalize insomnia
2020-10-10 09:33:21 +13:00
Selamanse
03d83a8f52
Cancel the active request instead of the most recent request (#2696)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-09 06:17:37 +13:00
Antoine
0092723a8d
del. top/btm padding from CodeMirror-dialog #2646 (#2697) 2020-10-08 10:39:56 -04:00
Opender Singh
8d88cf9c69
An effort to figure out why spectron sometimes hangs on Windows CI (#2698) 2020-10-08 15:48:20 +13:00
Opender Singh
1bbbf38a96
Support hyphen - and other special characters in variable names (#2601) 2020-10-02 07:49:05 +13:00
Mike Ellan
9bf5d29160
Toast based logo fixes, consistent names, fixing positioning (#2676)
* Toast based logos locally sourced, consistent names, fixing positioning
* Pulling unused classes
* Using APP_ID_INSOMNIA over appName method, styling footer, adding alt tags
* Removing gravatar from src and component library
2020-09-30 17:05:00 -04:00
Opender Singh
601c6060a4
Update o2k readme examples (#2679) 2020-09-30 19:38:44 +13:00
Opender Singh
6cafe6ae47
Update babelrc to node 12 for all packages (#2670) 2020-09-29 18:33:03 +13:00
Julien Giovaresco
64c7b429aa
Expose network context to requestHook & responseHook scopes (#2662)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-29 15:10:51 +13:00
Julien Giovaresco
9bdb13c6bb
Bump httpsnippet to fix Copy as Curl not respecting header case (#2668)
Closes #2615
2020-09-27 01:07:33 +12:00
Mike Ellan
19a9d6a7e7
Export import unit tests (#2663)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-25 12:16:51 +12:00
Julien Giovaresco
9d4390de2f
Introduce a checkbox in Basic Auth form to choose ISO-8859-1 encoding for credentials. (#2642)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-25 08:58:28 +12:00
Opender Singh
8a6c5cc9b3
Run tests for builds vs packages using env variable (#2660) 2020-09-25 08:14:54 +12:00
Opender Singh
3e7be75a4f
Refactor and reuse app launch logic, launch app with a fresh data directory, prepare for tests in release pipeline (#2659) 2020-09-25 07:55:27 +12:00
Opender Singh
567ddd2b70
Add babel to smoke tests (#2658) 2020-09-25 07:23:23 +12:00
Rajiv Singh
875bae217b
Corrected verbiage in move folder to workspace modal (#2661) 2020-09-24 17:54:29 +12:00
Julien Giovaresco
c9f009a838
Change default keyboard shortcut to bring up the keyboard settings (#2649)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-24 15:35:28 +12:00
Opender Singh
4d17a92f73
Improve reliability of E2E tests (#2654)
Co-authored-by: David Marby <david@dmarby.se>
2020-09-24 10:49:25 +12:00
David Marby
403ddf20ad Merge branch 'release/2020.4.1' into develop 2020-09-23 23:17:12 +02:00
Mike Ellan
52ae23deec
Sidebar method styling & click regions (#2632)
Method badges & styling updates
2020-09-22 19:36:56 -04:00
Opender Singh
47e68b228f lib@2.2.25 2020-09-23 10:38:00 +12:00
Opender Singh
3b2981043c Bump to 2020.4.1 2020-09-23 10:31:40 +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
5d28501b34
Update debounce timeout pause (#2651) 2020-09-23 08:06:54 +12:00
Opender Singh
98127bfa70 Bump version to beta.1 2020-09-22 12:07:04 +12:00
Opender Singh
c2d989e1e0 lib@2.2.24 2020-09-22 11:45:33 +12:00
Opender Singh
919422fc57 Bump versions 2020-09-22 09:12:35 +12:00
Opender Singh
4885d00e0f
Update pdfjs-dist (#2645)
* add e2e test and update pdfjs version and interface changes

* Remove test focus

* Simplify

* Update test because canvas sizes vary

* Update
2020-09-21 20:45:36 +12:00
Opender Singh
2132e59f2a
CodeMirror debounce wait for smoke tests (#2644) 2020-09-21 18:17:31 +12:00
Opender Singh
21ee2ae790
Upgrade apiconnect-wsdl to remove yargs-parser dependency (#2637) 2020-09-19 15:02:51 +12:00
Mike Ellan
336bbad922
Section visibility toggle (#2634)
* Moving click handler up to parent item, preventing dupe calls on checkbox

* Alignment and setting CBs to read only

* Label alignment when sibling of input

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-18 16:58:06 -04:00
Gregory Schier
a1c96fb6ac
Remove whitelist logic for pivot release (#2460)
Co-authored-by: David Marby <david@dmarby.se>
2020-09-18 15:40:30 +02:00
dependabot[bot]
92c37bf413
Bump node-forge from 0.8.5 to 0.10.0 in /packages/insomnia-app (#2612)
* Bump node-forge from 0.8.5 to 0.10.0 in /packages/insomnia-app

Bumps [node-forge](https://github.com/digitalbazaar/forge) from 0.8.5 to 0.10.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/0.8.5...0.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Marby <david@dmarby.se>
2020-09-18 15:18:38 +02:00
dependabot[bot]
3314c23ecf
Bump papaparse from 4.6.3 to 5.2.0 in /packages/insomnia-app (#2590)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-09-18 06:05:53 +12:00
Opender Singh
0451ca4631
Ignore x- keys for methods in the design sidebar paths section (#2622) 2020-09-17 14:00:45 +12:00
Julien Giovaresco
c4affa1650
Add shortcuts to foldAll and unfoldAll JSON nodes (#2626)
Use `Shift Cmd -` or `Shift Ctrl -` to fold all nodes
Use `Shift Cmd =` or `Shift Ctrl =` to unfold all nodes

Closes #2252
2020-09-17 14:00:10 +12:00
Mike Ellan
74a3967fce
Auto focus filter and improve click targets in design sidebar (#2617)
* Set cursor focus on active filter

* Click targets and info panel fix

Fixing inconsistently treated click targets and info panel items.

* Font (for SVGs) sizing and layout fixes.

* Layout & alignment fixes

* Update packages/insomnia-components/components/sidebar/sidebar-info.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Spacing increase on first child elment in panel, click specificity

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-16 11:11:42 -04:00
Mike Ellan
51d3a5de32
Editor toggling, visual design spec. integration, various stylistic tweaks (#2598)
Collapsable editor and visual design integration.
2020-09-15 12:26:04 -04:00
Tobias Rundbom
4a1ee5f9c5
Save and pre-select last used export format (#2586)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-15 17:24:06 +12:00
Joe Flint
f10b36d335
Handle server-side OAuth2 redirects to non-existent protocols (#2557)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-15 17:01:57 +12:00