Commit Graph

3334 Commits

Author SHA1 Message Date
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
Opender Singh
e1597dd87d Update release workflow to sign, notarize and staple macos inso binary (#4090) 2021-10-12 20:52:16 +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
Jack Kavanagh
d700d45f15 Attach sync button and button from component library to themes properly (#4070) (#4072)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-05 09:44:50 +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
98916c9613 updates settings to include final newline (#4057) 2021-09-30 15:00:38 +00:00
Dimitri Mitropoulos
04a52f4867 INS-975 workaround: add immer directly (#4054)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-09-29 17:58:34 +00: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
Dimitri Mitropoulos
0333bf62f2 adds ndjson support extension (#4043) 2021-09-22 11:35:59 +12: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
4642856aef fixes typo in insomnia-plugin-file's package.json (#4033) 2021-09-16 10:54:59 +00: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
Falon Darville
f1940adcef Add note that Kong Plugin Bundle is auto bundled (#4028) 2021-09-14 00:00:50 +00:00
gatzjames
8a0a042912 Merge branch 'release-branch-2021' into develop 2021-09-14 00:55:34 +02: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 core@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