Commit Graph

278 Commits

Author SHA1 Message Date
kreosus
e5af9ba6b8
Improve Locators for new create HTTP test (#5406) 2022-11-14 09:10:19 +00:00
Pavlos Koutoglou
7eb3725781
Tabs accessibility (#4944)
* Create a wrapper Tab component

* Used the new Tabs component and remove the button from children from grpc-tabbed-messages

* Used the new Tabs component and remove the button from children from grpc-request-pane

* Used the new Tabs component and remove the button from children from response-pane

* Used the new Tabs component and remove the button from children from request-pane

* Used the new Tabs component and remove the button from children from git-repository-settings-modal

* Used the new Tabs component and remove the button from children from settings-modal

* Used the new Tabs component and remove the button from children from workspace-settings-modal

* Used the new Tabs component and remove the button from children from generate-config-modal

* Used the new Tabs component and remove the button from children from cookie-modify-modal

* Used the new Tabs component and remove the button from children from markdown-editor

* Use react-aria tabs instead of react-tabs

* Delete react-tabs dependency

* Use new tabs component and replace markdown-editor with styled-component instead of using less css

* Created query editor component with styled-components instead of using less css

* Update index.css

* Use new tabs component into cookie-modify-modal

* Use new tabs in general-config-modal

* Use new tabs in settings-modal

* Use new tabs in workspace-settings-modal

* Use new tabs in git-repository-settings-modal

* Use new tabs in request-pane

* Use new tabs in response-pane

* Use new tabs in grpc-request-pane

* Use new tabs in grpc-tabbed-messages

* Use new geury editor component and new tab implementation in websocket-request-pane

* Use new tabs in websockets-response-pane

* Change the package-lock.json file

* Remove className props from TabItemProps

* Fix rendering issue with tabs children and move action buttons above the nested tabs

* Added nested tabs option

* Added nested styling

* Made the grpc-tabbed-messages to be nested tabs

* Fix issue with styles into tablist

* Move less styles to styles component

* Fixed style issue with borders when tab is selected

* Fix styling issues with nested tabs

* Added aria labels for all tabs

* Fixed tab tests

* Fix issue with plugings test

* Remove the outline from selected tab

* Fix scrolling issue with some tab panels

* Remove outline from activity toggle

* Add failing test for the Declarative config and kong kubernetes

* Fixed issue with generate config modal into the panel

* docs and ws request body styling

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-11-11 19:38:30 +01:00
kreosus
8a450c00d4 INS-2137 Create a new HTTP smoketest 2022-11-10 11:54:13 -06:00
James Gatz
492a48927b
Add organization routes (#5395)
* Move page layout styles to page layout component

Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com>

* load organizations in root route

* update github stars button styles

* add app header

* add organizations navbar

* org model

* button xs size variant

* add statusbar

* update workspace card labels

* organization route

* update project view styles

* add account toolbar in header

* add project sidebar

* add workspace navigation

* add git sync dropdown

* guard against existing project

* update styles

* update modal styles

* guard against vcs and offline mode

* make new workspace modals cancellable

* remove unused test

* update delete project redirects

* add account settings option in account dropdown

* remove unused dropdown

* filter backend projects by existing workspaces

Closes INS-2127

* add sync dropdown for collections

* update dashboard tests

* fix lint

* fix rebase

* update styles

* fix horizontal layout resize

* fix duplicate modal action

* update app initialization code and remove logic from redux

* update views on login and clear the pull dropdown on project change

* fix prop error

* update tests

* redux test fix

* initialize the redux navigation state by the initial location

* validate previous location history entry or use default

* update analytics modal styles

Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: Mark Kim <mark.kim@konghq.com>
2022-11-10 12:11:21 +00:00
kreosus
95babda62e
Adding initial test for debug-sidebar (#5393)
* Adding initial test for debug-sidebar

* Add data-testids to interact with dropdowns better

Co-Authored-By: kreosus <59621250+kreosus@users.noreply.github.com>

* Rename testHandle to dataTestId

Co-authored-by: kreosus <kreosus@users.noreply.github.com>

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: kreosus <kreosus@users.noreply.github.com>
2022-11-09 14:34:34 +00:00
Filipe Freire
9d52b50984
[INS-2122] Fix Send/Connect test flakes (#5391)
* add check for ws urls before connecting to avoid flake

* add checks for oauth to avoid flake
2022-11-08 10:50:53 +00:00
Jack Kavanagh
129b7fca51
show introspection button more resilient to fetch (#5386)
* make show more resiliant

* add assertion that schema is fetched

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-11-04 17:53:28 +00:00
Jack Kavanagh
b19c4ec857
skip analytics in ci (#5385)
* skip analytics in ci

* fix incognito mode env var not working on build

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-11-04 17:32:12 +00:00
Filipe Freire
d2bfee8d87 Bump app version to 2022.7.0-beta.4 and lerna package versions 2022-11-02 15:05:46 +00:00
Filipe Freire
8bc11f2b89 v3.6.1-beta.3 2022-11-02 15:05:27 +00:00
kreosus
1a09035743
INS-2087 Prelease Test for Plugins (#5337)
Co-authored-by: Filipe Freire <filipe.r.freire@gmail.com>

Co-authored-by: Filipe Freire <filipe.r.freire@gmail.com>
2022-10-27 17:04:45 +00:00
Filipe Freire
d3bded4fe0
[INS-2078] Dashboard PreRelease tests (#5330)
* [INS-2077] Dashboard PreRelease tests

* Add create,rename,delete project test

* Add test for filter in the dashboard

* Rename/duplicate/delete collection & design tests
2022-10-27 17:49:45 +01:00
Filipe Freire
c501ae9963
Add /delay endpoint to WS express server (#5326) 2022-10-26 08:38:10 +00:00
Jack Kavanagh
4f9027ad94
bump electron 21 (#5173)
* bump electron 20

* bump to 21

* use node 16.16

* remove and bump deps

* package.lock

* fix package lock

* try 21.0.0

* oops

* remove ts-node

* package locks

* fix redirect and eror handling

* remove console.log

* remove react 18 override

* fix import

* update react-virtual api

* bump node-libcurl and electron

* bump node-libcurl to 2.3.5-6

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-10-21 14:41:00 +00:00
kreosus
ba39cbe955 Bump app version to 2022.7.0-beta.3 and lerna package versions 2022-10-20 10:57:32 +00:00
Filipe Freire
45845f7fe3
[INS-2051] Reorganize smoke tests README (#5264)
* [INS-2051] Reorganize smoke tests README

* Add images to smoke-tests readme

* Split CLI part of doc, rm notes

* Reorganize README a bit

* edit intro

* playwright badge
2022-10-19 08:58:49 +01:00
kreosus
a29f1c952b Bump app version to 2022.7.0-beta.2 and lerna package versions 2022-10-13 16:58:19 +00:00
James Gatz
09cf77c4ef
Move insomnia-components in the insomnia package (#5259)
* Move insomnia-components in the insomnia package

* remove extra tooltip components

* remove button from portal plugin

* remove insomniaComponent injection

* move spec editor sidebar

* move breadcrumb component

* move toggle-switch

* move table/notice-table

* remove unused switch component

* move header to app-header

* move card

* move card-container to wrapper-home

* Remove unused multi-switch and radio-group

* move svg icon and auto-run convert-svg command

* move list-group

* move button components into themed-button

* move dropdown

* remove auto-conversion of svg from npm scripts

* track svg icon components to git

* remove react-switch and framer-motion

* remove sidebar panel, fix lint

* remove animate blocks

* fix types, remove value from dropdown item

* remove button

* ignore svgr config

* update dropdown unit tests

* allow unreachable

* oauth e2e test: update locator to make the Create button specific

* fix type errors

Co-authored-by: jackkav <jackkav@gmail.com>
2022-10-12 22:26:11 +02:00
Filipe Freire
5bba2e9545
[INS-2022] Initial exploration multiple test projects (#5244)
* Initial exploration multiple test projects

* Replace duplicate scenario with one to be filled in

* Simplify number of playwright project configs

* Fix testMatch setting on playwright config

* Edit github actions to distinguish between CI and Release runs
2022-10-11 08:56:12 +00:00
kreosus
a2d503da08 Bump app version to 2022.7.0-beta.1 and lerna package versions 2022-10-06 13:38:10 +00:00
Mark Kim
edad158d65
[INS-1979] Add disconnect dropdown (#5236)
* add disconnect dropdown

* remove console

* add style fix for ux

* add e2e tests

* rename

* Simplify the smoke websocket smoke tests

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-10-04 09:49:41 -04:00
Filipe Freire
b90b5c993e
Chore: bump playwright to 1.26.1 (#5240) 2022-10-04 08:47:22 +00:00
Jack Kavanagh
37a6c83c5a
[INS-2017] add ws subprotocol support (#5238)
* add protocol support

* add test protocol
2022-10-03 11:19:26 +01:00
kreosus
123253811c Bump app version to 2022.6.0 and lerna package versions 2022-09-26 16:08:47 +00:00
David Marby
814791f9f1
Send and store cookies for websocket requests (#5205)
* Send and store cookies for websocket requests

* Lowercase for consistency
2022-09-22 10:48:43 +02:00
Mark Kim
bbb47524a7
[INS-1804] Add Query Tab for WebSocket (#5177)
* add query tab

* clean

* add disabling functionality

* Update packages/insomnia/src/ui/components/websockets/action-bar.tsx

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* Update packages/insomnia/src/ui/components/websockets/action-bar.tsx

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* Update packages/insomnia/src/ui/components/websockets/action-bar.tsx

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* add renaming to resolve conflicts

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2022-09-14 14:58:48 +00:00
James Gatz
0373bb578b
Initial WebSocket support (#5043)
* [INS-1697] Create WebSocket Request (#5041)

* add fail safe

Co-authored-by: Mark Kim <mark.kim@konghq.com>

* Websockets IPC API (#5044)

* add url to ws-request model

* fix webSocketRequest typo and add url

* add websocket api and expose it through preload ipc

* add typings

Co-authored-by: Mark Kim <mark.kim@konghq.com>

* [INS-1701] Create/Close Websocket Connection (#5046)

* add websocket action bar and its components

* remove comments

* clean up

* reflect on the electron api

* remove unused files

* import name change

* add styling

* remove commet

* add suggested changes

* remove default value

* Add WebSocketRequest to sidebar and update types (#5048)

* [INS-1700] Delete Websocket Request (#5055)

* add websocket actions dropdown

* add actions to websocket request in sidebar

* [INS-1703] Display WebSocket messages - first pass (#5054)

* Update event types to improve inference

* Update websocket response pane to fetch/subscribe and display the events

* [INS-1693] Add WS echo server for smoke tests (#5050)

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

* fix sidebar unit tests (#5064)

* [INS-1776] adds `ws` dependency explicitly (#5066)

* [INS-1702] WebSocket Send Message (#5052)

* add initial changes for websocket message

* add abstraction for db operation and websocket operation

* remove console

* add rename

* add basic testing

* add basic testing

* add unit tests

* add form event type

* add comments

* disallow exporting context directly

* add suggested changes

* refresh the query

* using useDeepCompareEffect

* rename variable

* add mock

* clean up

* clean up

* correct the file name

* add some changes

* removing nedb-context and its hooks

* remove database changes for event sending

* [INS-1778] Fix Global Module Typing Issue (#5065)

* fix typings

* add jest import

* [INS-1703] View WebSocket Messages (#5074)

* save changes

* add styles and move files around

* remove unused code

* clean up some components

* add clean up

* add timestamp component

* add unit tests

* add case

* add style changes

* [INS-1786] WebSocket headers tab (#5080)

* first ui pass

* extract and wire up bulk editor

* raise ready state, move send

* add upgrade header debug logs

* can pass header to websocket upgrade

* implement readOnly headers

* add upgrade event and sent headers

* clean up

* fill out http upgrade into the event

* change upgrade message

* read only headers while connected

* remove upgrade event

* revert bulk editor change

* fix header editable toggle

* add nunjucks todos

* improve readOnly implementation

* disable codemirror/nunjucks for websocket headers

* take calculated headers out of the data model

* move hardcoded default headers down the tree

* fix request url rendering issue

* removed spammy warning

* clarify prop name

* refine pair typing

* change placeholder

* remove readOnly header property

* fix readOnly header layout

* Update packages/insomnia/src/ui/components/dropdowns/websocket-request-actions-dropdown.tsx

* Show HTTP->WS upgrade (handshake) (#5091)

* first pass as event

* add handshake ui

* add timeline tab

* simplify ResponseTimelineViewer

* transform res debug modal to change timeline props

* decouple timeline fetching from timeline component

* timeline ui pass

* record headers in request and response models

* can view timeline history

* write timeline to file

* some timeline

* can persist event logs

* put interface beside usage

* add note

* add event log history

* remove table event row

* tidying up

* make ws colors match

* enable multiple open connections

* close open connections at app exit

* remove old test

* Update packages/insomnia/src/models/request-version.ts

* fix type

* default readystate

* fix preview css scroll

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* INS-1788: Add control flow to improve responsiveness. (#5094)

* INS-1788: Add control flow for responsiveness.

This prevents events from flooding the UI thread entirely.

* Add additional code comments.

* fixup: webSocketEvent -> webSocketEvents

* display response headers (#5102)

* Show errors in timeline (#5100)

* remove unused context provider

* show errors in event tab

* updates timeline with message and close

* clean up

* show errors in timeline

* fix WebSocket capitalisation

* make timeline reader specific to ws

* write outbound messages to the timeline

* fix type

* Make the head row sticky in the events table (#5103)

* Add client certificate support to websocket connections (#5112)

* [INS-1810] close connection on response change (#5104)

* close ws connection when response is changed

* add delete logic for the queue mapg

* set error response to active response

* useRef for CodeEditor

* extract closeRequest

* use requestId to eliminate inconsistencies

* refactor extract clean up methods

* timeline feedback

* change type annotation

* fix type

* Revert "use requestId to eliminate inconsistencies"

This reverts commit 98335a927e.

* [INS-1803] show cookie tab in response pane (#5105)

* hard code sending and storing to true

* make tab naming consistent

* hard code cookie settings to false

* fix headers isDisabled bug

* [INS-1805] Add Auth Header Tab (#5115)

* add minimal change to the auth flow

* add disable state

* adding dropdown disable

* simplify reducer

* fix lint

* [INS-1839] Rename tab Header everywhere (#5119)

* can import/export websocket requests (#5122)

* use responseId for timeline name (#5124)

* add react-virtual to virtualize the event log view (#5126)

* [INS-1833] Include Auth Header in Headers mapping for WebSocket Connection (#5120)

* add auth to the header

* remove console log

* remove unneeded async

* add success redirect logic to websocket server

* add unexpected-response handler

* remove digest auth (#5129)

* remove auth header and outbound message timeline (#5130)

* [INS-1840] Add Connected Status Label and Extras (#5131)

* add status related changes

* text label change

* WebSocket ipc typing proposal (#5125)

* make consistent with main bridge

* rename webSocket

* remove deviated mock

* use consistent arrow function defintions

* Update packages/insomnia/src/main/network/websocket.ts

* Set the environment for websocket responses (#5132)

* first pass (#5123)

* [INS-1843] Add more checks to WS smoke test (#5138)

* Fix failing websocket smoke test

* Add remaining websocket smoke server endopints to fixtures

* Add checks for basic-auth, bearer and redirect

* Rm assertion

* can select payload type (#5133)

* Implement nunjucks rendering for websocket urls, authentication, headers and urls (#5134)

* fix  websocket->webSocket (#5142)

* bug fix (#5144)

* INS-1844: Implement basic event view functionality. (#5146)

* INS-1844: Implement basic event view functionality

* CSS fix to align Preview button with tab buttons.

* Reverse the order of WebSocket events (#5148)

* Reverse the event log order in the view and subscribe to messages after the latest

* WebSocket response model (#5147)

* init websocket-response model

* add websocket response model

* remove unused timeline getter

* remove unused functionality from the ws-response model

* can select and save payload message and preview mode (#5143)

* [INS-1838] Add Empty State (#5140)

* add empty state

* use the empty state pane

Co-authored-by: gatzjames <jamesgatzos@gmail.com>

* Bug/stabilise-ws-fetch-method (#5152)

* just poll

* remove cts and eventlog channel

* Fix/nitpicks (#5156)

* remove unused names

* fix copypasta icon

* ensure all subcompnent drop state on request change

* move empty state to response pane

* add websockets to quick switch (#5159)

* [INS-1800] Remove value validity check in the WebSocket headers (#5154)

* remove valid value check in the headers

* add header name filtering

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Mark Kim <mark.kim@konghq.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
Co-authored-by: John Chadwick <86682572+johnwchadwick@users.noreply.github.com>
Co-authored-by: David Marby <david@dmarby.se>
2022-09-09 14:53:28 +00:00
kreosus
674874e3ac Bump app version to 2022.6.0-beta.4 and lerna package versions 2022-09-01 12:08:01 +00:00
kreosus
02f507d745 Bump app version to 2022.6.0-beta.3 and lerna package versions 2022-08-25 12:30:08 +00:00
Filipe Freire
854c08a76e Bump app version to 2022.6.0-beta.2 and lerna package versions 2022-08-18 12:23:48 +00:00
David Marby
e724dd78a5 Bump app version to 2022.5.1 and lerna package versions 2022-08-17 10:46:46 +00:00
kreosus
aec2bd1758 Bump app version to 2022.6.0-beta.1 and lerna package versions 2022-08-11 19:06:36 +00:00
Filipe Freire
b72c923746 Bump app version to 2022.5.0 and lerna package versions 2022-08-02 16:25:13 +00:00
Filipe Freire
08ae04f241 Bump app version to 2022.5.0-beta.7 and lerna package versions 2022-08-02 10:05:29 +00:00
James Gatz
e76735c709 Bump app version to 2022.5.0-beta.6 and lerna package versions 2022-07-28 13:48:13 +00:00
Jack Kavanagh
96bd20ad86
fix e2e test/consistent buttons (#4999)
* fix e2e test/consistent buttons

* fix checks

* double test timeout
2022-07-25 11:34:34 +00:00
David Fluck
e930140bd0 Bump app version to 2022.5.0-beta.5 and lerna package versions 2022-07-21 17:33:22 +00:00
kreosus
68541bdab9 Bump app version to 2022.5.0-beta.4 and lerna package versions 2022-07-14 14:02:53 +00:00
James Gatz
b00b582c3d
use the window event to get the oauth refresh page (#4955) 2022-07-12 19:14:07 +02:00
Filipe Freire
2af3eff41b Bump app version to 2022.5.0-beta.3 and lerna package versions 2022-07-07 15:37:58 +00:00
Filipe Freire
0e0591262b
Chore: bump playwright to version 1.23.0 (#4914) 2022-07-01 16:44:42 +00:00
David Marby
946b5627bc Bump app version to 2022.5.0-beta.2 and lerna package versions 2022-06-30 08:10:31 +00:00
Dimitri Mitropoulos
ed3aad6046
tsconfig cleanup (#4908) 2022-06-27 12:57:50 -04: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
b400eb1160 Bump app version to 2022.5.0-beta.1 and lerna package versions 2022-06-23 14:10:00 +00: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
Jack Kavanagh
6707e5889d Bump app version to 2022.5.0-beta.0 and lerna package versions 2022-06-16 09:58:24 +00:00
David Marby
b24d30a21d Merge branch 'release/2022.4.1' into develop 2022-06-15 19:26:05 +02:00
Filipe Freire
07c5b0cc66 Bump app version to 2022.4.1 and lerna package versions 2022-06-15 09:56:45 +00: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
Filipe Freire
2d6d9ec37f Bump app version to 2022.4.0 and lerna package versions 2022-06-09 08:05:54 +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
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
Mark Kim
35f5094048 Bump app version to 2022.4.0-beta.3 and lerna package versions 2022-06-02 13:20:00 +00: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
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
52393eccc0
chore(deps): upgrades jest to 28 (#4783) 2022-05-17 08:18:06 -04: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
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
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
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
Jack Kavanagh
d16eaa553f
add grpc test (#4746) 2022-05-02 16:00:19 +02:00
David Marby
1ee7c198f1 Merge branch 'release/2022.3.0' into develop 2022-04-28 15:05:00 +02:00
Jack Kavanagh
4a56db0560
remove unused deps (#4730)
* restore packages used in scripts

* package lock
2022-04-28 12:36:05 +00:00
David Marby
e7730587ef Bump app version to 2022.3.0 and lerna package versions 2022-04-22 11:53:32 +00:00
David Marby
b8c0c7fd41 Sync package-lock.json versions 2022-04-21 22:07:05 +02:00
David Marby
5f6f0edd39 Merge branch 'release/2022.3.0-beta.4' into develop 2022-04-21 19:50:06 +02:00
John Chadwick
776a5148a5
Fix for CVE-2021-3777 (rebased) (#4716)
* Add .whitesource configuration file

* Added GitHub Sync action to repository.

* Fixed CVE

nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity

Updated from 1.0.4 to 1.0.5.

Publish Date: 2021-09-15

URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2021-3777

* Delete ibm_fork_sync.yml

* Delete .whitesource

Co-authored-by: whitesource-bolt-for-github[bot] <42819689+whitesource-bolt-for-github[bot]@users.noreply.github.com>
Co-authored-by: Ivan Pedrero <pedrero.ivan@hotmail.com>
2022-04-20 19:37:14 +00:00
Dimitri Mitropoulos
213e1dd1c8
rename insomnia-app/app to insomnia/src (#4491) 2022-04-20 17:42:19 +00:00
David Marby
0d46d18847 Bump app version to 2022.3.0-beta.4 and lerna package versions 2022-04-20 15:19:38 +00:00
Filipe Freire
1972347cca
Chore: bump playwright version to 1.20.2 (#4681) 2022-04-08 14:18:41 +01:00
Filipe Freire
03fdd2eb7d Bump app version to 2022.3.0-beta.3 and lerna package versions 2022-04-07 16:59:54 +00:00
Dimitri Mitropoulos
9700e7bde8
Remove flow (and webpack) from portal plugin, replace with TS and ESBuild (#4650) 2022-04-04 12:17:01 +00:00
Filipe Freire
273b26b0b4 Bump app version to 2022.3.0-beta.2 and lerna package versions 2022-03-31 14:28:34 +00:00
Filipe Freire
298f394e3b Bump app version to 2022.3.0-beta.1 and lerna package versions 2022-03-28 15:17:18 +00:00
Filipe Freire
eb9fa48e14
All dependabot PRS 2022 03 24 (#4636)
* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-config

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-testing

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-smoke-test

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/openapi-2-kong

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-send-request

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* Bump minimist from 1.2.5 to 1.2.6 in /packages/insomnia-inso

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

* (temp) run bootstrap

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 10:19:20 +00:00
David Marby
f96d151371 Bump app version to 2022.3.0-beta.0 and lerna package versions 2022-03-24 12:33:04 +00:00
Filipe Freire
a4369bea1e Merge branch 'release/2022.2.1' into develop 2022-03-23 09:53:07 +00:00
Filipe Freire
ef855863e2 Bump app version to 2022.2.1 and lerna package versions 2022-03-21 15:13:28 +00:00
Dimitri Mitropoulos
abea565f83
updates cross-env to latest (from prior: August 2016 version) (#4551) 2022-03-18 15:41:46 +00:00
James Gatz
47d2a71279
Add GitHub OAuth for git repos (#4429)
* add sign in with github

* fix authentication url not being reset

* Add error handling for graphql query results

* move desctructuring to function arguments

* remove unused input prop

* Respect INSOMNIA_DATA_PATH for electron data regardless of environment

* fix lint error and update uuid usage

Co-authored-by: David Marby <david@dmarby.se>
2022-03-18 10:57:12 +01:00
David Marby
ba785e6731 Merge branch 'release/2022.2.0' into develop 2022-03-17 17:09:19 +01:00
Dimitri Mitropoulos
d6bd357573
chore(deps): update uuid (#4600) 2022-03-17 12:56:11 +00:00
Jack Kavanagh
f3a956f17d inso: shim more of the window (#4596) 2022-03-16 17:23:36 +01:00
Dimitri Mitropoulos
28c1a66e9c
dependabot PRs as of 2022 03 16 (#4598)
* Bump lodash from 4.17.19 to 4.17.21 in /packages/insomnia-smoke-test

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

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

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

* Bump urijs from 1.19.7 to 1.19.10 in /packages/insomnia-send-request

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.7 to 1.19.10.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.7...v1.19.10)

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

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

* Bump urijs from 1.19.6 to 1.19.10 in /packages/insomnia-inso

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.6 to 1.19.10.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.6...v1.19.10)

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

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

* runs bootstrap

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 14:05:14 +00:00
Jack Kavanagh
b41b13a99d
inso: shim more of the window (#4596) 2022-03-16 12:05:12 +00:00
Jack Kavanagh
4c657d4e5b
remove :smoke (#4597) 2022-03-16 09:36:41 +00:00
David Marby
1cd225a9f5 Bump app version to 2022.2.0 and lerna package versions 2022-03-15 11:18:53 +00:00
David Marby
d3b4322bf2
Fix lerna version bumps and don't run release recurring for release PRs (#4576) 2022-03-10 16:58:42 +01:00
David Marby
6f81d98125 Bump app version to 2022.2.0-alpha.0 and lerna package versions 2022-03-10 12:00:04 +00:00