Commit Graph

2979 Commits

Author SHA1 Message Date
Kyle Shockey
2906bdd699 Fire layout updates before attempting to scroll (improves docExpansion:none support) 2017-07-14 02:45:40 -07:00
Kyle Shockey
556e40e6d4 Don't place fragment links if deep linking is disabled 2017-07-14 01:50:49 -07:00
Kyle Shockey
73845907a3 Add anchors for tags and operations 2017-07-14 01:13:30 -07:00
Kyle Shockey
8851b138f9 Add config switch for deep linking 2017-07-14 00:51:26 -07:00
Kyle Shockey
41ecceed87 Rewire operation/tag DOM ids; implement hash scroll-to 2017-07-14 00:46:21 -07:00
Kyle Shockey
79f91b2e3e Rearrange isShownKey to make more sense
Tag then ID is closer to representing the underlying data structure
2017-07-14 00:19:02 -07:00
Kyle Shockey
d7f6355d85 add setHash helper 2017-07-14 00:08:47 -07:00
Kyle Shockey
617cf7c867 Update URL fragment when operations & tags are shown or hidden 2017-07-13 23:24:19 -07:00
Kyle Shockey
c051952081 Use operationIds from swagger-js if available, in layout triggers 2017-07-13 22:48:12 -07:00
shockey
08e84a0048 Merge pull request #3382 from swagger-api/moved-filter
Moved filter search to within layout
2017-07-13 22:31:11 -07:00
shockey
f916e3c208 Topbar: Remove unused filter and layoutSelectors 2017-07-13 22:19:17 -07:00
shockey
2ae61e85b8 Update base.jsx 2017-07-13 22:00:16 -07:00
shockey
d698aef1cd "Filter Operations" -> "Filter by tag" 2017-07-13 21:57:49 -07:00
shockey
d9b0bb7758 Merge branch 'master' into moved-filter 2017-07-13 21:52:56 -07:00
Minasokoni
d7c28912e0 updated input styling 2017-07-13 21:50:19 -07:00
Minasokoni
8b5c2cc409 moved filter search to layout 2017-07-13 21:48:20 -07:00
shockey
0eeb52b4b5 Merge pull request #3303 from Adrael/feature/apisSorter
Adding apisSorter options
2017-07-13 21:22:09 -07:00
shockey
28912dded3 Update index.js 2017-07-13 21:14:56 -07:00
shockey
e2b73ebf2a Update README.md 2017-07-13 21:10:48 -07:00
shockey
d8ba716da8 Merge branch 'master' into feature/apisSorter 2017-07-13 21:08:47 -07:00
Kyle Shockey
e6c8eb3c61 Pass tag names to tagsSorter instead of taggedOperations values 2017-07-13 21:02:37 -07:00
Kyle Shockey
1cdc4691f7 Add MDN link to Array.prototype.sort() documentation 2017-07-13 20:38:56 -07:00
Kyle Shockey
571d65a582 apisSorter -> tagsSorter
"tags", not "tag", because it sorts the tags themselves, not the content of each tag.
2017-07-13 20:36:08 -07:00
shockey
be7b2448b2 Merge pull request #3356 from owenconti/feature/3300-updated-version-info
Fixes #3300 - Updates to versions.swaggerUi information
2017-07-13 13:51:14 -07:00
shockey
ff9e164d11 Merge branch 'master' into feature/3300-updated-version-info 2017-07-13 13:34:07 -07:00
shockey
0ee9f956eb Merge pull request #3377 from owenconti/bug/3375-content-type-fix
Fixes #3375 - Change order of logic for selecting requestContentType
2017-07-13 13:17:39 -07:00
Eric Turcotte
a09e0b8b4a Removed semicolon 2017-07-13 11:16:47 -05:00
Eric Turcotte
badfea61c3 Renamed authorizeAccessCodeWithQueryParams->authorizeAccessCodeWithFormParams
since that is technically correct
2017-07-13 10:53:36 -05:00
Eric Turcotte
b06971bf81 If config useBasicAuthenticationWithAccessCodeGrant is truthy, send client id
and secret as HTTP basic auth during authorization_code grant
2017-07-12 23:35:34 -05:00
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