Commit Graph

1478 Commits

Author SHA1 Message Date
Dimitri Mitropoulos
ecbb1ce1eb
create background resources on first launch (#4314)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-12-22 15:13:23 -05:00
Wils Dawson
01f778cebb
Cleanup extra 'v' in version of the document card (#4319)
* Cleanup extra 'v' in version of the document card

* adds tests

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-12-22 13:28:25 -05:00
Jack Kavanagh
21ab3dd081
Chore/upgrade-electron-12 (#4232)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-12-21 13:03:36 -05:00
Jack Kavanagh
8cea5edc26
Chore: replace spectron with playwright (#4305)
* add smoke test fixture

* respect INSOMNIA_DATA_PATH override in CI

* add playwright

* remove spectron

* move CLI tests after app smoke tests in CI

* remove onboarding skip

* random path feedback

* npx feedback

* remove DATA_PATH override

* remove step from import process

* cleanup

* restore readme

* move specs to tests

* feedback on DESIGNER_DATA_PATH

* remove skipLibCheck

* last mention of spectron

* fix windows npm run test:smoke:build

* DATA_PATH override is required

* github CI is slow sometimes
2021-12-17 13:05:14 +01:00
Opender Singh
dc56a993f9
Don't indent with tabs if mode is openapi (#4315) 2021-12-16 10:48:14 +00:00
Dimitri Mitropoulos
074d502b8b
removes analytics activity and create a modal (#4310) 2021-12-15 23:58:00 -05:00
Opender Singh
dc4bc1ae48
Remove NPM build dependency for lerna packages (#4306) 2021-12-16 01:08:45 +01:00
Dimitri Mitropoulos
2edfdee345
removes onboarding activity and associated handling code (#4307) 2021-12-15 21:15:25 +00:00
Dimitri Mitropoulos
fa4cf3f7b7
componentize settings renderers (#4266) 2021-12-14 09:26:36 -05:00
Dimitri Mitropoulos
d5abff3199
renames keyboard events in line with project standard (#4303) 2021-12-13 14:23:56 +00:00
Opender Singh
9586ee749b
Allow users to configure what is shown on environment variable template tags (#4277)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-12-13 07:45:08 +00:00
Jack Kavanagh
b2dd09341c
cache lint (#4302) 2021-12-10 23:10:20 +00:00
Vincenzo De Petris
833cdfb005
Handle request send hotkey for gRPC (#4126)
Co-authored-by: Vincenzo De Petris <vincenzodepetris@gmail.it>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-12-10 17:34:48 +00:00
Opender Singh
c020d10e9c
Update capitalization (#4298) 2021-12-10 09:03:55 -05:00
Opender Singh
e5b6f9034e Merge branch 'release/2021.7.2' into develop 2021-12-10 10:55:05 +13:00
David Marby
cb42863868 Revert "Fix: disabled native modules in the renderer (#4230)"
This reverts commit 80e5161a20.
2021-12-09 14:43:20 +01:00
David Marby
74cacb6ee5 Bump version 2021-12-09 11:07:30 +01:00
Opender Singh
268e0282a1 Merge branch 'release/2021.7.1' into develop 2021-12-09 13:45:32 +13:00
Jack Kavanagh
b329c86005
fix cancel request button (#4288) 2021-12-09 13:02:33 +13:00
Opender Singh
ddc7c6efab bump version 2021-12-09 12:17:29 +13:00
Opender Singh
4da3a75bf3 Merge branch 'release/2021.7.0-beta.0' into develop 2021-12-09 11:50:40 +13:00
Opender Singh
dc442174c0 version packages lib@2.4.1 2021-12-09 10:19:11 +13:00
Opender Singh
1d66808092 version bump to stable 2021-12-09 10:10:23 +13:00
Dimitri Mitropoulos
e94b09a0a6
fixes sync button dancing (#4286) 2021-12-09 10:04:32 +13:00
Opender Singh
050a4d949e
cookie modal works again (#4282) 2021-12-08 16:11:04 +13:00
Dimitri Mitropoulos
c3e55ebbc3
adds more documentation to codemirror addon (and fixes type error) (#4280) 2021-12-07 15:39:40 -05:00
Opender Singh
f1284ed469 version packages lib@2.4.1-beta.1 2021-12-07 07:11:47 +13:00
Opender Singh
4cdad1069d bump app version 2021-12-07 07:07:04 +13:00
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
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
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
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
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
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
Opender Singh
17bb2ce84a
Remove unused core plugin metadata option (#4165) 2021-11-02 00:04:04 +00: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
0c4ad0bc11 bump version to alpha.7 2021-10-25 21:43:06 +13: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
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
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
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
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
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
Jack Kavanagh
83477364c6
remove convenience bundle (#4079)
* remove kong bundle

* restore bundle to migration delete list
2021-10-08 07:00:39 +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
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
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
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