Commit Graph

2585 Commits

Author SHA1 Message Date
Andrew Wong
350fc47b17
Fix processing of DOM nodes during the production build (minified names) (#6419)
* Fix processing of DOM nodes during the production build (minified names)

* eliminate most of the typescript casting

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-30 09:56:53 +02:00
Jack Kavanagh
fd3ea77693
add gql shorthand (#6417)
* add gql shorthand

* fix types
2023-08-29 15:22:44 +00:00
Jack Kavanagh
38cc96e7ed
fix plugin install with deps bug (#6414)
* fix cp

* remove patch log

* console logs

* handle bad oauth2 config
2023-08-29 15:30:08 +02:00
James Gatz
00ef2e8e9b
Revalidate only when orgs change (#6409)
* revalidate only when orgs change

* remove hasRun cache

* use hash value to revalidate on login
2023-08-29 14:18:49 +02:00
James Gatz
a9f32d9241
update to document rename tests (#6413) 2023-08-29 11:29:13 +00:00
Jack Kavanagh
a35e99bacf
fix invariant exception (#6410) 2023-08-29 11:12:45 +02:00
James Gatz
98e292d800
fix scope navigation (#6408) 2023-08-29 08:54:53 +00:00
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
7e3e44c50a
backup second pass (#6388)
* some notes on approach

* some broken fs logic

* some more broke stuff

* fix backup logic

* rename export to backup

* wire up a restore

* restore check

* only update if newer version

* extract to function

* rename export to backup
2023-08-25 15:35:58 +00: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
4b1bc6fb25
fix failed backup (#6386) 2023-08-24 17:42:30 +02:00
Jack Kavanagh
606439aec6
fix env color (#6377) 2023-08-24 10:46:06 +02:00
Filipe Freire
4f58f71001
Fix: #6368 re-add color to request methods (#6376) 2023-08-24 10:43:52 +02:00
Filipe Freire
6075f15153
fix: render fail on workspace dropdown in req group settings (#6350)
* fix: render fail on workspace dropdown in req group settings

* match move/copy select implementation

* fix move request navigate

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-24 10:42:33 +02:00
Jack Kavanagh
375832fca2
match up with request duplicate (#6362) 2023-08-23 08:21:48 +00:00
Jack Kavanagh
4c7a49c270 Bump app version to 2023.5.6 2023-08-22 23:28:03 +02:00
James Gatz
22e9a1a5e2
fix stale env list on updates (#6357) 2023-08-22 23:25:58 +02:00
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