Commit Graph

2717 Commits

Author SHA1 Message Date
Jack Kavanagh
a7cf5a78d2
fallback to create (#6352) 2023-08-22 18:41:02 +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
6c8c12b9fb
clarify update message (#6347) 2023-08-21 16:10:45 +01:00
Jack Kavanagh
d8d8dcda83 Bump app version to 2023.5.5 2023-08-18 21:39:03 +02:00
Jack Kavanagh
88c7277634
add folder duplicate (#6337) 2023-08-18 21:38:44 +02:00
Filipe Freire
97e21a2b71
fix: #6304 git clone collections (#6333)
* fix: #6304 git clone collections

* rm n/a test

* redirect to /debug on reclone

* simplify code
2023-08-18 21:06:05 +02:00
Jack Kavanagh
bec4e8224f
hasrun (#6325)
* hasrun

* better comment (filipe)
2023-08-18 14:53:24 +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
32394fb8e2
fix array length check (#6320) 2023-08-18 10:30:57 +02:00
Jack Kavanagh
f83ccbb36f
Fix/prerelease-tests (#6314)
* dashboard tests

* fix prerelease tests
2023-08-17 15:18:48 +01:00
Jack Kavanagh
74960ec99a
fix cert update route url bug (#6311)
* fix path bug

* fix cert crud
2023-08-17 09:24:23 +00:00
jackkav
7ba00d5ccd reduce loading rerenders 2023-08-17 00:57:28 +02: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
8ad5682a20
fix reqtree bug (#6289)
* create meta update

* only redirect to existing request

* fix bug in export empty

* fix lint

* empty req tree
2023-08-15 18:46:10 +02:00
Alexander Schoenenwald
8b642ea292
Fix right click to show request actions (#6275) 2023-08-15 15:18:37 +00:00
James Gatz
9f6e2f3485
UI improvements (#6270)
* add fontawesome and react-aria-components

* add font awesome icon

* cleanup html

* anchor styles

* root

* cleanup root

* fa brand icons

* github stars icon

* fix account links

* breadcrumbs

* more root

* fix dropdown container

* update pkg lock

* free package env variable

* npmrc?

* happy or sorry this happened

* uninstall

* re install

* undo npmrc changes

* remove nesting css

* 30k stars!

* increase space
2023-08-15 14:46:40 +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
f8c8ee13b6
Fix/response-hook-plugin-exception (#6280)
* add some logs and get render context for response

* remove comments
2023-08-15 08:40:13 +02:00
Jack Kavanagh
c4cd2c2386 Bump app version to 2023.5.0 2023-08-14 21:16:00 +02:00
Jack Kavanagh
6b5fcbad1a
Fix/prerelease-tests (#6273)
* fix test

* remove unused context menu portal

* fix lint
2023-08-14 21:15:50 +02:00
Jack Kavanagh
bd23cfeb69
fix rerenders (#6272) 2023-08-14 20:34:29 +02:00
Jack Kavanagh
3eedddc073
autocomplete revision (#6220)
* first pass

* cut copy paste

* scope only to code editors

* nested tree menu

* organise context menu

* remove menu item

* working insert

* fix spelling

* use id to filter right click event

* add ids to all code editors

* handle all tags

* sort alphabetically

* remove console logs
2023-08-14 17:11:41 +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
94d035b6b1
add dropdown item (#6264) 2023-08-11 22:21:39 +00:00
Jack Kavanagh
887f4c5267
mmm listening for active response change (#6263) 2023-08-11 17:13:48 +02:00
James Gatz
1a96880bca
turn repo and status loaders to actions to control when they run (#6262) 2023-08-11 16:01:57 +02:00
James Gatz
ee6a4246b7
Return error response from axios (#6261)
* return error response from axios

* fix 401 issue

* redirect to existing when cloning a second time

* fix types

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-11 15:13:34 +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
jackkav
5502c4e4c7 fix lint 2023-08-10 13:38:37 +02: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
001a88af11
setup new versioning for release-start (#6244)
* setup new versioning for release-start

* delete bump version
2023-08-10 11:04:28 +02: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
4bf257c481
fix (#6236) 2023-08-08 17:16:23 +00:00
Jack Kavanagh
b19f69a5c6
Bump/typescript-5 (#6238)
* bump packages

* lockfiles

* fix some types

* fix some bs
2023-08-08 19:05:24 +02:00
Jack Kavanagh
0e1e0e8345 Bump app version to 2023.5.0-beta.10 and lerna package versions 2023-08-08 07:04:56 +00:00
Jack Kavanagh
cf7e7797bb v3.19.0-beta.9 2023-08-08 07:04:39 +00:00
Danny Hinshaw
c46a9e4b76
sync: fix the broken history snapshot "restore" functionality by importing db. (#6234)
refs #6232
2023-08-08 09:01:00 +02:00
Jack Kavanagh
b9c7096958
use upstream rather than fork (#6230) 2023-08-05 21:42:38 +02:00
jackkav
a8e436ea1d fix prerelease tests 2023-08-04 22:30:00 +02:00
Jack Kavanagh
78d0df6a6d Bump app version to 2023.5.0-beta.9 and lerna package versions 2023-08-04 18:40:33 +00:00
Jack Kavanagh
3bc1f6e713 v3.19.0-beta.8 2023-08-04 18:40:18 +00:00
Jack Kavanagh
baf87a17c3
fix windows ci flake (#6226)
* inline localstorage function

* remove null set

* tighten up

* remove finally

* tidy

* fix lint

* fix send and download

* add missing aria labels
2023-08-04 20:35:45 +02: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
70add78801
fix ordering (#6222) 2023-08-03 17:59:49 +02:00
Filipe Freire
0f0d41f943
feat/SEC-921: edit the dyld env variables and library validation for macos security (#6217)
* SEC-921: disable allow-dyld-environment-variables

* SEC-921: set disable-library-validation as false
2023-08-01 18:41:15 +00:00
James Gatz
70656f0188
Tailwind (#6189)
* tailwind

* css load

* delete less

* cleanup html and add defaults

* remove super duper

* cleanup

* disable form reset for now

* add tailwind extension to recommended extensions

* undo swagger css

* fix ts issue

* add editor css

* move all code mirror styles in styles.css

* remove forms
2023-08-01 12:04:15 +03:00
Nick Graham
97760348e3
feat: gRPC request stubs (#6196)
* feat: grpc request stubs

* mark changed lines

* add tests

* fix infinite recursion

* replace empty body

* catch Type objects

* button to replace stubs

* flatten grpc editor

* remove grpc-editor

* trigger setvalue

* rename mocks to example

---------

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2023-08-01 11:53:17 +03:00
Jack Kavanagh
ba1516f840 Bump app version to 2023.5.0-beta.8 and lerna package versions 2023-07-28 16:55:59 +00:00
Jack Kavanagh
0dd87bbfaf v3.19.0-beta.7 2023-07-28 16:55:48 +00:00
Jack Kavanagh
9acc8cbfed
copy workspace setting to context menu (#6187)
* squash

* fix indent

* flatten selectors

* flattening continued

* fix click bugs

* fixed rename

* fix lint

* remove nunjucks in markdown preview

* fix hotkey new request

* fix duplicate

* fix move req

* fix auth change

* put the markdown compiler back

* fix lint

* cert routes

* fix lint

* add cert routing

* remove settings hint

* fix lint
2023-07-28 16:30:34 +00:00
Jack Kavanagh
c4e702afb1 Bump app version to 2023.5.0-beta.7 and lerna package versions 2023-07-28 10:08:50 +02: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
5dbb63962e
fix body and log (#6209) 2023-07-28 09:34:25 +02:00
Jack Kavanagh
1e54dae260
Chore/request-refactor-3 (#6201)
* wip

* fix types

* fix test

* create new request

* use json encType

* rename and update fix

* consistent naming

* remove unused

* fix reflection

* remove conflicting lint rule

* fix folder actions

* fix folder rename

* fix mime type

* fix copy

* hide after move

* add req meta to req loader

* point all request meta updates at helper

* use hook for fetcher reuse

* add project id to debug log

* move default project seed to loader

* fix lint

* run tests

* rename fetcher hook

* rename hook file

* patchRequest hook

* remove useActiveRequest
2023-07-28 00:29:58 +02:00
Hassan BENHZAINE
42adaef80f
Improve clarity of network proxy settings to include SOCKS4/5 proxy (#6192) 2023-07-26 13:08:04 +00:00
Jack Kavanagh
2559c79f60 Bump app version to 2023.5.0-beta.6 and lerna package versions 2023-07-26 11:35:11 +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
Nick Graham
18829af13c
fix: await promise (#6197) 2023-07-25 22:11:11 +00:00
Jack Kavanagh
7886fdb350
redux->remix workspace route (#6191)
* checkpoint

* workspace meta

* select environment

* fix sidebar layout

* clean up

* absorb apispec into workspace route

* client certs

* remove redux tests

* update data docs

* remove active project

* revert selector change

* fix selector

* remove activeworkspace

* remove activity
2023-07-25 14:15:00 +00:00
Jack Kavanagh
9fd965e9f3
Chore/flatten-plugins-cont (#6186)
* eat response

* eat request

* switch to if

* ignore xpath typing

* fix package json

* eat default-headers

* eat core themes

* fix type

* remove plugins from lerna

* clean up

* move themes to ts

* fix lint

* remove console log

* fix plugin name resolution

* fix types

* formatting

* clean up import theme

* export type

* show stack in ci

* remove stack condition
2023-07-25 10:37:04 +02:00
Jack Kavanagh
81a624725d
chore: move plugins into app (#6185)
* eat base64

* eat timestamp

* eat uuid

* eat os

* eat hash

* eat file

* eat json path

* eat cookie jar

* eat prompt

* update plugin typings

* remove legacy test
2023-07-24 20:58:32 +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
Alessandro Benoit
4c85e3d2ac
fix(download): properly parse content-disposition filename (#6159) 2023-07-21 13:36:05 +00:00
Nick Graham
637f647cc7
fix: duplicate methods from gRPC reflection (#6182)
* fix: duplicate methods from gRPC reflection

* do not rely on string interpolation
2023-07-21 13:35:42 +00:00
Jack Kavanagh
ce1d395593
Fix/multi window connection state (#6175)
* fix readyState

* fix type

* normalise readystate to boolean

* remove enum mapping

* fix normailsed readystate

* send to all windows

* only render spinner for event stream

* fix lint
2023-07-21 11:32:31 +00: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
jackkav
7ccdb59f74 hotfix check now 2023-07-20 02:06:47 +02:00
jackkav
64ca287c31 hotfix console.log 2023-07-20 01:43:24 +02:00
Jack Kavanagh
00cd22c67b
eventstream pass 2 (#6170)
* match ssl timeline

* dedupe timeline logger

* fix lint

* fix timeline

* send headers
2023-07-20 01:27:05 +02:00
Jack Kavanagh
9b56644374 Bump app version to 2023.5.0-beta.4 and lerna package versions 2023-07-19 22:29:45 +00:00
Jack Kavanagh
bbf1de0fc7 v3.19.0-beta.3 2023-07-19 22:29:30 +00:00
Jack Kavanagh
e000001055
Fix/auto-backup (#6176)
* disable on change

* fix bug and try catch backup

* remove delay
2023-07-20 00:26:21 +02:00
Jack Kavanagh
bb638b5e94 Merge branch 'release/2023.5.0-beta.3' into develop 2023-07-19 16:59:49 +00:00
James Gatz
4c187e979d
add support for importing subenvironments (#6174) 2023-07-19 16:13:23 +00:00
SeungWon
00368e43a5
Add: 5xx unofficial HTTP codes and handle 'Unknown' status messages (#6072)
* Add: 5xx unofficial codes

* fix: statusMessage check for 'unknown' cases

* refactor: Reflect review

* clarify status message

* flatten switch

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-07-19 15:45:25 +00:00
Jack Kavanagh
1fe69dd51a Bump app version to 2023.5.0-beta.3 and lerna package versions 2023-07-19 17:28:41 +02:00
Jack Kavanagh
29149cb31c v3.19.0-beta.2 2023-07-19 17:28:41 +02:00
jackkav
f5d61aaeb5 hotfix: trackevent 2023-07-19 17:28:07 +02:00
Jack Kavanagh
8ea8967d5d
save refetched schema (#6172) 2023-07-19 15:05:59 +00:00
Jack Kavanagh
f34d7650f9
add stack and redirect to error page (#6171)
* add stack and redirect

* fix format

* fix formdata parsing

* remove console log
2023-07-19 13:56:27 +00:00
jackkav
0a778ba872 hot fix 2023-07-19 13:50:21 +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
Peter C
45ee825087
Import all available header properties from Postman (#6162)
* import all available header properties from Postman

* ignore undefined optional field

* fix lint

* fix test

---------

Co-authored-by: Peter C <petoc@users.noreply.github.com>
Co-authored-by: jackkav <jackkav@gmail.com>
2023-07-19 09:17:23 +00:00
pilotpirxie
ee3695064c
Allow empty name when duplicate request (#6138) 2023-07-17 23:48:38 +00:00
Jack Kavanagh
d5eff5fa98
bump grpc reflection fork (#6158) 2023-07-16 18:37:41 +00:00
Sebastian Jonasson
97138fcddd
gRPC: Support JSONPath in response (#5996) 2023-07-14 09:15:02 +00:00
chrisjq
80502e9772
fix: Ignore oAuth2 exception on redirect of initial url load (#5926) (#6120)
* fix: Ignore oAuth2 exception on redirect of initial url load (#5926)

* use if

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-07-14 09:11:09 +00:00
Jack Kavanagh
45dd25b20b Bump app version to 2023.5.0-beta.2 and lerna package versions 2023-07-13 17:16:41 +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
35d6e24867
hotfix git+ in url (#6151) 2023-07-13 18:35:44 +02:00
Jack Kavanagh
63388729e5
add anchor (#6149) 2023-07-13 12:25:35 +00:00
Jack Kavanagh
c89cd8b1f8
done hack to fix windows ci (#6144)
* done hack

* lint
2023-07-12 19:13:34 +02:00
jackkav
af5cca3850 fix lint 2023-07-12 12:26:35 +02:00
Jack Kavanagh
d0e612f902
Feat/force-update (#6141)
* 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

* show dialog
2023-07-12 12:17:13 +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
e51d8d7b7b
Merge branch 'develop' into release/2023.5.0-beta.0 2023-07-12 01:22:37 +02:00
jackkav
54ae285b4c fixtest 2023-07-12 01:22:18 +02:00
Jack Kavanagh
d30dd99f6e Bump app version to 2023.5.0-beta.0 and lerna package versions 2023-07-11 15:25:44 +00:00
Jack Kavanagh
7691ab8c89 v3.19.0-beta.0 2023-07-11 15:25:28 +00:00
Sebastian Jonasson
0113ba0971
Fix #5923: keybind action for switch environments (#5998)
* Fix: keybind action for switch environments

* replace imperative handle with onOpen/onClose

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2023-07-11 15:10:59 +00:00
SeungWon
7b416220af
fix: Issue with incorrect OperationName applied on GraphQL request (#6074)
* fix: Retained operation name in GraphQL requests

* fix: Ensure Immediate Reflection of operationName Changes in GraphQL Query
2023-07-11 15:01:57 +00:00
Jack Kavanagh
2cd79b35b3
Fix/fetch body (#6134)
* fix body, extract backoff

* fix two way commands

* add docs

* fix ai calls and errors
2023-07-11 15:58:06 +02:00
James Gatz
64fe218c2e
Environments data routing (#6127)
* update environments to use data routing

* upgrade react-router for json api in actions

* check for the proper route in the modal

* remove ?

* fix git url construction

* fix lint issues

* logs
2023-07-11 12:47:39 +02:00
Jack Kavanagh
da13df909a
Chore/fetch-cleaning (#6131)
* pass 1

* strip some layers

* another layer

* fix imports

* tidy

* some more

* fix copypasta

* remove redux listener

* use named properties for fetch

* move fetch over main

* remove test setup

* add test filter to workspace log
2023-07-11 10:24:22 +00:00
Jack Kavanagh
1e35cd66e9
Bump/tough-cookie (#6130)
* bump tough cookie

* lockfiles

* fix test
2023-07-11 07:28:22 +00:00
Jack Kavanagh
1d46100f01
Bump/linters (#6128)
* bump linters

* lockfiles

* sort imports

* auto fix import sort order

* fix lint errors

* markdown
2023-07-10 23:54:42 +02:00
Jack Kavanagh
45413d17c2
Bump/axios-1.4.0 (#6126)
* bump axios to latest

* lockfiles

* fix types

* fix type

* seriously
2023-07-10 15:14:00 +00:00
Jack Kavanagh
1d8fa4a339
move axios to main (#6118)
* move axios to main

* remove adapter override (old electron hack)

* add axios handler

* send only objects over the ipc

* don't forget the comma

* fix types

* fix proxy test

* fix smoke

* fix type

* fix axios __private
2023-07-10 14:13:17 +02: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
018d7dee70
move things out of misc and move auth window to main (#6117)
* move things out of misc

* move misc to main

* rename file

* remove test
2023-07-07 22:57:45 +02:00
Jack Kavanagh
3fdafdc1e4
hotfix (#6116) 2023-07-07 21:45:23 +02:00
Jack Kavanagh
abfabd41cf
Chore/node-integration-continued (#6106)
* don't import electron

* add clipboard to preload

* remove datadir helper

* clean up helpers

* remove electron-helpers

* revert db path

* delete test

* more helpers

* fix tests

* fix tests

* lint

* fix inso
2023-07-07 21:30:12 +02:00
Jack Kavanagh
e8c9afb0c8
move analytics over ipc (#6110)
* move analytics over ipc

* fix types

* fix tests

* add console .log

* fix inso commands
2023-07-07 20:20:39 +02:00
James Gatz
93159075b1
fix initial cloning of git repo (#6115) 2023-07-07 13:21:51 +00:00
Jack Kavanagh
a5c7e431e8
add SEE routes (#6113) 2023-07-07 12:36:41 +00:00
Jack Kavanagh
b4c450f3e5
make user-agent optional (#6109)
* make user-agent optional

* suppress default

* fix test

* fix tests

* fix user agent tests

* remove import
2023-07-07 10:30:08 +00:00
Jack Kavanagh
9141d9a947
Feat/second-window (#6104)
* wip

* perhaps we dont need app/login

* fix lint

* store keypair in localstorage

* use localstorage

* can login to multiple windows

* remove console log

* rename window helper

* add file menu

* remove test
2023-07-07 10:18:16 +00:00
Jack Kavanagh
3576f6ae13
remove unused hook (#6112)
* remove unused

* fix lint
2023-07-07 08:19:57 +00:00
Jack Kavanagh
5ee0e38b60
fix (#6107) 2023-07-07 00:37:30 +02:00
Jack Kavanagh
76b6f0e44e
remove unreachable (#6105) 2023-07-06 22:57:23 +02:00
Jack Kavanagh
7729a2f892
Fix/debug-logs (#6103)
* add abi

* hide ai 500 error

* handle new URL exception
2023-07-06 13:55:04 +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
Jack Kavanagh
ba1f6e4190
fix import spec (#6097) 2023-07-05 16:13:36 +02:00
Jack Kavanagh
bd0aaf3717
concurrently can silent fail (#6099) 2023-07-05 16:06:57 +02: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
Jack Kavanagh
c0e25d0490
Bump/electron-25 (#6081)
* bump

* lockfiles

* upgrade doc
2023-07-04 22:55:47 +02: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
52d92e32ff
fix: auto update 10s delay (#6083)
* add delay

* show backup message
2023-07-03 16:04:12 +00:00
Jack Kavanagh
4af532670c
improve in-app update experience (#6064)
* show backup status

* use preload

* clean up update code

* remove notifcation indirection

* cleanup app start event

* more cleaning

* remove confusing state and double ipc channels

* add update detection ocnsole log

* add error ux and tidy
2023-07-03 15:11:25 +00:00
Jack Kavanagh
d0240e38cb
fix: inso dereferencing/flattening $refs (#6080)
* wip

* manually revert 4872 disabling request validator circular refs

* clean up

* clean up
2023-07-03 14:21:25 +00:00
Jack Kavanagh
7221518bb3
fix: curl transform - allow header without value (#6069)
* allow header without value

* tidy

* fix test
2023-07-03 08:46:55 +00:00
Filipe Freire
3f6865eaf5
chore: change electron-builder mac notarize config (#6054)
* chore: change electron-builder mac notarize config

* add teamId

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-07-03 08:30:00 +00:00
Jack Kavanagh
ffbf2ee42f
Electron 23 upgrade (#5987)
* electron 23 bump

* lock files

* fix type
2023-06-29 18:02:02 +02: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
1380b6b02f
O2K add deprecation warnings (#6029)
* add UI warning

* add CLI deprecation warning
2023-06-26 11:40:46 +00:00
James Gatz
e4612735c0
Add AI test generation (#6053)
* savez

* ai animation

* save

* fixes

* improvements to ux and loading states

* ux improvements

* delete unused file

* undo vscode settings changes

* add prod api url

* remove console

* fixes

* rename loading to generating

* remove extra case in ai settings

* generate a new folder for the generated requests

* fix icon

* fix unused import
2023-06-23 19:03:01 +02:00
Jack Kavanagh
b4857c7a13
workspace migration logs (#6038)
* workspace migration logs

* add try catches around all the migrations
2023-06-21 17:45:18 +02:00
Jack Kavanagh
63754de659
electron app auto update performs a backup after download (#6005)
* nix

* export all on update download complete

* fix missing websockets inclusions

* tidy up export function
2023-06-15 12:18:37 +00:00
Jack Kavanagh
4b0defdc26
cli flake timeout 20s (#6034) 2023-06-14 14:42:01 +00:00
Filipe Freire
0cb6ab18c3
INS-2697: adjust first time user experience (#6015) 2023-06-07 14:05:06 +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
7b74188e91
fix #5976: set content-type on openapi3 imports (#5982)
* fix #5976: set content-type on openapi3 imports

* cr improvements

* fix

* fix
2023-05-23 15:56:26 +00:00
Filipe Freire
1b87404649
INS-2639: add kong 3.x support for inso generate k8s config (#5977)
* INS-2639: add kong 3.x support for inso generate k8s config

* Update packages/openapi-2-kong/src/kubernetes/generate.test.ts

Co-authored-by: Michael Heap <m@michaelheap.com>

* test

---------

Co-authored-by: Michael Heap <m@michaelheap.com>
2023-05-22 13:15:06 +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
9d2bde7656
fix #5969 cannot select base environment (#5970)
* fix #5969 cannot select base environment

* CR fix

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

* CR fix

* Update workspace-environments-edit-modal.tsx

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2023-05-17 13:08:36 +00:00
Thijs Schreijer
480f9c0a36
update test to expose bug in regex generation (#5974)
* update test to expose bug in regex generation

sanitizing the path-variable name is not done correctly, as it sanitizes the entire path. So it also makes unintended changes.

* fix failing test, add +1 test

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-05-17 11:25:58 +00:00
Filipe Freire
54b700c327
INS-2633: fix self-hosted git url compatibility (#5968) 2023-05-16 15:01:56 +00:00
Filipe Freire
62f7f3d74f
chore: fix prerelease environment editor tests (#5964) 2023-05-15 16:20:52 +00:00
Jack Kavanagh
d7b0d0f8db
fix debugger in dep (#5963) 2023-05-15 16:07:25 +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
Filipe Freire
96b36d9c28
INS-2627: sanitize path-variable name regex capture for kong 3.x (#5958)
* INS-2627: sanitize path-variable name regex capture for kong 3.x

* add slugify, and extract function

* sanitize path param in plugins.ts
2023-05-15 13:57:39 +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
Filipe Freire
f5d6d529a5
Add drag and drop to 'Manage Environments' (#5940)
* wip: environments drag and drop with react-aria

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

* wip

* wip

* 1st working version

* wip

* working!

* wip

* rm outline

* type issues

* add redux hack

* set active

* refactor and rename

* add aria label to fix warning

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: jackkav <jackkav@gmail.com>
2023-05-09 14:13:57 +00:00
Filipe Freire
953ed0d80c
fix: #5922 logo is too large for MacOS (#5927) 2023-04-28 10:03:51 +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
James Gatz
d73d7c3324
Return null from actions that return nothings (#5917)
* fix returning null

* return null from actions that return nothing
2023-04-25 15:51:30 +00: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
Jack Kavanagh
12d027fc24
toggled Swagger UI representation in spec designer (#5895)
* show a button

* re-add swagger-ui-dist

* can toggle right pane
2023-04-24 16:20:18 +00:00
James Gatz
5d077d5544
Import from command (#5901)
* app-commands remove unused prop

* add default value to import modal and move app commands hook to root

* remove use-app-commands

* fix on close handler

* check the previous value to avoid clearing the fetcher

* update from type to remove weird states

* second pass at useEffect

* add useFetcher discussion

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-04-21 13:04:31 +00:00
Zhizhen He
9f64e6de65
fix typos (#5896)
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-04-21 10:32:30 +00:00
Filipe Freire
53db74ff6b
INS-2565: set coverage threshold to 35% min (#5903)
* INS-2565: set coverage threshold to 35% min

* improvement
2023-04-20 13:32:47 +00:00
Filipe Freire
53fe8865c8
chore: bump playwright to 1.32.3 (#5904) 2023-04-20 10:13:17 +00:00
James Gatz
48ab626938
Update the app loading indicator (#5900)
* update loading indicator

* sort orgs:projects to display them in the correct order

* update loading indicator
2023-04-19 11:19:06 +00:00
James Gatz
3913163fda
Feature/ins 2505 insomnia app improvements (#5894)
* style active items in the sidebar

* add sidebar style to test suite list

* redirect on the last opened organization route when switching orgs

* update navigation to work as going back to the previous open project
2023-04-18 08:53:08 +00:00
James Gatz
650897ac5c
guard against null requests in the history dropdown (#5890) 2023-04-13 09:54:10 +00:00
David Sandoz
76420c6748
Fix icon to follow Apple app icons best practices (#5867)
* Fix icon to follow macOS guidelines

Refs Kong/insomnia#2788

* Update icon with one created by the Insomnia team

Co-authored-by: Erick Rico <erick.rico@konghq.com>

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: Erick Rico <erick.rico@konghq.com>
2023-04-03 10:38:54 +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
Alexander Samsig
e2d672ab04
Change environment variables generated by OpenApi and Swagger importers to use underscore-dot syntax, instead of custom variable access. (#5807) 2023-03-31 10:54:45 +00:00
89ht
0d26ad6323
Support charset information on swagger2 data import (#5781) (#5812) 2023-03-31 10:53:37 +00:00
Nick Hackman
bed21be8af
cURL: Support all --data flags and fix parsing of key=value pairs (#5818)
* test(curl): data-urlencode support key=value pairs

Updates tests to support key=value pairs in urlencode

Issue: https://github.com/Kong/insomnia/issues/5696

* fix(curl): data-urlencode support key=value pairs

Splits out the logic to handle the cases for the --data-urlencode flag from cURL.

docs: https://curl.se/docs/manpage.html#--data-urlencode
Issue: https://github.com/Kong/insomnia/issues/5696

* feat(cURL): support all data flags

This refactors the current implementation for handling --data[suffix] flags from cURL supporting all possible formats outside of reading files into Insomnia.

docs: https://curl.se/docs/manpage.html

Issues: https://github.com/Kong/insomnia/issues/5696, https://github.com/Kong/insomnia/issues/5400

* test(cURL): support all data flags

Combines a lot of tests and covers all cases provided in the cURL man pages.

* style: lint
2023-03-31 10:53:32 +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
James Gatz
5322001ab0
Fix scope filter on project view. (#5856)
* change empty scope to all and update selection mode

* don't allow empty selection
2023-03-21 15:06:39 +01:00
Dave Nicolson
55b5260aa4
Render webviews in UTF-8 (#5836) 2023-03-15 09:48:07 +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
James Gatz
83f96d5f6d
improve error handling for failed git fetch (#5844) 2023-03-14 15:19:16 +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
James Gatz
6463d7095f
Feat/git improvements (#5779)
* fix git repo tab styles

* remove extra fetches

* add loading indicator for git changes

* remote branches and git fetch improvements

* fixes

* fix tests

* fetch before getting the git log

* only reinit vcs for different repos

* fix make commit button disabled if commiting

* show close button in settings modal

* fix tests, only fetch from server if there is a remote uri
2023-03-02 14:33:34 +01:00
James Gatz
3738fb56f4
Revert "Display trial status and upgrade paths for users (#5805)" (#5813)
This reverts commit d9fab84070.
2023-03-01 10:30:31 +00:00
James Gatz
d9fab84070
Display trial status and upgrade paths for users (#5805)
* wip update account toolbar and session storage

* trial days left

* wip

* fix styling and redirects

* use env for website url

* update session

* only display the upgrade button for logged in users
2023-02-27 16:58:10 +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
rickythefox
9a5701bad3
Fix size of query bulk editor (#5795) 2023-02-22 16:14:33 +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
60fb2140a7
Fix dropdown closing early issue (#5778) 2023-02-16 11:03:55 +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
ltressens
c60a27813a
Closes #5722 : if redirectUrl is unset, do not match on it, but still match on it if set (#5763)
* If redirectUrl is unset, do not match on it, but still match on it if set. Also check that 'code' and 'error' are not part of parameters name, but the full name of the parameter in URI

* fix linter error
2023-02-10 13:41:14 +00:00
Filipe Freire
9b7d92b445
fix #5759 - show the selected websocket event (#5768)
* fix #5759 - show the selected websocket event

* edit
2023-02-10 10:58:18 +00:00
Jack Kavanagh
50f3f2d2dd
remove the kong/protobuf.js fork (#5760) 2023-02-07 15:58:29 +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
James Gatz
4521d8059d
Update workspace grid in project view (#5745)
* update workspaces grid in project view

* fix search icon placement and empty pane styles
2023-02-02 14:45:08 +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
Filipe Freire
349da16eee v3.13.0-beta.0 2023-01-27 15:00:19 +00:00
Jack Kavanagh
42fb46f56c
fix dropdown issue (#5734) 2023-01-27 14:56:36 +00:00
James Gatz
4e18e50471
Project sidebar UX improvements (#5726)
* add organization dropdown

* Fix props of the list component

* Convert styles to styled components

* Fix issue with grpc test

* Fix issue with the height

* Fix side bar height

* fix sidebar height and align list items vertically

Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com>
2023-01-27 14:53:25 +00:00
Pavlos Koutoglou
87c5986c20
Fix scroll issue with dropdown menu (#5731)
* Fix scroll issue with dropdown menu

* Decrease the size of the dropdown menu
2023-01-27 09:45:50 +00:00
Filipe Freire
34f22bb648
fix windows pdf request smoke test flake (#5729) 2023-01-27 09:28:00 +00:00
Filipe Freire
25a283ade5
bump playwright to 1.30 (#5724)
* bump playwright to 1.30

* fix version
2023-01-26 17:48:07 +00:00
Jack Kavanagh
019a85318c
proto refactor: remove manager (#5727)
* simplify pass 1: unnest proto manager

* extract recursive proto list from redux

* simplify

* remove unused tests

* unnest proto file list

* flatten proto components
2023-01-26 17:34:33 +01:00
Filipe Freire
e4e092e3e0
Fix INS-2291 weird ui for some dropdown options (#5720)
* Fix INS-2291 weird ui for some dropdown options

* Fix issue with sync-dropdown

Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com>
2023-01-26 09:16:21 +00:00
Filipe Freire
bfb2821993
Environment Editor PreRelease Smoke Tests (#5502)
* Create initial test file and fixture

* fix create environment dropdown minor bug

* Add tests, datatestid & edit fixture
2023-01-26 08:39:32 +00:00
kreosus
c462410474
Copy as curl visual (#5723) 2023-01-26 08:26:20 +00:00
Filipe Freire
4a46d0f71e
Fix INS-2275 db not defined creating team branch (#5719) 2023-01-25 15:42:51 +00:00
PatrickMurrell
18defb5719
update git.listfiles to list files in .insomnia directory (#5683)
* update git.listfiles to list files in .insomnia directory

* filter git.listfiles result instead of function call

* Update packages/insomnia/src/sync/git/git-vcs.ts with cleanup suggestions

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

* fix lint

Co-authored-by: Patrick Murrell <pmurrell@lcs.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-24 09:38:37 +00:00
Filipe Freire
7417acb7b9
Git Sync prerelease tests (#5705)
* WIP-clone-bad-values

* WIP

* test

* WIP-clone-bad-values

* WIP

* wip

* Git-Sync-Test

* improve a bit the locators

* Update settings.json

* fix role from button to menuitem

Co-authored-by: kreosus <kristofer.huffman@konghq.com>
2023-01-20 16:04:50 +00:00
Pavlos Koutoglou
e38ece1ab7
Feature/ins-2070-bug-updowntabshifttab-not-working (#5615)
* Update version of react-aria package

* Create dropdown hint component

* Create dropdown button component

* Create the popover component

* Create the menu item component

* Create the menu section component

* Create the menu component

* Create the dropdown related components

* Change the hotkey html tag

* Added full width option for prompt-button

* Replace the dropdown with the new

* Add some default props for dropdown

* Used themed button into dropdown button

* Added style prop for dropdown

* Remove checkmark from menu item

* Added styled props to popover

* Remove inner button from account toolbar

* Added new dropdown into cookie-list

* Revert package update

* WIP

* Delete button component and replace it's usage with dropdown button

* Fix spacing

* Added className for code-editor dropdown

* Remove the old dropdown

* Change import

* Revert some ref changes

* Added ref to dropdown

* Fixed some styles

* Fix issues like autosave and added isDisable prop

* Add title

* Remove insomnia-common imports

* Remove insomnia-common imports

* Fix code format

* Change style and fix code format

* Fix styles

* Replace dropdown import

* Fix divider style

* Fix last icon in sidebar create dropdown

* Fix issue with dropdown and the resizing screen

* Fix linter issues

* Moved the prompt button into itemContent component

* Change styled component

* Fix issue with sidebar-request-row to display the dropdown on hover

* Remove the item content in a separate component

* Remove unused css

* Destructure children props

* Fix trigger prop for grpc-method-dropdown

* Added prompt button when user delete test suite

* Hide empty dropdown items from section

* Fix linter issues

* Added Checkmark into item content

* Fix issue with linter and shortcut component

* Fixed linter issues

* Revert fragments

* Fix linter issues

* Added props for multiple select and disable

* Fix close issue with sidebar dropdown

* Update disable and stay open prop for all dropdowns

* Added aria-label for dropdown, section, items

* Added selected style for item

* Added logic for disabled items

* Fixed issue with selected items

* Fix issue with selection of grpc method dropdown

* Added aria-label to code-editor

* Fix issue with onClick and prompt

* Hide sections if it's empty

* Remove on select from item content

* Pass closeOnSelect props in the menu

* Removed dataTestId from dropdown items in request-actions

* Fix debug sidebar dropdown tests

* Change the cookie editor interactions tests

* Fix dashboard interactions tests

* Fix design-interactions tests

* Fixed grpc-interactions tests

* Fix plugins interactions tests

* Fix preferences interactions tests

* Fixed request-pane-tab tests

* Fixed app smoke tests

* Update git-sync smoke tests

* Fix space issue

* Fixed graphql smoke test

* Fixed oauth smoke test

* Fixed oauth smoke test

* Fixed websocket smoke test

* Fixed cookie-editor-interactions tests

* Remove the dropdown unit test

* Made small refactoring and remove unnecessary props

* Fix issue with grpc-method-dropdown

* Change the grpc smoke test

* Added default role props

* Update all tests that use project role

* Remove console.log

* Fix issue with themes

* REmove dropdown import from index.less file

* Remove handleClick and add some comments

* Use getItemCount from react-stately

* Remove method-dropdown css

* Fix shortcut button style

* remove extra space on sync-dropdown

* fix lint

* Remove unused prop

* Fix issue with remote workspace dropdown

* remove divider on first section if empty

* remove unused showGrpc option in method dropdown

* Fix issue with workspace-dropdown

* Fix git-sync-dropdown issues

* Fix issue with remove workspaces dropdown

* Fix sync-dropdown component

* Added disable style

* Moved server reflection and proto file outside of the dropdown

* Fix style when item is selected

* Fix issue with grpc smoke test

* Fix issue with menu props

* Disable server reflection button if url is empty

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2023-01-20 16:49:52 +02:00