Commit Graph

3639 Commits

Author SHA1 Message Date
Mark Kim
c2a0abca62
refactor: add segment tracking for git sync (#4841)
* add segment tracking for git sync

* add suggestion

* fix lint

* add other cases for tracking

* add type fix
2022-06-07 18:10:47 +00:00
Take Weiland
5b1ab1b69d
Correctly handle per-operation scopes when importing from OpenAPI 3 (#4756)
* Fix OpenAPI 3 importer ignoring per request scopes

* Fix OpenAPI 3 tests

* Add more tests for OpenAPI 3 endpoint scopes

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-06-06 14:13:14 +00:00
James Gatz
34aa27a5fd
add react-router and split on activity paths (#4767) 2022-06-06 13:32:34 +02:00
Jack Kavanagh
70f8e7fbf9
only build sr when used (#4772) 2022-06-06 10:50:09 +00:00
Jack Kavanagh
29f530e19c
graphql empty url error (#4835)
* return early if theres no url

* remove fetching... message

* refactor: early return
2022-06-03 12:42:07 +00:00
dependabot[bot]
09ee423cb6
Bump protobufjs from 6.11.2 to 6.11.3 in /packages/insomnia-smoke-test (#4833)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.2 to 6.11.3.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/v6.11.3/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.2...v6.11.3)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 13:00:50 +01:00
Filipe Freire
0517a0c103
chore: Upgrade Spectral (new clean attempt) (#4834)
* Upgrade Spectral Dep (clean attempt)

* Add smoke test for OpenAPI import (INS-1425)

* Remove immer and unnecessary await
2022-06-03 11:44:54 +01:00
Jack Kavanagh
9c269f40cc
class to pure the second pass (#4831)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-06-02 14:28:15 -04:00
Mark Kim
723011021b Merge branch 'release/2022.4.0-beta.3' into develop 2022-06-02 17:41:01 +00:00
John Chadwick
ccdc84daba
INS-1501: Sentry integration. (#4817)
* Install Sentry.

* Improve fetch typings.

* INS-1501: Sentry integration

* Split Sentry logic between UI and main.

* TSDoc

* Move sentry DSN into config.json.

* Fix doc comments.

(Doc'ing code like it's 1997.)

* Make long comments hilariously unreadable.

* Remove unused segment event.

* Re-export app environment.

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-06-02 16:41:06 +00:00
Mark Kim
5de30a42d2 add esbuild-runner back 2022-06-02 09:50:53 -04:00
Mark Kim
35f5094048 Bump app version to 2022.4.0-beta.3 and lerna package versions 2022-06-02 13:20:00 +00:00
Jack Kavanagh
c49111b63a
Feature/ins-1518-improve-create-request-dropdownmodal (#4812)
* can make grpc request

* can create GraphQL request

* remove hotkey logic

* remove new request modal

* match new hotkey to old quick request

* add request shortcuts to folder context menu

* merge both old hotkeys to new one

* added requestType to segment

* fix feedback

* fix requestType is event

* default to HTTP request
2022-06-02 08:31:04 +01:00
James Gatz
4dd89b14d2
add gitlab oauth provider and ui (#4727)
* add gitlab oauth provider and ui

* add gitlab remaining

* add graphql field in query

* add gitlab oauth provider and ui

* add gitlab remaining

* add graphql field in query

* add some changes for testing

* add gitlab oauth provider and ui

* add gitlab remaining

* add graphql field in query

* add some changes for testing

* add some changes

* modify test

* try to refresh the token on git auth failure

* use localStorage to retrieve the session token

* simplify e2e tests for gitlab

* read the gitlab config from the api

* refresh the token if unauthorised

* use the rest api to fetch the user's data

* add loading state for config and handle 4xx errors in the ui

Co-authored-by: jackkav <jackkav@gmail.com>

* improve config fetching

* fix(e2e): add mock route for config

* Fix fetching gitlab config from the API

* add src as dep to avatar component hook

Co-authored-by: Mark Kim <yowmark613@gmail.com>
Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: David Marby <david@dmarby.se>
2022-06-01 10:39:31 +02:00
Dimitri Mitropoulos
cc9f11be30
chore(build): move insomnia-inso to esbuild (#4806) 2022-05-25 09:58:28 -04:00
Nhoem Chenda
5d1cc79bb5
Fix Issue https://github.com/Kong/insomnia/issues/4773 (#4815) 2022-05-25 10:21:24 +01:00
David Marby
deee30ad75
Remove unused end trial modal (#4804) 2022-05-20 16:02:16 +02:00
Seth Falco
3a8561f8d1
docs: revise contributing, development, and readme (#4801)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-05-20 12:36:28 +00:00
Jack Kavanagh
47af218532
add mimeType to analytics (#4802)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-05-20 12:46:50 +01:00
Dimitri Mitropoulos
8bc653388c
chore(deps) @jest/globals for insomnia (#4798) 2022-05-20 07:05:25 -04:00
Dimitri Mitropoulos
fe20729c64 Merge branch 'release/2022.4.0-beta.2' into develop 2022-05-19 14:52:57 +00:00
Mark Kim
b2d90df572
refactor: rename the git sync submission label (#4781)
* rename the git sync submission label

* add test fix

* change the button to use name

* add requested changes

* removeing :light selector
2022-05-19 10:17:02 -04:00
Dimitri Mitropoulos
0dd6090f1b Bump app version to 2022.4.0-beta.2 and lerna package versions 2022-05-19 14:12:37 +00:00
Dimitri Mitropoulos
6e5476de70
chore(deps) updates (all but insomnia) to use @jest/globals (#4793) 2022-05-18 17:27:31 -04:00
Dimitri Mitropoulos
fa02c76afa
removes delinquent flowtype leftovers (#4792) 2022-05-18 14:07:17 -04:00
Dimitri Mitropoulos
52393eccc0
chore(deps): upgrades jest to 28 (#4783) 2022-05-17 08:18:06 -04:00
Filipe Freire
db672f82a9 Merge branch 'release/2022.4.0-beta.1' into develop 2022-05-12 14:28:38 +00:00
Filipe Freire
c18a729fe7 Bump app version to 2022.4.0-beta.1 and lerna package versions 2022-05-12 13:27:17 +00:00
Sergiy
dd501ee498
postman import auth (from headers and/or auth object) (#4375)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-05-12 07:52:41 -04:00
Jack Kavanagh
bddf13a6e5
chore: simplify ca cert handling for app and inso (#4738)
* move file write to main

* fix tests

* fix path import

* generate root certs at app start

* remove unused scripts

* consistently use os.tmpdir for cacerts

* clean up gitignore

* setup ca cert once

* use cainfo_blob

* fix lint

* fix curl mock

* fix formatting
2022-05-11 15:59:59 +00:00
Dimitri Mitropoulos
4e47da16b6
always show debug oauth2 request timeline button (#4768)
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-05-11 08:38:57 +00:00
Jack Kavanagh
1edaa4aa83
fix set-cookie header parsing (#4769) 2022-05-11 09:20:06 +01:00
Mark Kim
37be1436ec
chore: add metrics tracking for design preview button (#4761)
* add metrics button

* add requested changes

* add requested changes

* add requested changes

* add requested changes

* add some clean up

* add requested changes

* update comments

* add reflection of discussion

* Update packages/insomnia/src/common/analytics.ts

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

* Update packages/insomnia/src/common/analytics.ts

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

Co-authored-by: Mark Kim <yowmark613@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-05-10 18:10:39 -04:00
Akiva Gordon
53c4c10be4
strengthens types of key command usage in keyboard-keys (#4520) 2022-05-10 09:59:34 -04:00
Filipe Freire
4b5b78fa9d
Use DOCKER_BUILDKIT=1 for inso docker build (#4764) 2022-05-09 15:40:04 +01:00
Filipe Freire
e34e80e569
Publish Inso CLI docker images (INS-1238) (#4722)
* Add inso docker on build & publish workflows

* Pin alpine image to 3.15.4

* Rename kongcloud/insomnia-inso to kong/inso
2022-05-09 12:37:33 +01:00
David Marby
116f011b22
Start the grpc smoke-test server alongside the http server (#4760) 2022-05-05 17:49:14 +02:00
David Marby
debe68b3f1 Merge branch 'release/2022.4.0-beta.0' into develop 2022-05-05 15:06:09 +02:00
David Marby
e023b74341 Fix missing dependencies in package-lock.json for electron-builder-squirrel-windows 2022-05-05 13:53:36 +02:00
Jack Kavanagh
6285ab8b0f
add grpc server (#4758) 2022-05-05 13:30:13 +02:00
David Marby
e2d2c3093d Bump app version to 2022.4.0-beta.0 and lerna package versions 2022-05-05 10:22:35 +00:00
Dimitri Mitropoulos
b17df4a78d
fixes JSONPath missing variable typo (#4754) 2022-05-03 15:57:22 -04:00
Jack Kavanagh
ef03a0feb9
fix inso output contained webpack warnings (#4751)
* cleanup unused code

* decouple unit testing feature and inso

* tigthen up key value pairs array to reducer
2022-05-03 11:50:30 +00:00
Wazbat
a8407b626d
Added error handling for github auth urls (#4749)
* 🥅 Added error handling for github auth urls

* 💬 Added error display to github auth form

* 💬 Updated Invalid URL error text

* 💬 Updated Incomplete URL error text

Changed conditional to follow guard pattern

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-05-02 20:55:51 +00:00
Jack Kavanagh
a10328ec29
fix autocomplete snippet evaluation for unit test (#4750)
* fix autocomplete snippet evaluation for unit test

* fix types
2022-05-02 16:43:11 +00:00
Jack Kavanagh
d16eaa553f
add grpc test (#4746) 2022-05-02 16:00:19 +02:00
David Marby
53466fc182
Switch to esbuild-runner for running changelog-image to avoid needing tsimportlib (#4742) 2022-05-02 10:25:55 +00:00
David Marby
a037a3b844
Fix incrementing npm package versions for pre-release revisions (#4741) 2022-05-02 12:06:52 +02:00
Jack Kavanagh
0aeaa085e5
multipart is now called from main (#4733) 2022-04-28 16:01:18 +00:00
James Gatz
7a3740b03d
remove pdfjs-dist in favor of native chromium pdf viewer (#4720)
Co-authored-by: David Marby <david@dmarby.se>
2022-04-28 13:48:37 +00:00