Commit Graph

1532 Commits

Author SHA1 Message Date
Filipe Freire
d985f5f3be Recurring releases of insomnia app (INS-1429) (#4474)
* Update default electron-builder targetgs

* Allow setting a build ref

Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.

* Adds recurring release workflow

New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.

Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.

Co-Authored-By: David Marby <david@dmarby.se>

* Make recurring flow independent from Test flow

Co-Authored-By: David Marby <david@dmarby.se>

* Use setup-node@v2

Co-Authored-By: David Marby <david@dmarby.se>

* Update .github/workflows/release-recurring.yml

Co-authored-by: David Marby <david@dmarby.se>

* It's always the single quotes 🙏 😚

* Use bash shell

* Disable fail-fast

* Add cancel-in-progress setting to recurring releases

If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.

Co-Authored-By: David Marby <david@dmarby.se>

* Change concurrency setting to workflow level

Co-Authored-By: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2022-03-01 15:18:47 +01:00
Jack Kavanagh
9dc0c804de
remove flakey tests (#4534) 2022-03-01 09:55:52 +01:00
Dimitri Mitropoulos
6721b8de25
fixes active unit test suite selector (#4526) 2022-02-28 08:49:31 -05:00
Dimitri Mitropoulos
a8deb41f23
(Partial) removal of WrapperProps (part 3) (#4515) 2022-02-25 13:21:35 +00:00
Paul Johnson
41a2fd6379
Update response-timeline-viewer to show response body. (#4346)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-02-24 09:38:38 -05:00
David Marby
8198992b68
Update plus upsell (#4518) 2022-02-24 11:44:03 +00:00
Dimitri Mitropoulos
4581fc1332
menu presets for window sizes and zooms (#4507)
* new presets for window sizes

* implements setting specific zoom levels

* adds developer-only menu item for screenshots
2022-02-24 01:32:16 +00:00
Dimitri Mitropoulos
2401788509
(Partial) removal of WrapperProps (part 2) (#4510) 2022-02-22 08:19:04 -05:00
Filipe Freire
432cf436f8
Remove deprecated Insomnia Designer Hotkeys (INS-1411) (#4508)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-02-18 15:29:13 +00:00
Filipe Freire
e31307c61e
chore: Improvements to playwright smoke checks (#4480)
* Enable playwright parallelism

Plus, move the cancel request test into its own separate test to reduce flakiness.

* Change num of playwright workers on GH actions back to 1

* Change 200 OK assertion

+ Add assertions to PDF canvas

+ Add assertion to Raw Data preview.

* Add assertions to response body elements

* Undo parallel suite for app.test.ts

* Remove parallelism workers from playwright.config.ts

* Code review improvements

Co-Authored-By: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-Authored-By: James Gatz <jamesgatzos@gmail.com>

* Code review improvements

Co-Authored-By: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-Authored-By: James Gatz <jamesgatzos@gmail.com>

Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2022-02-17 17:27:29 +00:00
Dimitri Mitropoulos
47db0e3557
adds "Made with ❤️ by Kong" to footer of dashboard (#4498) 2022-02-17 08:35:15 -05:00
Jack Kavanagh
3947bdc4aa
chore: move electron out of the renderer (#4406)
* fix lint

* fix types

* remove flush db.change event send

* guard against tests running electron functions

* copy preload to build output

* fix webview context menu

* fix context menu and plugin install

* move installPlugin to main context
2022-02-16 18:28:23 +00:00
David Marby
837342ddab
Allow overriding the API url using an environment variable (#4502) 2022-02-16 15:19:19 +01:00
Dimitri Mitropoulos
0b7a61fdee Merge branch 'release/2022.1.0-beta.0' into develop 2022-02-15 09:13:42 -05:00
Dimitri Mitropoulos
e621006db0
dependabot PRs as of 2022 02 14 (#4492) 2022-02-14 22:18:53 +00:00
Filipe Freire
1160b4a09c
Recurring releases of insomnia app (INS-1429) (#4474)
* Update default electron-builder targetgs

* Allow setting a build ref

Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.

* Adds recurring release workflow

New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.

Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.

Co-Authored-By: David Marby <david@dmarby.se>

* Make recurring flow independent from Test flow

Co-Authored-By: David Marby <david@dmarby.se>

* Use setup-node@v2

Co-Authored-By: David Marby <david@dmarby.se>

* Update .github/workflows/release-recurring.yml

Co-authored-by: David Marby <david@dmarby.se>

* It's always the single quotes 🙏 😚

* Use bash shell

* Disable fail-fast

* Add cancel-in-progress setting to recurring releases

If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.

Co-Authored-By: David Marby <david@dmarby.se>

* Change concurrency setting to workflow level

Co-Authored-By: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2022-02-10 15:32:33 +00:00
John Chadwick
15cc3d2099
Update TypeScript version. (#4463)
* Update TypeScript version.

This makes the TypeScript version match across other codebases, to
facilitate better code sharing.

* Fix TS errors after update.

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-02-08 20:19:22 +00:00
Dimitri Mitropoulos
8490bad55c version packages lib@2.5.0-beta.1 2022-02-08 11:39:25 -05:00
Dimitri Mitropoulos
081fb995a6 version packages lib@2.5.0-beta.0 2022-02-08 11:37:36 -05:00
Dimitri Mitropoulos
7a138cce8a bumps config.json to 2022.1.0-beta.0 2022-02-08 11:32:40 -05:00
Dimitri Mitropoulos
04436fca56
updates redux dependencies (#4456) 2022-02-08 11:16:46 -05:00
Dimitri Mitropoulos
c73d2c1c1d
Fixes ApiSpec content syncing (#4443)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2022-02-07 14:00:31 -05:00
Dimitri Mitropoulos
810e4320c9
all dependabot PRs as of 2022 02 04 (#4452) 2022-02-04 16:26:10 -05:00
Dimitri Mitropoulos
8f409a38fc
updates concurrently, lerna, eslint (#4428) 2022-02-02 11:21:25 -05:00
Dimitri Mitropoulos
3556a20f85
(Partial) removal of WrapperProps (#4431) 2022-02-02 10:54:05 -05:00
David Marby
d1d3e4e9fd
Remove leftover google analytics constants (#4417) 2022-01-27 17:01:14 +00:00
Dimitri Mitropoulos
248c214620
convert WrapperDesign to a function component (#4410) 2022-01-27 07:48:39 -05:00
Opender Singh
bb836b6b4c
Extract utility and add unit tests for openapi tab indentation (#4395) 2022-01-26 21:54:38 +00:00
Jack Kavanagh
7e1bdfc66f
fix: added import and export types (#4411) 2022-01-25 23:29:56 +00:00
Dimitri Mitropoulos
7d3526940e
updates documentation and adds typings for axiosConfig (#4405) 2022-01-25 16:40:31 +00:00
Dimitri Mitropoulos
4940348dd9
removes insomnia designer migration code (#4404) 2022-01-25 11:14:24 -05:00
Jack Kavanagh
48ac330d95
chore: move GA events to segment (#4403)
* drop events

* move pageview to segment

* replace trackEvent with trackSegmentEvent

* remove categories and set ids

* remove duplicate events

* fxi tests

* fix lint

* fix inso

* use analytics setting and dont log boring stuff

* add context to page view
2022-01-25 14:50:46 +00:00
Jack Kavanagh
da11767c57
track http version and auth type onSend (#4398) 2022-01-24 23:51:26 +00:00
Dimitri Mitropoulos
6a3ce24c17
Restore URL focus handling (#4400) 2022-01-24 22:01:22 +00:00
Opender Singh
0f3a0c8b28
Add resize for recording menu item (#4384) 2022-01-23 18:59:41 +00:00
Dimitri Mitropoulos
24b610ffeb
Segment Queueable Events for App Started (#4383) 2022-01-20 23:22:55 +00:00
Wils Dawson
35c451b803
Git Sync Events (#4365)
* Cleanup old plugin events

* Add VCS lifecyle events

* Git action events

* Apply Opender's Suggestions

Co-authored-by: Opender Singh <opender.singh@konghq.com>

* Apply review changes for stage/unstage & rollback

* Update error messages for clone events

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2022-01-19 13:33:21 -08:00
Opender Singh
1ac24bf980
Compose auth components with reusable form elements (#4299) 2022-01-19 17:26:20 +00:00
Jack Kavanagh
cfed59e45e
can run playwright against latest changes (#4367) 2022-01-19 11:06:28 +00:00
Dimitri Mitropoulos
638b63bf84
Empty State for Test Tab (#4362) 2022-01-18 22:21:07 +00:00
Dimitri Mitropoulos
e20e7eba8c
dependabot PRs for marked (#4379)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 11:22:45 -05:00
Vincenzo De Petris
ba15a73d31
Show gRPCs in requests dialog (#4127)
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>
2022-01-14 14:29:32 -05:00
Dimitri Mitropoulos
9ca90a58b7
removes DEPRECATED_ACTIVITY_INSOMNIA (#4364) 2022-01-14 17:14:08 +00:00
Dimitri Mitropoulos
4e9efb4d7d
updates support.insomnia.rest to docs.insomnia.rest (#4351)
Co-authored-by: Falon Darville <falondarville@gmail.com>
2022-01-14 00:29:46 +00:00
Dimitri Mitropoulos
0c09313d42
Empty State for Design Tab (#4345) 2022-01-13 09:03:18 -05:00
John Chadwick
914bcf30ed
Apple M1 support (#4140)
* Apple M1 support

* Fix appUrl calculation.

* adds guard for targetPlatform

Co-Authored-By: John Chadwick <john.chadwick@konghq.com>

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-01-12 16:31:33 -05:00
Dimitri Mitropoulos
67ebf2a193
All current dependabot PRs (#4360)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-12 15:09:10 -05:00
JasonCubic
4f93186e93
Fix for git sync noProxy issue (#4304)
* git sync respect noProxy settings

* added testing and more edge cases

* removed dev time logging

* rename urlInNoProxy to isUrlMatchedInNoProxyRule

* added a validation check and test for invalid url edge case

* removed dev time script

* change git-sync proxy UX behavior to match the rest of insomnia

* refactor conditional to highlight opinionated intent more clearly

* minor refactor to satisfy sonarlint

* remove uneccesary tests

Co-authored-by: jacubic <jason.cubic@daimler.com>
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2022-01-12 15:22:56 +01:00
Falon Darville
5aba4cc03f
[DOCU-2110] update Preferences tooltips and title casing (#4340)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-01-11 22:03:29 +00:00
Dimitri Mitropoulos
42046206d9
Adds helper in dev-only settings for launch counter (#4350) 2022-01-10 22:39:35 +00:00
Dimitri Mitropoulos
f47a6cd22b
removes hugging face emoji (#4347) 2022-01-07 22:32:09 +00:00
Dimitri Mitropoulos
5b0e82dfee
EmptyState replacement for body editor (#4342) 2022-01-07 16:37:17 +02:00
Dimitri Mitropoulos
a5d7abb2fa
removes (now-unnecessary) OnboardingContainer (#4339) 2022-01-05 15:08:11 +00:00
Dimitri Mitropoulos
29a78189da
AutoFocus URL bar when onboarding/switching/opening a request (#4338) 2022-01-05 09:43:28 -05:00
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