Jack Kavanagh
bbceb6097c
Typed preload ( #4886 )
...
* convert preload to typescript
* preload types second pass
* improve types
* fix import
* simplify types
* remove migration map
* preload alongside main
* naming improvements
* fix global typing by adding vite import types
* fix test
* isolate main only network code
* fix mapping mistake
* clarify timeline logic
2022-06-26 13:36:30 +00:00
Mark Kim
4f5ef73f7e
fix: adding a fix to the openapi2kong circular deps issue ( #4872 )
...
* commit progress
* save changes
* add components and $schema
* add components and $schema
* adding a doc
* add typings
* fix unit tests
* fix unit tests
* add fix and verified with kong cli
* fix unit tests
* Improve types and parameter/body resolution
Co-authored-by: Mark Kim <marckong@users.noreply.github.com>
* fix circular "components" issue
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Mark Kim <marckong@users.noreply.github.com>
2022-06-24 19:48:45 +00:00
Filipe Freire
8300652981
Chore: All dependabot PRs 23 june 2022 ( #4893 )
...
* Bump shell-quote from 1.7.2 to 1.7.3 in /packages/insomnia-importers
Bumps [shell-quote](https://github.com/substack/node-shell-quote ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases )
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md )
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3 )
---
updated-dependencies:
- dependency-name: shell-quote
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump got from 11.8.3 to 11.8.5 in /packages/insomnia-smoke-test
Bumps [got](https://github.com/sindresorhus/got ) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5 )
---
updated-dependencies:
- dependency-name: got
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix indentation for package-lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-24 09:54:51 +01:00
Wils Dawson
5db49f51bc
Merge branch 'release/2022.5.0-beta.1' into develop
2022-06-23 16:36:41 +00:00
Wils Dawson
b400eb1160
Bump app version to 2022.5.0-beta.1 and lerna package versions
2022-06-23 14:10:00 +00:00
tangweikun
1aca90a810
Fix timeout setting in milliseconds ( #4881 )
...
* feat: make NumberSetting support step
* fix: correct request timeout help message
* make default step 1 for NumberInput
* Provide similar experience for other inputs with ms
Co-authored-by: tangweikun <tangweikun@corp.netease.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-06-23 15:12:59 +02:00
Filipe Freire
00a383690e
Merge branch 'release/2022.4.2' into develop
2022-06-22 18:23:44 +01:00
Filipe Freire
dd79b934bf
Add graphQL to smoke tests (INS-1592). ( #4867 )
...
* Add graphQL to smoke tests (INS-1592).
* Remove waitForNavigation
* Tidy up code, improve assertions and selectors
* Fix typo
* add gandalf
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-06-22 15:29:27 +00:00
Filipe Freire
f44da26ff3
Bump app version to 2022.4.2 and lerna package versions
2022-06-22 14:24:12 +00:00
James Gatz
38a53e603b
Redirect to the project view if no active workspace ( #4882 )
2022-06-22 15:10:57 +01:00
Jack Kavanagh
07706d093a
remove last workspace check ( #4880 )
2022-06-22 15:10:43 +01:00
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