Vladimir Gorej
5bfd2d8df1
test(e2e-cypress): fix all failing tests for this script
...
Problem was with an obsolete and no longer supported
Perf tool for React. Reference to it have been removed.
Refs #7341
2021-11-03 09:49:50 +01:00
Mahtis Michel
90c8a73177
fix: rename request snippets configuration props ( #7535 )
...
Closes #7534
2021-10-08 16:19:00 +03:00
Vladimir Gorej
fdef4ead7a
fix(build-security): do not expose hostname to build framents ( #7491 )
...
Refs #7446
2021-09-10 13:29:42 +03:00
Damien
516e666f1c
feat(wrapComponents): new chain configuration option ( #7236 )
...
This commit provides a backward compatible mechanism to chain wrap
an individual component multiple times
`Chain` mode: allow chaining of plugins on a given component
`Legacy` mode: last plugin to wrap a given component will supercede others
* chore: Add unit test for wrapComponent wrapping
* doc: Add documentation about the new pluginsOptions configuration
* doc: Add a sidenote on plugin-api page
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2021-05-20 15:41:11 -07:00
Tim Lai
2373a83fe2
feat: remove node_native option from request snippets plugin ( #7181 )
...
* snippet generator support intended for different shell options only
* will not maintain snippet generator for various languages
2021-04-14 10:55:31 -07:00
Tim Lai
4d264ae17f
chore(lint): cumulative lint fixes prep for eslint@7 ( #7078 )
2021-03-16 10:11:35 -07:00
Mahtis Michel
8405fa0101
feat: request snippets plugin ( #6910 )
2021-03-10 11:02:34 -08:00
Kyle Hoskins
265bdc07b7
feat: add tryItOutEnabled configuration ( #6865 )
...
* feat: add tryItOutEnabled configuration
allow users to set tryItOutEnabled: true to display
the "Try it out" section by default
tryItOutEnabled to take === "true" for the
query string value or === true if someone
implements query string type parsing in the query
2021-01-26 09:00:38 -08:00
Aleksandr Zhuravlev
50e5f653cc
fix: duplicate downloading of remote config ( #6544 )
2020-10-21 17:57:31 -07:00
Amir Bitaraf Haghighi
96aecc8860
feat: Preserve authorization on browser refresh and close/reopen ( #5939 )
...
* Add default configuration `preserveAuthorization`
* Add localStorage to auth plugin
* Add persistAuthorization unit tests
* Refactor persistAuthorization to use wrapped actions
* Upgrade unit tests to be compatible with jest
* Add persistAuthorization documentation
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2020-09-11 14:05:37 -07:00
Tim Lai
a73783b73d
feat: syntax highlighting of code section ( #6236 )
...
Co-authored-by: AdrieanKhisbe <adriean.khisbe@live.fr >
2020-07-17 15:29:15 -07:00
kyle
94c86d3d50
improvement: online.swagger.io -> validator.swagger.io ( #5599 )
2019-09-09 21:33:23 -07:00
kyle
88204daad8
housekeeping: upgrade to webpack@4 (via #5454 )
...
* build new core webpack config
* fix exports in Webpack; use ESM syntax throughout
* add bundle config
* add standalone config
* add style config
* prettier...
* add dev config
* delete legacy webpack scripts
* rewire npm scripts to use new webpack configs
* cache babel-loader results
* fix e2e dev servers
* update core Webpack modules
* update loaders to latest
* remove unused loaders
* update Webpack plugins
* add mode flags to Webpack configs
* remove plugin invocations that are now production-standard in v4
* update webpack-cli
* add webpack perf size limit flags
* replace ExtractText with MiniCssExtract + IgnoreAssets
* UglifyJsPlugin -> TerserPlugin
* fix PostCSS processing
* enable Terser sourcemaps
* webpack/style -> webpack/stylesheets
2019-07-11 18:57:44 -05:00
kyle
9935ea3328
housekeeping: upgrade to babel@7 (via #5450 )
...
* Babel 7
* preserve module output; straighten out ES/CJS syntax
* add webpack TODOs
* remove unused Babel modules
* Update index.js
* install @babel/register
2019-07-09 23:25:34 -05:00
Segev Finer
be72c292ca
feature: add withCredentials configuration key (via #5149 )
...
* Add the withCredentials configuration key
It enables passing credentials in CORS requests. e.g. Cookies and
Authorization headers.
* Improve withCredentials documentation
* Add unit tests for the withCredentials config
* Update configuration.md
* Update configuration.md
* only set `withCredentials` Fetch flag if the config value is truthy
there are some workarounds in the wild today that involve setting `withCredentials` on `system.fn.fetch` directly.
this approach avoids mangling those existing workarounds!
* add more test cases
* Update configs-wrap-actions.js
* Update index.js
2019-03-20 12:36:08 -07:00
Peter Goldthorp
1497271155
housekeeping: remove react-addons-perf dependency (via #5229 )
...
* Remove react-addons-perf dependency
* update lockfile
* include ReactPerf in non-production builds
2019-03-14 17:36:49 -07:00
kyle
0047ce96a8
fix: don't trigger url remote document load if urls is provided (via #5161 )
...
* fix: don't trigger `url` remote document load if `urls` is provided
* better test block title
2019-02-06 19:32:35 -06:00
kyle
61b5ed79a0
improvement: generate default oauth2RedirectUrl based on page location (via #5085 )
2018-12-14 19:54:53 -07:00
Josh Ponelat
90157c1a40
Refactor deep-linking, in the process extracted out OperationsTag ( #4349 )
...
* add configsActions.loaded hook
* add OperationTag to hold Operations
* fix test for operations
* refactor deep-linking plugin
2018-06-01 13:19:44 -07:00
kyle
7049de6201
v3.14.0 ( #4492 )
...
* v3.14.0
* fix: simplify config fetch interceptor implementation
* add `loadRemoteConfig` flag to requests
* v3.14.0
2018-04-27 23:20:13 -07:00
Helder Sepulveda
cbff0251ae
feat: option to show common query parameters ( #4245 )
...
* extend getExtensions
Add optional param to getExtensions that can retrieve more stuff
* Add getCommonExtensions
* Trim trailing spaces
* Remove unused parameter
* Move the format inline with the param type
* correction to UnitTest
2018-04-26 21:18:45 -07:00
Scott O'Hara
f589cb99af
feature: supportedSubmitMethods config parameter ( #4186 )
2018-02-09 19:39:43 -08:00
Kyle Shockey
b03bf90664
Allow initialState key deletion
2017-12-22 22:41:53 -06:00
Kyle Shockey
a9ebdb8a7a
Add layout back to initalState
2017-12-22 22:29:55 -06:00
Kyle Shockey
150ebf3bc0
Add ability to explicitly skip rendering
2017-12-19 23:46:09 -06:00
Kyle Shockey
e07b105b29
Remove layout from default initial state
2017-12-19 23:45:35 -06:00
Kyle Shockey
022b660b8c
Merge branch 'master' into support/editor-validation-refactor
2017-12-19 23:29:59 -06:00
Kyle Shockey
2dd25abbdd
Move initOAuth attacher out of core constructor
2017-12-15 14:16:44 -08:00
HelderSepu
28c706c70a
Add defaultModelsExpandDepth
...
This change separates:
the Model (the one on the model-example section)
from
the Models (the ones at the bottom)
2017-12-08 21:12:41 -05:00
Josh Ponelat
733cddf146
Be more nodejs friendly, tweak some lines
2017-12-06 21:02:45 +02:00
Greg Thompson
8ff2d77398
Merge branch 'master' into ft/3052-extensions
2017-11-20 09:48:33 -06:00
Kyle Shockey
054961bfc7
Merge branch 'ft/performance' into bug/3904-operation-not-updating
2017-11-16 18:55:17 -08:00
Greg Thompson
83dd9f3dfc
showExtensions config param
2017-11-09 10:21:08 -06:00
Josh Ponelat
50b318c5d9
Create a configs plugin
...
This starts to migrate configs to state
2017-10-25 09:59:54 +02:00
Owen Conti
b15942dfe1
Merge branch 'ft/performance' of github.com:swagger-api/swagger-ui into ft/performance
...
# Conflicts:
# src/core/components/responses.jsx
2017-10-22 12:55:51 -06:00
Mike Gilbode
d7ae284a0c
Add defaultModelRendering parameter.
2017-08-30 23:30:57 -04:00
Owen Conti
2946baf2bd
Merge branch 'master' into ft/3584-operation-container-component
2017-08-20 08:07:15 -06:00
Owen Conti
ff2ed2584e
Revert Perf tool back to core/index.js
2017-08-19 13:59:09 -06:00
Owen Conti
e61c12fe18
Move performance debugging tools to app.jsx
2017-08-19 08:33:03 -06:00
Øystein Sigholt
7287c74a3a
Remove domNode from deepExtend
2017-08-18 18:27:16 +02:00
Mike Gilbode
087ed20384
Add support for requestInterceptor / responseInterceptor.
...
- Display mutated requests from request interceptor in curl output in UI.
Put this behind showMutatedRequest flag so that the mutation can be
silent.
- Document requestInterceptor, responseInterceptor and showMutatedRequest
in README.md
- Add tests
2017-08-13 01:14:41 -04:00
Owen Conti
c237f25638
Introduce React.Perf in all non-production builds.
2017-08-11 15:55:19 -06:00
oysteinsigholt
230f4a8467
add domNode parameter
2017-08-01 11:11:10 +02:00
Kyle Shockey
6ecae65b5f
Remove config filtering
2017-07-27 13:01:44 -07:00
Will Marshall
1d9e71ff3e
parseSeach -> parseSearch in index.js
2017-07-17 13:39:06 -07:00
shockey
0d2c457153
Merge branch 'master' into include-apis-preset-by-default
2017-07-15 09:27:27 -07:00
Kyle Shockey
abfad69e93
Disable deep linking by default
2017-07-14 16:18:25 -07:00
Kyle Shockey
0dccd48474
Add Api preset in constructor by default
2017-07-14 15:33:49 -07:00
Kyle Shockey
8851b138f9
Add config switch for deep linking
2017-07-14 00:51:26 -07:00
shockey
28912dded3
Update index.js
2017-07-13 21:14:56 -07:00