Commit Graph

1768 Commits

Author SHA1 Message Date
Filipe Freire
f513d59f69
Add gRPC Headers (INS-362) (#3667) (#4244)
* Add gRPC Headers (INS-362) (#3667)

* Add grpc headers support to client, server and bidi streams

* Fix failing grpc unit checks

* Improvements after CR for #4244

* Fix lint issues

* Fix grpc header overflow and failing tests

* Fix illegal characters in metadata key validation

* Fix common-headers naming and add unit checks

* Fix wrong import format
2021-12-06 10:12:18 +00:00
Opender Singh
80d5dd1ec3
Move Nunjucks rendering into React Context (#4248) 2021-12-04 09:08:28 +13:00
Jack Kavanagh
80e5161a20
Fix: disabled native modules in the renderer (#4230)
* fix non-context-aware imports

* extract _actuallySend to file

* extract CLI unit test function from renderer

* expose curl functions to the ipc renderer

* use curl through ipcRenderer

* feedback first pass make like grpc

* feedback second pass remove duplicate

* fix lint
2021-12-02 09:26:08 +00:00
Dimitri Mitropoulos
715f844fae
fixes hotkey ux (and ui bugs) (#4045) 2021-12-01 19:25:13 +00:00
Jack Kavanagh
77d2a5d6b2
remove SpecInfo type (#4255)
* remove SpecInfo

* Update packages/insomnia-app/app/ui/components/modals/generate-config-modal.tsx

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-11-29 17:28:25 +00:00
Sergiy
1d3cbd3816
fonts settings UI changed (#4186)
* fonts settings UI changed

* Update tooltip messaging

* removed fontsMono and font-scanner dependency

* remove font-scanner dep

Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2021-11-25 10:26:29 +00:00
Opender Singh
f3c6ae19a5
Remove prop drilling to code-editor (#4243) 2021-11-25 04:26:08 +00:00
Jack Kavanagh
e1ac78d8f7
decouple plugins from networking (#4223)
* decouple plugins from networking

* move plugin exception handler into plugin function
2021-11-24 09:32:54 +00:00
Falon Darville
fb957e3346
rm version divider from Collection dropdown (#4239) 2021-11-23 14:54:40 -08:00
Opender Singh
bf1a6f37bf
Update response history timing verbiage (#4240) 2021-11-23 12:43:45 +01:00
James Gatz
9845ddfdd4
fix nedb flakiness with the created-at property (#4231) 2021-11-19 11:25:08 +01:00
Dimitri Mitropoulos
a72afb60d5
reverts sort order callback behavior (#4229) 2021-11-19 13:48:24 +13:00
Jack Kavanagh
d4df5ea5f7
Extend config generator plugin API and modal to handle documentation links (#4204)
* first pass

* capitalise Swagger and OpenAPI in an error message

* use docs from plugin scope

* extract variables

* check only OpenAPI spec version

* feedback

* fix config mapping

* refactor _generate

* remove bool casts

* revert refactor

* consume docs link

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-11-18 10:54:19 +01:00
Dimitri Mitropoulos
962b71d1c1
adds hotkey support to graphql editor for prettifying (#4222) 2021-11-18 03:26:26 +00:00
Falon Darville
2297fcb7d9
[DOCU-2032] Add Inso CLI development instructions (#4224)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-11-17 14:13:44 -08:00
James Gatz
0648989abf
fix(import): Importing from the projects view should respect the forc… (#4058) 2021-11-17 10:44:19 +01:00
Carlos Giraldo
23d17bcbb2
Add support for HTTP/V2PriorKnowledge (#4194) 2021-11-16 19:48:16 +00: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
Jack Kavanagh
df9617ed0b
feat: add format option to inso generate config (#4203)
* feat: add json arg to inso

* feedback
2021-11-16 12:49:49 +00:00
Dimitri Mitropoulos
8598ed752c
fixes defaultTabBehavior for OneLineEditor (#4215) 2021-11-15 13:16:25 -05:00
Filipe Freire
42f8e0d349
fix: #4182 pull snapshot icon (#4211) 2021-11-11 12:52:34 +00:00
Opender Singh
c0aaa8f64f
use explicit filename with tar (#4202) 2021-11-11 09:44:58 +13:00
James Gatz
4c906ccae5
allow for an empty string as a workspace name in the header (#4197) 2021-11-10 15:11:04 +00:00
Giuseppe B
f1216cb564
[Feature] The proxy configuration values are now hidden by default (#4036)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-11-10 09:29:53 -05:00
Dimitri Mitropoulos
8e21f26175
fix: consistently use index (#4196) 2021-11-10 06:11:31 +00:00
Jack Kavanagh
bfc19844e7
extract http versions test (#4177) 2021-11-10 14:47:06 +13:00
Dimitri Mitropoulos
f5230610e3
fixes CodeMirror opacity for disabled (or not) GraphQL body text (#4188) 2021-11-09 21:12:41 +00:00
Opender Singh
24d2d4d76f
use tar -J instead of tar -j (#4192) 2021-11-10 06:53:53 +13:00
Jack Kavanagh
cdd41c3746
remove bad cookie test (#4176) 2021-11-09 08:52:49 +00:00
Dimitri Mitropoulos
cbe7192587
fixes direct import for insomnia-config (#4189) 2021-11-09 01:32:19 +00:00
Dimitri Mitropoulos
fd9fcf5031
fix: show JSON preview if content type is text/plain but body is valid json (#4171)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-11-08 16:39:26 -05:00
Opender Singh
be1757e27e
Append upstream name using a utility (#4135) 2021-11-08 11:11:15 +00:00
Falon Darville
88d473117d
Update Dark Colorblind theme (#4179) 2021-11-04 11:45:30 -07:00
Jack Kavanagh
5a65e2dd39
chore: bump hapi hawk (#4175)
* chore: bump hapi hawk

* fix type-check
2021-11-03 12:11:21 -04:00
Jack Kavanagh
9de7c8c1d0
chore: minimal webpack noise (#4172) 2021-11-03 10:54:40 -04:00
Jack Kavanagh
28378dc3fd
spike: use babel preset typescript to transpile app (#4142)
* use babel-preset-typescript

* run type-check in release process
2021-11-03 08:06:52 +00:00
Dimitri Mitropoulos
5c02273757
Reduce AppBar sizing and add Project Name to breadcrumbs (#4159) 2021-11-03 11:10:53 +13:00
Falon Darville
6c34d9088e
[DOCU-1970] rm duplicate doc content and add link to docs (#4169) 2021-11-02 13:46:32 -07:00
James Gatz
46db5beb97
inso: use --src for loading a git dir (#4162)
* Use --src as an override to workingDir for loading a git dir

* update test snapshots
2021-11-02 09:18:47 +01:00
Opender Singh
17bb2ce84a
Remove unused core plugin metadata option (#4165) 2021-11-02 00:04:04 +00:00
James Gatz
9bfbd5c6a8
add vscode launch config for debugging inso (#4161)
* add vscode launch config for debugging inso

* remove undeclared task
2021-11-01 16:13:30 +01:00
Opender Singh
8918b15113 Merge branch 'release/2021.6' into develop 2021-10-28 10:48:51 +13:00
Opender Singh
e02e5d404f version packages lib@2.4.0 2021-10-28 09:47:44 +13:00
Opender Singh
841df1cff4 bump version 2021-10-28 09:45:21 +13:00
Dimitri Mitropoulos
9b8bce5015
remove electron augmentation and use current API (#4138) 2021-10-26 19:45:36 +00:00
James Gatz
0f134ea553
fix(workspace-card-dropdown): restore the use the get-workspace-name … (#4150) 2021-10-26 10:37:45 +13:00
Opender Singh
b29a0f2602
improve wording (#4146) 2021-10-25 09:03:06 +00:00
Opender Singh
0c4ad0bc11 bump version to alpha.7 2021-10-25 21:43:06 +13:00
Jack Kavanagh
3e7a7d7cea
only add upstreams when needed (#4105) 2021-10-24 19:10:02 +00:00
Opender Singh
75d48d5255
Handle human readable errors correctly (#4147) 2021-10-24 16:05:41 +13:00
Opender Singh
7e93469f12
exit with exit-code 1 (#4148) 2021-10-24 16:05:03 +13:00
Opender Singh
52c85cd6b7
Prevent app initialization logic if config is invalid (#4134) 2021-10-23 11:35:18 +13:00
Opender Singh
b7248025e7 version packages lib@2.4.0-alpha.1 2021-10-21 22:15:57 +13:00
Opender Singh
accc426fdd bump version to alpha.6 2021-10-21 22:08:36 +13:00
Dimitri Mitropoulos
2a1a18c769 fails validation if the config has a parse error (#4139) 2021-10-21 21:59:18 +13:00
Dimitri Mitropoulos
382009e1cc human readable errors for insomnia config validation (#4133)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
2021-10-21 21:58:57 +13:00
Dimitri Mitropoulos
6f7da8f284 hides ad in account tab when disablePaidFeatureAds is true (#4137) 2021-10-21 21:58:35 +13:00
Dimitri Mitropoulos
4e0300a06f
fails validation if the config has a parse error (#4139) 2021-10-20 15:34:28 -04:00
Dimitri Mitropoulos
331b18126f
human readable errors for insomnia config validation (#4133)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
2021-10-20 14:06:24 -04:00
Dimitri Mitropoulos
b2b7c16937
hides ad in account tab when disablePaidFeatureAds is true (#4137) 2021-10-21 06:19:22 +13:00
Jack Kavanagh
e0ff79a2a6
Transform OAS -> Kong DC JSON rather than YAML (#4129)
* output JSON

* add test for declarative config

* feedback

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2021-10-20 14:21:19 +02:00
Dimitri Mitropoulos
dddacb9eaa
block starting the app if there's an invalid config (#4132)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-19 22:10:48 -04:00
Mika Andrianarijaona
a23e82dd6e
fix (style): set drag-sidebar z-index to 999 (#4059)
Co-authored-by: Mika Andrianarijaona <mikaoelitiana@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-18 01:14:11 +00:00
Opender Singh
107a37fb92
Add smoke test for XML response and filter (#4085)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-10-18 00:49:30 +00:00
Vincenzo De Petris
94c8f5599b
Update Card component overflow behaviour (#4106) 2021-10-15 19:10:30 +00:00
James Gatz
6d7d95e067
Fix dropdown search crashing on child node checks (#4124) 2021-10-15 17:10:17 +00:00
Opender Singh
9fb54ec187 version packages lib@2.3.3-alpha.4 2021-10-15 13:12:49 +13:00
Opender Singh
e802d4b112 bump version 2021-10-15 13:10:44 +13:00
Opender Singh
5e4d381799 add config and common to send-request 2021-10-15 11:59:49 +13:00
Opender Singh
06b873eb27 version packages lib@2.3.3-alpha.3 2021-10-15 11:19:53 +13:00
Opender Singh
5fdf6b1d89 bump version 2021-10-15 11:17:33 +13:00
Opender Singh
71f8393fba
Notarize raw binary (#4108) 2021-10-14 22:16:30 +00:00
Dimitri Mitropoulos
cabaa7ebdf
removes analytics onboarding if incognito mode is (already) on (#4115) 2021-10-14 17:11:01 -04:00
Dimitri Mitropoulos
177d6adf38
Insomnia Config, controlled settings (#4031)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-14 10:59:45 -04:00
Vincenzo De Petris
cbc1cfc8b8
Environments order (#4048) 2021-10-13 19:10:48 +00:00
Jack Kavanagh
7856524a96
distinguish upstreams name in declarative config (#4099) 2021-10-13 17:52:40 +00:00
Opender Singh
c3465204aa
Rename "compress" terminology to "artifacts" to be more representative (#4091) 2021-10-12 21:23:25 +00:00
Jack Kavanagh
a15d0864a7
handle unreachable url (#4097) 2021-10-12 17:35:29 +00:00
James Gatz
70da2acafb
Move all app.on('ready') calls in one place (#4092)
* Move all app.on('ready') calls in one place

* Move the spellchecking logic in electron-helpers

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-10-12 17:21:45 +02:00
Opender Singh
210db0dd01
Allow specifying a custom version for Inso (#4086) 2021-10-12 00:35:59 +00:00
Opender Singh
3b7b505c74
Inso binaries codesign & notarize on macOS (#4082) 2021-10-12 13:10:09 +13:00
Jack Kavanagh
83477364c6
remove convenience bundle (#4079)
* remove kong bundle

* restore bundle to migration delete list
2021-10-08 07:00:39 +00:00
Jack Kavanagh
d23fae5b6f
add missing text xpath type handler (#4083) 2021-10-07 14:28:34 +00:00
Dimitri Mitropoulos
e793e6f166
unifies getting of workspace name in displayment (#4060) 2021-10-07 12:38:11 +00:00
Opender Singh
615287ccfc
Create single inso executable using pkg (#4049)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-10-06 22:01:43 +00:00
Falon Darville
cdf95f64d6
Add Dark Colorblind core theme (#4081) 2021-10-06 19:11:17 +00:00
Jack Kavanagh
f4b859832c
Consistent wording of Dev Portal (#4073)
* change copy in box

* Consistent Dev Portal wording

* skips test with breadcrumb comment
2021-10-06 10:29:48 +02:00
Opender Singh
e704f796f8
Attach sync button and button from component library to themes properly (#4070) 2021-10-04 11:35:53 +02:00
Ismael Arias
d237b2c907
Implemented Prettier for GraphQL formatting (#4022)
* Implemented Prettier for GraphQL formatting (#3242)

* package bump and linting

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-10-01 12:31:02 +02:00
Dimitri Mitropoulos
e7c7c7ebdf
change mocha timeout to be 1 minute (#4046) 2021-09-29 12:35:00 +00:00
James Gatz
fc32856e55
Use forwardRef for the Pane components (#4053)
* Use forwardRef for the Pane components

* Update packages/insomnia-app/app/ui/containers/app.tsx

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-29 09:44:28 +02:00
Dimitri Mitropoulos
d53ef39c9b
use named exports for all (remaining) react components (#4050) 2021-09-27 15:47:22 +02:00
Matthias Ramsauer
7a8510f89c
Add export as HAR format for single requests (#2715)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-22 13:35:34 +00:00
James Gatz
e7d44bf206
Update axios-request to respect the validateSSL app setting (#4042)
* Update axios-request to respect the validateSSL app setting

* Update types and formatting
2021-09-22 14:57:51 +02:00
James Gatz
bc35b48f40
Fix/o2k allow whitespace in route paths (#4029)
* Update path param regex to allow for whitespace characters in paths

* Update fixtures for the route path regex
2021-09-20 12:43:39 +02:00
James Gatz
96fdf9d462
prevent fetching spellcheck Dictionary (#4030)
* Disable spellchecking and prevent fething translations from Chromium's CDN

* Update packages/insomnia-app/app/main/window-utils.ts

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>

* don't unnecessarily disable spellcheck

since, after all, it doesn't download in Mac and upcoming versions of Windows.  it's not like we have a thing against spellchecking - the ticket is to disable a dictionary download.

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-20 11:53:05 +02:00
Dimitri Mitropoulos
376700826e
fixes all react/prefer-stateless-function warnings (#4019) 2021-09-15 16:16:04 -04:00
Ramón Márquez
fa2429da67
Plugin API feature: added getInfo method to context.app (#3975) 2021-09-16 08:10:20 +12:00
Timothy Lim
58ce5ec39e
Allow Autocomplete to be properly registered as a Shortcut (#2726)
* Allow autocomplete to be registered

* On shortcut update refresh pane to enable shortcuts to register correctly

* Improve types and add explanation about keyname order

* bind code-editor to hotkeyregistry via redux so that it updates keymaps on change

* remove force refresh via key and convert to named export

* send hotkeyregistry in environment autocomplete options

* use autocomplete delay from settings

* Use Pick<T>

Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-15 15:01:35 +02:00
Opender Singh
bc4b6cd237
Add type definition to plugin insomnia attribute (#4023) 2021-09-14 11:58:34 +00:00
James Gatz
1956665a2b
Merge branch 'develop' into release-branch-2021 2021-09-14 00:47:29 +02:00
gatzjames
4f8ee1f010
Bump version to 2021.5.3 2021-09-13 23:15:35 +02:00
David Marby
411ea2d84a
Downgrade electron-builder (#4014) 2021-09-13 23:08:53 +02:00
James Gatz
45f683f992
Use the database change listener in the global tests (#4017)
* Use the database change listener instead of waiting for an amount of time

* Fire the actions after registering the handler
2021-09-13 19:42:12 +02:00
John
7e7d235fec
Added nested keys check after root keys check for environment editor. (#2685)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-10 19:25:32 +00:00
Timothy Lim
6b20648b5b
Show Client Certificate paths (#2714)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-10 17:53:25 +00:00
Dimitri Mitropoulos
02c65a852d
implements sort order for projects (#3953)
Co-authored-by: Opender Singh <opender94@gmail.com>
2021-09-09 21:42:57 +00:00
David Marby
10f991bd90
Downgrade electron-builder (#4014) 2021-09-09 17:17:59 +02:00
Julien Giovaresco
d4da3ad9d4
Unescape xml links before opening it (#2725)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-09 15:02:42 +00:00
Timothy Lim
614957c2b2
Fix tag editor preview issue due to blackslash (#2708)
Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2021-09-09 10:42:04 -04:00
Isaac Moore
cb17482c76
Improve visibilty of the drag pane when viewed vertically (#2713)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-09 07:30:06 +00:00
Julien Giovaresco
4cbd5fa816
Fix select all with large response (#2694)
* Refactor to keep in state info about large & huge response

This commit adds 2 properties in the ResponseViewer state:
* largeResponse which will be true when a response body weight more that LARGE_RESPONSE_MB
* hugeResponse which will be true when a response body weight more that HUGE_RESPONSE_MB

* Prevent select-all during response focus hotkey handler on large response

* Add a CopyButton in raw & source response viewer

* Revert "Add a CopyButton in raw & source response viewer"

This reverts commit e094be21

* Add a Copy raw response action in Preview dropdown

This action allows the user to copy the raw response directly in the clipboard.
It is a useful shortcut to copy huge response where select-all might freeze the application.

* fix import

* Fix build

* remove empty line

Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-09-09 13:35:01 +12:00
Eiman
972770731c
Add a keyboard shortcut for beautify request body (#2733) 2021-09-08 14:46:03 -04:00
James Gatz
381cf74a19
Improve codemirror typings (#3993)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-08 15:38:07 +00:00
Opender Singh
cf2387bbcd
Fix raw response viewer line padding (#4013) 2021-09-08 12:33:06 +00:00
Opender Singh
d6ea92e46d
Don't encode if string is empty in the tag editor (#4012) 2021-09-08 11:50:44 +00:00
Sarah Ridge
68f1beaedd
Fix Swagger UI colors for better Accessibility (#3887)
Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-08 03:49:35 +00:00
Mike Clifford
fec22b782f
Add space between words in concatenated sentence (#4009) 2021-09-07 11:48:24 +00:00
Opender Singh
0aa35489db
Update response headers viewer to FC (#3999) 2021-09-05 12:30:01 +00:00
Dimitri Mitropoulos
893c946553
fixes querystring updating regression (#3995)
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2021-09-03 14:25:32 -04:00
Dimitri Mitropoulos
e3484ced8f
fixes nunjucks-tag pointer (#3992) 2021-09-03 15:19:34 +00:00
Dimitri Mitropoulos
854ada3ff1
fixes styling regression for autocomplete (#3991) 2021-09-03 14:54:45 +00:00
Giuseppe B
a2c2268728
Handling vscode-languageserver with NMR (#3469) 2021-09-02 21:15:52 +00:00
Dimitri Mitropoulos
03f9d95b52
removes hardcoded import names (#3935) 2021-09-02 14:46:27 +00:00
Jack Kavanagh
de435660f7
fix(autocomplete) undefined tag values (#3983)
* fix(autocomplete) undefined tag values

* Update packages/insomnia-app/app/ui/components/codemirror/extensions/autocomplete.ts

love it!

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>

* fix(autocomplete) move nullish coalesing to edge

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-02 04:52:23 +00:00
schrodingersket
ccac337c4f
Optionally disable certificate validation for OAuth2 auth windows (#3894)
Co-authored-by: Jonathan Thompson <jonathan.thompson@nimbusnine.co>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-01 21:08:44 +00:00
Dimitri Mitropoulos
25520154a5
Minor Electon-related cleanup (#3957)
* adds (now available) electron types

* MenuItemConstructorOptions.selector module augmentation

* updates note on allowRendererProcessReuse with more up-to-date info

* separates and formats comments that were intended to be separate

if you check out the commit where these were created, for some reason the comment for the `loadURL` line was put under the line of interest, and over time the space between the comment blocks was removed - making it look like the last line of the comment is related to the same thing (it, apparently, is not).

* use createRef for ResponseWebView
2021-09-01 20:48:05 +00:00
Timothy Lim
6ca2bf7b1b
Prevent GraphQL non breaking space (#2770)
Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-01 16:17:15 -04:00
Jason Blalock
8db87df17c
[Feature/Plugin API] Add clipboard wrapper methods to context app (#3977)
Co-authored-by: Jason Blalock <jasonblalock@users.noreply.github.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
2021-09-01 17:40:11 +00:00
Giuseppe B
e8551bd792
Insomnia v4 support for CLI (#3055)
* Initial draft for insomnia-adapter.js

* Added global options on cli types

* Added command description on cli

* Updating commands to support global flag

* First adapter implementation

* Fix object representation for send-request package

* Improved command description

* Fix test expected result

* Added db & adapter tests

* Improved flow on the InsomniaAdaptor

* Reverting to previous version

* Applying requested fixes

* Revised insomnia-adapter.js

* Applying requested changes

* Fixed new path for fixtures

* Introducing typescript support

* A few minor updates

* fixes from rebase

* update type mapping

* Use __dirname for fixture paths

* and tests for malformed data or unexpected version

* Update docs & use src with generate config cmd

* runs lint:fix

* minor error message copy adjustment

Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-01 17:17:19 +00: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
c7f07fd63e Merge branch 'release/2021.5.2' into develop 2021-09-01 09:51:26 +12:00
Jack Kavanagh
a6e52d97aa
fix(tag-editor) cast to boolean (#3982)
* fix(tag-editor) cast to boolean

* Update packages/insomnia-app/app/ui/components/templating/tag-editor.tsx

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-08-31 19:57:17 +00:00
Timothy Lim
84fc8f38a7
Request History: Set dropdown value to the response instead of null (#2735)
Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-31 06:21:02 +00:00
Opender Singh
ba459095e9 add back empty lines 2021-08-31 17:28:00 +12:00
Opender Singh
ed7853cc3b Don't resolve plugin prompt promise until modal has closed, to avoid a race condition (#3970)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-08-31 17:16:28 +12:00
Dimitri Mitropoulos
b7d11d3130 fixes "Hide menu bar" setting (#3961)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-08-31 17:16:17 +12:00
Opender Singh
f191b3a070 bump version to 2021.5.2 2021-08-31 17:14:17 +12:00
Opender Singh
c8926d75ae
Don't resolve plugin prompt promise until modal has closed, to avoid a race condition (#3970)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-08-31 04:52:01 +00:00
Dimitri Mitropoulos
9353a6fb00
fixes "Hide menu bar" setting (#3961)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-08-31 16:31:08 +12: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
David Marby
6d70ae098d Skip migrating collections that has a missing remote project instead of cancelling the migration (#3973) 2021-08-30 18:19:10 +02:00
David Marby
665abdcedc
Skip migrating collections that has a missing remote project instead of cancelling the migration (#3973) 2021-08-30 18:18:21 +02:00
David Marby
4d8710cbad Bump version to 2021.5.1 2021-08-30 18:16:09 +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
Opender Singh
39eb725a55
🧹 Remove axios, use generics for send-request in insomnia-testing (#3949) 2021-08-27 04:02:59 +00:00
Dimitri Mitropoulos
422d5a809c
adds markdown linting (#3931) 2021-08-27 15:44:01 +12:00
Hademumel
7135114768
add search for graphQL schemas (#3388)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-26 05:43:56 +00:00
Opender Singh
376ac03703 version packages lib@2.3.1 2021-08-26 08:15:00 +12:00
Opender Singh
1405c4c63c bump version to stable 2021-08-25 13:08:32 +12:00
Opender Singh
09e3e370a2 Merge branch 'release/2021.5.0' into develop 2021-08-25 13:06:30 +12:00
Dimitri Mitropoulos
7f7b9f5614
renames base project to default project in code and copy (#3939)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-25 12:51:40 +12:00
Dimitri Mitropoulos
2bf4370fd2
Inso -> Inso CLI (in docs) (#3936) 2021-08-23 20:21:19 -04:00
Opender Singh
4d0ec3f7b2 version packages lib@2.3.1-alpha.3 2021-08-23 12:55:10 +12:00
Opender Singh
a263881b5f bump to alpha.2 2021-08-23 12:49:38 +12:00
Dimitri Mitropoulos
f1808a4956
fixes outdated Insomnia Designer documentation references (#3927) 2021-08-20 17:50:41 +00:00
Opender Singh
774a8dc792
Space -> Project rename & update code-references (#3928) 2021-08-20 11:12:36 -04:00
Dimitri Mitropoulos
6e5f051902
Space Sync Error improvement (#3923) 2021-08-20 07:49:56 -04:00
Dimitri Mitropoulos
f3bfbf76aa
removes usage of deprecated graphql constant (#3926)
see: https://github.com/graphql/graphql-js/pull/2124/files
2021-08-18 16:38:38 -04:00
James Gatz
0ef92797cd
remove extra symbol (#3921) 2021-08-17 15:42:44 +02:00
Opender Singh
1dd421e4f0 version packages lib@2.3.1-alpha.2 2021-08-16 12:59:26 +12:00
Opender Singh
bbdd77d795 bump version 2021-08-16 12:57:29 +12:00
Opender Singh
afbbb0eaa3
Update mock implementation and move the segment event enum (#3913) 2021-08-12 22:35:43 +00:00
Dimitri Mitropoulos
407432aa02
adds eslint-config-helpers (#3912) 2021-08-12 18:01:54 -04:00
James Gatz
9b7dbe5011
Display the settings modal for remote spaces and update the copy for … (#3885)
* Display the settings modal for remote spaces and update the copy for deleting a remote space

* Improve confirmation dialog copy

* Replace baseSpace check with spaceHasSettings

* Use the strings constant for the space word copy

* Use the strings constant for the space word copy in the modal
2021-08-12 20:14:48 +00:00
Opender Singh
5a50b19595
Introduce segment event enum (#3904)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-08-12 19:37:33 +00:00
James Gatz
82629046e9
Use markdown-preview__content classname in the compiled html container (#3910) 2021-08-12 20:56:23 +02:00
James Gatz
d3738df992
Fix footer subtext alignment in modals (#3908) 2021-08-12 16:52:30 +02:00
Opender Singh
63fd9bc3a5
Add segment metrics for plugin data context (#3903) 2021-08-12 03:04:48 +00:00
Opender Singh
18e7f49b43
Lint rules for equivalence and arrow func spacing (#3897) 2021-08-12 01:25:34 +00:00
James Gatz
632b8020f7
Display a checkmark for the selected sort option in the SpaceSortDropdown (#3896)
* Display a checkmark for the selected sort option in the SpaceSortDropdown

* Update packages/insomnia-app/app/ui/components/dropdowns/space-sort-dropdown.tsx

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

* Move the placement hacks for the dropdown icon and tooltip into a separate file

* Fix lint errors

Co-authored-by: Opender Singh <opender94@gmail.com>
2021-08-11 14:23:29 +03:00
Opender Singh
251287062d
Use useAsync (#3888) 2021-08-10 23:57:13 +00:00
Opender Singh
6a1abbf3db
Migrate collections into their remote space (#3876)
* initial implementation

* take vcs as a parameter (so it's easier to mock and test)

* update console log and exit early if not logged in

* add unit tests for migration

* add async filter and replace vcs find by root document

* lint fix

* fix memory driver and add test for hasProjectForRootDocument

* setup check on interval

* move migration logic and interval from main process to render process, because session state and a VCS instance dont work in the main process yet

* update test

* replace constructor with static class creator

* replace interval with login logout hook

* remove effect helpers

* empty commit to trigger CI
2021-08-10 23:35:05 +00:00
James Gatz
7cb1cbef0d
Prevent opening new windows in the app (#3874)
* Force auxclick (middle-click) events to be handled as click events

* Prevent opening new windows

* Formatting: Remove parentheses from arrow fn
2021-08-10 12:28:12 +03:00
Opender Singh
0debbe9c9c version packages lib@2.3.1-alpha.1 2021-08-10 16:17:55 +12:00
Opender Singh
72de1c2d8b bump version 2021-08-10 16:14:15 +12:00
Paul Johnson
366a54f630
Allow optional specification of Origin header for Auth Code flow + PKCE (#3783)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-09 22:30:32 +00:00
Dimitri Mitropoulos
8478fbc27f
adds descriptors to ordering labels (#3892) 2021-08-09 15:34:46 -04:00
Opender Singh
f48cef02bd
Update some ESLint rules (#3883) 2021-08-08 05:08:56 +00:00
Opender Singh
853cefca75
React ESLint rules (#3884) 2021-08-07 08:03:56 +00:00
Opender Singh
be2c347cf1
Pull a project into the correct space (#3873)
* use selector and improve types

* Loading remote projects now requires a team id; it is no longer optional

* activate with workspace or workspace id

* extract helper

* normalize graphql return type for a remote project to include the team

* pull into the space as defined by the project team id, not by the active space. If the space doesn't exist, create it

* use helper

* make testing easier by putting the active space name as the first breadcrumb

* fix tests

* add the active space into the title

* refactor and add tests

* remove todo
2021-08-05 23:30:31 +00:00
James Gatz
e683a02b16
[feat] Sort Dashboard Cards (#3850)
* Add sort order for space items

* Add ability to sort dashboard cards

* Fix TS errors

* Fix lint errors

* Add sort options for modified time

* Move workspace-card to a new file and use redux global state for persistence

* Remove ordering from the space model

* Use currying for the workspace mapping function and clean up types

* Expand testcase for activespace initialization

* Fix lint errors

* Remove date defaults and check if modifedLocally is defined

* Fixup: Use global selector for space order

* Fixup: Decouple space order initialization from active space

* Fixup: Use named exports in SpaceSortDropdown and rename handler in WrapperHome
2021-08-05 20:38:58 +03:00
Opender Singh
4dda066254
Update help text to disable cert validation (#3875)
* update help text

* fix snapshots
2021-08-05 10:39:26 +03:00
Giuseppe B
bae8195dfd
Fix for GraphQL - now autocomplete does not reset anymore (#3468) 2021-08-02 10:12:58 +00:00
Dimitri Mitropoulos
70d5797d94
use optional chaining (#3867) 2021-07-30 15:32:08 +12:00
Opender Singh
706b0f076a
Disable cert validation option while running tests in inso (#3492) 2021-07-30 03:10:19 +00:00
Dimitri Mitropoulos
5e00656807
adds jsx indentation rules (#3860) 2021-07-29 08:52:17 -07:00
Ben Walker
b8cc881d36
Populate refresh token from a client credentials OAuth2 call (#3794) 2021-07-29 05:35:03 +00:00
Opender Singh
8b011d68cf
Types for DnD, reuse and connect sidebar components to redux (#3853) 2021-07-29 05:12:59 +00:00
Opender Singh
7397370f4b
Use activateWorkspace action to activate a workspace (#3856)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-07-29 04:55:31 +00:00
NAVAL
21b02cc61a
add: support for plain PKCE challenge method (#3843) 2021-07-29 04:31:02 +00:00
Opender Singh
37815afd2e
Duplicate from dashboard and from settings (#3820) 2021-07-28 21:49:02 +00:00
Dimitri Mitropoulos
6431378392
[followup] Local GraphQL schema UX improvements (#3847) 2021-07-28 19:26:55 +00:00
David Marby
cecd95f0d7
Correctly log uncaught errors/unhandled promises (#3857) 2021-07-28 14:57:52 -04:00
Opender Singh
a12ccc3faf
Use strings in Space Dropdown (#3835) 2021-07-26 16:05:37 +00:00
Opender Singh
9eba2867a3
Create VCS instance even if no active workspace (#3836) 2021-07-26 15:18:12 +02:00
Opender Singh
2cfaab472d
Remove the share modal (#3846) 2021-07-26 22:05:45 +12:00
Opender Singh
7abde2a017
Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00
John Chadwick
eb67958846
Refactor markdown preview to minimize unsafe HTML. (#3842)
Fixes INS-805.
2021-07-23 12:55:47 -07:00