Commit Graph

3721 Commits

Author SHA1 Message Date
James Gatz
8d7b9d8b7a
Redirect to the project view if no active workspace (#4882) 2022-06-21 16:50:43 +00:00
Jack Kavanagh
a05db00c98
remove last workspace check (#4880) 2022-06-21 18:29:02 +02:00
Jack Kavanagh
97e3e0c2d8
bump hawk (#4863)
* bump hawk

* package locks
2022-06-18 09:50:06 +00:00
John Chadwick
5622393f24
Enable strict TypeScript in insomnia. (#4869)
* Enable strict TypeScript in insomnia.

* Remove implied tsconfig settings.
2022-06-16 22:13:54 +00:00
John Chadwick
f52bafc21b
Properly handle 204 from notifications endpoint (#4873)
In some cases, the notifications endpoint can return a 204 response with
no body. This commit fixes a regression where this causes a warning.

Note that there is no user facing impact.
2022-06-16 19:13:50 +00:00
Jack Kavanagh
c171e8f20e Merge branch 'release/2022.5.0-beta.0' into develop 2022-06-16 11:19:19 +00:00
Jack Kavanagh
6707e5889d Bump app version to 2022.5.0-beta.0 and lerna package versions 2022-06-16 09:58:24 +00:00
Mark Kim
3edef836c6
fix: adding a simple fix for entering to send a request (#4868)
* add hack

* adding the empty string check else where

* limiting the event scope

This merge will close the following draft PR for its spike work as well.
2022-06-15 18:41:57 +00:00
David Marby
b24d30a21d Merge branch 'release/2022.4.1' into develop 2022-06-15 19:26:05 +02:00
David Marby
040113891c Revert "Temporarily disable github release tag/create"
This reverts commit 672599e0f5.
2022-06-15 19:10:42 +02:00
David Marby
4a707c3b3d Fix file name 2022-06-15 18:54:40 +02:00
David Marby
0f368b7b12 Use correct snapcore/action-publish version 2022-06-15 18:44:41 +02:00
David Marby
672599e0f5 Temporarily disable github release tag/create 2022-06-15 18:28:48 +02:00
David Marby
c5f9b77cbd Update snapcraft publish method 2022-06-15 17:41:51 +02:00
Filipe Freire
07c5b0cc66 Bump app version to 2022.4.1 and lerna package versions 2022-06-15 09:56:45 +00:00
Jack Kavanagh
720dcad6b2 use public class function (#4859) 2022-06-15 10:51:26 +01:00
John Chadwick
3234c05c6e
Enable noImplicitAny. (#4864)
* Enable noImplicitAny.

* extracts PreviewMode

* Update packages/insomnia/src/network/certificate-url-parse.ts

* Add missing type.

* un-any-ifies some of the modal onDone callbacks

easy enough.

* few more onDone, but the async ones this time

* Get rid of jsonlint any.

* adds noImplicitAny support for insomnia-smoke-test

* fixes playwright type error

* avoid full @ts-ignore in playwright

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-06-14 23:41:19 -04:00
Dimitri Mitropoulos
d1f4063e7d
Adds dropdown items for New Folder (and requisite work to accomplish this) (#4862)
Co-authored-by: Dimitri Mitropoulos <dimitropoulos@users.noreply.github.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-06-14 10:00:12 -04:00
John Chadwick
4e85928998
Follow-up: rename shadowing variable r. (#4860) 2022-06-13 12:57:30 -04:00
John Chadwick
fc36be710f
Make ButtonProps.onClick more type-able. (#4853)
* Make Button onClick prop more typeable

Swaps the order of the arguments so that the optional arg is second.

* Review fixes.

* removes some implicit any's

* NoticeTable to FC

might as well, at this point.  we're trying to do these as we can as they present themselves

* fixes margin for collapse icon (broken before this PR)

and removes an unnecessary type parameter

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-06-13 15:20:05 +00:00
Jack Kavanagh
dcdc429b9b
use public class function (#4859) 2022-06-13 16:53:02 +02:00
John Chadwick
5158abb108
Improve typing in some API code and components. (#4852)
* Add @types/jshint.

* Add type defs for hkdf, objectpath and srp-js

* Improve type safety of API code.

* Misc type fixes/improvements.
2022-06-10 12:10:53 -04:00
Gabriel Amorim
7b7a8c83ae
fix: check if bubble is a child of Tooltip container before removing it (#4821)
Co-authored-by: Gabriel Rosa <gabriel.rosa@dadosfera.ai>
Co-authored-by: Mark Kim <103070941+marckong@users.noreply.github.com>
2022-06-09 17:09:28 -04:00
Filipe Freire
e98bf5d427 Merge branch 'release/2022.4.0' into develop 2022-06-09 14:15:03 +00:00
Jack Kavanagh
28acc69435
bump node and electron 19 (#4847)
* bump electron, node and node-libcurl

* package locks
2022-06-09 09:17:28 +01:00
Filipe Freire
2d6d9ec37f Bump app version to 2022.4.0 and lerna package versions 2022-06-09 08:05:54 +00:00
Dimitri Mitropoulos
c6a17d8a3e
chore: single letter variables (#4848) 2022-06-08 12:27:21 -04:00
John Chadwick
325abe1d00
Improve typing in various UI components. (#4842) 2022-06-08 15:17:02 +00:00
Filipe Freire
f1080d6029 Merge branch 'release/2022.4.0-beta.4' into develop 2022-06-08 10:29:29 +00:00
Filipe Freire
10faac4232 Bump app version to 2022.4.0-beta.4 and lerna package versions 2022-06-08 09:21:49 +00:00
Filipe Freire
fc857cb726
chore: Fix package-locks after spectral upgrade (#4840) 2022-06-08 09:11:49 +00:00
Mark Kim
1519fa79cd
add text label change (#4843) 2022-06-07 18:56:25 +00:00
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