Arun Nalla
ae2d91c2de
fix: leave focus on send button instead of autochanging to url bar ( #5325 )
2022-10-25 14:09:38 +01:00
Brian Goad
7dd07ba2fe
Fixes 944 | Remove the check for returning more than one JSON result in Response Plugin ( #5192 )
...
* Remove the check for returning more than one result in JSON. If it's an array of objects, the following lines will just stringify. This allows the response to be parsed by JSONPath
* Update test to permit more than one result
* add edge-case
Co-authored-by: Filipe Freire <livrofubia@gmail.com >
2022-10-25 09:25:39 +00:00
Antoine Jacquemin
d102de2850
Fix how path variables are escaped for Swagger ( #5246 )
...
* path escapte fix
paths in swagger are not correctly escaped and won't be correct. You can try with following swagger:
openapi: 3.0.0
info:
title: SampleAPI
version: "1.0"
tags:
- description: Sample API
name: Sample Echo API
paths:
/healthcheck/$echo:
get:
parameters:
- in: query
name: message
required: true
schema:
type: string
description: The echo message
responses:
"200":
description: An echo message.
summary: Return a echo message.
operationId: getEcho
tags:
- Generate echo message
/batchs(Material='{Material}',Batch='{Batch}'):
get:
parameters:
- in: path
name: Material
required: true
schema:
type: string
description: The echo message
- in: path
name: Batch
required: true
schema:
type: string
description: The echo message
responses:
"200":
description: An echo message.
summary: Return a echo message.
operationId: getBatch
tags:
- Generate echo message
servers:
- url: https://httpbin.org/anything
* Update test for new regex fix
* Update common.test.ts
* Update common.ts
* Update common.test.ts
* Update common.ts
* Update common.test.ts
* Update common.ts
* Patch-Regex-Text
* Update services.test.ts
* Update httpbin.expected.json
* Update link-example.expected.json
* Update petstore-expanded.expected.json
* Update petstore.expected.json
* Update request-validator-plugin.expected.json
* Update uspto.expected.json
* Update generate.js
* Update generate.js
2022-10-24 16:00:34 -04:00
Jack Kavanagh
38a943d0f3
Remove remaining autobind decorated components ( #5321 )
...
* html wrapper
* sidebar request group row
* time from now
* check for updates button
* toast
* plugins
* rename component
* fix plugin load
* add fix for the timenow delay
Co-authored-by: Mark Kim <mark.kim@konghq.com >
2022-10-24 17:28:03 +00:00
Jack Kavanagh
1bf7b7bc2b
refactor: transform git modals to fc ( #5179 )
...
* transform git modals to fc
* second pass
* add GitRepositorySettingsModal
* fixes
* tweaks
* sit sync dropdown second pass
* git branches second pass
* git staging second pass
* repo settings second pass
* fix types
* fix button color
* fix refresh
2022-10-24 17:39:14 +02:00
James Gatz
4ca4b54e96
add url shim for swagger-client issue ( #5322 )
2022-10-24 13:07:25 +02:00
Filipe Freire
8e0c2042b2
Update actions/cache on homebrew.yml ( #5313 )
2022-10-21 15:39:10 +00:00
Jack Kavanagh
2f76cb0c6d
Remove/debounced-input ( #5308 )
...
* first pass
* remove debounced input
* fix onPaste type errors
2022-10-21 15:01:50 +00:00
Jack Kavanagh
4f9027ad94
bump electron 21 ( #5173 )
...
* bump electron 20
* bump to 21
* use node 16.16
* remove and bump deps
* package.lock
* fix package lock
* try 21.0.0
* oops
* remove ts-node
* package locks
* fix redirect and eror handling
* remove console.log
* remove react 18 override
* fix import
* update react-virtual api
* bump node-libcurl and electron
* bump node-libcurl to 2.3.5-6
Co-authored-by: Filipe Freire <livrofubia@gmail.com >
2022-10-21 14:41:00 +00:00
Jack Kavanagh
043a6991ea
fix warning ( #5315 )
2022-10-21 14:06:58 +00:00
Jack Kavanagh
35108a0c0a
Refactor/fc-tag-editor ( #5309 )
...
* first pass
* second pass
* third pass
* fifth pass
* first fc pass
* fc second pass
* fix types
2022-10-21 13:50:18 +00:00
Jack Kavanagh
1d491548a0
Refactor/cookie-modals ( #5307 )
...
* cookie modal fc
* second pass
* cookie modify modal third pass
* third pass
* new cookie
* Rm : char
Co-authored-by: Filipe Freire <livrofubia@gmail.com >
2022-10-21 15:36:09 +02:00
James Gatz
adbea24657
Add app routes and upgrade react-router ( #5304 )
...
* upgrade to react-router 16.4
* inline loading indicator svg to avoid foc
* move app and wrappers to routes folder
2022-10-21 11:19:37 +02:00
Jack Kavanagh
24fe4ce24a
remove addIcon prop ( #5312 )
2022-10-20 16:36:49 +02:00
kreosus
2708cb23ce
Merge branch 'release/2022.7.0-beta.3' into develop
2022-10-20 11:40:56 +00:00
kreosus
ba39cbe955
Bump app version to 2022.7.0-beta.3 and lerna package versions
core@2022.7.0-beta.3
lib@3.6.1-beta.2
2022-10-20 10:57:32 +00:00
Jack Kavanagh
70dbaa73fa
webview fc pass ( #5306 )
...
* fc pass
* nitpick
2022-10-20 10:50:17 +00:00
Jack Kavanagh
52e2511624
set default maxRedirects to 10 and timeout to 30000 ms ( #5216 )
2022-10-19 17:16:35 +00:00
Jack Kavanagh
1e3e69771d
class->fc env editor ( #5305 )
...
* class->fc env editor
* rm console.log
Co-authored-by: Filipe Freire <livrofubia@gmail.com >
2022-10-19 15:51:37 +00:00
Jack Kavanagh
b1c70ee81d
modal->fc workspace env modal ( #5300 )
...
* extract workspace env modal
* env editor save on blur
* remove sub env
* remove sort
* remove sortable-hoc package
* fix types
2022-10-19 16:55:08 +02:00
Jack Kavanagh
9eaf12f7e8
modal->fc prompt ( #5301 )
...
* extract
* fix default value
2022-10-19 13:27:30 +00:00
Jack Kavanagh
91202d0a12
workspace duplicate, settings ( #5267 )
...
* workspace modals
* fix render loop in env modal
* simplify env modal
* unpick set active env
* simplify loading
* simplify
* reload subenvironment
* reload sub environments
* use selector
* revert workspace edit modal
* fix first click doesn't show
* fix type check
2022-10-19 12:56:51 +00:00
Jack Kavanagh
92b8b3baf1
modals->fc transform remaining ( #5278 )
...
* remaining
* inline
* state =>
* tweaks
* simplfy wrapper
* extract prompt modal
* fix hotkey
* remove duplicate modal
* isJSON as object arg
* remove dispatch
* tweaks
* more tweaks
* fix nunjucks modal
* last tweaks
2022-10-19 12:32:32 +00:00
Jack Kavanagh
02c1c130ff
variable editor class-fc ( #4989 )
...
* first pass
* remove react hacks and simplify
2022-10-19 12:40:45 +02:00
Filipe Freire
45845f7fe3
[INS-2051] Reorganize smoke tests README ( #5264 )
...
* [INS-2051] Reorganize smoke tests README
* Add images to smoke-tests readme
* Split CLI part of doc, rm notes
* Reorganize README a bit
* edit intro
* playwright badge
2022-10-19 08:58:49 +01:00
James Gatz
0b30be3f6b
Upgrade to react 18 ( #5296 )
...
* upgrade to react 18 and use new createRoot api
* fix types and remove excessive functions in wrapper-home
* update types with implicit children to PropsWithChildren
* fix: remove error objects as children
* remove excessive function from account.tsx
* remove excessive function from general.tsx
* update tests and remove deprecated @testing-library/react-hooks
* remove unused import
* update package-lock
2022-10-18 11:56:55 +00:00
Jack Kavanagh
99065dbc7e
Refactor/settings-modals ( #5268 )
...
* settings modals
* inline project settings
* simplify move/copy
* remove justCopied misclick
* find workspace
* remove addIcon prop
* fix note
2022-10-18 11:22:32 +00:00
Jack Kavanagh
bf040aca31
refactor: transform sync modals to fc ( #5181 )
...
* sync modals
* second pass
* some nits
* fix types
* include indeterminate checkbox
* use previous state setter
* fix req settings modal setStates
* fc sync pull button
* previous state
* fix staging target
* sync dropdown pass
* refresh branches modal state on show
* state readability tweaks
* fix prompt button double event
* fix branch modal target
* remove extra reload in history modal
* fix history modal
* remove logs
* extract refetch
* fix delete
* delete local and remote
* format
* revert local delete change
* current target
* staging modal
* fix lint
* fix useEffect flash
* add todo note
2022-10-18 10:22:18 +00:00
James Gatz
e71609df2b
upgrade to font-awesome v6 ( #5295 )
2022-10-17 15:21:49 +00:00
James Gatz
6c2c160f78
update account dropdown to display the user's name ( #5294 )
...
* update account dropdown to display the user's name
* remove unused circle button
2022-10-17 16:42:52 +02:00
Filipe Freire
23760ab24b
Fix for set-ouput deprecation ( #5292 )
...
* Fix for set-ouput deprecation
Related to https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
* rm extra space
2022-10-17 13:14:47 +01:00
David Fluck
dbf597c2d8
INS-1785: Add Inso NPM package test ( #5116 )
...
* Add Inso NPM package test.
* PR changes
* Delete shell script.
* Rename script
* PR changes
* Try cross-env on test:bundled-inso to fix Windows
Co-authored-by: Filipe Freire <livrofubia@gmail.com >
2022-10-14 08:27:10 +00:00
kreosus
041cc11469
Merge branch 'release/2022.7.0-beta.2' into develop
2022-10-13 19:44:54 +00:00
kreosus
a29f1c952b
Bump app version to 2022.7.0-beta.2 and lerna package versions
core@2022.7.0-beta.2
lib@3.6.1-beta.1
2022-10-13 16:58:19 +00:00
Filipe Freire
a573167530
Fix #5207 - Query parameters ignored when importing Postman collection ( #5271 )
...
* Fix #5207 - Query parameters ignored when importing Postman collection
* Fix fixture tests
* improve check
2022-10-13 16:18:43 +00:00
James Gatz
60bf0f9f24
parse the query variables correctly ( #5273 )
2022-10-13 14:53:51 +00:00
James Gatz
23b4ee60a6
Respect the grant_type option in Postman imports with OAuth2 ( #5270 )
...
* fix grant_type casing and add support for PKCE transformation
* update tests
* improve support for more grant-types and properties
2022-10-13 14:14:37 +00:00
James Gatz
130796ba9b
remove document filter global shortcut ( #5269 )
2022-10-13 10:13:11 +00:00
James Gatz
09cf77c4ef
Move insomnia-components in the insomnia package ( #5259 )
...
* Move insomnia-components in the insomnia package
* remove extra tooltip components
* remove button from portal plugin
* remove insomniaComponent injection
* move spec editor sidebar
* move breadcrumb component
* move toggle-switch
* move table/notice-table
* remove unused switch component
* move header to app-header
* move card
* move card-container to wrapper-home
* Remove unused multi-switch and radio-group
* move svg icon and auto-run convert-svg command
* move list-group
* move button components into themed-button
* move dropdown
* remove auto-conversion of svg from npm scripts
* track svg icon components to git
* remove react-switch and framer-motion
* remove sidebar panel, fix lint
* remove animate blocks
* fix types, remove value from dropdown item
* remove button
* ignore svgr config
* update dropdown unit tests
* allow unreachable
* oauth e2e test: update locator to make the Create button specific
* fix type errors
Co-authored-by: jackkav <jackkav@gmail.com >
2022-10-12 22:26:11 +02:00
Filipe Freire
b5f5ad8716
Update README ( #5266 )
2022-10-12 13:54:30 -04:00
Jack Kavanagh
49a792b4a4
o2k: removed partial support for oauth2 ( #5260 )
...
* o2k: removed partial support for oauth2
* Fix fixtures
Co-authored-by: Filipe Freire <livrofubia@gmail.com >
2022-10-12 17:39:23 +02:00
Jack Kavanagh
eddc938bd2
modal->fc ( #5164 )
2022-10-11 11:07:33 +00:00
James Gatz
55d6733793
pass dispatch to newCommand result ( #5258 )
2022-10-11 10:30:34 +00:00
James Gatz
4817b59d4e
update use-vcs hook to use a single instance and await changes ( #5257 )
2022-10-11 09:35:59 +00:00
Filipe Freire
5bba2e9545
[INS-2022] Initial exploration multiple test projects ( #5244 )
...
* Initial exploration multiple test projects
* Replace duplicate scenario with one to be filled in
* Simplify number of playwright project configs
* Fix testMatch setting on playwright config
* Edit github actions to distinguish between CI and Release runs
2022-10-11 08:56:12 +00:00
Jack Kavanagh
7ef73dfb2e
add rename options to request context options ( #5256 )
...
* add rename folder and request context options
* Add rename dropdown option for WS requests
Co-authored-by: Filipe Freire <livrofubia@gmail.com >
2022-10-11 08:27:06 +00:00
James Gatz
54d995ec34
Add filters for the ws event log ( #5243 )
...
* add filters for the ws event log
2022-10-10 15:24:46 +00:00
kreosus
7eadb9a815
Merge branch 'release/2022.7.0-beta.1' into develop
2022-10-06 14:29:36 +00:00
kreosus
a2d503da08
Bump app version to 2022.7.0-beta.1 and lerna package versions
core@2022.7.0-beta.1
lib@3.6.1-beta.0
2022-10-06 13:38:10 +00:00
James Gatz
58fd810dc2
Fix/ins 1660 tooltip issues ( #5239 )
...
Add react aria to tooltip and move to fc
2022-10-06 13:19:09 +00:00