Commit Graph

3150 Commits

Author SHA1 Message Date
Eric Turcotte
fc8ad8168d Renamed authorizeAccessCode() to authorizeAccessCodeWithQueryParams()
Added authorizeAccessCodeWithBasicAuthentication() that sends the client_id and
client_secret using HTTP basic authentication

    Authorization: Basic base64encoded[client_id:client_secret]

According to the OAuth2 spec, this is the preferred method.  It also enables
Authorization Servers that only support basic authentication during the
authorization_code grant.

https://tools.ietf.org/html/rfc6749#section-2.3.1
2017-07-12 23:32:29 -05:00
Owen Conti
991ae66b39 Fixes #3375 - Change order of logic for selecting requestContentType to prioritize consumes_value first 2017-07-12 19:56:11 -06:00
Kenny
143c8e44df Modify test running script, rewrite some test based on local son 2017-07-12 05:51:00 -07:00
shockey
a5cab61d99 Merge pull request #3196 from gwynjudd/filter
Added maxRows and filter support
2017-07-11 22:14:38 -07:00
Kyle Shockey
66c8778a29 Remove obsolete prop from validation 2017-07-11 22:05:38 -07:00
Kyle Shockey
28f7a15fe9 Use state instead of component hand-down for managing filter 2017-07-11 21:54:56 -07:00
Kyle Shockey
cf12091d93 Add filter to layout state 2017-07-11 21:33:14 -07:00
shockey
7cfc7cb4fc Merge branch 'master' into filter 2017-07-11 21:20:22 -07:00
Owen Conti
87bb4420e2 Add main.scss as an entry point for the dev build 2017-07-11 20:30:52 -06:00
Owen Conti
7000c20765 Moved split-pane-mode.less file into a .scss file. Removed remaining unused .less files. Removed reference to less file in webpack config. Removed dependency on less-loader. Updated standalone and bundle builds to no longer compile any styles. 2017-07-11 20:17:06 -06:00
Owen Conti
bd31d3dedf Reimplemented changes after merge with master 2017-07-11 17:02:53 -06:00
Owen Conti
fce8b7275b Merge branch 'master' of github.com:swagger-api/swagger-ui into feature/2926-click-model-name-to-toggle
# Conflicts:
#	src/core/components/model.jsx
2017-07-11 16:58:17 -06:00
Raphaël MARQUES
d27962c0da Merge branch 'master' into feature/apisSorter 2017-07-11 21:13:45 +02:00
Raphaël MARQUES
297ee61038 Update index.js 2017-07-11 21:13:30 +02:00
Owen Conti
10aae17c82 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3329-duplicate-css 2017-07-10 19:53:53 -06:00
Owen Conti
6beaaca6e6 Fixes #3361 - Check for null and undefined values in validateParam 2017-07-10 19:46:32 -06:00
shockey
4a66219782 Merge pull request #3331 from owenconti/bug/3102-unguarded-expressions
Separate model.jsx components to their own files
2017-07-10 18:45:45 -07:00
shockey
025ec662c0 Merge branch 'master' into bug/3102-unguarded-expressions 2017-07-10 18:42:18 -07:00
Owen Conti
914b21f228 Revert back to the 'breaks' fix for newlines in markdown content 2017-07-10 19:23:18 -06:00
Owen Conti
b11399a57e Revert original fix and implement fix from @1Map 2017-07-10 17:39:05 -06:00
Minasokoni
fe200f8616 styling updates 2017-07-11 09:46:44 +12:00
Gwyn Judd
c3f9c094d1 Added maxRows and filter support
Useful for the display of very large swagger specs. Can limit the number of operations to a smaller value and search
2017-07-11 09:38:20 +12:00
RVKen
25a602bc18 write overall e2e test script 2017-07-10 21:00:58 +02:00
Owen Conti
d8400f8729 Fixes #3300 - Updates to versions.swaggerUi information 2017-07-09 14:17:18 -06:00
Owen Conti
14b63c5bf9 Fixes #2926 - Add optional title prop to Collapse so collapse elements can render titles to be clickable 2017-07-09 13:59:59 -06:00
RVKen
98b633a143 add copy-webpack-plugin dependency 2017-07-08 20:56:11 +02:00
Owen Conti
5de1689946 Remove embedded styles from index.html files 2017-07-08 11:34:55 -06:00
Owen Conti
48f11a172a Fixes #2903 - Fix CSS imports so body and html styles are included from .scss files. Update body selector to have a font-family 2017-07-08 11:33:34 -06:00
Owen Conti
5d9ab6a0a2 Fixes #3078 - Added breaks: true to Remarkable so newlines are rendered as line breaks. Remove margin-top from <p> tags within .model elements to fix the alignment in the model's description text. 2017-07-08 10:48:52 -06:00
Owen Conti
63b2a9751c Fixes #3329 - Tweak webpack config to share CSS loaders for production builders. Updated production builds to use ExtractTextPlugin so styles are not built into JS. 2017-07-08 08:29:34 -06:00
shockey
42efd8a60e Merge pull request #3351 from shockey/v/3.0.18
v3.0.18
2017-07-07 18:40:20 -07:00
Kyle Shockey
afa73040f3 Rebuild dist 2017-07-07 18:29:47 -07:00
Kyle Shockey
4acb95b659 v3.0.18 2017-07-07 18:24:06 -07:00
shockey
38cccf9670 Merge pull request #3346 from owenconti/bug/3271-fix-trim-with-non-json-parameters
Fixes #3271 - Trimming parameter values
2017-07-07 15:35:08 -07:00
Ron
fe9af65793 Merge branch 'master' into feature/apisSorter 2017-07-07 15:31:18 -07:00
shockey
0f961b7162 Merge branch 'master' into bug/3271-fix-trim-with-non-json-parameters 2017-07-07 15:31:14 -07:00
shockey
286160437c Merge pull request #3332 from owenconti/bug/3309-required-file-inputs
Fixes #3309 - Required File inputs
2017-07-07 15:16:00 -07:00
shockey
f5b299f4f5 Merge branch 'master' into bug/3309-required-file-inputs 2017-07-07 15:11:43 -07:00
Ron
3c5ad11d09 Merge branch 'master' into bug/3271-fix-trim-with-non-json-parameters 2017-07-07 15:10:49 -07:00
shockey
0f1b3cc78d Merge pull request #3350 from sharkpp/fix_non_ascii_char_class_name
fixing Non-ascii character class name
2017-07-07 14:17:41 -07:00
sharkpp
ff41b30171 fixing Non-ascii character class name
Fixed to LATIN SMALL LETTER A because class name contained CYRILLIC
SMALL LETTER A.
2017-07-08 01:19:03 +09:00
RVKen
ee2f9d0a01 take out bin files from the repo 2017-07-07 10:10:25 +02:00
RVKen
9e8007398a mock api 2017-07-07 09:47:39 +02:00
shockey
9a3df4a6bb Merge branch 'master' into bug/3309-required-file-inputs 2017-07-06 22:27:04 -07:00
shockey
896954c682 Merge pull request #3344 from owenconti/bug/3334-duplicate-arrows
Fixes #3334 - Add autoprefixer back to postcss plugins
2017-07-06 21:59:09 -07:00
Owen Conti
c1ffd9ee08 Fixes #3271 - Only trim parameter values if the parameter's content type is JSON. Change default value of parameter inputs to be '{}' only if the parameter's content type is JSON 2017-07-06 19:54:10 -06:00
shockey
346218f0ca Merge branch 'master' into issue-1334 2017-07-06 18:27:00 -07:00
Owen Conti
4ddb3cd597 Remove unused required prop from ObjectModel 2017-07-06 18:49:47 -06:00
Kyle Shockey
a1ce0e7b3c Rebuild dist (for editor) 2017-07-06 11:27:22 -07:00
Kyle Shockey
f0332d9cb5 add isSwagger2 selector 2017-07-06 11:19:51 -07:00