Commit Graph

425 Commits

Author SHA1 Message Date
Filipe Freire
df77275576
chore: Add test to check for backups on new version to critical tests (#6403)
* chore: Add test to check for backups on new version to critical tests

* check for backups folder contents

* change env var on gh actions file

* fix
2023-08-28 14:06:47 +00:00
James Gatz
81039277af
Project route UI improvements (#6400)
* project tailwind/aria-components

* update tests

* add failing test

* update e2e tests

* fix workspace name issue

* fix scroll issue

* bye test

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-08-28 15:53:37 +02:00
Jack Kavanagh
5407006663
Paste curl modal (#6384)
* remove pad left on pinned

* refactor filter logic

* first pass

* always create new curl req

* use terminal icon

* fix from curl folder

* wire up request create

* fix paste curl in url bar

* fix types

* fix test

* fix for initial draw isvalid check

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-08-25 15:18:48 +00:00
Jack Kavanagh
4c7a49c270 Bump app version to 2023.5.6 2023-08-22 23:28:03 +02:00
James Gatz
15edd954a4
UI improvements - Debug Sidebar - drag and drop sort and filter (#6323)
* make it work

* wip

* manual sort

* wip

* fix dnd

* collapsed sub-folders

* fix reorder on scroll

* ws, grpc labels

* environments modal

* draft-filter

* ancestors

* sorting take 2

* pin/unpin

* drag and drop only for manual sort order

* context menu actions

* remove react-dnd

* request group plugins

* plugin actions

* cleanup type

* more type cleanup

* remove unused file

* add connection status for ws/sse

* update smoke tests

* cleanup condition in reorder action

* await await

* plug pluggins

* update prerelease tests

* prerelease tests

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-22 16:12:29 +00:00
Filipe Freire
59c07bc461
fix: #6334 updating requestgroup caused render error (#6342)
* fix: #6334 updating requestgroup caused render error

* add test

* fix rename

* redirect on move

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-22 09:18:25 +02:00
Jack Kavanagh
d8d8dcda83 Bump app version to 2023.5.5 2023-08-18 21:39:03 +02:00
Jack Kavanagh
e4b443fec5 Bump app version to 2023.5.4 2023-08-18 11:19:59 +02:00
Jack Kavanagh
8fa8b9beb8
fix export from outside workspace (#6307)
* add test

* simplify export requests modal logic

* fix export

* fix type check

* fix test
2023-08-18 11:19:35 +02:00
Jack Kavanagh
5ecc3aba4a
Fix/prerelease-tests-again (#6322)
* fix cookie flake

* fix dropdown selector
2023-08-18 10:38:19 +02:00
Jack Kavanagh
f83ccbb36f
Fix/prerelease-tests (#6314)
* dashboard tests

* fix prerelease tests
2023-08-17 15:18:48 +01:00
Jack Kavanagh
3d4c4dd2d4
fix (#6303) 2023-08-16 22:24:29 +02:00
Jack Kavanagh
360abe2d31 Bump app version to 2023.5.3 2023-08-16 09:47:42 +00:00
Jack Kavanagh
2d3e4e4b3c
Paste from Curl (#6295)
* test curl fill

* clean up updatemimetype

* clean up mime type setting

* add from curl request type

* remove paste handling

* add request group dropdown button

* fix test

* comment out from curl test
2023-08-16 11:45:20 +02:00
Jack Kavanagh
cd839dafea Bump app version to 2023.5.2 2023-08-15 11:29:03 +00:00
Jack Kavanagh
917905e27e
fix httpsnippet validation error (#6283)
* add e2e

* add check for curl output

* match up httpsnippet versions

* remove ajv
2023-08-15 13:26:55 +02:00
Jack Kavanagh
671167013a Bump app version to 2023.5.1 2023-08-15 06:43:05 +00:00
Jack Kavanagh
c4cd2c2386 Bump app version to 2023.5.0 2023-08-14 21:16:00 +02:00
Jack Kavanagh
b58cd5f2b0 Bump app version to 2023.5.0-beta.13 2023-08-14 07:14:10 +00:00
Jack Kavanagh
f9bd4ff82a
fix: http request loading indicator (#6265)
* flatten url bar

* flattening continued

* more flat

* more more flat

* fix lint

* flatten network send into one call

* unpack send everywhere

* remove send with settgins

* fix types

* fix bug in download

* contain interpolation and modal

* abstract render try catch

* send action

* extract to file

* remove plugin ignore code

* remove unused

* unpack misc functions

* less misc functions

* readd inso tests

* split test runs

* fix test

* fix test

* fix test

* use workspace pathing

* remove check-engine

* add tech debt list
2023-08-13 12:30:04 +02:00
Jack Kavanagh
87953708ab
git sync ux add->authenticate (#6260)
* add->authenticate

* update doc

* fix test
2023-08-11 11:54:39 +00:00
Jack Kavanagh
96011e8db5
add critical smoke tests to avoid broken beta deploy (#6259)
* fix lint errors

* use only ubuntu for tests

* add critical test to release recurring

* fix path

* fix paths again
2023-08-11 08:22:01 +00:00
Jack Kavanagh
3fbd5a48d9
add inso/node-libcurl cli docs (#6256)
* add inso doc

* fix doc
2023-08-10 21:03:54 +00:00
Filipe Freire
7b3d04c830
chore: smoketests ubuntu only (#6255)
* chore: smoketests ubuntu only

* rename screenshot to traces

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-10 17:53:18 +02:00
Jack Kavanagh
42a6271041 Bump app version to 2023.5.0-beta.12 2023-08-10 13:05:37 +00:00
Jack Kavanagh
175921e40d
Chore/fix-install-warnings (#6243)
* gql

* lock file

* upgrade jwt-auith to httplease-asap

* upgrade vite dep

* bump ts eslint parser

* match gql versions

* fix test

* fix package
2023-08-10 13:37:37 +02:00
Filipe Freire
5bd2fa1f1a Bump app version to 2023.5.0-beta.11 2023-08-10 09:54:04 +00:00
Filipe Freire
9800ad5aee
chore: use npm workspaces (herecles) (#6193)
* chore: use npm workspaces

* edit workspaces

* fix

* fix

* force workspace order

* fix lock?

* define max_old_space_size on CI

* rm unnecessary bootstrap

* fix

* cleanup package.json

* bump vite and re-add build to bootstrap

* define paths on tsconfig

* fix some things

* add mocha to vite config

* bump mocha

* remove tsconfigs and project refs

* cache npm install

* fixed types

* assing repo root

* merge lint configs

* fix clean

* fix tests

* setup node

* lockfile

* fix bump

* fix lint markdown

* temporary disable inso tests

* dont use rimraf

* simplify clean

* fix version

* lockfile

* inso build

* fix lint

* lock file

* remove cleans

* remove unused

* tslib hack

* redownload node-libcurl

* rm version from scripts

* fix extrainfo bug

* use npm version

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-10 00:14:16 +02:00
Jack Kavanagh
cf7e7797bb v3.19.0-beta.9 2023-08-08 07:04:39 +00:00
jackkav
a8e436ea1d fix prerelease tests 2023-08-04 22:30:00 +02:00
Jack Kavanagh
3bc1f6e713 v3.19.0-beta.8 2023-08-04 18:40:18 +00:00
Jack Kavanagh
454319f487
remove redux (#6225)
* workspaces fetcher

* sync items branches

* cond render two sync modals

* use ws loader

* move vcs hook

* remove redux

* remove redux

* lock file

* fix prerelease
2023-08-04 19:17:18 +02:00
Jack Kavanagh
52e969d803
response routing (#6214)
* pass 1

* refactoring notes

* simplify select children

* remove switcher

* add responses

* filter by env

* patch settings

* patch settings

* remove selector

* history dereduxed

* move folder settings to conditional render

* fix types

* fix types

* fix types

* fix types

* fix lint

* migrate group settings to remix

* fix use effects

* conditional render of export modal

* more sidebar refactoring

* unpack sidebar children in export list

* unpick sidebar children

* clean up

* remove console log

* mostly working connect

* clean up

* conditionally render cookie modals

* cond render env modal

* cond render sync delete

* fix

* fix

* flatten syncitems

* remove helper

* clean

* fix grpc initial re-render

* redirect to last active request

* optimize

* fix lint

* improve typing

* add settings hotkey

* env modal hotkey

* remove active response null setting

* fix shakey test

* move delete response to action

* fix type

* fix windows flake

* cond render sync branches

* fix loading bug

* add spinner

* delete request

* fix stream with temporary hack
2023-08-04 12:42:00 +02:00
Jack Kavanagh
0dd87bbfaf v3.19.0-beta.7 2023-07-28 16:55:48 +00:00
Jack Kavanagh
4c463083a9 v3.19.0-beta.6 2023-07-28 10:08:50 +02:00
Jack Kavanagh
97de81107c
Fix prerelease smoke test flake (#6210)
* flatten

* fix title

* fix button flake and aria labels
2023-07-28 10:08:35 +02:00
Jack Kavanagh
0890889317 v3.19.0-beta.5 2023-07-26 11:35:11 +02:00
Jack Kavanagh
6b9cc35719
redux removal part 2 (#6198)
* remove selectors

* fix type

* fix prerelease plugin test

* remove redux tests

* add cookie jar update function

* fix typing hack

* fix type
2023-07-26 11:34:34 +02:00
Jack Kavanagh
a2340c85f9
speed up app start (#6184)
* lazy load importers

* lazy load jwt auth

* lazy load prettier

* remove config generator plugins

* lazy load httpsnippet

* chore: INS-2815 refactor settings (#6132)

* chore: INS-2815 refactor settings

* check is loggedin

* improvement

* fix test

* fix lint

* cleanup o2k plugins

* fix

* fix test

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-07-24 16:20:22 +02:00
insomnia-infra
3ed29c3da0
🚀 2023.5.0-beta.5 (#6178)
* v3.19.0-beta.4

* Bump app version to 2023.5.0-beta.5 and lerna package versions

---------

Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
2023-07-20 02:12:58 +02:00
Jack Kavanagh
bbf1de0fc7 v3.19.0-beta.3 2023-07-19 22:29:30 +00:00
Jack Kavanagh
29149cb31c v3.19.0-beta.2 2023-07-19 17:28:41 +02:00
Jack Kavanagh
3cdd4c8491
SSE/EventStream support (#6147)
* new request

* add button

* s

* fix formatting issue

* detect event stream

* hide dropdown

* wip

* add basic test

* pass 1 can make connection

* implement event stream open pass 2

* wire up ready state

* wiring up close and error pass 3

* can open and close connections

* clean header

* listen to timeline

* extract options to function

* fix bug in ws

* add debug stuff to timeline

* don't rely on redux to set active response

* fix close type

* rename sse to event stream

* get request flag from request model

* copy websocket response pane

* hide response data

* flatten ws and curl responses

* fix test

* fix catch

* reset file

* use realtime event watcher

* rename some files

* fix types

* fix e2e test

* fix lint

* consistent empty states

* pin to bottom

* remove todo

* add SSE logo

* add sse to readme
2023-07-19 09:58:37 +00:00
Jack Kavanagh
828e56fbfc v3.19.0-beta.1 2023-07-13 17:16:25 +00:00
Jack Kavanagh
6f60482853
fix gitsync (#6152)
* buffer in node rather than the renderer

* handle no internet
2023-07-13 19:09:02 +02:00
Jack Kavanagh
8db34fd7ce
Bump/security (#6139)
* xmldom and protobuf

* bumps

* lock files

* bumps

* remove mkdirp

* fix test

* fix test

* set yaml version

* github flake

* send request bumps

* remove fs-extra

* lockfiles

* update playwright

* fix plugin install

* remove console logs

* fix fetch

* suppress fetch errors

* add typings to insomnia fetch

* remove console logs
2023-07-12 12:14:18 +02:00
Jack Kavanagh
7691ab8c89 v3.19.0-beta.0 2023-07-11 15:25:28 +00:00
dependabot[bot]
985381cd95
Bump protobufjs and @grpc/proto-loader in /packages/insomnia-smoke-test (#6119)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) to 7.2.4 and updates ancestor dependency [@grpc/proto-loader](https://github.com/grpc/grpc-node). These dependencies need to be updated together.


Updates `protobufjs` from 6.11.3 to 7.2.4
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.3...protobufjs-v7.2.4)

Updates `@grpc/proto-loader` from 0.6.13 to 0.7.7
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/proto-loader@0.6.13...@grpc/proto-loader@0.7.7)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
- dependency-name: "@grpc/proto-loader"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 09:07:15 +02:00
Jack Kavanagh
a5c7e431e8
add SEE routes (#6113) 2023-07-07 12:36:41 +00:00
James Gatz
5b7f45e910
Universal Insomnia/Git Sync for all files (documents/collections) (#5945)
* share design documents and tests with insomnia sync

* share collection and documents with insomnia/git sync

* checkpoint

* redirect when cloning (pulling) a new remote project

* backend workspace card

* redirect logic

* local changes styles

* loading indicator

* fix sync button styles

* use interval to refetch git

* open the repo modal first before switching to git sync

* use gitRepositoryId from metadata

* fix sync option update

* cleanup fetcher check

* fixes

* cleanup pull-push

* undo logo change

* clean git-vcs

* use cloud icon for insomnia sync

* cleanup card

* more cleanup

* better return type for fetchfetcher

* update git tests

* fix tests

* fix some prerelease tests

* fix cloning without an api spec

* fix some more tests that expect a file to exist

* fix lint error
2023-07-05 16:51:55 +00:00
Filipe Freire
27bd68efde
chore: bump lerna v6 (#6096)
* chore: bump lerna v6

* edit
2023-07-05 13:22:52 +02:00
Jack Kavanagh
f8c8d93508
Bump/pre-update-modules (#6087)
* bump deps

* lockfiles

* revert oidc bump

* remove dep

* refresh lock files

* refresh insomnia app lock file

* fix test

* more lock files
2023-07-05 08:57:13 +00:00
insomnia-infra
6aa7cf1697
🚀 2023.4.0 (#6086)
* v3.18.0

* Bump app version to 2023.4.0 and lerna package versions

---------

Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
2023-07-04 21:50:03 +02:00
Jack Kavanagh
a48d92ad30 Bump app version to 2023.4.0-beta.0 and lerna package versions 2023-07-03 16:51:25 +00:00
Jack Kavanagh
f7f13b327f v3.18.0-beta.0 2023-07-03 16:51:07 +00:00
Jack Kavanagh
20b4556c85
upgrade pkg (#6001)
* include debug instructions

* remove pkg as a dependency

* fix doc

* add tslib to send-request to fix libcurl pkg bs

* bump pkg to 5.8.1

* remove not needed scripts
2023-06-29 17:25:46 +02:00
Jack Kavanagh
eb0af2e2fe Bump app version to 2023.3.0 and lerna package versions 2023-06-27 18:51:40 +00:00
Jack Kavanagh
ca3191f4c3 v3.17.0 2023-06-27 18:51:25 +00:00
Jack Kavanagh
90b9516d55
make all migration functions non-async (#6043)
* make all migration functions non-async

* migrate is not a promise

* simplify scope migration

* remove apispec and fix test

* fix tests

* fix tests, for real this time

* removed api spec from collection

* default doc name to my-spec.yaml again

* fix apispec typing

* remove pointless generic

* fix type

* Create an api spec on first launch

* Remove flaky firstLaunch data creation

* fix test

* create apispec only when scope is deisgn

* oauth test left

* gitlab test

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2023-06-27 20:46:43 +02:00
Jack Kavanagh
d1106381ee
add support for multiple workspaces in one import file (#6044)
* many ws

* squashed import commits

* split import to project and workspace

* import logic

* fix the collection to design bug

* rename type

* fix tests

* tidy workspace loader

* multiple ws imports should always create new ws

* fall back to default project

* env var to bool

* fix tests

* fix app/import

* provide import context in title

* fix api spec import

* clean up

* ask about private envs everytime

* fix loading

* fix export private dialog
2023-06-27 15:43:51 +00:00
Jack Kavanagh
4b0defdc26
cli flake timeout 20s (#6034) 2023-06-14 14:42:01 +00:00
Jack Kavanagh
9d735b9f4a
upgrade some bundling deps (#6000)
* upgrade some deps

* downgrade execa

* remove get-bin-path

* bin path

* update execa api

* update execa

* update execa

* use old api

* locks

* revert pkg upgrade

* pin pkg at 5.8.3
2023-05-30 09:56:51 +00:00
Filipe Freire
1005897417 Bump app version to 2023.2.2 and lerna package versions 2023-05-17 14:28:10 +00:00
Filipe Freire
5ed99dbc20 v3.16.0 2023-05-17 14:27:49 +00:00
Filipe Freire
62f7f3d74f
chore: fix prerelease environment editor tests (#5964) 2023-05-15 16:20:52 +00:00
Jack Kavanagh
81d85af39c Bump app version to 2023.2.1 and lerna package versions 2023-05-15 14:27:18 +00:00
Jack Kavanagh
3c6cb084f9 v3.15.0 2023-05-15 14:27:04 +00:00
Jack Kavanagh
ea43bacfd2
show errors from the introspection (#5919)
* better error message

* remove log

* use narrower selector

* null check error
2023-05-15 09:06:53 +00:00
Filipe Freire
28f6e1803b
INS-2497: prevent git sync parse failure (#5954)
* INS-2497: prevent git sync parse failure

* fix import and add tests

* CR improvements
2023-05-15 09:03:59 +00:00
Jack Kavanagh
bc5b9c5a36 Bump app version to 2023.2.0 and lerna package versions 2023-04-26 10:15:01 +02:00
Jack Kavanagh
5e21213a8a v3.14.0 2023-04-26 10:15:01 +02:00
Jack Kavanagh
0e55e0682f
oops (#5916) 2023-04-25 14:49:05 +00:00
Filipe Freire
47a1cea2be
Add better support for binary data on WebSocket connections (#5897)
* add /binary data endpoint to smoke test server

* add function to deal with diff event.data types

* step 1

* step 2

* final step

* CR improvements

* update deps & fix type-check
2023-04-24 16:40:51 +00:00
Filipe Freire
53fe8865c8
chore: bump playwright to 1.32.3 (#5904) 2023-04-20 10:13:17 +00:00
gatzjames
afcc5d300e
git prerelease tests update 2023-03-31 20:21:12 +02:00
gatzjames
afff7b1da7
make unary selector more specific 2023-03-31 19:49:33 +02:00
gatzjames
4c7922a046
fix unit test selection 2023-03-31 19:06:46 +02:00
gatzjames
9565391291
use the first sub-environment on new workspace imports 2023-03-31 18:33:41 +02:00
Filipe Freire
17b7cab641 rm workaround on env editor test 2023-03-31 17:28:54 +01:00
Filipe Freire
cb1d3718e2 fix env editor tests 2023-03-31 17:09:31 +01:00
Filipe Freire
443dfc1535 fixes to prerelease smoke tests 2023-03-31 16:46:58 +01:00
Filipe Freire
59019f0fa1 Bump app version to 2023.2.0-beta.1 and lerna package versions 2023-03-31 11:20:12 +00:00
Filipe Freire
44b3f3748a v3.14.0-beta.1 2023-03-31 11:19:54 +00:00
James Gatz
29acc92559
Improve import UX (#5869)
* add import routes and modal

* fix paths

* fix paths

* save

* remove import.ts

* ui

* save

* fix tests

* fix tests

* fix tests

* remove outdated test

* update import tests

* lint and ts fixes

* add section title and fix some style issues

* close modals on import success

* error handling for empty content

* fix api spec imports

* Simplify importResources function

Co-authored-by: Filipe Freire <filipe.r.freire@gmail.com>

* cleanup

* settings import button styles

* remove comment

* update tests

* comment for app-command imports

* fix test lint error

* update comments

* comment out app/import for now

---------

Co-authored-by: Filipe Freire <filipe.r.freire@gmail.com>
2023-03-31 10:53:22 +00:00
Filipe Freire
dc7046f343 Bump app version to 2023.2.0-beta.0 and lerna package versions 2023-03-14 15:26:58 +00:00
Filipe Freire
ceeb05d6e6 v3.14.0-beta.0 2023-03-14 15:26:43 +00:00
Filipe Freire
97a4d10048
INS-2434: basic Kong 3.x support on Inso CLI (#5827)
* INS-2434: Kong 3.x support on Inso CLI

* fix test

* Add basic support for kong 3.0 on Insomnia UI
2023-03-14 15:17:28 +00:00
Filipe Freire
84963204b7 Bump app version to 2023.1.0 and lerna package versions 2023-03-09 14:30:06 +00:00
Filipe Freire
29825dec4a v3.13.0 2023-03-09 14:29:52 +00:00
Filipe Freire
a12cc8b459 Bump app version to 2023.1.0-beta.5 and lerna package versions 2023-03-03 14:38:29 +00:00
Filipe Freire
f8e406ab84 v3.13.0-beta.5 2023-03-03 14:38:13 +00:00
Filipe Freire
f611658728 Bump app version to 2023.1.0-beta.4 and lerna package versions 2023-02-24 15:32:29 +00:00
Filipe Freire
b8024913ca v3.13.0-beta.4 2023-02-24 15:32:13 +00:00
Filipe Freire
3847bf5962 Bump app version to 2023.1.0-beta.3 and lerna package versions 2023-02-16 11:09:22 +00:00
Filipe Freire
de552f2675 v3.13.0-beta.3 2023-02-16 11:09:00 +00:00
Filipe Freire
f7802bbba6 Bump app version to 2023.1.0-beta.2 and lerna package versions 2023-02-10 13:46:38 +00:00
Filipe Freire
b58cd4313e v3.13.0-beta.2 2023-02-10 13:46:22 +00:00
Filipe Freire
9af4e30066 Bump app version to 2023.1.0-beta.1 and lerna package versions 2023-02-02 14:49:29 +00:00
Filipe Freire
786e0ed8d5 v3.13.0-beta.1 2023-02-02 14:49:14 +00:00
Filipe Freire
a1b1d06437 Bump app version to 2023.1.0-beta.0 and lerna package versions 2023-01-27 15:00:35 +00:00