Commit Graph

1862 Commits

Author SHA1 Message Date
Tony Tam
a63dc0c51b use model variables instead of window 2016-11-14 11:00:04 -08:00
Joe Littlejohn
1b18429eca Avoid using Facebook garbage fragment to complete login
Facebook adds a nonsense fragment to all redirect URIs when returning a code. This stops a fragments being surreptitiously passed through the authorization flow.

See http://stackoverflow.com/questions/7131909/facebook-callback-appends-to-return-url

Before this change, the presence of Facebook's garbage fragment would break the Swagger UI complete page, as having any fragment value at all will cause the complete page to ignore the query string. This change avoids using the fragment if it looks to be useless.
2016-11-07 14:58:13 +00:00
Tony Tam
bf60526e63 Merge pull request #2487 from spapad/el-lang-fix
Fix typo in el translation; Supply el.js to dist/
2016-11-04 12:29:10 -07:00
Stavros Papadakis
7166ba7802 Fix typo in el translation; Supply el.js to dist/ 2016-11-04 15:17:20 +02:00
Iain Hunter
5f2beb16a9 Add missing semi-colon 2016-11-04 11:05:55 +00:00
Iain Hunter
085d84e16e Add tasks to gulpfile to minify all CSS and JS libs when building dist 2016-11-04 10:48:42 +00:00
Tony Tam
1f2a5d7dd7 Merge pull request #2481 from dsem/fix-tags-in-README
Fix tag names in README
2016-11-03 11:23:11 -04:00
Dylan Semler
fede96b7b2 Fix tag names in README
The repo's tag names don't start with a `.`.
2016-11-03 07:33:15 -04:00
Petr Pchelko
1dc709446a Use filename from content-disposition in a download link 2016-11-01 14:00:07 -07:00
morrissh
60cf928e51 Added meta tag to force IE11 to use edge document mode 2016-10-31 08:28:44 -07:00
Tony Tam
3fb29ecc61 Merge pull request #2464 from spapad/el-lang
Initial Greek language translation
2016-10-25 07:22:10 -07:00
Stavros Papadakis
d9b3db4399 Initial Greek language translation 2016-10-25 15:13:02 +03:00
Tony Tam
552865aa0d updated release 2016-10-14 09:54:55 -07:00
Tony Tam
73e2cd2179 updated translate 2016-10-14 09:52:14 -07:00
Tony Tam
d1539a7c4f Merge pull request #2449 from anjia0532/master
Update zh_cn.js add 3 translate
2016-10-14 09:51:36 -07:00
Tony Tam
81bf447ef4 Merge pull request #2451 from swagger-api/issue-2439
added type check
2016-10-13 15:49:53 -07:00
Tony Tam
2ad57cab6b added type check 2016-10-13 15:44:06 -07:00
Tony Tam
e506c5bdb8 updated swagger-client version 2016-10-12 23:05:14 -07:00
anjia0532
6a27140165 Update zh_cn.js add 3 translate
fetching resource list,Click to set as parameter value,Example Value
2016-10-12 09:43:51 +08:00
Tony Tam
2e3304c16f Merge pull request #2437 from hnakamur/update_japanese_messages
Update Japanese messages
2016-10-03 09:52:58 -07:00
Hiroaki Nakamura
66f3c369fa Update Japanese messages 2016-10-04 01:27:30 +09:00
Olivier Mengué
d2c9189a7c Feature: add responseHooks option for callbacks on responses
Add a responseHooks option that allows the user to process the response
of an API call.
The responseHooks option is an object where key is an operationId and
value is a function that receives the XHR response object and the
OperationView object.

Use case: process authentication requests done with the "Try out!"
button to inject apiKey in the AuthView and the router on success.
2016-09-30 12:03:34 +02:00
Tony Tam
855b6c3170 merged 2016-09-29 16:32:45 -07:00
Tony Tam
e098b3a522 Merge branch 'master' of github.com:swagger-api/swagger-ui 2016-09-29 16:32:25 -07:00
Tony Tam
7878cea369 updated swagger-js version 2016-09-29 16:32:18 -07:00
Tony Tam
08b283cb0c Merge pull request #2429 from chuck-g/patch-1
Fix font src attribute
2016-09-29 15:46:47 -07:00
Chuck Goss
87ef5c1f72 Fix font src attribute
The `format('truetype')` bit should not be preceded by a comma. It breaks in Chrome (at least).

See https://css-tricks.com/snippets/css/using-font-face/ for an example.
2016-09-28 15:21:46 -05:00
Tony Tam
36af368a8c Update README.md 2016-09-26 18:59:34 -07:00
Tony Tam
e9ab52f7b5 Merge pull request #2426 from swagger-api/release-prepare
update swagger-js version
2016-09-26 12:25:42 -07:00
Tony Tam
f5a0db2078 merged with master 2016-09-26 12:17:13 -07:00
Tony Tam
b4acbbb57e rebuilt, updated versions 2016-09-26 12:15:15 -07:00
Tony Tam
f92d6ddd55 Merge pull request #2416 from MugeSo/fix-build-on-windows
Fix handlerbars script in package.json
2016-09-26 12:14:52 -07:00
Tony Tam
7d37b75c32 updated swagger-client version 2016-09-26 12:14:21 -07:00
TANAKA Koichi
2cbe939412 Fix handlerbars script in package.json
npm "run scripts" resolves executable file path with PATH includes ./node_modules/.bin
fixes #2411
2016-09-21 18:09:15 +09:00
Tony Tam
f7424a7009 updated README 2016-09-20 09:51:34 -07:00
Tony Tam
f50851913e Merge pull request #2414 from swagger-api/release-prepare
rebuilt for release
2016-09-20 09:50:38 -07:00
Tony Tam
e3d5ad2595 rebuilt for release 2016-09-20 08:46:19 -07:00
Tony Tam
656808b20c Merge pull request #2404 from swagger-api/issue-2132
Add support for binary downloads, inline image rendering
2016-09-16 10:02:07 -07:00
Tony Tam
9fee08daa3 updated versions 2016-09-16 09:18:20 -07:00
Tony Tam
cf96414f78 removed unused var 2016-09-15 10:39:34 -07:00
Tony Tam
80e548df0a no more blob conversions 2016-09-15 10:35:01 -07:00
Tony Tam
4bdaeba797 treat blobs as binary, render images w/o image url 2016-09-15 01:07:08 -07:00
Tony Tam
15f76ad355 updated js lib 2016-09-15 01:06:55 -07:00
Tony Tam
f321c62edc rebuilt 2016-09-07 22:23:08 -07:00
Tony Tam
1a98574c03 Merge pull request #2383 from jt1796/param-fix
fix params showing as undefined
2016-09-04 20:32:18 -07:00
John Tompkins
1ce3dada00 fix params showing as undefined 2016-09-04 15:28:23 -04:00
Tony Tam
dab8c4a0e3 Merge branch 'bodnia-feature/add-sanitize-html' 2016-09-01 08:59:09 -07:00
Tony Tam
87438adc9a updated version 2016-09-01 08:58:52 -07:00
Anna Bodnia
c385e24839 moved sanitize-html to swagger-ui instead of calling in index.html 2016-09-01 18:49:54 +03:00
Anna Bodnia
f87eaaa810 replaced satinize with sanitize-html 2016-09-01 16:09:44 +03:00