Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: swagger-api/swagger-ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.26.0
Choose a base ref
...
head repository: swagger-api/swagger-ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.26.1
Choose a head ref

Commits on Jun 5, 2020

  1. housekeeping(dev-deps): autoprefixer v9 (#6077)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 5, 2020
    Copy the full SHA
    3237d3d View commit details
  2. housekeeping(dev-deps): babel-eslint v10 (#6078)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 5, 2020
    Copy the full SHA
    530f60c View commit details
  3. housekeeping(dev-deps): babel-plugin-module-resolver v4 (#6079)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 5, 2020
    Copy the full SHA
    3cac3b1 View commit details
  4. Copy the full SHA
    366d8f8 View commit details
  5. housekeeping(dev-deps): copy-webpack-plugin v6 (#6096)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 5, 2020
    Copy the full SHA
    ca7f9dd View commit details
  6. housekeeping(dev-deps): deepmerge v4 (#6098)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 5, 2020
    Copy the full SHA
    a9890b9 View commit details

Commits on Jun 6, 2020

  1. housekeeping(dev-deps): eslint-plugin-mocha v7 (#6101)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 6, 2020
    Copy the full SHA
    0ee0983 View commit details
  2. housekeeping(dev-deps): file-loader v6 (#6103)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 6, 2020
    Copy the full SHA
    0fdeb2a View commit details
  3. housekeeping(dev-deps): license-checker v25 (#6105)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 6, 2020
    Copy the full SHA
    9d10a7c View commit details

Commits on Jun 8, 2020

  1. housekeeping(dev-deps): open v7 (#6108)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 8, 2020
    Copy the full SHA
    53efe0c View commit details
  2. Copy the full SHA
    328ce28 View commit details
  3. Copy the full SHA
    6bc0c62 View commit details
  4. housekeeping(dev-deps): raw-loader v4 (#6112)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 8, 2020
    Copy the full SHA
    1ca9266 View commit details
  5. housekeeping(dev-deps): prettier v2 (#6111)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 8, 2020
    Copy the full SHA
    f52496a View commit details
  6. housekeeping(dev-deps): rimraf v3 (#6114)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 8, 2020
    Copy the full SHA
    a0d9dc0 View commit details

Commits on Jun 9, 2020

  1. Copy the full SHA
    6ed15b0 View commit details
  2. Copy the full SHA
    cfdfb44 View commit details
  3. Copy the full SHA
    5217366 View commit details

Commits on Jun 10, 2020

  1. 1
    Copy the full SHA
    f353974 View commit details
  2. Copy the full SHA
    4497387 View commit details
  3. improvement: oauth "scopes" improvements (#6037)

    * improvement: oauth "scopes" init parameter
    
    * improvement: add "select all" and "select none" to oauth scopes popup
    yinzara authored Jun 10, 2020
    1
    Copy the full SHA
    275c8f2 View commit details
  4. 1
    Copy the full SHA
    01fb5c0 View commit details
  5. Copy the full SHA
    21f5149 View commit details
  6. Disable the validation badge for those who do not want it (#5994)

    * disabled on string values: "127.0.0.1", "localhost", "none"
    waterkip authored Jun 10, 2020
    Copy the full SHA
    117dcc9 View commit details
  7. Remove max-width for textarea media < 768px (#6014)

    Co-authored-by: Tim Lai <timothy.lai@gmail.com>
    waterkip and tim-lai authored Jun 10, 2020
    Copy the full SHA
    67627d7 View commit details
  8. improvement: Move inline styles to SCSS instead (#5578)

    * fix: convert propStyle to propClass
    tomdegoede authored Jun 10, 2020
    Copy the full SHA
    fc3ed30 View commit details

Commits on Jun 11, 2020

  1. improvement: Make background SVGs consistent (#5478)

    * Replace Base64 encoded SVGs with unencoded version. Replace partially URL encoded SVGs with unencoded version, removing extraneous LF character
    vicchi authored Jun 11, 2020
    Copy the full SHA
    48a0b46 View commit details
  2. fix(Markdown): render markdown in more secure way

    This commit changes markdown sanitization behaviour in following way:
    
    class, style and data-* attributes are removed by default. These attributes
    open possible vulnerability vectors to attackers.
    
    The original behavior of sanitizer (before this commit) can be enabled by *useUnsafeMarkdown* configuration option.
    Use this configuration option with caution and only in cases when you know
    what you're doing.
    char0n committed Jun 11, 2020
    1
    Copy the full SHA
    a616cb4 View commit details
  3. release: v3.26.1

    swaggerhub-bot committed Jun 11, 2020
    Copy the full SHA
    9a0927b View commit details
Showing with 1,881 additions and 599 deletions.
  1. +1 −0 .npmrc
  2. +1 −0 Dockerfile
  3. +1 −0 dev-helpers/index.html
  4. +13 −13 dist/swagger-ui-bundle.js
  5. +1 −1 dist/swagger-ui-bundle.js.map
  6. +4 −4 dist/swagger-ui-standalone-preset.js
  7. +1 −1 dist/swagger-ui-standalone-preset.js.map
  8. +1 −1 dist/swagger-ui.css
  9. +1 −1 dist/swagger-ui.css.map
  10. +2 −2 dist/swagger-ui.js
  11. +1 −1 dist/swagger-ui.js.map
  12. +5 −1 docker/configurator/oauth.js
  13. +4 −0 docker/configurator/variables.js
  14. +1 −0 docker/nginx.conf
  15. +17 −4 docker/run.sh
  16. +2 −1 docs/usage/configuration.md
  17. +2 −0 docs/usage/oauth2.md
  18. +1,294 −429 package-lock.json
  19. +18 −18 package.json
  20. +1 −0 renovate.json
  21. +3 −3 src/core/components/array-model.jsx
  22. +1 −1 src/core/components/auth/api-key-auth.jsx
  23. +1 −1 src/core/components/auth/basic-auth.jsx
  24. +2 −2 src/core/components/auth/error.jsx
  25. +22 −3 src/core/components/auth/oauth2.jsx
  26. +1 −1 src/core/components/curl.jsx
  27. +4 −4 src/core/components/errors.jsx
  28. +1 −1 src/core/components/example.jsx
  29. +4 −4 src/core/components/headers.jsx
  30. +3 −3 src/core/components/info.jsx
  31. +6 −2 src/core/components/layout-utils.jsx
  32. +1 −1 src/core/components/layouts/base.jsx
  33. +2 −2 src/core/components/model-collapse.jsx
  34. +1 −5 src/core/components/model.jsx
  35. +18 −12 src/core/components/object-model.jsx
  36. +4 −4 src/core/components/online-validator-badge.jsx
  37. +1 −1 src/core/components/operation-tag.jsx
  38. +1 −1 src/core/components/operation.jsx
  39. +1 −1 src/core/components/overview.jsx
  40. +4 −4 src/core/components/parameter-row.jsx
  41. +6 −6 src/core/components/primitive-model.jsx
  42. +3 −3 src/core/components/property.jsx
  43. +21 −4 src/core/components/providers/markdown.jsx
  44. +1 −1 src/core/components/response-body.jsx
  45. +1 −1 src/core/components/response.jsx
  46. +1 −5 src/core/components/svg-assets.jsx
  47. +5 −5 src/core/containers/filter.jsx
  48. +2 −1 src/core/plugins/auth/actions.js
  49. +1 −1 src/core/plugins/oas3/components/callbacks.jsx
  50. +1 −1 src/core/plugins/oas3/components/http-auth.jsx
  51. +3 −3 src/core/plugins/oas3/components/operation-link.jsx
  52. +2 −2 src/core/plugins/oas3/components/request-body.jsx
  53. +9 −3 src/core/plugins/oas3/wrap-components/markdown.jsx
  54. +1 −1 src/core/plugins/oas3/wrap-components/version-stamp.jsx
  55. +3 −4 src/core/plugins/view/root-injects.jsx
  56. +12 −3 src/core/utils.js
  57. +5 −5 src/plugins/topbar/topbar.jsx
  58. +21 −0 src/style/_authorize.scss
  59. +16 −0 src/style/_errors.scss
  60. +13 −5 src/style/_form.scss
  61. +13 −0 src/style/_information.scss
  62. +87 −0 src/style/_layout.scss
  63. +73 −1 src/style/_models.scss
  64. +11 −0 src/style/_table.scss
  65. +1 −1 src/style/_variables.scss
  66. +12 −0 test/e2e-selenium/pages/main.js
  67. +10 −0 test/e2e-selenium/scenarios/schemeContainer.js
  68. +1 −0 test/e2e-selenium/static/index.html
  69. +26 −4 test/mocha/components/markdown.jsx
  70. +21 −5 test/mocha/core/plugins/auth/actions.js
  71. +47 −1 test/mocha/core/utils.js
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-prefix="="
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ ENV API_KEY "**None**"
ENV SWAGGER_JSON "/app/swagger.json"
ENV PORT 8080
ENV BASE_URL ""
ENV SWAGGER_JSON_URL ""

COPY ./docker/nginx.conf ./docker/cors.conf /etc/nginx/

1 change: 1 addition & 0 deletions dev-helpers/index.html
Original file line number Diff line number Diff line change
@@ -62,6 +62,7 @@
realm: "your-realms",
appName: "your-app-name",
scopeSeparator: " ",
scopes: "openid profile email phone address",
additionalQueryStringParams: {},
usePkceWithAuthorizationCodeGrant: false
})
Loading