Commit Graph

3919 Commits

Author SHA1 Message Date
Filipe Freire
f4482bde0e
trying to fix build (#5534)
* trying to fix build

* fix buildgst!
2022-12-15 19:14:24 +00:00
James Gatz
c6a027bf90
update screenshot with latest insomnia (#5532) 2022-12-15 17:10:18 +00:00
Filipe Freire
9644f9a7b6 Merge branch 'release/2022.7.0' into develop 2022-12-15 15:14:08 +00:00
James Gatz
f7beb00379
Add routes for git operations (#5523)
* Add repo-clone-modal

* remove unused var

* remove disabled uri input

* clone/setup git repository

* git branches

* log modal and branches modal

* git staging modal

* delete unused file

* remove unused test

* fix test lint

* fix e2e test

* display the correct file type in the staging modal

* fix check all checkboxes
2022-12-15 15:04:38 +00:00
Filipe Freire
25cd66fd1a Fix grpc prerelease smoke check 2022-12-15 14:28:07 +00:00
Filipe Freire
b6512c5262 Bump app version to 2022.7.0 and lerna package versions 2022-12-15 12:38:38 +00:00
Filipe Freire
592d8a3a4b v3.7.0 2022-12-15 12:38:22 +00:00
Jack Kavanagh
59ad93d2b9
Fix gRPC reflection duplicate import error (#5525)
* use fork temporarily

* package lock

* use kong fork of protobuf

* package lock

* re-add proto-loader

* package lock
2022-12-15 11:54:07 +00:00
Filipe Freire
a73028ac8d
Fix INS-2212 removing import in request pane (#5528)
* Fix INS-2212 removing import in request pane

* Fix lint
2022-12-15 11:27:18 +00:00
James Gatz
a0919a40d7
disable generating new requests only on spec errors (#5527) 2022-12-15 10:51:20 +00:00
Filipe Freire
b53187c908
Remove import for existing workspace (#5524)
* Remove import for existing workspace

* remove the new button click from all smoke tests

Co-authored-by: jackkav <jackkav@gmail.com>
2022-12-14 17:47:49 +00:00
Jack Tysoe
46bb161134
Enable automated security plugins at the service (root spec) level (#5378)
* feat(plugins): enable support for service-level security definition plugins

* feat(plugins): add tests for service-level security plugins

* fix(syntax): match regexes to last commit

* fix lint

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-12-14 15:30:56 +00:00
Jack Kavanagh
1bb9607c39
gRPC server reflection support (#5518)
* eliminate grpc paths

* add fake reflection ux

* add grpc packages

* basic ux

* first working pass

* package lock

* reset selected protofile

* fix types

* ssl

* improve naming

* remove deprecated grpc url parse

* remove broken test

* replace grpc proto PR test with reflection
2022-12-14 12:27:39 +00:00
James Gatz
5b683f05df
Use OAS ruleset from the root of the repo directory if it exists (#5520)
* read file from git path

* Fix using the default oas ruleset when none is found in the repo

* display warning and info messages from oas lint
2022-12-14 11:58:24 +00:00
Jack Kavanagh
ed34090384
Support custom spectral ruleset in inso (#5488)
* first pass

* package lock

* provided ruleset is not an object

* works

* support multiple extensions

* fix test

* lower coverage threshold

* remove unused test

* remove only
2022-12-14 12:47:28 +01:00
Filipe Freire
e26a01815c
Tidy Plugins' README files (#5513) 2022-12-14 08:52:08 +00:00
Jack Kavanagh
4fb50c3b81
error route: add clipboard copy (#5514)
* add clipboard copy

* make error selectable
2022-12-14 08:51:49 +00:00
Filipe Freire
ecf4c0ef65
Add server reflection to smoke test grpc server (#5517)
* Add server reflection to smoke test grpc server

* remove unnecessary proto file
2022-12-13 21:34:15 +01:00
kreosus
a1cb079012
Open generate code and copy as curl (#5499)
* Added Open Generate code and copy as curl test

* Improvements to the Generate code test
2022-12-13 17:46:54 +00:00
Jack Kavanagh
d76981ae4a
remove duplicate button (#5515) 2022-12-13 17:34:15 +00:00
Jack Kavanagh
b39ee5bc4b
toggle auto fetch (#5516)
* fix automatic fetch

* simplify gql state
2022-12-13 17:33:37 +00:00
Filipe Freire
adff1ca22b Merge branch 'release/2022.7.0-alpha.0' into develop 2022-12-12 18:48:56 +00:00
Filipe Freire
b5130b6086 Bump app version to 2022.7.0-alpha.0 and lerna package versions 2022-12-12 17:56:28 +00:00
Filipe Freire
205d0b0d2d v3.7.0-alpha.0 2022-12-12 17:56:14 +00:00
Filipe Freire
d03932040c
Fix Windows code signing paths (#5508) 2022-12-12 17:53:48 +00:00
Filipe Freire
9fa5fe5f2e
Enable Windows Code-signing using ssl.com esigner (#5506)
* Revert previous change

* add code signing steps on release-publish

* rename secret

* fix path
2022-12-12 13:13:35 +00:00
Filipe Freire
b3ce4ece0a
Revert Code Signing workaround (#5438) 2022-12-12 11:01:21 +00:00
Jack Kavanagh
bd61bcfd14
ca cert support (#5498)
* exploration of new data model

* POC second pass

* fix

* fix types

* improve layout
2022-12-09 16:30:58 +00:00
Jack Kavanagh
fad836d478
decouple grpc request from redux (#5500)
* move proto file modal under grpc request

* delete some stuff

* remove spinner from request row for now

* sync grpc state

* add change type

* clean up

* remove extra bridge method
2022-12-09 12:26:15 +01:00
Filipe Freire
792bf7034d
Add prerelease grpc smoke tests (#5480)
* Add prerelease grpc smoke tests

* Wrap up smoke tests

* small improvements

* Remove duplication
2022-12-07 10:33:15 +00:00
kreosus
4f7305084f
Pin a request (#5487)
* test to rename a request

* added Delete Request test

* added filter by folder test

* added Pin a request test

* minor improvements

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-12-06 12:01:30 +00:00
SIX Douglas
f39d47b5bd
Import multiple envs when importing OpenAPI3 (#4254)
* feat(import): import multiple envs when importing OpenAPI3

When the OpenApi file to import contains multiple servers, import each one as an environment.

Closes #3627

* feat(import): import multiple envs when importing OpenAPI3

When the OpenApi file to import contains multiple servers, import each one as an environment.

Closes #3627

* fix lint and tests & rebase with latest develop

Co-authored-by: SIX Douglas <douglas.six@ext.adeo.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-12-05 11:31:43 +00:00
Jack Kavanagh
cfc1ac09aa
Refactor/pre request routing (#5481)
* improve prop typings

* tidy up error a little
2022-12-05 12:18:30 +01:00
Filipe Freire
a2a6b4bce8
Bump to Electron 22 (#5479)
* Bump to Electron 22

* fix type-check
2022-12-02 14:06:50 +00:00
Filipe Freire
327450cd77
[INS-2174] fixes create new plugin issue (#5473) 2022-12-01 13:20:56 +00:00
Jack Kavanagh
171674c80a
simplify grpc and align with websockets (#5472)
* aligning

* remove load methods abstraction

* move load methods over the bridge

* flatten protomanager

* remove default export

* flatten write protofile

* flatten more

* simplify method typing

* remove uneeded useEffect

* consistent connection close

* consistent nunjucks error handling
2022-12-01 14:05:45 +01:00
Vincenzo De Petris
fe4df702dd
Always generate base environment id when importing (#4378)
* Always generate base environment id when importing

* add unit test

* fix lint

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-11-30 17:53:49 +00:00
kreosus
3fe9981531
Filter by request (#5467) 2022-11-30 09:51:36 +00:00
Filipe Freire
506b73398a Merge branch 'release/2022.7.0-beta.6' into develop 2022-11-29 18:54:06 +00:00
Filipe Freire
95f4147df1 Bump app version to 2022.7.0-beta.6 and lerna package versions 2022-11-29 17:46:52 +00:00
Filipe Freire
a68edf5527 v3.6.1-beta.5 2022-11-29 17:46:35 +00:00
Jack Kavanagh
5c5b3d0eb2
move grpc logic into main folder (#5466)
* co-locate grpc methods

* replace call-cache with map

* type grpc request bridge

* remove json parse duplication

* remove reply abstraction

* further unpacking

* fix types

* fix tests

* align channel naming convention

* fix types
2022-11-29 15:53:45 +00:00
Filipe Freire
df81ad6671
[INS-2083] Prerelease smoke tests for cookie editor (#5450)
* Add cookie editor prerelease smoke test

* wrap up cookie-editor-interactions test
2022-11-29 14:35:23 +00:00
Filipe Freire
8ae4fe710d
Add support for OpenAPI v3.1 (#5459) 2022-11-24 14:24:57 +00:00
Jack Kavanagh
f81bfd68fa
removes right pane swagger preview (#5457)
* removes right pane swagger preview

* package lock

* remove preview from smoke tests
2022-11-24 14:11:09 +00:00
Jack Kavanagh
7f373fbcf7
fix tab selection (#5462) 2022-11-24 13:56:06 +00:00
James Gatz
32e788c49b
Update the design view to use data loading/routing (#5458)
* update design route

* Add button to generate a request collection from an api spec

* move the generate requests button to the bottom
2022-11-24 14:44:31 +01:00
Jack Kavanagh
2a8da1cf40
Refactor/spectral-lifecycle (#5456)
* remove abstraction

* co-location spectral initialisers

* move spectral to main

* move code mirror helper back

* fix lint

* add linting back

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-11-23 16:47:31 +01:00
Filipe Freire
5b2707cb76
Remove insomnia-importers, move it to insomnia (#5455)
* Remove insomnia-importers, move it to insomnia

* fix import
2022-11-23 12:09:18 +00:00
Alexandre ZANNI
81bc0576a3
add keywords to desktop entry (#5454)
fix https://github.com/Kong/insomnia/discussions/5452
2022-11-23 10:32:27 +00:00